Visualization Library 2.0.0-b5

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Macros | Functions
pcfread.c File Reference
#include <ft2build.h>
#include "pcf.h"
#include "pcfread.h"
#include "pcferror.h"

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_pcfread
 
#define FT_STRUCTURE   PCF_TocRec
 
#define FT_STRUCTURE   PCF_TableRec
 
#define PCF_METRIC_SIZE   12
 
#define FT_STRUCTURE   PCF_MetricRec
 
#define FT_STRUCTURE   PCF_MetricRec
 
#define PCF_COMPRESSED_METRIC_SIZE   5
 
#define FT_STRUCTURE   PCF_Compressed_MetricRec
 
#define PCF_PROPERTY_SIZE   9
 
#define FT_STRUCTURE   PCF_ParsePropertyRec
 
#define FT_STRUCTURE   PCF_ParsePropertyRec
 
#define FT_STRUCTURE   PCF_AccelRec
 
#define FT_STRUCTURE   PCF_AccelRec
 

Functions

 pcf_find_property (PCF_Face face, const FT_String *prop)
 
 pcf_load_font (FT_Stream stream, PCF_Face face)
 

Macro Definition Documentation

◆ FT_COMPONENT

#define FT_COMPONENT   trace_pcfread

Definition at line 47 of file pcfread.c.

◆ FT_STRUCTURE [1/9]

#define FT_STRUCTURE   PCF_TocRec

◆ FT_STRUCTURE [2/9]

#define FT_STRUCTURE   PCF_TableRec

◆ FT_STRUCTURE [3/9]

#define FT_STRUCTURE   PCF_MetricRec

◆ FT_STRUCTURE [4/9]

#define FT_STRUCTURE   PCF_MetricRec

◆ FT_STRUCTURE [5/9]

#define FT_STRUCTURE   PCF_Compressed_MetricRec

◆ FT_STRUCTURE [6/9]

#define FT_STRUCTURE   PCF_ParsePropertyRec

◆ FT_STRUCTURE [7/9]

#define FT_STRUCTURE   PCF_ParsePropertyRec

◆ FT_STRUCTURE [8/9]

#define FT_STRUCTURE   PCF_AccelRec

◆ FT_STRUCTURE [9/9]

#define FT_STRUCTURE   PCF_AccelRec

◆ PCF_COMPRESSED_METRIC_SIZE

#define PCF_COMPRESSED_METRIC_SIZE   5

Definition at line 228 of file pcfread.c.

◆ PCF_METRIC_SIZE

#define PCF_METRIC_SIZE   12

Definition at line 192 of file pcfread.c.

◆ PCF_PROPERTY_SIZE

#define PCF_PROPERTY_SIZE   9

Definition at line 344 of file pcfread.c.

Function Documentation

◆ pcf_find_property()

pcf_find_property ( PCF_Face  face,
const FT_String prop 
)

Definition at line 375 of file pcfread.c.

References FT_Bool, ft_strcmp, i, PCF_FaceRec_::nprops, NULL, and PCF_FaceRec_::properties.

◆ pcf_load_font()

pcf_load_font ( FT_Stream  stream,
PCF_Face  face 
)

Definition at line 1096 of file pcfread.c.

References error, FT_Bool, FT_Err_Ok, and FT_FACE.

Referenced by PCF_Face_Init().