Danek Duvall wrote:
> I think this is a great idea. This relates to Tim's work on SMF manifests
> as well as to the attributes we already put on ELF files (elfbits and
> elfarch, and elfhash) during publication. Having more per-file searchable
> metadata is generally a good thing, and fonts are certainly something that
> could stand to be found a bit more easily.
>
> I'd suggest creating a namespace under "info":
>
> info.file.ttf.xlfd="-bitstream-bitstream vera sans
> mono-bold-r-normal--0-0-0-0-m-0-iso10646-1"
> info.file.ttf.name="Bitstream Vera Sans Mono Bold"
Okay, though I'll go with "font" instead of ttf, since these apply to
.pcf, .otf, .ttc, .pfa, and .pfb fonts as well (and probably a few more
formats if we shipped them).
In the format of the doc/tags-and-attributes.txt list, I'd propose:
info.file.font.name
The name of a font contained in a given file. There may be multiple
values per file for formats which collect multiple typefaces into a
single file, such as .ttc (TrueType Collections), or for font aliases.
May also be provided in localized variants, such as a Chinese font
providing both info.file.font.name:en and info.file.font.name:zh for
the English and Chinese names for the font.
info.file.font.xlfd
An X Logical Font Description (XLFD) for a font contained in a
given file. Should match an XLFD listed in the provided fonts.dir
or fonts.alias for the file. There may be multiple values per file
due to font aliases.
--
-Alan Coopersmith- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss