Identifying remaining core font users

Patrice Dumas pertusus at free.fr
Fri Nov 13 10:06:47 UTC 2009


On Wed, Nov 11, 2009 at 01:11:03PM +0100, Nicolas Mailhot wrote:
> Hi,
> 
> • grads grads-0:1.9b4-28.fc12
>   — /usr/bin/gradsc
>   — /usr/bin/gradsdods
>   — /usr/bin/gradshdf
>   — /usr/bin/gradsnc
>   — /usr/bin/gxtran

The X core fonts are used to draw custom widgets on the graphs. Maybe
using xft as a build-time alternative would be acceptable upstream. I may
have a look at it at some point. In the mean time it defaults to fixed 
font which should always be available.

> • lesstif lesstif-0:0.95.2-1.fc12
>   — /usr/lib64/libMrm.so.2.0.1
>   — /usr/lib64/libXm.so.2.0.1

lesstif since 2003 or so and Motif more generally supports Xft. I don't knwow
exactly how integrated this is with fontconfig. When there is a need to do 
some low level stuff with fonts (for example getting the font dimensions), 
the calling appliaction should check whether this is a X Font, an X FontSet 
or an Xft font and act accordingly. So for Motif clients, there should always
be some handling of X core fonts in parallel with Xft fonts. And in most cases
the font style should not be known by the application since high level
Motif API should be used.

> • xbae xbae-0:4.60.4-12.fc12
>   — /usr/lib64/libXbae.so.4.0.60

xbae uses some low level font handling in Draw.c/Create.c and XFT should
be supported here. There is a request:
https://sourceforge.net/tracker/?func=detail&aid=2811228&group_id=31337&atid=401983
I may have a look as time permits.

--
Pat




More information about the fedora-devel-list mailing list