font dependency packaging question

Nicolas Mailhot nicolas.mailhot at laposte.net
Sun Sep 5 09:13:47 UTC 2010


Le mardi 31 août 2010 à 20:58 -0700, Carl Byington a écrit :
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I have a package (ghemical) which requires a courier 12 font for use in
> its xwindow gui. I clearly need some dependency that will drag in
> 
> xorg-x11-fonts-ISO8859-1-100dpi
> or
> xorg-x11-fonts-ISO8859-1-75dpi
> 
> but those probably depend on the actual user's display resolution. What
> is the appropriate 'requires' for the .spec file?

This is all legacy core fonts stuff that won't work at all in any i18n
context (ISO8859-1 is not even sufficient for major European languages
such as French, you'd need ISO8859-15, but then most core font apps are
not even smart enough to use anything but ISO8859-1).

The application should be changed upstream to use fontconfig and
unicode, and then you wouldn't need to require anything at all (you
could require font(courier) if you had a specific stylistic requirement
in the app, but most of the times that's counter-productive in a
fontconfig context)

-- 
Nicolas Mailhot



More information about the devel mailing list