w32tex
About: TeX Live provides a comprehensive TeX system including all the major TeX-related programs, macro packages, and fonts that are free software. Windows sources.
  Fossies Dox: w32tex-src.tar.xz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

bdflib.c File Reference
#include <freetype/freetype.h>
#include <freetype/internal/ftdebug.h>
#include <freetype/internal/ftstream.h>
#include <freetype/internal/ftobjs.h>
#include "bdf.h"
#include "bdferror.h"
Include dependency graph for bdflib.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _bdf_list_t_
 
struct  _bdf_parse_t_
 

Macros

#define FT_COMPONENT   bdflib
 
#define _bdf_strncmp(name, property, n)
 
#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 ACMSG13   "Glyph %lu extra rows removed.\n"
 
#define ACMSG14   "Glyph %lu extra columns removed.\n"
 
#define ACMSG15   "Incorrect glyph count: %ld indicated but %ld found.\n"
 
#define ACMSG16   "Glyph %lu missing columns padded with zero bits.\n"
 
#define ACMSG17   "Adjusting number of glyphs to %ld.\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 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_   0x0001U
 
#define BDF_FONT_NAME_   0x0002U
 
#define BDF_SIZE_   0x0004U
 
#define BDF_FONT_BBX_   0x0008U
 
#define BDF_PROPS_   0x0010U
 
#define BDF_GLYPHS_   0x0020U
 
#define BDF_GLYPH_   0x0040U
 
#define BDF_ENCODING_   0x0080U
 
#define BDF_SWIDTH_   0x0100U
 
#define BDF_DWIDTH_   0x0200U
 
#define BDF_BBX_   0x0400U
 
#define BDF_BITMAP_   0x0800U
 
#define BDF_SWIDTH_ADJ_   0x1000U
 
#define BDF_GLYPH_BITS_
 
#define BDF_GLYPH_WIDTH_CHECK_   0x40000000UL
 
#define BDF_GLYPH_HEIGHT_CHECK_   0x80000000UL
 

Typedefs

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

static void _bdf_list_init (_bdf_list_t *list, FT_Memory memory)
 
static void _bdf_list_done (_bdf_list_t *list)
 
static FT_Error _bdf_list_ensure (_bdf_list_t *list, unsigned long num_items)
 
static void _bdf_list_shift (_bdf_list_t *list, unsigned long n)
 
static char * _bdf_list_join (_bdf_list_t *list, int c, unsigned long *alen)
 
static FT_Error _bdf_list_split (_bdf_list_t *list, const char *separators, char *line, unsigned long linelen)
 
static FT_Error _bdf_readstream (FT_Stream stream, _bdf_line_func_t callback, void *client_data, unsigned long *lno)
 
static unsigned long _bdf_atoul (const char *s)
 
static long _bdf_atol (const char *s)
 
static unsigned short _bdf_atous (const char *s)
 
static short _bdf_atos (const char *s)
 
static int by_encoding (const void *a, const void *b)
 
static FT_Error bdf_create_property (const char *name, int format, bdf_font_t *font)
 
 bdf_get_property (char *name, bdf_font_t *font)
 
static FT_Error _bdf_add_comment (bdf_font_t *font, char *comment, unsigned long len)
 
static FT_Error _bdf_set_default_spacing (bdf_font_t *font, bdf_options_t *opts, unsigned long lineno)
 
static int _bdf_is_atom (char *line, unsigned long linelen, char **name, char **value, bdf_font_t *font)
 
static FT_Error _bdf_add_property (bdf_font_t *font, const char *name, char *value, unsigned long lineno)
 
static FT_Error _bdf_parse_end (char *line, unsigned long linelen, unsigned long lineno, void *call_data, void *client_data)
 
static FT_Error _bdf_parse_glyphs (char *line, unsigned long linelen, unsigned long lineno, void *call_data, void *client_data)
 
static FT_Error _bdf_parse_properties (char *line, unsigned long linelen, unsigned long lineno, void *call_data, void *client_data)
 
static FT_Error _bdf_parse_start (char *line, unsigned long linelen, unsigned long lineno, void *call_data, void *client_data)
 
 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)
 

Variables

static const bdf_options_t _bdf_opts
 
static const bdf_property_t _bdf_properties []
 
