[oe] Bug 2430 -- TrueType fonts handling and solution for it
Marcin Juszkiewicz
openembedded at haerwu.biz
Mon Jan 21 13:08:31 UTC 2008
http://bugs.openembedded.net/show_bug.cgi?id=2430
Rolf Leggewie tries to solve problem when TrueType/OpenType fonts are used
in OPIE or other environments.
Currently installing new font does not add it into list of available ones
as there is no consensus how to handle it. I want to tell how I see it.
1. There will be /etc/update-fonts.d/ directory where
packages/environments will add own scripts for handling fonts
2. There will be "update-fonts" package which contain script which calls
all those scipts (via "run-parts /etc/update-fonts.d/" command)
3. "opie-ttf-support" script will install "update-qtttffontdir" command in
${bindir} and script which will call it in /etc/update-fonts.d/
4. "fontconfig-utils" will also store own script in /etc/update-fonts.d/
5. packages/ttf-fonts/ttf.inc will RDEPEND on "update-fonts" and will call
it in postinst/postrm
6. qpf.bbclass (which should be renamed to qpf.inc and moved to
packages/qpf-fonts) will also RDEPEND on "update-fonts" and will call
it in postinst/postrm
7. qpf fonts will also RDEPEND on qte-fonts-common which
provide "update-qtfontdir" script
This way we have solution which can be extended to any format of fonts and
into any environment without changing anything. If someone will
create "XDE" which do not use fontconfig but use TrueType fonts then it
will only need to install own script into /etc/update-fonts.d/ to have
them supported.
Any ideas/objections?
--
JID: hrw-jabber.org
OpenEmbedded developer/consultant
bloody internet
there was once peace and then the internet came in :-)
More information about the Openembedded-devel
mailing list