Family name issue

View: New views
3 Messages — Rating Filter:   Alert me  

Family name issue

by Ingo Brueckl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It seems that all the fixed size (default X11) fonts in my misc font
directory got 'collected' under the family name 'Fixed' - at least that's
what 'fc-list : family' tells me.

However there are two fonts (the first one's created by me) which don't get
the family names expected. The font.dir entries are:

10x18.pcf.gz -ib-latin1-medium-r-normal--18-1400-96-96-c-100-iso10646-1
cursor.pcf.gz cursor

I'd expect names like 'Latin1' and 'Cursor' but get '10x18.pcf' and
'cursor.pcf' instead.

Can someone explain why there is a family collection 'Fixed' though I can't
find a rule for this and what to do to 'rename' the '10x18.pcf' and
'cursor.pcf' entries?

Ingo
_______________________________________________
Fontconfig mailing list
Fontconfig@...
http://lists.freedesktop.org/mailman/listinfo/fontconfig

Re: Family name issue

by Krzysztof Kotlenga-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ingo Brueckl wrote:

> It seems that all the fixed size (default X11) fonts in my misc font
> directory got 'collected' under the family name 'Fixed' - at least
> that's what 'fc-list : family' tells me.

Yes, that's because all these fonts have "Fixed" in FAMILY_NAME
BDF/pcf property.

> However there are two fonts (the first one's created by me) which
> don't get the family names expected. The font.dir entries are:
>
> 10x18.pcf.gz
> -ib-latin1-medium-r-normal--18-1400-96-96-c-100-iso10646-1
> cursor.pcf.gz cursor
>
> I'd expect names like 'Latin1' and 'Cursor' but get '10x18.pcf' and
> 'cursor.pcf' instead.

Fontconfig doesn't use fonts.* files. You have to set FAMILY_NAME in
the source BDF file and recompile it.

--
The fact is, most software is crap, and most software developers
are lazy and stupid. Same as most customers are stupid too.
                         -- Hua Zhong, Linux Kernel Mailing List
_______________________________________________
Fontconfig mailing list
Fontconfig@...
http://lists.freedesktop.org/mailman/listinfo/fontconfig

Re: Family name issue

by Nicolas Mailhot :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



Le Mer 1 juillet 2009 12:17, Krzysztof Kotlenga a écrit :

> Fontconfig doesn't use fonts.* files. You have to set FAMILY_NAME in
> the source BDF file and recompile it.

As an aside, a simple full-distro font check flagged many problems in
xorg fonts (225 fc-query failures in xorg-x11-fonts-misc alone), so
xorg fonts seem ripe for some reworking (or graceful retirement)

(see the check results in the end of
http://www.redhat.com/archives/fedora-fonts-list/2009-June/msg00001.html
)

--
Nicolas Mailhot

_______________________________________________
Fontconfig mailing list
Fontconfig@...
http://lists.freedesktop.org/mailman/listinfo/fontconfig