Visualization Library 2.0.0-b5
A lightweight C++ OpenGL middleware for 2D/3D graphics
|
[Download] [Tutorials] [All Classes] [Grouped Classes] |
Go to the source code of this file.
Macros | |
#define | FT_COMPONENT trace_bdflib |
#define | ACMSG1 |
#define | ACMSG2 |
#define | ACMSG3 "Font width != actual width. Old: %hd New: %hd.\n" |
#define | ACMSG4 |
#define | ACMSG5 "Font ascent != actual ascent. Old: %hd New: %hd.\n" |
#define | ACMSG6 "Font descent != actual descent. Old: %hd New: %hd.\n" |
#define | ACMSG7 "Font height != actual height. Old: %hd New: %hd.\n" |
#define | ACMSG8 "Glyph scalable width (SWIDTH) adjustments made.\n" |
#define | ACMSG9 "SWIDTH field missing at line %ld. Set automatically.\n" |
#define | ACMSG10 "DWIDTH field missing at line %ld. Set to glyph width.\n" |
#define | ACMSG11 "SIZE bits per pixel field adjusted to %hd.\n" |
#define | ACMSG12 "Duplicate encoding %ld (%s) changed to unencoded.\n" |
#define | ACMSG13 "Glyph %ld extra rows removed.\n" |
#define | ACMSG14 "Glyph %ld extra columns removed.\n" |
#define | ACMSG15 "Incorrect glyph count: %ld indicated but %ld found.\n" |
#define | ACMSG16 "Glyph %ld missing columns padded with zero bits.\n" |
#define | ERRMSG1 "[line %ld] Missing `%s' line.\n" |
#define | ERRMSG2 "[line %ld] Font header corrupted or missing fields.\n" |
#define | ERRMSG3 "[line %ld] Font glyphs corrupted or missing fields.\n" |
#define | ERRMSG4 "[line %ld] BBX too big.\n" |
#define | ERRMSG5 "[line %ld] `%s' value too big.\n" |
#define | ERRMSG6 "[line %ld] Input line too long.\n" |
#define | ERRMSG7 "[line %ld] Font name too long.\n" |
#define | ERRMSG8 "[line %ld] Invalid `%s' value.\n" |
#define | ERRMSG9 "[line %ld] Invalid keyword.\n" |
#define | DBGMSG1 " [%6ld] %s" /* no \n */ |
#define | DBGMSG2 " (0x%lX)\n" |
#define | INITIAL_HT_SIZE 241 |
#define | setsbit(m, cc) ( m[(FT_Byte)(cc) >> 3] |= (FT_Byte)( 1 << ( (cc) & 7 ) ) ) |
#define | sbitset(m, cc) ( m[(FT_Byte)(cc) >> 3] & ( 1 << ( (cc) & 7 ) ) ) |
#define | NO_SKIP 256 /* this value cannot be stored in a 'char' */ |
#define | _BDF_START 0x0001 |
#define | _BDF_FONT_NAME 0x0002 |
#define | _BDF_SIZE 0x0004 |
#define | _BDF_FONT_BBX 0x0008 |
#define | _BDF_PROPS 0x0010 |
#define | _BDF_GLYPHS 0x0020 |
#define | _BDF_GLYPH 0x0040 |
#define | _BDF_ENCODING 0x0080 |
#define | _BDF_SWIDTH 0x0100 |
#define | _BDF_DWIDTH 0x0200 |
#define | _BDF_BBX 0x0400 |
#define | _BDF_BITMAP 0x0800 |
#define | _BDF_SWIDTH_ADJ 0x1000 |
#define | _BDF_GLYPH_BITS |
#define | _BDF_GLYPH_WIDTH_CHECK 0x40000000UL |
#define | _BDF_GLYPH_HEIGHT_CHECK 0x80000000UL |
Typedefs | |
typedef void(* | hash_free_func) (hashnode node) |
typedef FT_Error(* | _bdf_line_func_t) (char *line, unsigned long linelen, unsigned long lineno, void *call_data, void *client_data) |
typedef struct _bdf_list_t_ | _bdf_list_t |
typedef struct _bdf_parse_t_ | _bdf_parse_t |
Functions | |
bdf_get_property (char *name, bdf_font_t *font) | |
bdf_load_font (FT_Stream stream, FT_Memory extmemory, bdf_options_t *opts, bdf_font_t **font) | |
bdf_free_font (bdf_font_t *font) | |
bdf_get_font_property (bdf_font_t *font, const char *name) | |
#define _BDF_GLYPH_BITS |
#define ACMSG1 |
#define ACMSG10 "DWIDTH field missing at line %ld. Set to glyph width.\n" |
#define ACMSG12 "Duplicate encoding %ld (%s) changed to unencoded.\n" |
#define ACMSG13 "Glyph %ld extra rows removed.\n" |
#define ACMSG14 "Glyph %ld extra columns removed.\n" |
#define ACMSG15 "Incorrect glyph count: %ld indicated but %ld found.\n" |
#define ACMSG16 "Glyph %ld missing columns padded with zero bits.\n" |
#define ACMSG2 |
#define ACMSG4 |
#define ACMSG5 "Font ascent != actual ascent. Old: %hd New: %hd.\n" |
#define ACMSG6 "Font descent != actual descent. Old: %hd New: %hd.\n" |
#define ACMSG9 "SWIDTH field missing at line %ld. Set automatically.\n" |
#define ERRMSG2 "[line %ld] Font header corrupted or missing fields.\n" |
#define ERRMSG3 "[line %ld] Font glyphs corrupted or missing fields.\n" |
#define ERRMSG9 "[line %ld] Invalid keyword.\n" |
typedef struct _bdf_list_t_ _bdf_list_t |
typedef struct _bdf_parse_t_ _bdf_parse_t |
bdf_free_font | ( | bdf_font_t * | font | ) |
bdf_get_font_property | ( | bdf_font_t * | font, |
const char * | name | ||
) |
Definition at line 2604 of file bdflib.c.
Referenced by BDF_Face_Init().
bdf_get_property | ( | char * | name, |
bdf_font_t * | font | ||
) |
bdf_load_font | ( | FT_Stream | stream, |
FT_Memory | extmemory, | ||
bdf_options_t * | opts, | ||
bdf_font_t ** | font | ||
) |
Visualization Library 2.0.0-b5 Reference Documentation
Updated on Mon Feb 10 2020 02:44:55.
© Copyright Michele Bosi. All rights reserved.