static const unsigned long _num_bdf_properties
 
static const char empty [] = ""
 
static const unsigned char a2i [128]
 
static const unsigned char ddigits [32]
 
static const unsigned char hdigits [32]
 
static const unsigned char nibble_mask [8]
 

Macro Definition Documentation

◆ _bdf_strncmp

#define _bdf_strncmp (   name,
  property,
  n 
)
Value:
( ft_strncmp( name, property, n ) || \
!( name[n] == ' ' || \
name[n] == '\0' || \
name[n] == '\n' || \
name[n] == '\r' || \
name[n] == '\t' ) )
#define name
#define n
Definition: t4ht.c:1290
#define ft_strncmp
Definition: ftstdlib.h:89

Definition at line 175 of file bdflib.c.

◆ ACMSG1

#define ACMSG1
Value:
"FONT_ASCENT property missing. " \
"Added `FONT_ASCENT %hd'.\n"

Definition at line 184 of file bdflib.c.

◆ ACMSG10

#define ACMSG10   "DWIDTH field missing at line %ld. Set to glyph width.\n"

Definition at line 196 of file bdflib.c.

◆ ACMSG11

#define ACMSG11   "SIZE bits per pixel field adjusted to %hd.\n"

Definition at line 197 of file bdflib.c.

◆ ACMSG13

#define ACMSG13   "Glyph %lu extra rows removed.\n"

Definition at line 198 of file bdflib.c.

◆ ACMSG14

#define ACMSG14   "Glyph %lu extra columns removed.\n"

Definition at line 199 of file bdflib.c.

◆ ACMSG15

#define ACMSG15   "Incorrect glyph count: %ld indicated but %ld found.\n"

Definition at line 200 of file bdflib.c.

◆ ACMSG16

#define ACMSG16   "Glyph %lu missing columns padded with zero bits.\n"

Definition at line 201 of file bdflib.c.

◆ ACMSG17

#define ACMSG17   "Adjusting number of glyphs to %ld.\n"

Definition at line 202 of file bdflib.c.

◆ ACMSG2

#define ACMSG2
Value:
"FONT_DESCENT property missing. " \
"Added `FONT_DESCENT %hd'.\n"

Definition at line 186 of file bdflib.c.

◆ ACMSG3

#define ACMSG3   "Font width != actual width. Old: %hd New: %hd.\n"

Definition at line 188 of file bdflib.c.

◆ ACMSG4

#define ACMSG4
Value:
"Font left bearing != actual left bearing. " \
"Old: %hd New: %hd.\n"

Definition at line 189 of file bdflib.c.

◆ ACMSG5

#define ACMSG5   "Font ascent != actual ascent. Old: %hd New: %hd.\n"

Definition at line 191 of file bdflib.c.

◆ ACMSG6

#define ACMSG6   "Font descent != actual descent. Old: %hd New: %hd.\n"

Definition at line 192 of file bdflib.c.

◆ ACMSG7

#define ACMSG7   "Font height != actual height. Old: %hd New: %hd.\n"

Definition at line 193 of file bdflib.c.

◆ ACMSG8

#define ACMSG8   "Glyph scalable width (SWIDTH) adjustments made.\n"

Definition at line 194 of file bdflib.c.

◆ ACMSG9

#define ACMSG9   "SWIDTH field missing at line %ld. Set automatically.\n"

Definition at line 195 of file bdflib.c.

◆ BDF_BBX_

#define BDF_BBX_   0x0400U

Definition at line 919 of file bdflib.c.

◆ BDF_BITMAP_

#define BDF_BITMAP_   0x0800U

Definition at line 920 of file bdflib.c.

◆ BDF_DWIDTH_

#define BDF_DWIDTH_   0x0200U

Definition at line 918 of file bdflib.c.

◆ BDF_ENCODING_

#define BDF_ENCODING_   0x0080U

Definition at line 916 of file bdflib.c.

◆ BDF_FONT_BBX_

#define BDF_FONT_BBX_   0x0008U

Definition at line 912 of file bdflib.c.

◆ BDF_FONT_NAME_

#define BDF_FONT_NAME_   0x0002U

Definition at line 910 of file bdflib.c.

◆ BDF_GLYPH_

#define BDF_GLYPH_   0x0040U

