On Monday, April 23rd, 2012 17:54:13 -0400, Haines Brown wrote:
> The gnome-speciman displays the latin font names, and it sees I have the
> Chinese AR fonts installed, but displays them not as Chinese, but as
> english ("The quick brown fox...").
Because it is displaying the characters specified in the
Preview Text text box.
If you do not want it to display the characters "The quick brown fox"
then change the text to something in Chinese or whatever characters.
> The names provided for these fonts, such as "AR PL KaitiM GB Regular"
> don't seem to be their "display name", for it does not work.
What is "it" and in which manner does "it" fail to work?
> Yes, the local.conf has the arphic chinese fonts.
If the arphic Chinese fonts are not in the standard directories
listed in the /etc/fonts/font.conf eg
<!-- Font directory list -->
<dir>/usr/share/fonts</dir>
<dir>/usr/X11R6/lib/X11/fonts</dir>
<dir>/usr/local/share/fonts</dir>
<dir>~/.fonts</dir>
<!--
you need to add them to
the directory list in /etc/fonts/local.conf eg
<!--
Font directory list
-->
<dir>/usr/local/X11R6/lib/X11/fonts</dir>
<dir>/usr/local/X11R6/share/xfce/fonts</dir>
<!--
If they were installed from standard Debian packages,
then they should have gone in the standard font location
/usr/share/fonts and nothing needs to be added.
> My chinese fonts are mentioned in conf.avail,
For a number of system applications which can
have optional features which need to be turned on
and off in an easy manner, Debian uses the following scheme
(used in eg apache2 and fonts).
The feature configuration file goes in a directory
{something}-available
There is also a directory conf.d which is the actual
directory used by the sofware application to read its
configuration files. But this does not contain any files.
It just contains symbolic links to the actual configuration
files in {something}-available according to the system
administrator whether or not to turn on that particular feature.
So in /etc/fonts/conf.available you have lots of configuration
files for different fonts and properties. But each one of
this is only *activated* for use, if there is a symbolic link
in the conf.d directory to it, eg
in /etc/fonts/conf.available there is the file
10-antialias.conf
But this configuration for features of anti-aliasing are only
used if in /etc/fonts/conf.d there is the symbolic link
10-antialias.conf -> ../conf.avail/10-antialias.conf
So if there is a configuration file for your arphic Chinese
fonts or whatever else in /etc/fonts/conf.available and
there is no link in /etc/fonts/conf.d to it, then the
features offered by the configuration file will never be
used.
Which is why I suggested that you check for the presence
of both the configuration file in /etc/conf.avail and
the presence of a symbolic link in /etc/conf.d to that file
if it exists in /etc/conf.avail.
Is that a clear enough explanation of what I was trying
to convey and clearly failed?
And what you should do is the following to ensure that all
fonts present in the directories listed in /etc/fonts/font.conf
and /etc/fonts/local.conf are available in the Xft system,
as root
fc-cache -fsv
You can then get a list of all fonts available in the Xft system
with
fc-list | sort
If you want to try out a font, then use a program such as
urxvt (terminal emulator) which has been linked with Xft eg
urxvt -font "xft:GenoaItalic"
urxvt -font "xft: