--- Mike FABIAN
"Mike Shegedin"
����Ͻޤ���: 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.
I attempted changing this parameter and there is no change on the output. I first tried it on an English version of FF1.0.1 and then a Japanse version of 1.0. Both behave exactly the same. They load the Nimbus fonts but there is no reference or seemingly any attempt at loading japanese fonts.
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.
Thanks for clearing this point up. One less thing for me to futz with.
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.
As I said earlier, I tried this and it had no change on the output. The resulting ps file is the same size regardless of the value. (I wonder if I should be doing something to make the setting have an affect.) Any other ideas, Mike? Mike __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/