Definition at line 915 of file bdflib.c.

◆ BDF_GLYPH_BITS_

#define BDF_GLYPH_BITS_
Value:
( BDF_GLYPH_ | \
BDF_ENCODING_ | \
BDF_SWIDTH_ | \
BDF_DWIDTH_ | \
BDF_BBX_ | \
BDF_BITMAP_ )
#define BDF_GLYPH_
Definition: bdflib.c:915

Definition at line 924 of file bdflib.c.

◆ BDF_GLYPH_HEIGHT_CHECK_

#define BDF_GLYPH_HEIGHT_CHECK_   0x80000000UL

Definition at line 932 of file bdflib.c.

◆ BDF_GLYPH_WIDTH_CHECK_

#define BDF_GLYPH_WIDTH_CHECK_   0x40000000UL

Definition at line 931 of file bdflib.c.

◆ BDF_GLYPHS_

#define BDF_GLYPHS_   0x0020U

Definition at line 914 of file bdflib.c.

◆ BDF_PROPS_

#define BDF_PROPS_   0x0010U

Definition at line 913 of file bdflib.c.

◆ BDF_SIZE_

#define BDF_SIZE_   0x0004U

Definition at line 911 of file bdflib.c.

◆ BDF_START_

#define BDF_START_   0x0001U

BDF font file parsing flags and functions.

Definition at line 909 of file bdflib.c.

◆ BDF_SWIDTH_

#define BDF_SWIDTH_   0x0100U

Definition at line 917 of file bdflib.c.

◆ BDF_SWIDTH_ADJ_

#define BDF_SWIDTH_ADJ_   0x1000U

Definition at line 922 of file bdflib.c.

◆ DBGMSG1

#define DBGMSG1   " [%6ld] %s" /* no \n */

Definition at line 216 of file bdflib.c.

◆ DBGMSG2

#define DBGMSG2   " (0x%lX)\n"

Definition at line 217 of file bdflib.c.

◆ ERRMSG1

#define ERRMSG1   "[line %ld] Missing `%s' line.\n"

Definition at line 205 of file bdflib.c.

◆ ERRMSG2

#define ERRMSG2   "[line %ld] Font header corrupted or missing fields.\n"

Definition at line 206 of file bdflib.c.

◆ ERRMSG3

#define ERRMSG3   "[line %ld] Font glyphs corrupted or missing fields.\n"

Definition at line 207 of file bdflib.c.

◆ ERRMSG4

#define ERRMSG4   "[line %ld] BBX too big.\n"

Definition at line 208 of file bdflib.c.

◆ ERRMSG5

#define ERRMSG5   "[line %ld] `%s' value too big.\n"

Definition at line 209 of file bdflib.c.

◆ ERRMSG6

#define ERRMSG6   "[line %ld] Input line too long.\n"

Definition at line 210 of file bdflib.c.

◆ ERRMSG7

#define ERRMSG7   "[line %ld] Font name too long.\n"

Definition at line 211 of file bdflib.c.

◆ ERRMSG8

#define ERRMSG8   "[line %ld] Invalid `%s' value.\n"

Definition at line 212 of file bdflib.c.

◆ ERRMSG9

#define ERRMSG9   "[line %ld] Invalid keyword.\n"

Definition at line 213 of file bdflib.c.

◆ FT_COMPONENT

#define FT_COMPONENT   bdflib

This file is based on bdf.c,v 1.22 2000/03/16 20:08:50

taken from Mark Leisher's xmbdfed package The macro FT_COMPONENT is used in trace mode. It is an implicit parameter of the FT_TRACE() and FT_ERROR() macros, used to print/log messages during execution.

Definition at line 51 of file bdflib.c.

◆ NO_SKIP

#define NO_SKIP   256 /* this value cannot be stored in a 'char' */

Definition at line 514 of file bdflib.c.

◆ sbitset

#define sbitset (   m,
  cc 
)     ( m[(FT_Byte)(cc) >> 3] & ( 1 << ( (cc) & 7 ) ) )

Definition at line 281 of file bdflib.c.

◆ setsbit

#define setsbit (   m,
  cc 
)     ( m[(FT_Byte)(cc) >> 3] |= (FT_Byte)( 1 << ( (cc) & 7 ) ) )

Definition at line 279 of file bdflib.c.

