Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 277789

Summary: Automatic font installation
Product: Gentoo Linux Reporter: Mart Raudsepp <leio>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: CONFIRMED ---    
Severity: enhancement CC: fonts, volkmar
Priority: Lowest    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://behdad.org/text/ http://behdad.org/download/Presentations/slippy/stateoftext_slides.pdf
Whiteboard:
Package list:
Runtime testing required: ---

Description Mart Raudsepp gentoo-dev 2009-07-14 10:20:51 UTC
This is a tracker for a long term goal feature of getting automatic font installation to Gentoo.

As from the slides in the URL, modified a bit for Gentoo use, this could go like this:

1. A tinderbox package manager hook detects font at pkg build or postinst time
2. Package gets tagged using fc-query(?)
3. PackageKit installs GTK+ module - could be some other minimal thing that just notifies user of what package needs to be installed to see all the fonts
4. GTK+ overrides Pango default fontmap
5. PackageKit receives font install request
6. Installed fonts are picked up

For 2), another option could be to record it in metadata.xml (would involve DTD changes, perhaps a GLEP and dev consensus, but pretty straightforward) and have all developers have PM hooks that check for fonts in a package and complain if metadata.xml is outdated in regards to font information