What is the best XServer font configuration to use with
international fonts (Cyrillic/Chinese/Korean)
luvbeastie at larseighner.com
Sun Mar 22 17:13:17 PDT 2009
On Sun, 22 Mar 2009, Yuri wrote:
> Lars Eighner wrote:
>> On Sun, 22 Mar 2009, Yuri wrote:
>>> I use the following font section:
>>> Section "Files"
>>> FontPath "/usr/local/lib/X11/fonts/misc/"
>>> FontPath "/usr/local/lib/X11/fonts/TrueType/"
>>> What is the best font configuration to use to show all those languages
>> The place to deal with these issues is in your windows manager, or in
>> some cases, the configuration of individual applications. I do not know
>> if there really is a single best solution to your problem, but only that
>> the solution is not in the X configuration.
> I don't know understand why xorg.conf isn't the place. If there are no fonts
> for some language they should be installed and corresponding lines placed into
That's right. But I see you did not install the cyrillic fonts.
Install the port x11-fonts/xorg-fonts-cyrillic from the ports collect.
The port should add the font path to your x configuration file if it in the
normal place. If it doesn't, you can add the path manually after you verify
that the port did install and the fonts are in the appropriate directory.
> Some fonts may be defective. So they shouldn't be put there.
> So xorg.conf has to do with the problem.
The directories in the path in the x configuration file are collections of
fonts. You cannot delete individual fonts from the x configuration file.
> I specifically have an issue with the font calls "sans-serif" that FF uses
> to show Cyrillic texts.
Then change the defaults in FF preferences. Choose Preferences from the
Edit menu, then Content. Go to the Advanced menu from Fonts & Colors.
Use the drop-down menu to change Fonts for: Western to Fonts for: Cyrillic.
Select fonts for each of the generic families: Proportional, Serif, etc.
Uncheck the box for Allow pages to choose their own font (unless you are
willing to allow authors to choose fonts you do not like). Click OK and
close the Preferences menu.
> It must have come from FontPath in XServer.
Yes, but mangling the x configuration is not the way to deal with it. If FF
cannot find the font it thinks should be the default, there is no guarantee
that FF's second choice will be any more pleasing (and it could be a great
deal worse --- second choice might be refusing to display at all or using
a Western font with many missing characters).
8800 N IH35 APT 1191 AUSTIN TX 78753-5266
More information about the freebsd-questions