Re: [m17n] japanese fonts in firefox revisited
"Mike Shegedin" <sandynomike@yahoo.com> さんは書きました:
This time, I'm guessing that font embedding is enabled -- that is, FF is embedding the fonts into the ps file when printing because GS doesn't complain about missing fonts.
Check whether Firefox is embedding fonts with: mike@kibou:~$ grep -i beginresource mozilla.ps %%BeginResource: CMap IPAPMincho.Regular.0.0_cmap %%BeginResource: CIDFont IPAPMincho.Regular.0.0 %%BeginResource: CMap IPAPGothic.Regular.0.0_cmap %%BeginResource: CIDFont IPAPGothic.Regular.0.0 mike@kibou:~$ If it is embedding fonts, you should find lines beginning with "%%BeginResource" which also contain the name of the font which was embedded.
I'm curious to know what turns font embedding on and off when printing from FF.
Type about:config into the URL entry widget of Firefox. You see a long list of configuration options. Enter "printing" into the "Filter" entry widget. You will see an option font.FreeType2.printing which may be false or true. If you set it to true, Firefox will usually embed fonts when printing, if you set it to false, it will usually not embed fonts when printing. Usually because it may depend on how your Firefox was compiled.
While I'm at it, do qtconfig settings have any bearing on any of this?
qtconfig has nothing to do with Firefox because Firefox is not a Qt application.
The ps file currently being generated has lots of Numbus fonts which clearly are not Japanese fonts.
That's OK because the page you are trying to print most likely also contains some Latin glyphs.
BTW I have wrappers generated for all of my installed Japanese fonts, so I think that as long as GS had a file with Japanese text and refered to a Japanese font then I would be in business.
To use that possibility, you can set font.FreeType2.printing to false. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
participants (1)
-
Mike FABIAN