{"action":"created","issue":{"url":"https://api.github.com/repos/doraTeX/TeX2img/issues/64","labels_url":"https://api.github.com/repos/doraTeX/TeX2img/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/doraTeX/TeX2img/issues/64/comments","events_url":"https://api.github.com/repos/doraTeX/TeX2img/issues/64/events","html_url":"https://github.com/doraTeX/TeX2img/issues/64","id":118833008,"number":64,"title":"TikZのパターンがSVG化の際に欠ける","user":{"login":"doraTeX","id":6186180,"avatar_url":"https://avatars.githubusercontent.com/u/6186180?v=3","gravatar_id":"","url":"https://api.github.com/users/doraTeX","html_url":"https://github.com/doraTeX","followers_url":"https://api.github.com/users/doraTeX/followers","following_url":"https://api.github.com/users/doraTeX/following{/other_user}","gists_url":"https://api.github.com/users/doraTeX/gists{/gist_id}","starred_url":"https://api.github.com/users/doraTeX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doraTeX/subscriptions","organizations_url":"https://api.github.com/users/doraTeX/orgs","repos_url":"https://api.github.com/users/doraTeX/repos","events_url":"https://api.github.com/users/doraTeX/events{/privacy}","received_events_url":"https://api.github.com/users/doraTeX/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/doraTeX/TeX2img/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-11-25T13:07:31Z","updated_at":"2015-12-11T10:59:05Z","closed_at":null,"body":"# 現象\r\n\r\n次のソースを TeX2img でSVG化すると，パターンが欠ける。\r\n\r\n```tex\r\n\\documentclass[dvipdfmx]{article}\r\n\\usepackage{tikz}\r\n\\usetikzlibrary{patterns}\r\n\\pagestyle{empty}\r\n\\begin{document}\r\n\\begin{tikzpicture}\r\n\\filldraw[pattern = north east lines] (0,0) rectangle (5,5);\r\n\\end{tikzpicture}\r\n\\end{document}\r\n```\r\n\r\n~~# 原因~~\r\n\r\n~~#34 で，mudraw の最新バージョン対応のために `-l` オプションを外したことが原因。\r\nTeX2img.app に内包されている旧バージョンの mudraw は `-l` オプションを受け入れる。#34 の改修前のように，`-l` を付けておけば，パターンも無事に保持される。~~\r\n\r\n~~# 対策~~\r\n\r\n~~GUI版については，.app に内包されている旧バージョンの mudraw を使っているので，`-l` を付けるように戻せばよいだろう。~~\r\n~~CUI版については，~~\r\n\r\n* ~~GUI版がインストールされている場合はその中の mudraw を優先的に使い，`-l` オプションを付ける。~~\r\n* ~~GUI版がインストールされておらず，新バージョンの mudraw のみインストールされている場合は，やむなく `-l` なしで実行する。~~\r\n\r\n~~とするのが最善か？~~\r\n\r\n~~# 検討事項~~\r\n\r\n~~新バージョンの mudraw でも旧バージョンの `-l` に相当することはできないものか？~~"},"comment":{"url":"https://api.github.com/repos/doraTeX/TeX2img/issues/comments/163908828","html_url":"https://github.com/doraTeX/TeX2img/issues/64#issuecomment-163908828","issue_url":"https://api.github.com/repos/doraTeX/TeX2img/issues/64","id":163908828,"user":{"login":"doraTeX","id":6186180,"avatar_url":"https://avatars.githubusercontent.com/u/6186180?v=3","gravatar_id":"","url":"https://api.github.com/users/doraTeX","html_url":"https://github.com/doraTeX","followers_url":"https://api.github.com/users/doraTeX/followers","following_url":"https://api.github.com/users/doraTeX/following{/other_user}","gists_url":"https://api.github.com/users/doraTeX/gists{/gist_id}","starred_url":"https://api.github.com/users/doraTeX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doraTeX/subscriptions","organizations_url":"https://api.github.com/users/doraTeX/orgs","repos_url":"https://api.github.com/users/doraTeX/repos","events_url":"https://api.github.com/users/doraTeX/events{/privacy}","received_events_url":"https://api.github.com/users/doraTeX/received_events","type":"User","site_admin":false},"created_at":"2015-12-11T10:59:05Z","updated_at":"2015-12-11T10:59:05Z","body":"> `dash-out.pdf` を Illustrator で開くと，次のようになり，見た目が全く異なります。\r\n\r\nそもそも，最初の in.pdf 自体が，Preview / Acrobat で開いた場合（斜線に見える）と，Illustrator で開いた場合（斜め破線に見える）で見た目が違いますね……。"}}