#include <ft2build.h>
Go to the source code of this file.
#define _bdf_clear_glyph_modified | ( | map, | |||
e | ) | ( (map)[(e) >> 5] &= ~( 1 << ( (e) & 31 ) ) ) |
#define _bdf_glyph_modified | ( | map, | |||
e | ) | ( (map)[(e) >> 5] & ( 1 << ( (e) & 31 ) ) ) |
#define _bdf_set_glyph_modified | ( | map, | |||
e | ) | ( (map)[(e) >> 5] |= ( 1 << ( (e) & 31 ) ) ) |
#define BDF_ALL_SPACING |
#define BDF_ATOM 1 |
Definition at line 102 of file bdf.h.
Referenced by _bdf_add_property(), _bdf_is_atom(), BDF_Face_Init(), bdf_free_font(), bdf_get_bdf_property(), and bdf_interpret_style().
#define BDF_CARDINAL 3 |
Definition at line 104 of file bdf.h.
Referenced by _bdf_add_property(), and bdf_get_bdf_property().
#define BDF_CHARCELL 0x20 |
Definition at line 65 of file bdf.h.
Referenced by _bdf_add_property(), and _bdf_set_default_spacing().
#define BDF_DEFAULT_LOAD_OPTIONS |
Value:
( BDF_CORRECT_METRICS | \ BDF_KEEP_COMMENTS | \ BDF_KEEP_UNENCODED | \ BDF_PROPORTIONAL )
#define BDF_INTEGER 2 |
Definition at line 103 of file bdf.h.
Referenced by _bdf_add_property(), and bdf_get_bdf_property().
#define BDF_MONOWIDTH 0x10 |
Definition at line 64 of file bdf.h.
Referenced by _bdf_add_property(), and _bdf_set_default_spacing().
#define BDF_PROPORTIONAL 0x08 |
Definition at line 63 of file bdf.h.
Referenced by _bdf_add_property(), _bdf_set_default_spacing(), BDF_Face_Init(), and bdf_load_font().
typedef struct _hashnode_ _hashnode |
typedef struct bdf_bbx_t_ bdf_bbx_t |
typedef struct bdf_font_t_ bdf_font_t |
typedef struct bdf_glyph_t_ bdf_glyph_t |
typedef struct bdf_glyphlist_t_ bdf_glyphlist_t |
typedef int(*) bdf_options_callback_t(bdf_options_t *opts, char **params, unsigned long nparams, void *client_data) |
typedef struct bdf_options_t_ bdf_options_t |
typedef struct bdf_property_t_ bdf_property_t |
typedef struct _hashnode_ * hashnode |
typedef struct hashtable_ hashtable |
bdf_free_font | ( | bdf_font_t * | font | ) |
Definition at line 2385 of file bdflib.c.
References bdf_property_t_::atom, BDF_ATOM, bdf_glyph_t_::bitmap, bdf_property_t_::format, FT_FREE, hash_free(), i, bdf_property_t_::name, bdf_glyph_t_::name, and bdf_property_t_::value.
Referenced by BDF_Face_Done(), and bdf_load_font().
bdf_get_font_property | ( | bdf_font_t * | font, | |
const char * | name | |||
) |
Definition at line 2466 of file bdflib.c.
References _hashnode_::data, and hash_lookup().
Referenced by _bdf_parse_properties(), BDF_Face_Init(), bdf_get_bdf_property(), and bdf_interpret_style().
bdf_get_property | ( | char * | name, | |
bdf_font_t * | font | |||
) |
Definition at line 1020 of file bdflib.c.
References _num_bdf_properties, _hashnode_::data, hash_lookup(), and size_t.
Referenced by _bdf_is_atom().
bdf_load_font | ( | FT_Stream | stream, | |
FT_Memory | memory, | |||
bdf_options_t * | opts, | |||
bdf_font_t ** | font | |||
) |
Definition at line 2226 of file bdflib.c.
References _BDF_GLYPHS, _bdf_list_done(), _bdf_list_init(), _bdf_opts, _bdf_parse_start(), _bdf_readstream(), _BDF_START, _BDF_SWIDTH_ADJ, ACMSG15, ACMSG3, ACMSG4, ACMSG5, ACMSG6, ACMSG7, ACMSG8, bdf_free_font(), BDF_PROPORTIONAL, ERRMSG2, ERRMSG3, error, FT_ERROR, FT_FREE, FT_NEW, FT_RENEW_ARRAY, FT_TRACE2, NULL, p, and short.
Referenced by BDF_Face_Init().