Typedef Documentation

◆ _bdf_line_func_t

typedef FT_Error(* _bdf_line_func_t) (char *line, unsigned long linelen, unsigned long lineno, void *call_data, void *client_data)

Utility types and functions.

Definition at line 229 of file bdflib.c.

◆ _bdf_list_t

typedef struct _bdf_list_t_ _bdf_list_t

◆ _bdf_parse_t

typedef struct _bdf_parse_t_ _bdf_parse_t

Function Documentation

◆ _bdf_add_comment()

static FT_Error _bdf_add_comment ( bdf_font_t font,
char *  comment,
unsigned long  len 
)
static

Definition at line 936 of file bdflib.c.

References comment, cp, error, Exit(), FT_Err_Ok, FT_MEM_COPY, FT_RENEW_ARRAY, and len.

Referenced by _bdf_parse_glyphs(), and _bdf_parse_start().

◆ _bdf_add_property()

◆ _bdf_atol()

static long _bdf_atol ( const char *  s)
static

Definition at line 720 of file bdflib.c.

References a2i, ddigits, FT_LONG_MAX, s, sbitset, and v.

Referenced by _bdf_add_property(), and _bdf_parse_glyphs().

◆ _bdf_atos()

static short _bdf_atos ( const char *  s)
static

Definition at line 778 of file bdflib.c.

References a2i, ddigits, int(), s, sbitset, SHRT_MAX, and v.

Referenced by _bdf_parse_glyphs(), and _bdf_parse_start().

◆ _bdf_atoul()

static unsigned long _bdf_atoul ( const char *  s)
static

Definition at line 695 of file bdflib.c.

References a2i, ddigits, FT_ULONG_MAX, s, sbitset, and v.

Referenced by _bdf_add_property(), _bdf_parse_glyphs(), and _bdf_parse_start().

◆ _bdf_atous()

static unsigned short _bdf_atous ( const char *  s)
static

Definition at line 753 of file bdflib.c.

References a2i, ddigits, FT_USHORT_MAX, int(), s, sbitset, and v.

Referenced by _bdf_parse_glyphs(), and _bdf_parse_start().

◆ _bdf_is_atom()

static int _bdf_is_atom ( char *  line,
unsigned long  linelen,
char **  name,
char **  value,
bdf_font_t font 
)
static

Definition at line 1035 of file bdflib.c.

References BDF_ATOM, bdf_get_property(), hold, line, name, p, and sp.

Referenced by _bdf_parse_properties().

◆ _bdf_list_done()

static void _bdf_list_done ( _bdf_list_t list)
static

Definition at line 295 of file bdflib.c.

References FT_FREE, and FT_ZERO.

Referenced by _bdf_set_default_spacing(), and bdf_load_font().

◆ _bdf_list_ensure()

static FT_Error _bdf_list_ensure ( _bdf_list_t list,
unsigned long  num_items 
)
static

Definition at line 309 of file bdflib.c.

References error, Exit(), FT_Err_Ok, FT_INT_MAX, FT_RENEW_ARRAY, and FT_THROW.

Referenced by _bdf_list_split().

◆ _bdf_list_init()

static void _bdf_list_init ( _bdf_list_t list,
FT_Memory  memory 
)
static

Definition at line 286 of file bdflib.c.

References FT_ZERO.

Referenced by _bdf_set_default_spacing(), and bdf_load_font().

◆ _bdf_list_join()

static char* _bdf_list_join ( _bdf_list_t list,
int  c,
unsigned long *  alen 
)
static

Definition at line 370 of file bdflib.c.

References c, dp, empty, fp, i, and j.

Referenced by _bdf_parse_glyphs(), _bdf_parse_properties(), and _bdf_parse_start().

◆ _bdf_list_shift()

static void _bdf_list_shift ( _bdf_list_t list,
unsigned long  n 
)
static

Definition at line 343 of file bdflib.c.

References i, n, and u.

Referenced by _bdf_parse_glyphs(), _bdf_parse_properties(), and _bdf_parse_start().

◆ _bdf_list_split()

static FT_Error _bdf_list_split ( _bdf_list_t list,
const char *  separators,
char *  line,
unsigned long  linelen 
)
static

◆ _bdf_parse_end()

static FT_Error _bdf_parse_end ( char *  line,
unsigned long  linelen,
unsigned long  lineno,
void call_data,
void client_data 
)
static

Definition at line 1266 of file bdflib.c.

References FT_Err_Ok, FT_UNUSED, and lineno.

Referenced by _bdf_parse_glyphs().

◆ _bdf_parse_glyphs()

◆ _bdf_parse_properties()

static FT_Error _bdf_parse_properties ( char *  line,
unsigned long  linelen,
unsigned long  lineno,
void call_data,
void client_data 
)
static

◆ _bdf_parse_start()

◆ _bdf_readstream()

static FT_Error _bdf_readstream ( FT_Stream  stream,
_bdf_line_func_t  callback,
void client_data,
unsigned long *  lno 
)
static

◆ _bdf_set_default_spacing()

static FT_Error _bdf_set_default_spacing ( bdf_font_t font,
bdf_options_t opts,
unsigned long  lineno 
)
static

◆ bdf_create_property()

static FT_Error bdf_create_property ( const char *  name,
int  format,
bdf_font_t font 
)
static

◆ bdf_free_font()

bdf_free_font ( bdf_font_t font)

Definition at line 2330 of file bdflib.c.

References BDF_ATOM, FT_FREE, ft_hash_str_free(), glyphs(), i, and prop.

Referenced by BDF_Face_Done().

◆ bdf_get_font_property()

bdf_get_font_property ( bdf_font_t font,
const char *  name 
)

Definition at line 2401 of file bdflib.c.

References ft_hash_str_lookup(), and name.

Referenced by BDF_Face_Init(), bdf_get_bdf_property(), and bdf_interpret_style().

◆ bdf_get_property()

bdf_get_property ( char *  name,
bdf_font_t font 
)

Definition at line 881 of file bdflib.c.

References _bdf_properties, _num_bdf_properties, ft_hash_str_lookup(), name, and NULL.

◆ bdf_load_font()

◆ by_encoding()

static int by_encoding ( const void a,
const void b 
)
static

Definition at line 811 of file bdflib.c.

References a, b, c1, and c2.

Referenced by _bdf_parse_glyphs().

Variable Documentation

◆ _bdf_opts

const bdf_options_t _bdf_opts
static
Initial value:
=
{
1,
1,
0,
0x08
}

Default BDF font options.

Definition at line 61 of file bdflib.c.

Referenced by bdf_load_font().

◆ _bdf_properties

const bdf_property_t _bdf_properties[]
static

Builtin BDF font properties.

Definition at line 79 of file bdflib.c.

Referenced by _bdf_add_property(), _bdf_parse_start(), and bdf_get_property().

◆ _num_bdf_properties

const unsigned long _num_bdf_properties
static
Initial value:
= sizeof ( _bdf_properties ) /
sizeof ( _bdf_properties[0] )
static const bdf_property_t _bdf_properties[]
Definition: bdflib.c:79

Definition at line 167 of file bdflib.c.

Referenced by _bdf_add_property(), _bdf_parse_start(), bdf_create_property(), and bdf_get_property().

◆ a2i

const unsigned char a2i[128]
static
Initial value:
=
{
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
}

Definition at line 661 of file bdflib.c.

Referenced by _bdf_atol(), _bdf_atos(), _bdf_atoul(), _bdf_atous(), and _bdf_parse_glyphs().

◆ ddigits

const unsigned char ddigits[32]
static
Initial value:
=
{
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x03,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 676 of file bdflib.c.

Referenced by _bdf_atol(), _bdf_atos(), _bdf_atoul(), and _bdf_atous().

◆ empty

const char empty[] = ""
static

Definition at line 366 of file bdflib.c.

Referenced by _bdf_list_join(), and _bdf_list_split().

◆ hdigits

const unsigned char hdigits[32]
static
Initial value:
=
{
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xFF, 0x03,
0x7E, 0x00, 0x00, 0x00, 0x7E, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
}

Definition at line 684 of file bdflib.c.

Referenced by _bdf_parse_glyphs().

◆ nibble_mask

const unsigned char nibble_mask[8]
static
Initial value:
=
{
0xFF, 0x80, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC, 0xFE
}

Definition at line 1259 of file bdflib.c.

Referenced by _bdf_parse_glyphs().