Sack Library Documentation
|
|
struct font_global_tag { FT_Library library; _32 nFonts; FONT_ENTRY * pFontCache; CRITICALSECTION cs; }; typedef struct font_global_tag { FT_Library library; _32 nFonts; FONT_ENTRY * pFontCache; CRITICALSECTION cs; } FONT_GLOBAL;
Members |
Description |
FT_Library library; |
This is the freetype instance variable that font rendering uses. Thread access to rendering is controlled, only a single thread may render using this instance at a time. |
FONT_ENTRY * pFontCache; |
This is an overview of the internal font cache. The Fonts.cache file is a semi-compressed quick reference table of compressed strings. The cache is an array of PFONT_ENTRY. Each entry has a name; it is the name of the font as described by the font file. each PFONT_ENTRY has an array of PFONT_STYLE. Each style has a name; it is usually something like Regular, Bold, Italic... Styles also have a flag whether it is mono spaced. each PFONT_STYLE has an array of PSIZE_FILE. Each size_file entry has an array of PSIZES. Each size_file also has a path and filename associated. At this point, the file may be different. It may also have a link to alternate files which are the same font (style name and family name match...). each PSIZES describes a possible rendering size of the font. If it is -1,-1, the font is scalable, otherwise specific x by y needs to be specified. So To Reiterate |
sack::image::font_global_tag Structure
Copyright (c) 2000+. All rights reserved.
|
What do you think about this topic? Send feedback!
|