[GRASS-dev] font path question for Linux and Windows
Glynn Clements
glynn at gclements.plus.com
Tue May 1 22:18:20 EDT 2007
William Kyngesburye wrote:
> I just had a chance to check OSX 10.3 (Panther) X11 - fontconfig is
> present. For OSX Panther, X11 is v1.0, before that (OSX 10.2 and
> below) it was a beta and is not available for download any more, as
> far as I can tell. I think the betas must be where fontconfig wasn't
> a part of Apple's X11 package (and I'm sure it wasn't at first).
>
> So, using fc-list on OSX, if it's available, for mkftcap is
> reasonable, for now.
Is it possible to filter any non-TrueType fonts from the output? Or
are there not enough TrueType fonts to worry about?
We can probably tolerate a few bogus entries in an auto-generated
freetypecap file; the user can always remove entries which don't work.
However, on my system, "fc-list :outline file" generates 102 entries;
51 are .ttf files and 51 are .pfa/.pfb files, which is too high a
signal-to-noise ratio.
That doesn't matter on Linux, as I can just ignore anything which
doesn't have a .ttf extension. For OSX, we'll need to find some other
way unless the number of false positives in the original fc-list
output is low.
--
Glynn Clements <glynn at gclements.plus.com>
More information about the grass-dev
mailing list