[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XFontSet questions



Daniel Martin <Daniel.Martin@jhu.edu> writes:

> In trying to fix a realease-critical bug for fvwm95, I ran into
> something I don't understand about how X deals with XFontSet
> structures.
> 
> As I understand it, XCreateFontSet(dpy,fontname,&ml,&mc,&ds) is
> supposed to allow one to have a generic font name (say "fixed") which
> then is used to find the correct font with that generic name for the
> given locale.

No.  "fixed" can be only a font name, not a fontset name.  Multiple
"fixed" aliasing never makes "fixed" as a fontset.

The `fontname' argument is a pattern or a list of several patterns.
XCreateFontSet() just selects appropriate fonts from the fonts by the
current locale.

"-*-fixed-medium-r-normal--*-140-72-72-c-*-iso8859-*"
"fixed,-etl-fixed-medium-r-normal--14-140-72-72-c-70-iso8859-2"

-- 
Changwoo Ryu

    IDIS Co.,Ltd.                        <cwryu@idis.co.kr>
    Debian GNU/Linux                     <cwryu@debian.org>


Reply to: