[Fontconfig] Use of the "Additional Style" Field
Sun, 23 Feb 2003 10:28:10 +0000
=2D----BEGIN PGP SIGNED MESSAGE-----
I am trying to find out why, when left to its own devices, KDE's konsole is=
choosing to display a rather strange font. Its picking up font=20
as the default font. This is part of Debian's base fonts package, but suff=
from being rather ugly.
As far as the XLFD is concerned this font should fit what is needed (family=
font size etc) EXCEPT for the Additional Style Field having the characters=
"ja" in them. There are other fonts which fit the bill, which do not have a=
additional style field, but also look nicer.
I am tracking my way through fcmatch.c with a debugger looking at what is=20
happening, and effectively the requested font pattern is being compared wit=
the pattern from every font installed on the system. I have got to the poi=
where the above font is found to be a better match than any other previousl=
found font and I am examining the "pattern" that this font has.
I can't find any reference to the additional style it within the pattern. =
closest "elts.object" name appears to be "style", but there is only 1 val=
for this and that is "regular".
I have also looked at the fonts.cache-1 field for the appropriate directory=
and I can find no reference in there to the Additional Style property.
What exactly does "Additional Style" represent?
Does/should fontconfig use this parameter in its font matching - if so what=
elts.object name should it use.
The pcf property name in the file is "ADD_STYLE_NAME". Is this correct?
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
=2D----END PGP SIGNATURE-----