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
cf2ft.c File Reference
#include "cf2ft.h"
#include "cf2font.h"
#include "cf2error.h"

Go to the source code of this file.

Macros

#define CF2_MAX_SIZE   cf2_intToFixed( 2000 ) /* max ppem */
 

Functions

 cf2_decoder_parse_charstrings (CFF_Decoder *decoder, FT_Byte *charstring_base, FT_ULong charstring_len)
 
 cf2_getSubfont (CFF_Decoder *decoder)
 
 cf2_getPpemY (CFF_Decoder *decoder)
 
 cf2_getStdVW (CFF_Decoder *decoder)
 
 cf2_getStdHW (CFF_Decoder *decoder)
 
 cf2_getBlueMetrics (CFF_Decoder *decoder, CF2_Fixed *blueScale, CF2_Fixed *blueShift, CF2_Fixed *blueFuzz)
 
 cf2_getBlueValues (CFF_Decoder *decoder, size_t *count, FT_Pos **data)
 
 cf2_getOtherBlues (CFF_Decoder *decoder, size_t *count, FT_Pos **data)
 
 cf2_getFamilyBlues (CFF_Decoder *decoder, size_t *count, FT_Pos **data)
 
 cf2_getFamilyOtherBlues (CFF_Decoder *decoder, size_t *count, FT_Pos **data)
 
 cf2_getLanguageGroup (CFF_Decoder *decoder)
 
 cf2_initGlobalRegionBuffer (CFF_Decoder *decoder, CF2_UInt idx, CF2_Buffer buf)
 
 cf2_getSeacComponent (CFF_Decoder *decoder, CF2_UInt code, CF2_Buffer buf)
 
 cf2_freeSeacComponent (CFF_Decoder *decoder, CF2_Buffer buf)
 
 cf2_initLocalRegionBuffer (CFF_Decoder *decoder, CF2_UInt idx, CF2_Buffer buf)
 
 cf2_getDefaultWidthX (CFF_Decoder *decoder)
 
 cf2_getNominalWidthX (CFF_Decoder *decoder)
 
 cf2_outline_reset (CF2_Outline outline)
 
 cf2_outline_close (CF2_Outline outline)
 

Macro Definition Documentation

◆ CF2_MAX_SIZE

#define CF2_MAX_SIZE   cf2_intToFixed( 2000 ) /* max ppem */

Definition at line 46 of file cf2ft.c.

Function Documentation

◆ cf2_decoder_parse_charstrings()

cf2_decoder_parse_charstrings ( CFF_Decoder decoder,
FT_Byte charstring_base,
FT_ULong  charstring_len 
)

◆ cf2_freeSeacComponent()

cf2_freeSeacComponent ( CFF_Decoder decoder,
CF2_Buffer  buf 
)

◆ cf2_getBlueMetrics()

cf2_getBlueMetrics ( CFF_Decoder decoder,
CF2_Fixed blueScale,
CF2_Fixed blueShift,
CF2_Fixed blueFuzz 
)

◆ cf2_getBlueValues()

cf2_getBlueValues ( CFF_Decoder decoder,
size_t *  count,
FT_Pos **  data 
)

◆ cf2_getDefaultWidthX()

cf2_getDefaultWidthX ( CFF_Decoder decoder)

◆ cf2_getFamilyBlues()

cf2_getFamilyBlues ( CFF_Decoder decoder,
size_t *  count,
FT_Pos **  data 
)

Definition at line 459 of file cf2ft.c.

References FT_ASSERT, and FT_Pos.

Referenced by cf2_blues_init().

◆ cf2_getFamilyOtherBlues()

cf2_getFamilyOtherBlues ( CFF_Decoder decoder,
size_t *  count,
FT_Pos **  data 
)

Definition at line 472 of file cf2ft.c.

References FT_ASSERT, and FT_Pos.

Referenced by cf2_blues_init().

◆ cf2_getLanguageGroup()

cf2_getLanguageGroup ( CFF_Decoder decoder)

Definition at line 485 of file cf2ft.c.

References CF2_Int, FT_ASSERT, and FT_LOCAL_DEF.

Referenced by cf2_blues_init().

◆ cf2_getNominalWidthX()

cf2_getNominalWidthX ( CFF_Decoder decoder)

◆ cf2_getOtherBlues()

cf2_getOtherBlues ( CFF_Decoder decoder,
size_t *  count,
FT_Pos **  data 
)

Definition at line 446 of file cf2ft.c.

References FT_ASSERT, and FT_Pos.

Referenced by cf2_blues_init().

◆ cf2_getPpemY()

cf2_getPpemY ( CFF_Decoder decoder)

◆ cf2_getSeacComponent()

cf2_getSeacComponent ( CFF_Decoder decoder,
CF2_UInt  code,
CF2_Buffer  buf 
)

◆ cf2_getStdHW()

cf2_getStdHW ( CFF_Decoder decoder)

◆ cf2_getStdVW()

cf2_getStdVW ( CFF_Decoder decoder)

◆ cf2_getSubfont()

cf2_getSubfont ( CFF_Decoder decoder)

Definition at line 366 of file cf2ft.c.

References CF2_Fixed, CFF_Decoder_::current_subfont, FT_ASSERT, and FT_LOCAL_DEF.

◆ cf2_initGlobalRegionBuffer()

cf2_initGlobalRegionBuffer ( CFF_Decoder decoder,
CF2_UInt  idx,
CF2_Buffer  buf 
)

◆ cf2_initLocalRegionBuffer()

cf2_initLocalRegionBuffer ( CFF_Decoder decoder,
CF2_UInt  idx,
CF2_Buffer  buf 
)

◆ cf2_outline_close()

cf2_outline_close ( CF2_Outline  outline)

◆ cf2_outline_reset()

cf2_outline_reset ( CF2_Outline  outline)