[Fedora-packaging] requiring a (non-specific) font?

Omair Majid omajid at redhat.com
Sun Sep 30 02:31:04 UTC 2012


On 09/28/2012 04:14 PM, Matthew Miller wrote:
> I happened to install Scratch onto a remove VM (on Fedora Infrastructure's
> new private cloud, in fact) where no fonts were installed. It runs, but
> Pango throws warnings about not having anything for 'latin' or 'common' --
> and of course the UI has boxes where the menus and variables should be.
> 
> I could require something generic, like 'font(:lang=en)', but that's likely
> to pull in a random decorative font.
> 
> I could require some specific font, but that seems wrong. (Particularly
> since if a "better" match for latin or common happen to be installed,
> whatever I said is a requirement will actually be irrelevant.)
> 
> Orrr, should I just not worry about this case?
> 

How about installing fonts on demand? PackageKit has some support for
this [1] [2]. Pango should be using it already, in fact. So this sounds
like a bug.

Cheers,
Omair

[1] http://fedoraproject.org/wiki/Features/AutomaticFontInstallation
[2]
http://blogs.gnome.org/hughsie/2008/12/01/packagekit-and-pango-are-now-friends/


More information about the packaging mailing list