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)  

ttf2pfb.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdarg.h>
#include <string.h>
#include <time.h>
#include <ctype.h>
#include "freetype.h"
#include "extend/ftxpost.h"
Include dependency graph for ttf2pfb.c:

Go to the source code of this file.

Classes

struct  _EVHigh
 
struct  _EVLow
 
struct  _EVcRange
 
struct  _EncVec
 

Macros

#define PID_UNICODE   3
 
#define EID_UNICODE   1
 
#define PID_SJIS   3
 
#define EID_SJIS   2
 
#define PID_GB   3
 
#define EID_GB   3
 
#define PID_BIG5   3
 
#define EID_BIG5   4
 
#define PID_KS   3 /* KS is also called Wansung */
 
#define EID_KS   5
 
#define PID_JOHAB   3
 
#define EID_JOHAB   6
 
#define DEFAULT_PLATFORM_ID   PID_UNICODE /* MS platform */
 
#define DEFAULT_ENCODING_ID   EID_UNICODE
 
#define TRUE   1
 
#define FALSE   0
 
#define FAILURE   500
 
#define LINELEN   40 /* max # of columns of code range file */
 
#define NAMELEN   80 /* max length of name used from LookUp */
 
#define TT_Flag_On_Curve   1
 
#define Fputs(_string_)   fprintf(out, "%s\n", _string_)
 
#define Coord(x)   (int)(x)
 
#define PS_LastPt(x, y)   lastpsx = x; lastpsy = y
 
#define PS_Moveto(x, y)
 
#define PS_Lineto(x, y)
 

Typedefs

typedef enum enc_type_ enc_type
 
typedef unsigned short UShort
 
typedef unsigned char UChar
 
typedef struct _EVHigh EVHigh
 
typedef struct _EVLow EVLow
 
typedef struct _EVcRange EVcRange
 
typedef struct _EncVec EncVec
 

Enumerations

enum  enc_type_ {
  GB = 1 , Big5 , JIS , KS ,
  Johab , SJIS , X
}
 

Functions

void mesg (const char *msg,...)
 
void Usage (int eval)
 
void fatal (const char *msg,...)
 
void fatal_error (const char *msg,...)
 
voidre_alloc (void *ptr, size_t size, char *sub)
 
EncVecAlloc_EncVec (int dummy,...)
 
void Known_Encodings (void)
 
UShort JIS_to_SJIS (UShort code)
 
int Init_Font_Engine (char *infile)
 
char * LookUp_Name (int index)
 
int LoadTrueTypeChar (int idx)
 
char * PS_GlyphName (UShort idx, UShort code)
 
void PS_Head (FILE *out, int plane, EncVec *planeEV, char *font, int UID)
 
void PS_Tail (FILE *out)
 
void PS_Curveto (FILE *out, TT_F26Dot6 x, TT_F26Dot6 y, int s, int e)
 
short PS_CharString (FILE *out, UShort char_Code)
 
EncVecGet_EncVec (FILE *enc)
 
EncVecGet_PlaneEV (EncVec *encVec, int plane)
 
short Generate_Font (FILE *out, int plane, FILE *enc, char *fname, int UID)
 
int main (int argc, char *argv[])
 

Variables

char rcsid [] = "$Id: ttf2pfb.c,v 1.14 2000/01/16 21:49:22 werner Exp $"
 
enc_type force_enc = 0
 
int verbose = 0
 
int compact = 0
 
int keep = 0
 
int mapping = 0
 
float fontShift = 0
 
int pid = 3
 
int eid = 1
 
char * prog
 
TT_F26Dot6 lastpsx
 
TT_F26Dot6 lastpsy
 
TT_Engine engine
 
TT_Face face
 
TT_Instance instance
 
TT_Glyph glyph
 
TT_CharMap cmap
 
TT_Error error
 
TT_Post post
 
TT_Outline outline
 
TT_Glyph_Metrics metrics
 
TT_Face_Properties properties
 
EncVeceVecMap [5][10]
 
EncVeceVecMap_force [10]
 

Macro Definition Documentation

◆ Coord

#define Coord (   x)    (int)(x)

Definition at line 143 of file ttf2pfb.c.

◆ DEFAULT_ENCODING_ID

#define DEFAULT_ENCODING_ID   EID_UNICODE

