Re: [Fonts]fontconfig alias question

2003-01-01 Thread Michael Guntsche
On Fri, 27 Dec 2002 10:50:57 -0800
Keith Packard [EMAIL PROTECTED] wrote:

 
 Around 23 o'clock on Dec 26, Michael Guntsche wrote:
 
  Is it possbile to substitute/alias the Helvetica font with Verdana
  even if both are installed? (fc-list shows both)
 
 Yes, but this will *always* replace Helvetica with Verdana, even if
 you select helvetica in an application font menu.
snip

Sorry for the long time it took to reply Keith, but Christmas kept me
busy around here ;)
The solution you gave me, worked of course, and Im now enjoying nice AA
fonts.

Thanks and keep up your good work,
Michael
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



[Fonts]Wrong CJK bitmap font size selected by fontconfig/Xft 2.1?

2003-01-01 Thread Anthony Fok
Hello,

First of all, Happy New Year!  :-)

While testing the latest Red Hat 8.1 beta (Phoebe), during installation,
fontconfig/Xft 2.1 appears to be selecting the wrong CJK bitmap font size
when lang=en, as shown in the following screen capture:

   http://foka.homelinux.net/~foka/xft/phoebe-anaconda-en-chinese-24px.jpg

switching to other languages, e.g. lang=de, seem to fix the problem:

   http://foka.homelinux.net/~foka/xft/phoebe-anaconda-de-chinese-16px.jpg

Hanzi fonts available in the system:
  zh-CN: 16px and 24px PCF fonts
  zh-TW: AR PL Mingti2L Big5 (TrueType)
  ja: Kochi Gothic (TrueType)
  ko: (I forgot which one, probably Baekmuk Batang or Dotum; also TrueType)

I couldn't figure out why disproportionally large 24px zh-CN font was
selected in place of the closest 16px when lang=en.  I have tried switching
to all other languages, and it appears that only lang=en exhibits the
problem.

In the previous version (Red Hat 8.0, fontconfig 2.0, Xft 2.0), a more
correct bitmap font size (16px instead of 24px) was selected even when
lang=en.  (I.e., it looks like phoebe-anaconda-de-chinese-16px.jpg)

Is this issue the domain of fontconfig or Xft?  Or Pango?  Or something else
altogether?  I apologize for my ignorance, as I am not yet sure of the exact
division of work among the three libraries.  :-)

Many thanks,

Anthony

-- 
Anthony Fok Tung-Ling
ThizLinux Laboratory   [EMAIL PROTECTED] http://www.thizlinux.com/
Debian Chinese Project [EMAIL PROTECTED]   http://www.debian.org/intl/zh/
Come visit Our Lady of Victory Camp!   http://www.olvc.ab.ca/
___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]Wrong CJK bitmap font size selected by fontconfig/Xft 2.1?

2003-01-01 Thread Keith Packard

Around 11 o'clock on Jan 2, Anthony Fok wrote:

 I couldn't figure out why disproportionally large 24px zh-CN font was
 selected in place of the closest 16px when lang=en.  I have tried switching
 to all other languages, and it appears that only lang=en exhibits the
 problem.

lang=en may force the 24px font because of coverage issues; it's possible 
the 16px font is missing some glyphs needed for English but not needed 
for German.

You can check the language encoding supported by each font using fc-list, 
I don't have a 24 pixel font with support for zh-CN, but you should be 
able to see it with:

$ fc-list :lang=zh-cn:pixelsize=24 family lang pixelsize

 Is this issue the domain of fontconfig or Xft?  Or Pango?  Or something else
 altogether?  I apologize for my ignorance, as I am not yet sure of the exact
 division of work among the three libraries.  :-)

Font matching and selection is entirely within the province of fontconfig, 
although the generation of matching patterns is done by applications and 
libraries like Pango.

You can watch the match process by enabling a couple of debugging levels 
within fontconfig:

$ export FC_DEBUG=3 
$ some random pango app

This will generate quite a bit of output, but should provide sufficient 
information to see why one font is preferred to another, although you're 
likely to need to look a the fontconfig source to make much sense of the 
output.

Keith PackardXFree86 Core TeamHP Cambridge Research Lab


___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts



Re: [Fonts]Could not init Fonts'Fixed

2003-01-01 Thread James Richard Tyrer
  Danika Rodriguez wrote:

I recently installed the nvidia 3123 drivers under Red Hat 8.0 and could not
startX because of error: Could not init font'fix. Anyone know how to fix this
error. I am losing patience


Probably the font: fixed.

Normally this font is in: /usr/X11R6/lib/X11/fonts/misc/

This directory with the font: fixed must be in the: FontPath in: XF86Config or X will 
refuse to start.

So check the: XF86Config file and also the: fonts.dir file (in that directory) for XLFDs 
that start with: -misc-fixed- -- there should be several.

There can also be other more obscure reasons that X can't find the font: fixed.

--
JRT

___
Fonts mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/fonts