[GRASS-dev] [grass-code R][388] freetype display needs to support multiple faces in a font file

code R item #388, was opened at 2007-05-01 23:23
Status: Open
Priority: 3
Submitted By: William Kyngesburye (kyngchaos)
Assigned to: Nobody (None)
Summary: freetype display needs to support multiple faces in a font file
Issue status: None
GRASS component: display
Operating system: MacOS X
Operating system version: any

Initial Comment:
Some font packages can contain multiple faces (styles) in a single file. This includes, on OSX resource(suitcase) fonts and dfonts, and on any platform otf fonts. Most of the useful fonts included in OSX have multiple faces in a font file.

FreeType display routines and commands need to support specifying a face within a font file, either by index number or name. If used without a face, FT uses the first face found in a file. This is not guaranteed to be what might be expected, such as a plain style. And of course, none of the other styles, or faces, in the font can be used.

An additional useful tool would be a command to return info on a font file, such as the faces in the file and their index numbers, maybe the type of font (TT, PS or others). d.freetype.info maybe?

----------------------------------------------------------------------

You can respond by visiting:
http://wald.intevation.org/tracker/?func=detail&atid=188&aid=388&group_id=21