Definition at line 79 of file ttf2pfb.c.

◆ DEFAULT_PLATFORM_ID

#define DEFAULT_PLATFORM_ID   PID_UNICODE /* MS platform */

Definition at line 75 of file ttf2pfb.c.

◆ EID_BIG5

#define EID_BIG5   4

Definition at line 67 of file ttf2pfb.c.

◆ EID_GB

#define EID_GB   3

Definition at line 65 of file ttf2pfb.c.

◆ EID_JOHAB

#define EID_JOHAB   6

Definition at line 71 of file ttf2pfb.c.

◆ EID_KS

#define EID_KS   5

Definition at line 69 of file ttf2pfb.c.

◆ EID_SJIS

#define EID_SJIS   2

Definition at line 63 of file ttf2pfb.c.

◆ EID_UNICODE

#define EID_UNICODE   1

Definition at line 61 of file ttf2pfb.c.

◆ FAILURE

#define FAILURE   500

Definition at line 101 of file ttf2pfb.c.

◆ FALSE

#define FALSE   0

Definition at line 97 of file ttf2pfb.c.

◆ Fputs

#define Fputs (   _string_)    fprintf(out, "%s\n", _string_)

Definition at line 137 of file ttf2pfb.c.

◆ LINELEN

#define LINELEN   40 /* max # of columns of code range file */

Definition at line 105 of file ttf2pfb.c.

◆ NAMELEN

#define NAMELEN   80 /* max length of name used from LookUp */

Definition at line 106 of file ttf2pfb.c.

◆ PID_BIG5

#define PID_BIG5   3

Definition at line 66 of file ttf2pfb.c.

◆ PID_GB

#define PID_GB   3

Definition at line 64 of file ttf2pfb.c.

◆ PID_JOHAB

#define PID_JOHAB   3

Definition at line 70 of file ttf2pfb.c.

◆ PID_KS

#define PID_KS   3 /* KS is also called Wansung */

Definition at line 68 of file ttf2pfb.c.

◆ PID_SJIS

#define PID_SJIS   3

Definition at line 62 of file ttf2pfb.c.

◆ PID_UNICODE

#define PID_UNICODE   3

Definition at line 60 of file ttf2pfb.c.

◆ PS_LastPt

#define PS_LastPt (   x,
  y 
)    lastpsx = x; lastpsy = y

Definition at line 144 of file ttf2pfb.c.

◆ PS_Lineto

