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
cffload.c File Reference
#include <ft2build.h>
#include "cffload.h"
#include "cffparse.h"
#include "cfferrs.h"

Go to the source code of this file.

Macros

#define FT_COMPONENT   trace_cffload
 
#define FT_STRUCTURE   CFF_FontRec
 

Functions

 cff_get_standard_encoding (FT_UInt charcode)
 
 cff_index_access_element (CFF_Index idx, FT_UInt element, FT_Byte **pbytes, FT_ULong *pbyte_len)
 
 cff_index_forget_element (CFF_Index idx, FT_Byte **pbytes)
 
 cff_index_get_name (CFF_Font font, FT_UInt element)
 
 cff_index_get_string (CFF_Font font, FT_UInt element)
 
 cff_index_get_sid_string (CFF_Font font, FT_UInt sid)
 
 cff_fd_select_get (CFF_FDSelect fdselect, FT_UInt glyph_index)
 
 cff_charset_cid_to_gindex (CFF_Charset charset, FT_UInt cid)
 
 cff_font_load (FT_Library library, FT_Stream stream, FT_Int face_index, CFF_Font font, FT_Bool pure_cff)
 
 cff_font_done (CFF_Font font)
 

Macro Definition Documentation

◆ FT_COMPONENT

#define FT_COMPONENT   trace_cffload

Definition at line 197 of file cffload.c.

◆ FT_STRUCTURE

#define FT_STRUCTURE   CFF_FontRec

Function Documentation

◆ cff_charset_cid_to_gindex()

cff_charset_cid_to_gindex ( CFF_Charset  charset,
FT_UInt  cid 
)

Definition at line 817 of file cffload.c.

References CFF_CharsetRec_::cids.

Referenced by cff_slot_load().

◆ cff_fd_select_get()

cff_fd_select_get ( CFF_FDSelect  fdselect,
FT_UInt  glyph_index 
)

◆ cff_font_done()

cff_font_done ( CFF_Font  font)

Definition at line 1652 of file cffload.c.

References idx.

Referenced by cff_face_done().

◆ cff_font_load()

cff_font_load ( FT_Library  library,
FT_Stream  stream,
FT_Int  face_index,
CFF_Font  font,
FT_Bool  pure_cff 
)

◆ cff_get_standard_encoding()

cff_get_standard_encoding ( FT_UInt  charcode)

Definition at line 183 of file cffload.c.

Referenced by cff_lookup_glyph_by_stdcharcode().

◆ cff_index_access_element()

cff_index_access_element ( CFF_Index  idx,
FT_UInt  element,
FT_Byte **  pbytes,
FT_ULong pbyte_len 
)

Definition at line 470 of file cffload.c.

References error, FT_Err_Ok, FT_STREAM_SEEK, and idx.

Referenced by cff_get_glyph_data(), and cff_index_get_name().

◆ cff_index_forget_element()

cff_index_forget_element ( CFF_Index  idx,
FT_Byte **  pbytes 
)

Definition at line 568 of file cffload.c.

References FT_FRAME_RELEASE, FT_LOCAL_DEF, and idx.

Referenced by cff_free_glyph_data(), and cff_index_get_name().

◆ cff_index_get_name()

cff_index_get_name ( CFF_Font  font,
FT_UInt  element 
)

◆ cff_index_get_sid_string()

cff_index_get_sid_string ( CFF_Font  font,
FT_UInt  sid 
)

Definition at line 622 of file cffload.c.

References cff_index_get_string(), and NULL.

◆ cff_index_get_string()

cff_index_get_string ( CFF_Font  font,
FT_UInt  element 
)

Definition at line 612 of file cffload.c.

References NULL.

Referenced by cff_index_get_sid_string().