<div dir="ltr">Hello,<div><br></div><div>Thank you for your reply. <br></div><div>I considered the following solution. </div><div><br></div><div>The "FontName" and "BaseFont" are</div><div>---</div><div>
/#82l#82r#20#82o#83S#83V#83b#83N -> MS PGothic<br></div><div>/#82l#82r#20#83S#83V#83b#83N -> MS Gothic<br></div><div>/#82l#82r#20#82o#96#BE#92#A9 -> MS PMincho<br></div><div>/#82l#82r#20#96#BE#92#A9 -> MS Mincho<br>
</div><div>---</div><div>But I think poppler can't extract, </div><div>and the fontconfig extract as a unkown font.</div><div><br></div><div>So It solved by temporary change like</div><div>---</div><div>/MS#20PGothic</div>
<div>/MS#20Gothic</div><div>/MS#20PMincho</div><div>/MS#20Mincho</div><div>---</div><div><br></div><div><span style="font-family:arial,sans-serif;font-size:13.63636302947998px">Best Regards, </span><br style="font-family:arial,sans-serif;font-size:13.63636302947998px">
<span style="font-family:arial,sans-serif;font-size:13.63636302947998px">Tsutomu Kaneyasu.</span><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/16 suzuki toshiya <span dir="ltr"><<a href="mailto:mpsuzuki@hiroshima-u.ac.jp" target="_blank">mpsuzuki@hiroshima-u.ac.jp</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Dear Adrian,<br>
<br>
Oh, I slipped to remember about the font substitution control.<br>
Thank you very much for helpful followup!<br>
<br>
Regards,<br>
mpsuzuki<br>
<div class=""><div class="h5"><br>
On 01/15/2014 10:22 PM, Adrian Perez de Castro wrote:<br>
> suzuki toshiya <<a href="mailto:mpsuzuki@hiroshima-u.ac.jp">mpsuzuki@hiroshima-u.ac.jp</a>> writes:<br>
><br>
>> 2) Installing some fonts with MS Gothic or MS Mincho compatible<br>
>> metrics, like, Mona fonts.<br>
>><br>
>> # But I don't know the alphabet metrics are either tuned to<br>
>> # be compatible. I think the tuned metrics of such fonts are<br>
>> # mainly Katakana, Hiragana etc.<br>
><br>
> If you go with this solution, also make sure that there is a FontConfig<br>
> configuration file that sets up the fonts as possible replacements for<br>
> MS Gothic and MS Mincho. If you install the fonts using packages from<br>
> your distribution, this is probably already taken care of. If you need<br>
> to do it manually, the files are in “/etc/fonts/conf.d/”, and write<br>
> something like the following in a .conf file there:<br>
><br>
> <?xml version="1.0"?><br>
> <!DOCTYPE fontconfig SYSTEM "fonts.dtd"><br>
> <fontconfig><br>
> <match><br>
> <test name="family" compare="contains"><br>
> <string>MS Gothic</string><br>
> </test><br>
> <edit name="family" mode="prepend"><br>
> <string>VL PGothic</string><br>
> </edit><br>
> </match><br>
> </fontconfig><br>
><br>
> This example replaces “MS Gothic” with “VL PGothic” -- just feel free to<br>
> write the name of the font that works better for replacing MS Gothic in<br>
> your case.<br>
><br>
> You can also do the replacements depending on the language. For info on<br>
> all the things that can be done with FontConfig, you may want to check<br>
> the documentation for the configuration files at:<br>
><br>
> <a href="http://www.freedesktop.org/software/fontconfig/fontconfig-user.html" target="_blank">http://www.freedesktop.org/software/fontconfig/fontconfig-user.html</a><br>
><br>
> Hope this helps!<br>
><br>
> -Adrian<br>
><br>
><br>
>> 兼安勉 wrote:<br>
>>> Hello,<br>
>>><br>
>>> I worry about the problem of fonts by using "pdftoppm" command below.<br>
>>> --<br>
>>> pdftoppm -png TEST4.pdf OUT<br>
>>> --<br>
>>> TEST4.pdf is an attachment PDF(non-embedded font) file, and<br>
>>> is written by MS Gothic.<br>
>>> A image of output is OUT.jpg.<br>
>>> The problem of fonts is position gap of the alphabet.<br>
>>><br>
>>> How should it solve?<br>
>>><br>
>>> My environment is Ubuntu-ja-13.10-desktop-amd64.<br>
>>> The font setting is the following.<br>
>>> --<br>
>>> fc-match :lang=ja -> ipagp.ttf "IPAPGothic" "Regular"<br>
>>> fc-match serif:lang=ja -> ipamp.ttf "IPAPMincho" "Regular"<br>
>>> fc-match sans-serif:lang=ja -> ipagp.ttf "IPAPGothic" "Regular"<br>
>>> fc-match monospace:lang=ja -> ipag.ttf "IPAGothic" "Regular"<br>
>>> --<br>
<br>
</div></div></blockquote></div><br></div></div>