Re: Firefox on Linux



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ben Bullock wrote:
Zhen Lin wrote:
Ben K. Bullock wrote:
- links to webpages with the 'problematic' kanji-displaying
- screenshots showing the problem with those webpages

http://www.sljfaq.org/snapshot1.png
Looks like a font substitution problem. (I'm guessing it's falling back
onto a bitmap Simplified Chinese font first.) Play around with the
settings in /etc/fonts.

In /etc/fonts there are three files, "fonts.conf", "fonts.dtd" and
"local.conf". The file "fonts.conf" advises me not to edit it, and
local.conf is a very short file with not much to help me. "fonts.dtd"
says "This is the Document Type Definition for font configuration
files".

Copy some settings from fonts.conf into local.conf - the ones that you
want to change. Or otherwise, do as I do and ignore their warning.

This section is one you should modify. (Insert your preferred fonts for
each category.)

<!--
Mark common families with their generics so we'll get
something reasonable
- -->

<!--
Serif faces
-->
<alias>
<family>Bitstream Vera Serif</family>
<family>Times</family>
<family>Times New Roman</family>
<family>Bitstream Cyberbit</family>
<family>TITUS Cyberbit Basic</family>
<family>Gentium</family>
<family>GentiumAlt</family>
<family>Nimbus Roman No9 L</family>
<family>Luxi Serif</family>
<family>STSong</family>
<family>STFangsong</family>
<family>LiSong Pro</family>
<family>Hiragino Mincho Pro W3</family>
<family>Hiragino Mincho Pro W6</family>
<family>Kochi Mincho</family>
<family>STKaiti</family>
<family>Kai</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Baekmuk Batang</family>
<default><family>serif</family></default>
</alias>
<!--
Sans-serif faces
-->
<alias>
<family>Bitstream Vera Sans</family>
<family>Arial</family>
<family>Verdana</family>
<family>Arial Unicode MS</family>
<family>Lucida Grande</family>
<family>Nimbus Sans L</family>
<family>Luxi Sans</family>
<family>STHeiti</family>
<family>LiHei Pro</family>
<family>Hiragino Kaku Gothic Pro W3</family>
<family>Hiragino Kaku Gothic Pro W6</family>
<family>Hiragino Kaku Gothic Std W8</family>
<family>Hiragino Maru Gothic Pro W4</family>
<family>Kochi Gothic</family>
<family>AR PL KaitiM GB</family>
<family>AR PL KaitiM Big5</family>
<family>Baekmuk Dotum</family>
<family>SimSun</family>
<default><family>sans-serif</family></default>
</alias>
<!--
Monospace faces
-->
<alias>
<family>Bitstream Vera Sans Mono</family>
<family>DejaVu Sans Mono</family>
<family>Monaco</family>
<family>Lucida Console</family>
<family>Osaka Mono</family>
<family>Courier</family>
<family>Courier New</family>
<family>Andale Mono</family>
<family>Luxi Mono</family>
<family>Nimbus Mono L</family>
<family>NSimSun</family>
<default><family>monospace</family></default>
</alias>

And this section as well (it controls which fonts to fallback onto, and
in what order):
<!--
Provide required aliases for standard names
- -->
<alias>
<family>serif</family>
<prefer>
<family>Bitstream Vera Serif</family>
<family>Times New Roman</family>
<family>Doulos SIL</family>
<family>STSong</family>
<family>LiSong Pro</family>
<family>Bitstream Cyberbit</family>
<family>TITUS Cyberbit Basic</family>
<family>Nimbus Roman No9 L</family>
<family>Luxi Serif</family>
<family>Hiragino Mincho Pro W3</family>
<family>Kochi Mincho</family>
<family>STKaiti</family>
<family>Kai</family>
<family>AR PL SungtiL GB</family>
<family>AR PL Mingti2L Big5</family>
<family>Baekmuk Batang</family>
</prefer>
</alias>
<alias>
<family>sans-serif</family>
<prefer>
<family>Bitstream Vera Sans</family>
<family>Arial</family>
<family>Verdana</family>
<family>Arial Unicode MS</family>
<family>Lucida Grande</family>
<family>Nimbus Sans L</family>
<family>Luxi Sans</family>
<family>STHeiti</family>
<family>LiHei Pro</family>
<family>Hiragino Kaku Gothic Pro W3</family>
<family>Kochi Gothic</family>
<family>AR PL KaitiM GB</family>
<family>AR PL KaitiM Big5</family>
<family>Baekmuk Dotum</family>
<family>SimSun</family>
</prefer>
</alias>
<alias>
<family>monospace</family>
<prefer>
<family>DejaVu Sans Mono</family>
<family>Bitstream Vera Sans Mono</family>
<family>Monaco</family>
<family>Lucida Console</family>
<family>Osaka Mono</family>
<family>Courier New</family>
<family>Andale Mono</family>
<family>Luxi Mono</family>
<family>Nimbus Mono L</family>
<family>NSimSun</family>
</prefer>
</alias>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEHSQ7PvaZgy328tARAik8AJ0fcPkmsfJICrh8AirHseiGepyVUwCfY3iT
BbdI/p3wl30VAfmCOrboi8I=
=+DmX
-----END PGP SIGNATURE-----
.



Relevant Pages

  • Re: Marshall Barton help!
    ... Alias "CreateFontA" (ByVal H ... hDC As Long, _ ... ' uses the Control's font attributes to Build ... Dim sRect As RECT ...
    (microsoft.public.access.formscoding)
  • Re: Please help with Macro
    ... You might have a font problem. ... alias you used. ... but I'll choose to leave future posts in the ...
    (microsoft.public.mac.office.excel)
  • Re: outlook xp
    ... font would do the trick. ... Alias ... if i highlight the words that are underlined, it will not let me undo ...
    (microsoft.public.office.misc)
  • Re: Like to Use Windows 2000 fonts, but How?
    ... > Then I tried to edit FondMap.gs files as suggested by Francois, ... (and will cause the font lookup to fail). ... What you can do in all GS versions, however, is to *alias* the names: ...
    (comp.lang.postscript)
  • Re: No tk_chooseFont or tk_choosePrinter?
    ... | standard choose Font and Printer dialogs provided by the Windows and OS X ... Not sure about a font chooser. ... Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org ...
    (comp.lang.tcl)