[GRASS-dev] the other part of font face index support
woklist at kyngchaos.com
Fri May 4 16:23:31 CEST 2007
I guess I didn't finish my thoughts in my email (oops)...
- Add some utility to retrieve font info using FT functions - either
an etc/ tool or a module (ie d.freetype.info). mkftcap would step
thru each font file in the initial list and see if it has multiple
faces, building a new more complete freetypecap list.
It could even be used in place of fc-list, since mkftcap checks the
usual dirs anyways, and can check dirs passed to it. Instead of
finding specific extensions, get the font info on every file, and if
it's not a font file, no info will be returned. Unusable fonts, like
PCF, can still be detected and skipped.
If you can write a simple utility like this, go for it. And it would
be much more dependable than using fc-list IF it's installed, or
requiring yet another external package to be installed, since it
would be a part of GRASS.
On May 4, 2007, at 1:36 AM, Wolf Bergenheim wrote:
> Ah. it is part of the fttools package on Debian. Well I guess one (I)
> could make a similar utility to ship with GRASS...
> On 04.05.2007 08:52, Michael Barton wrote:
>> This is not installed on my Mac, although I have installed X11 and
>> a bunch
>> of other stuff.
>> On 5/3/07 10:30 PM, "Wolf Bergenheim" <wolf+grass at bergenheim.net>
>>> Perhaps the ftinfo tool can help you find more things about the
>>> ftinfo -a fontfile will give you a lot of data :)
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
"This is a question about the past, is it? ... How can I tell that
the past isn't a fiction designed to account for the discrepancy
between my immediate physical sensations and my state of mind?"
- The Ruler of the Universe
More information about the grass-dev