Subject: extending mk/fonts.mk and mk/install/fonts
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 03/12/2004 13:13:17
It would be nice if mk/fonts.mk and mk/install/fonts had support for
things like the following:
${X11BASE}/bin/mkfontscale ${X11BASE}/lib/X11/fonts/Speedo
${X11BASE}/bin/mkfontdir ${X11BASE}/lib/X11/fonts/Speedo
(Well it does have that, but fonts.dir is needed before the next step; so
can't rely on fonts.mk because it is too late.)
${X11ROOT}/bin/mkfontdir -e ${X11BASE}/lib/X11/fonts/encodings \
-e ${X11BASE}/lib/X11/fonts/encodings/large \
${X11BASE}/lib/X11/fonts/Speedo
${LOCALBASE}/bin/fc-cache ${X11BASE}/lib/X11/fonts/TTF
I think fc-cache should be ran automatically each time a new font package
is added.
The above are examples of what is used for new XFree86-fontsScalable.
Jeremy C. Reed
http://www.reedmedia.net/