Hi Eric,
* Tony Ma ([EMAIL PROTECTED]) wrote: > Package: mozilla-firefox > Version: 1.0.2-3 > Severity: important
> pref("font.FreeType2.enable", true); pref("font.directory.truetype.1","/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/");
Why did use those particular configuration lines? Where is the documentation on them? There's also font.Freetype2.printing, set to true. Shouldn't that help?
As in http://moto.debian.org.tw/viewtopic.php?t=2751 http://www.mozilla.org/projects/fonts/unix/enabling_truetype.html
First, you REALLY need to enable freetype2 MANUALLY by typing
pref("font.FreeType2.enable", true);
in firefox.js, (note: just adding the line pref("font.FreeType2.printing", true); is NOT enough) and this line pref("font.FreeType2.enable", true); does NOT currently exist in the firefox.js in the current firefox package.
Then you need to specify the directories of your truetype fonts with one line per directory)
pref("font.directory.truetype.number","directory of font"); where number can be 1,2,3........
For a standard Debian sarge installation with CJK environment and desktop tasks selected (and the package ttfprint must also be selected),
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/
can be used by firefox for the purpose of CJK printing. Therefore we can add this line:
pref("font.directory.truetype.1","/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType/");in firefox.js to tell firefox to use this directory when looking up for fonts for printing.
The two lines I've mentioned in the previous mail comes from instructions for firefox CJK printing in the webpage
http://www.debian.org.hk/node/12495#comment-574
I hope the explanations above will clarify the functions of the two lines, but please feel free to ask me again if you have any problems.
Mark
_________________________________________________________________
Need more speed? Get Xtra Broadband @ http://jetstream.xtra.co.nz/chm/0,,202853-1000,00.html
-- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