#define PS_Lineto (   x,
  y 
)
Value:
fprintf(out, "%d %d rlineto\n", \
PS_LastPt(x, y)
FILE * out
Definition: hbf2gf.c:286
kerning y
Definition: ttdriver.c:212
#define fprintf
Definition: mendex.h:64
float x
Definition: cordic.py:15
TT_F26Dot6 lastpsx
Definition: ttf2pfb.c:141
#define Coord(x)
Definition: ttf2pfb.c:143
TT_F26Dot6 lastpsy
Definition: ttf2pfb.c:141

Definition at line 149 of file ttf2pfb.c.

◆ PS_Moveto

#define PS_Moveto (   x,
  y 
)
Value:
fprintf(out, "%d %d rmoveto\n", \
PS_LastPt(x, y)

Definition at line 145 of file ttf2pfb.c.

◆ TRUE

#define TRUE   1

Definition at line 93 of file ttf2pfb.c.

◆ TT_Flag_On_Curve

#define TT_Flag_On_Curve   1

Definition at line 126 of file ttf2pfb.c.

Typedef Documentation

◆ enc_type

typedef enum enc_type_ enc_type

◆ EncVec

typedef struct _EncVec EncVec

◆ EVcRange

typedef struct _EVcRange EVcRange

◆ EVHigh

typedef struct _EVHigh EVHigh

◆ EVLow

typedef struct _EVLow EVLow

◆ UChar

typedef unsigned char UChar

Definition at line 123 of file ttf2pfb.c.

◆ UShort

typedef unsigned short UShort

Definition at line 120 of file ttf2pfb.c.

Enumeration Type Documentation

◆ enc_type_

enum enc_type_
Enumerator
GB 
Big5 
JIS 
KS 
Johab 
SJIS 

Definition at line 83 of file ttf2pfb.c.

Function Documentation

◆ Alloc_EncVec()

EncVec* Alloc_EncVec ( int  dummy,
  ... 
)

Definition at line 364 of file ttf2pfb.c.

References _EncVec::codeRange, end, high, i, j, low, NULL, _EncVec::numCodeRanges, re_alloc(), start, va_arg, va_end, and va_start.

Referenced by Known_Encodings().

◆ fatal()

void fatal ( const char *  msg,
  ... 
)

Definition at line 310 of file ttf2pfb.c.

References ap, exit(), FAILURE, fprintf, prog, va_end, and va_start.

Referenced by Get_PlaneEV(), Init_Font_Engine(), main(), PS_CharString(), and re_alloc().

◆ fatal_error()

void fatal_error ( const char *  msg,
  ... 
)

Definition at line 325 of file ttf2pfb.c.

References ap, error, exit(), FAILURE, fprintf, prog, va_end, and va_start.

Referenced by Init_Font_Engine(), and LoadTrueTypeChar().

◆ Generate_Font()

short Generate_Font ( FILE out,
int  plane,
FILE enc,
char *  fname,
int  UID 
)

◆ Get_EncVec()

◆ Get_PlaneEV()

◆ Init_Font_Engine()

◆ JIS_to_SJIS()

UShort JIS_to_SJIS ( UShort  code)

Definition at line 475 of file ttf2pfb.c.

References index.

Referenced by PS_CharString().

◆ Known_Encodings()

void Known_Encodings ( void  )

◆ LoadTrueTypeChar()

◆ LookUp_Name()

char* LookUp_Name ( int  index)

◆ main()

◆ mesg()

◆ PS_CharString()

◆ PS_Curveto()

void PS_Curveto ( FILE out,
TT_F26Dot6  x,
TT_F26Dot6  y,
int  s,
int  e 
)

Definition at line 836 of file ttf2pfb.c.

References Coord, cx, cy, e, fprintf, i, lastpsx, lastpsy, N, out, outline, TT_Outline_::points, PS_LastPt, s, cordic::x, TT_Vector_::x, y, and TT_Vector_::y.

Referenced by PS_CharString().

◆ PS_GlyphName()

char* PS_GlyphName ( UShort  idx,
UShort  code 
)

Definition at line 659 of file ttf2pfb.c.

References compact, face, glyphname, idx, sprintf, and TT_Get_PS_Name().

Referenced by PS_CharString(), and PS_Head().

◆ PS_Head()

◆ PS_Tail()

void PS_Tail ( FILE out)

Definition at line 822 of file ttf2pfb.c.

References Fputs.

Referenced by Generate_Font().

◆ re_alloc()

void* re_alloc ( void ptr,
size_t  size,
char *  sub 
)

Definition at line 344 of file ttf2pfb.c.

References fatal(), NULL, ptr, realloc, size, and sub.

Referenced by Alloc_EncVec(), Get_EncVec(), and Get_PlaneEV().

◆ Usage()

void Usage ( int  eval)

Definition at line 270 of file ttf2pfb.c.

References DEFAULT_ENCODING_ID, DEFAULT_PLATFORM_ID, eval(), exit(), fontShift, mesg(), and prog.

Referenced by main().

Variable Documentation

◆ cmap

TT_CharMap cmap

Definition at line 163 of file ttf2pfb.c.

Referenced by _cairo_truetype_index_to_ucs4(), _cmap_closure(), _glx_dummy_window(), _populate_gids_to_retain(), add_alternate1_inverse_map(), add_glyph_if_valid(), add_ligature1_inverse_map(), add_ToUnicode_alternate(), add_ToUnicode_ligature(), add_ToUnicode_single(), add_ToUnicode_via_glyph_name(), bdf_cmap_char_index(), bdf_cmap_char_next(), bdf_cmap_done(), bdf_cmap_init(), bmp_subtable(), buildFormat14ForSelector(), bytes_consumed(), graphite2::CachedCmap::CachedCmap(), caryll_ElementInterfaceOf(), cff_cmap_encoding_char_index(), cff_cmap_encoding_char_next(), cff_cmap_encoding_done(), cff_cmap_encoding_init(), cff_face_init(), CharMap_Free(), CharMap_Index(), CharMap_Load(), check_cmap_uvs(), check_range(), cid_to_code(), cid_to_gid(), CIDFont_type2_dofont(), CMap_add_bfchar(), CMap_add_bfrange(), CMap_add_cidchar(), CMap_add_cidrange(), CMap_add_codespacerange(), CMap_add_notdefchar(), CMap_add_notdefrange(), CMap_cache_add(), CMap_create_stream(), CMap_decode(), CMap_decode_char(), CMap_get_CIDSysInfo(), CMap_get_name(), CMap_get_profile(), CMap_get_type(), CMap_get_wmode(), CMap_is_Identity(), CMap_is_valid(), CMap_match_codespace(), CMap_new(), CMap_parse(), CMap_release(), CMap_set_CIDSysInfo(), CMap_set_name(), CMap_set_type(), CMap_set_usecmap(), CMap_set_wmode(), create_ToUnicode_cmap(), create_ToUnicode_stream(), CMAPMapper::createUnicodeMapper(), destroy_charmaps(), disposeCmap(), do_bfchar(), do_bfrange(), do_cidchar(), do_cidrange(), do_cidsysteminfo(), do_codespacerange(), do_file(), do_notdefchar(), do_notdefrange(), do_query_unicode(), DoExtension(), SplashOutputDev::doUpdateFont(), FontEncoding::encoding(), CMapManager::findCompatibleBaseFontMap(), fnt_cmap_char_index(), fnt_cmap_char_next(), fnt_cmap_init(), FT_CMap_Done(), ft_cmap_done_internal(), FT_CMap_New(), FT_Get_Char_Index(), FT_Get_Next_Char(), FTC_CMapCache_Lookup(), gdImageCopyRotated(), gen_cmap(), get_GlyphID(), get_mem(), get_uvs_glyph(), CMapCache::getCMap(), Gfx8BitFont::getCodeToGIDMap(), GfxCIDFont::getCodeToGIDMap(), SplashOutputDev::getFont(), gimp_image_set_cmap(), Efont::TrueTypeBoundsCharstringProgram::glyph_name(), gr_face_is_char_supported(), handle_codearray(), handle_multibyte_string(), handle_subst_glyphs(), handle_undefined(), Init_Font_Engine(), initCmap(), GDIFontInstance::initMapper(), GnomeFontInstance::initMapper(), ioFormatTest(), jbDataRender(), load_base_CMap(), load_cmap12(), load_cmap4(), Load_TrueType_CMap(), main(), map_uni(), modify_strings(), octreeGenerateAndPrune(), OTF_drive_cmap(), OTF_drive_cmap2(), OTF_get_variation_glyphs(), otf_load_Unicode_CMap(), otf_try_load_GID_to_CID_map(), otfcc_buildCmap(), otfcc_buildCmap_format12(), otfcc_buildCmap_format14(), otfcc_buildCmap_format4(), otfcc_cmapLookup(), otfcc_cmapLookupUVS(), otfcc_dumpCmap(), otfcc_encodeCmapByIndex(), otfcc_encodeCmapByName(), otfcc_encodeCmapUVSByIndex(), otfcc_encodeCmapUVSByName(), otfcc_parseCmap(), otfcc_readCmap(), otfcc_tryBuildCmap_format4(), otfcc_unmapCmap(), otfcc_unmapCmapUVS(), otl_gsub_add_ToUnicode(), parseCmapUnicodes(), parseCmapUVS(), pcf_cmap_char_index(), pcf_cmap_char_next(), pcf_cmap_done(), pcf_cmap_init(), pcx_16col_to_ppm(), pdf_create_ToUnicode_CMap(), pdf_dev_font_minbytes(), pdf_font_load_font(), pdf_load_ToUnicode_stream(), pfr_cmap_char_index(), pfr_cmap_char_next(), pfr_cmap_done(), pfr_cmap_init(), pixaDisplayRandomCmap(), pixAssignToNearestColor(), pixcmapAddBlackOrWhite(), pixcmapAddColor(), pixcmapAddNewColor(), pixcmapClear(), pixcmapContrastTRC(), pixcmapConvertHSVToRGB(), pixcmapConvertRGBToHSV(), pixcmapCreate(), pixcmapDestroy(), pixcmapGammaTRC(), pixcmapGetColor(), pixcmapGetCount(), pixcmapGetFreeCount(), pixcmapGetIndex(), pixcmapGetRankIntensity(), pixcmapHasColor(), pixcmapReadStream(), pixcmapResetColor(), pixcmapShiftIntensity(), pixcmapToArrays(), pixcmapToOctcubeLUT(), pixcmapWriteStream(), pixColorGray(), pixColorGrayCmap(), pixColorQuant1Pass(), pixColorSegmentClean(), pixColorSegmentCluster(), pixColorSegmentRemoveColors(), pixColorSegmentTryCluster(), pixContrastTRC(), pixConvert1To2Cmap(), pixConvert1To4Cmap(), pixConvertForPSWrap(), pixConvertGrayToColormap8(), pixConvertGrayToFalseColor(), pixConvertHSVToRGB(), pixConvertRGBToColormap(), pixConvertRGBToHSV(), pixDestroyColormap(), pixDisplayHitMissSel(), pixDisplayMatchedPattern(), pixDitherTo2bppSpec(), pixEmbedForRotation(), pixFixedOctcubeQuantCmap(), pixGammaTRC(), pixOctcubeQuantMixed(), pixOctreeColorQuant(), pixOctreeQuant(), pixPrintStreamInfo(), pixReadFromTiffStream(), pixReadStreamBmp(), pixReadStreamJpeg(), pixReadStreamPng(), pixRemoveColormap(), pixRemoveUnusedColors(), pixRenderPtaArb(), pixRotate(), pixSetMaskedCmap(), pixSetSelectCmap(), pixSetSelectMaskedCmap(), pixSnapColorCmap(), pixThreshold8(), pixThresholdOn8bpp(), pixThresholdTo2bpp(), pixThresholdTo4bpp(), pixWriteStreamBmp(), pixWriteStreamJpeg(), pixWriteStreamPng(), pixWriteToTiffStream(), png_image_set_PLTE(), ppm_to_16col_pcx(), ppm_to_256col_pcx(), process_utf_data(), PS_CharString(), PS_Head(), ptstiff3_load_image(), ptstiff3_save_image(), read_cmap_table(), readCmapMappingTable(), readCmapMappingTableUVS(), readFormat12(), readFormat14(), readFormat4(), ReadImage(), readUVSDefault(), readUVSNonDefault(), reencode_string(), PSOutputDev::setupExternalCIDTrueTypeFont(), PSOutputDev::setupExternalOpenTypeCFFFont(), sfnt_load_face(), smp_subtable(), OT::OS2::subset(), t1_cmap_custom_char_index(), t1_cmap_custom_char_next(), t1_cmap_custom_done(), t1_cmap_custom_init(), t1_cmap_expert_init(), t1_cmap_standard_init(), t1_cmap_std_char_index(), t1_cmap_std_char_next(), t1_cmap_std_done(), t1_cmap_std_init(), TT_Char_Index(), TT_CharMap_First(), TT_CharMap_Last(), TT_CharMap_Next(), tt_cmap_init(), tt_cmap_lookup(), tt_cmap_read(), tt_cmap_release(), tt_face_build_cmaps(), TT_Get_CharMap(), TT_Get_CharMap_ID(), tt_get_cmap_info(), ttf_reindex_glyphs(), ttfFreeCMAP(), ttfLoadCMAP(), and ttfPrintCMAP().

◆ compact

◆ eid

int eid = 1

◆ engine

TT_Engine engine

Definition at line 159 of file ttf2pfb.c.

Referenced by Init_Font_Engine(), and main().

◆ error

TT_Error error ( void  msg)

Definition at line 164 of file ttf2pfb.c.

Referenced by fatal_error(), Init_Font_Engine(), and LoadTrueTypeChar().

◆ eVecMap

EncVec* eVecMap[5][10]

Definition at line 243 of file ttf2pfb.c.

Referenced by Get_EncVec(), and Known_Encodings().

◆ eVecMap_force

EncVec* eVecMap_force[10]

Definition at line 246 of file ttf2pfb.c.

Referenced by Get_EncVec(), and Known_Encodings().

◆ face

TT_Face face

Definition at line 160 of file ttf2pfb.c.

Referenced by Init_Font_Engine(), LookUp_Name(), main(), and PS_GlyphName().

◆ fontShift

float fontShift = 0

Definition at line 117 of file ttf2pfb.c.

Referenced by main(), PS_Head(), and Usage().

◆ force_enc

enc_type force_enc = 0

Definition at line 89 of file ttf2pfb.c.

Referenced by Get_EncVec(), main(), and PS_CharString().

◆ glyph

Definition at line 162 of file ttf2pfb.c.

Referenced by _bdf_parse_glyphs(), _cairo_ft_scaled_glyph_init(), _cairo_gl_node_destroy(), _cairo_ps_standard_encoding_to_glyphname(), _cairo_qt_surface_show_glyphs(), _cairo_user_ucs4_to_index(), _cairo_win32_scaled_font_init_glyph_surface(), _cairo_winansi_to_glyphname(), _can_composite_glyphs(), _composite_glyphs(), _compute_mask(), _decompose_glyph_outline(), _hb_ot_shape_fallback_spaces(), _hb_ot_shape_normalize(), hb_buffer_t::add(), add_char(), GlyphFilter::allow(), SVGCharPathHandler::appendPathElement(), BDF_Glyph_Load(), cairo_cff_font_subset_charstrings_and_subroutines(), cairo_truetype_font_use_glyph(), cairo_truetype_font_write_cmap_table(), cairo_type1_font_subset_build_glyph_list(), cairo_type1_font_subset_parse_charstring(), cairo_type1_font_subset_use_glyph(), cairo_type1_font_subset_write_private_dict(), cff_builder_init(), char_info(), composite_glyphs(), compute_element_height_extrema(), compute_h_episema(), count_note_units(), create_and_link_glyph(), create_ToUnicode_stream(), createGlyphNode(), do_character(), do_ps_text(), do_text(), SplashOutputDev::drawType3Glyph(), dump_write_score(), CFF::subr_subsetter_t< SUBSETTER, SUBRS, ACC, ENV, OPSET, endchar_op >::encode_charstrings(), epdf_mark_glyphs(), FcFreeTypeCharSet(), FcFreeTypeSpacing(), ff_glyph_index(), Splash::fillChar(), OT::post::accelerator_t::find_glyph_name(), CFF::subr_flattener_t< ACC, ENV, OPSET, endchar_op >::flatten(), font_char_from_lua(), font_get_glyph_from_name(), font_get_nominal_glyph(), FT_DEFINE_GLYPH(), FT_Get_Glyph(), FT_Glyph_Stroke(), FT_Glyph_StrokeBorder(), FT_Glyph_To_Bitmap(), ftc_basic_family_load_glyph(), Get_Anchor(), get_charinfo(), CFF::Encoding0::get_code(), OT::cff2::accelerator_t::get_extents(), CFF::FDSelect0::get_fd(), CFF::Charset0::get_glyph(), OT::cff1::accelerator_t::get_seac_components(), CFF::Charset1_2< TYPE >::get_sid(), OT::hmtxvmtx< T, H >::accelerator_t::get_side_bearing(), khmer_shape_plan_t::get_virama_glyph(), PhysicalFont::getExactGlyphBox(), XeTeXFontInst::getGlyphBounds(), SplashFTFont::getGlyphPath(), glyf_dump_glyph(), OT::glyf::accelerator_t::glyph_for_gid(), OT::cff1::accelerator_templ_t< PRIVOPSET, PRIVDICTVAL >::glyph_to_sid(), gregorio_go_to_first_glyph(), gregorio_next_non_texverb_glyph(), gregorio_previous_non_texverb_glyph(), gregoriotex_compute_cross_syllable_positioning(), gregoriotex_compute_positioning(), gxv_ctlPoint_validate(), gxv_just_actSubrecord_type5_validate(), gxv_LookupTable_fmt6_validate(), gxv_prop_zero_advance_validate(), hb_font_t::has_glyph(), hb_plan_subset_cff_fdselect(), i915_surface_glyphs(), i965_surface_glyphs(), initialize_score(), insert_glyph(), intel_glyph_cache_add_glyph(), intel_glyph_pin(), intel_scaled_glyph_fini(), is_zero_width_char(), load_base_CMap(), indic_shape_plan_t::load_virama_glyph(), OT::cff1::lookup_expert_charset_for_sid(), OT::cff1::lookup_expert_subset_charset_for_sid(), main(), make_subset_tag(), new_variant(), next_char(), graphite2::GlyphCache::Loader::operator delete(), output_char(), ParagraphLayout::ParagraphLayout(), parse_body(), pbm_dissectfont(), pbm_dumpfont(), pbm_loadbdffont(), pdf_font_load_type1(), pixman_glyph_cache_insert(), pixman_glyph_cache_remove(), cff_subset_plan::plan_subset_charset(), cff_subset_plan::plan_subset_encoding(), Efont::PairProgram::print(), Efont::PairProgram::print_name(), ps_hints_apply(), Efont::Type1Encoding::put(), GnomeFontInstance::rasterizeGlyphs(), graphite2::GlyphCache::Loader::read_glyph(), render_glyphs(), set_charinfo(), GFGlyphTracer::setGlyph(), FontCache::setGlyph(), OT::cff1::accelerator_templ_t< PRIVOPSET, PRIVDICTVAL >::sid_to_glyph(), start_h_episema(), CFF::subr_subsetter_t< SUBSETTER, SUBRS, ACC, ENV, OPSET, endchar_op >::subset(), syllable_first_note(), syllable_first_type(), t1_builder_init(), t1_mark_glyphs(), t1_subset_ascii_part(), thai_pua_shape(), PhysicalFont::traceAllGlyphs(), woff2::TransformGlyfAndLocaTables(), woff2::TransformHmtxTable(), OT::glyf::Glyph::SimpleGlyph::trim_padding(), TT_GPOS_Apply_String(), ttf_close_all(), ttf_read_hmtx(), ttf_read_loca(), ttf_read_mapx(), ttf_read_post(), ttf_reindex_glyphs(), ttf_write_post(), twin_scaled_font_render_glyph(), type1_close_all(), Type1OpenScalable(), write_cff(), write_cid_cff(), write_cid_charwidth_array(), write_element(), write_fontdescriptor(), and writeSFD().

◆ instance

◆ keep

◆ lastpsx

TT_F26Dot6 lastpsx

Definition at line 141 of file ttf2pfb.c.

Referenced by PS_CharString(), and PS_Curveto().

◆ lastpsy

TT_F26Dot6 lastpsy

Definition at line 141 of file ttf2pfb.c.

Referenced by PS_CharString(), and PS_Curveto().

◆ mapping

int mapping = 0

Definition at line 116 of file ttf2pfb.c.

Referenced by _remap_indexes(), Metrics::apply_base_encoding(), OT::VariationSelectorRecord::collect_mapping(), OT::CmapSubtableFormat0::collect_mapping(), OT::CmapSubtableFormat4::accelerator_t::collect_mapping(), OT::CmapSubtableFormat4::collect_mapping(), OT::CmapSubtableTrimmed< UINT >::collect_mapping(), OT::NonDefaultUVS::collect_mapping(), OT::CmapSubtableFormat14::collect_mapping(), OT::CmapSubtableLongSegmented< T >::collect_mapping(), OT::CmapSubtable::collect_mapping(), OT::cmap::accelerator_t::collect_mapping(), Normalizer2Impl::compose(), Normalizer2Impl::composeUTF8(), consolidateCOLR(), convertpnm(), OT::ChainRule::copy(), OT::NonDefaultUVS::copy(), Normalizer2Impl::decompose(), dirsep_strcasecmp(), disposeMapping(), FcFreeTypeGetFirstName(), Generate_Font(), Normalizer2Impl::getCCFromNoNo(), Normalizer2Impl::getDecomposition(), Normalizer2Impl::getFCD16FromNormData(), Normalizer2Impl::getRawDecomposition(), HintsRenumber(), initMapping(), load_mapping_file(), main(), Normalizer2Impl::makeCanonIterDataFromNorm16(), Normalizer2Impl::norm16HasDecompBoundaryAfter(), Normalizer2Impl::norm16HasDecompBoundaryBefore(), normalizationCorrectionsLineFn(), otfcc_buildCOLR(), otfcc_dumpCOLR(), otfcc_readCOLR(), parseFile(), PS_Head(), RemapHintMask(), Norms::reorder(), scan_line(), SFDGetMinimumDistances(), storeMapping(), strprepProfileLineFn(), OT::Rule::subset(), TECkit_CreateConverter(), TECkit_GetMappingFlags(), TECkit_GetMappingName(), and Normalizer2DataBuilder::writeDataFile().

◆ metrics

Definition at line 168 of file ttf2pfb.c.

Referenced by LoadTrueTypeChar(), and PS_CharString().

◆ outline

TT_Outline outline
Examples
/dev/shm/warix/file_cache/windows/misc/w32tex-src.tar.xz/ktx/libs/freetype/include/freetype/freetype.h, /dev/shm/warix/file_cache/windows/misc/w32tex-src.tar.xz/ktx/libs/freetype/include/freetype/ftoutln.h, /dev/shm/warix/file_cache/windows/misc/w32tex-src.tar.xz/ptx/libs/freetype/include/freetype/freetype.h, and /dev/shm/warix/file_cache/windows/misc/w32tex-src.tar.xz/ptx/libs/freetype/include/freetype/ftoutln.h.

Definition at line 167 of file ttf2pfb.c.

Referenced by _cairo_pdf_interchange_add_outline(), _cairo_pdf_interchange_free_outlines(), _render_glyph_outline(), af_dummy_hints_apply(), af_glyph_hints_reload(), af_glyph_hints_save(), af_latin_hints_apply(), af_latin_metrics_init_blues(), cairo_pdf_interchange_write_outline(), cf2_builder_cubeTo(), cf2_builder_lineTo(), cf2_builder_moveTo(), cf2_outline_close(), cf2_outline_init(), cf2_outline_reset(), cf2_setGlyphWidth(), cff_builder_add_contour(), cff_builder_add_point(), cff_builder_close_contour(), cff_parseOutline(), HtmlOutputDev::dumpDocOutline(), for(), ft_black_render(), FT_Glyph_Stroke(), FT_Glyph_StrokeBorder(), FT_GlyphSlot_Oblique(), ft_glyphslot_preset_bitmap(), FT_Outline_Check(), FT_Outline_Decompose(), FT_Outline_Done(), FT_Outline_Embolden(), FT_Outline_EmboldenXY(), FT_Outline_Get_Bitmap(), FT_Outline_Get_CBox(), FT_Outline_Get_Orientation(), FT_Outline_GetInsideBorder(), FT_Outline_GetOutsideBorder(), FT_Outline_Render(), FT_Outline_Reverse(), FT_Outline_Transform(), FT_Outline_Translate(), ft_raster1_render(), ft_smooth_raster_lcd(), ft_smooth_raster_lcdv(), ft_smooth_raster_overlap(), ft_smooth_render(), ft_stroke_border_export(), FT_Stroker_Export(), FT_Stroker_ExportBorder(), FT_Stroker_ParseOutline(), SplashFTFont::getGlyphPath(), gray_raster_render(), gxv_ctlPoint_validate(), HtmlOutputDev::HtmlOutputDev(), if(), l_set_node_data(), poppler::toc_private::load_from_outline(), load_truetype_glyph(), LoadTrueTypeChar(), mplib_init_Ses(), pfr_glyph_close_contour(), pfr_glyph_curve_to(), pfr_glyph_line_to(), pfr_slot_load(), PsSpecialHandler::processSequentialPatchMesh(), ps_builder_add_contour(), ps_builder_add_point(), ps_builder_close_contour(), PS_CharString(), PS_Curveto(), ps_hints_apply(), psh_glyph_init(), t1_builder_add_contour(), t1_builder_add_point(), t1_builder_close_contour(), trace_outline(), TT_Done_Outline(), TT_Get_Glyph_Bitmap(), TT_Get_Glyph_Outline(), TT_Get_Glyph_Pixmap(), TT_Get_Outline_BBox(), TT_Get_Outline_Bitmap(), TT_Get_Outline_Pixmap(), TT_Load_Simple_Glyph(), TT_New_Outline(), TT_Process_Composite_Glyph(), TT_Process_Simple_Glyph(), TT_Transform_Outline(), and TT_Translate_Outline().

◆ pid

◆ post

Definition at line 165 of file ttf2pfb.c.

◆ prog

◆ properties

◆ rcsid

char rcsid[] = "$Id: ttf2pfb.c,v 1.14 2000/01/16 21:49:22 werner Exp $"

Definition at line 57 of file ttf2pfb.c.

Referenced by PS_Head().

◆ verbose

int verbose = 0

Definition at line 113 of file ttf2pfb.c.

Referenced by Generate_Font(), Init_Font_Engine(), main(), and PS_CharString().