* Tony Ma ([EMAIL PROTECTED]) wrote: > 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
Not being able to read Chinese, this page is not a lot of help. > http://www.mozilla.org/projects/fonts/unix/enabling_truetype.html Alright, but don't these instructions predate Xft support in Mozilla? Shouldn't that take care of that case? > 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. Ok, this is interesting, but lets backtrack for a moment. What printer subsystem are you using? (CUPS, lprng, etc) Are you trying to print using the Postscript or Xprint renderer? (I doubt the postscript on will work) -- Eric Dorland <[EMAIL PROTECTED]> ICQ: #61138586, Jabber: [EMAIL PROTECTED] 1024D/16D970C6 097C 4861 9934 27A0 8E1C 2B0A 61E9 8ECF 16D9 70C6 -----BEGIN GEEK CODE BLOCK----- Version: 3.12 GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ G e h! r- y+ ------END GEEK CODE BLOCK------
signature.asc
Description: Digital signature