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)  

splinefont.h File Reference
#include "basics.h"
#include "configure-pfaedit.h"
#include <gwwiconv.h>
Include dependency graph for splinefont.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ipoint
 
struct  basepoint
 
struct  dbasepoint
 
struct  tpoint
 
struct  dbounds
 
struct  ibounds
 
struct  val
 
struct  psdict
 
struct  pschars
 
struct  gradient
 
struct  gradient::grad_stops
 
struct  pattern
 
struct  brush
 
struct  pen
 
struct  strokeinfo
 
struct  simplifyinfo
 
struct  italicinfo
 
struct  italicinfo::hsquash
 
struct  bluedata
 
struct  bdffloat
 
struct  scriptlanglist
 
struct  opentype_feature_friendlynames
 
struct  featurescriptlanglist
 
struct  otlookup
 
struct  otlookup::lookup_subtable
 
struct  anchorclass
 
struct  anchorpoint
 
struct  kernpair
 
struct  kernclass
 
struct  vr
 
struct  generic_pst
 
struct  liglist
 
struct  generic_fpst
 
struct  generic_fpst::fpst_rule
 
struct  generic_fpst::fpst_rule::seqlookup
 
struct  opentype_str
 
struct  otfname
 
struct  undoes
 
struct  bdfchar
 
struct  enc
 
struct  namelist
 
struct  namelist::renames
 
struct  remap
 
struct  encmap
 
struct  bdfprops
 
struct  bdffont
 
struct  splinepoint
 
struct  linelist
 
struct  linearapprox
 
struct  spline1d
 
struct  spline
 
struct  splinepointlist
 
struct  imagelist
 
struct  refchar
 
struct  refchar::reflayer
 
struct  hintinstance
 
struct  steminfo
 
struct  dsteminfo
 
struct  minimumdistance
 
struct  layer
 
struct  glyphvariants
 
struct  glyphvariants::gv_part
 
struct  mathkernvertex
 
struct  mathkernvertex::mathkerndata
 
struct  mathkern
 
struct  splinechar
 
struct  splinechar::splinecharlist
 
struct  splinechar::altuni
 
struct  ttflangname
 
struct  MATH
 
struct  layerinfo
 
struct  baselangextent
 
struct  basescript
 
struct  Base
 
struct  splinefont
 
struct  splinefont::pfminfo
 
struct  splinefont::ttf_table
 
struct  splinefont::texdata
 
struct  splinefont::gasp
 
struct  mmset
 
struct  mmset::axismap
 
struct  sflist
 
struct  anchorpos
 
struct  compressors
 
struct  archivers
 
struct  sfmergecontext
 
struct  sfmergecontext::lookup_cvt
 
struct  sfmergecontext::sub_cvt
 
struct  sfmergecontext::ac_cvt
 
struct  xlfd_components
 
struct  std_bdf_props
 
struct  bluezone
 
struct  stdstem
 
struct  globalinstrct
 
struct  pscontext
 
struct  sllk
 
struct  math_constants_descriptor
 

Macros

#define ICONV_CONST
 
#define real   double
 
#define bigreal   double
 
#define extended   double
 
#define _EXTENDED
 
#define CHR(ch1, ch2, ch3, ch4)   (((ch1)<<24)|((ch2)<<16)|((ch3)<<8)|(ch4))
 
#define MmMax   16 /* PS says at most this many instances for type1/2 mm fonts */
 
#define COLOR_INHERITED   0xfffffffe
 
#define WIDTH_INHERITED   (-1)
 
#define DASH_INHERITED   255 /* if the dashes[0]==0 && dashes[1]==DASH_INHERITED */
 
#define DASH_MAX   8
 
#define DEFAULT_LANG   CHR('d','f','l','t')
 
#define DEFAULT_SCRIPT   CHR('D','F','L','T')
 
#define REQUIRED_FEATURE   CHR(' ','R','Q','D')
 
#define MAX_LANG   4 /* If more than this we allocate more_langs in chunks of MAX_LANG */
 
#define HntMax   96 /* PS says at most 96 hints */
 
#define TEX_UNDEF   0x7fff
 
#define END_CVT_NAMES   ((char *) (~(intpt) 0))
 
#define chunkalloc(size)   gcalloc(1,size)
 
#define chunkfree(item, size)   free(item)
 
#define CURVATURE_ERROR   -1e9
 
#define esqrt(d)   sqrt(d)
 
#define SCWorthOutputting(a)   1
 
#define UNDEFINED_WIDTH   -999999
 

Typedefs

typedef struct ipoint IPoint
 
typedef struct basepoint BasePoint
 
typedef struct dbasepoint DBasePoint
 
typedef struct tpoint TPoint
 
typedef struct dbounds DBounds
 
typedef struct ibounds IBounds
 
typedef struct val Val
 
typedef unsigned char DashType
 
typedef struct strokeinfo StrokeInfo
 
typedef struct italicinfo ItalicInfo
 
typedef struct bluedata BlueData
 
typedef struct bdffloat BDFFloat
 
typedef struct featurescriptlanglist FeatureScriptLangList
 
typedef struct otlookup OTLookup
 
typedef struct anchorclass AnchorClass
 
typedef struct anchorpoint AnchorPoint
 
typedef struct kernpair KernPair
 
typedef struct kernclass KernClass
 
typedef struct generic_pst PST
 
typedef struct liglist LigList
 
typedef struct generic_fpst FPST
 
typedef struct undoes Undoes
 
typedef struct bdfchar BDFChar
 
typedef struct enc Encoding
 
typedef struct namelist NameList
 
typedef struct encmap EncMap
 
typedef struct bdfprops BDFProperties
 
typedef struct bdffont BDFFont
 
typedef uint8 HintMask[96/8]
 
typedef struct splinepoint SplinePoint
 
typedef struct linelist LineList
 
typedef struct linearapprox LinearApprox
 
typedef struct spline1d Spline1D
 
typedef struct spline Spline
 
typedef struct splinepointlist SplinePointList
 
typedef struct splinepointlist SplineSet
 
typedef struct imagelist ImageList
 
typedef struct refchar RefChar
 
typedef struct hintinstance HintInstance
 
typedef double _MMArray[2][16]
 
typedef struct steminfo StemInfo
 
typedef struct dsteminfo DStemInfo
 
typedef struct minimumdistance MinimumDistance
 
typedef struct layer Layer
 
typedef struct splinechar SplineChar
 
typedef struct layerinfo LayerInfo
 
typedef struct splinefont SplineFont
 
typedef struct mmset MMSet
 
typedef struct anchorpos AnchorPos
 
typedef struct bluezone BlueZone
 
typedef struct stdstem StdStem
 
typedef struct globalinstrct GlobalInstrCt
 

Enumerations

enum  linejoin {
  lj_miter , lj_round , lj_bevel , lj_inherited ,
  lj_miter , lj_round , lj_bevel , lj_inherited ,
  lj_miter , lj_round , lj_bevel , lj_inherited
}
 
enum  linecap {
  lc_butt , lc_round , lc_square , lc_inherited ,
  lc_butt , lc_round , lc_square , lc_inherited ,
  lc_butt , lc_round , lc_square , lc_inherited
}
 
enum  spreadMethod {
  sm_pad , sm_reflect , sm_repeat , sm_pad ,
  sm_reflect , sm_repeat , sm_pad , sm_reflect ,
  sm_repeat
}
 
enum  si_type {
  si_std , si_caligraphic , si_poly , si_centerline ,
  si_std , si_caligraphic , si_elipse , si_centerline ,
  si_std , si_caligraphic , si_elipse , si_centerline
}
 
enum  overlap_type {
  over_remove , over_rmselected , over_intersect , over_intersel ,
  over_exclude , over_findinter , over_fisel , over_remove ,
  over_rmselected , over_intersect , over_intersel , over_exclude ,
  over_findinter , over_fisel , over_remove , over_rmselected ,
  over_intersect , over_intersel , over_exclude , over_findinter ,
  over_fisel
}
 
enum  simpify_flags {
  sf_cleanup =-1 , sf_normal =0 , sf_ignoreslopes =1 , sf_ignoreextremum =2 ,
  sf_smoothcurves =4 , sf_choosehv =8 , sf_forcelines =0x10 , sf_nearlyhvlines =0x20 ,
  sf_mergelines =0x40 , sf_setstart2extremum =0x80 , sf_rmsingletonpoints =0x100 , sf_cleanup =-1 ,
  sf_normal =0 , sf_ignoreslopes =1 , sf_ignoreextremum =2 , sf_smoothcurves =4 ,
  sf_choosehv =8 , sf_forcelines =0x10 , sf_nearlyhvlines =0x20 , sf_mergelines =0x40 ,
  sf_setstart2extremum =0x80 , sf_rmsingletonpoints =0x100 , sf_cleanup =-1 , sf_normal =0 ,
  sf_ignoreslopes =1 , sf_ignoreextremum =2 , sf_smoothcurves =4 , sf_choosehv =8 ,
  sf_forcelines =0x10 , sf_nearlyhvlines =0x20 , sf_mergelines =0x40 , sf_setstart2extremum =0x80 ,
  sf_rmsingletonpoints =0x100
}
 
enum  otlookup_type {
  ot_undef = 0 , gsub_start = 0x000 , gsub_single = 0x001 , gsub_multiple = 0x002 ,
  gsub_alternate = 0x003 , gsub_ligature = 0x004 , gsub_context = 0x005 , gsub_contextchain = 0x006 ,
  gsub_reversecchain = 0x008 , morx_indic = 0x0fd , morx_context = 0x0fe , morx_insert = 0x0ff ,
  gpos_start = 0x100 , gpos_single = 0x101 , gpos_pair = 0x102 , gpos_cursive = 0x103 ,
  gpos_mark2base = 0x104 , gpos_mark2ligature = 0x105 , gpos_mark2mark = 0x106 , gpos_context = 0x107 ,
  gpos_contextchain = 0x108 , kern_statemachine = 0x1ff , ot_undef = 0 , gsub_start = 0x000 ,
  gsub_single = 0x001 , gsub_multiple = 0x002 , gsub_alternate = 0x003 , gsub_ligature = 0x004 ,
  gsub_context = 0x005 , gsub_contextchain = 0x006 , gsub_reversecchain = 0x008 , gpos_start = 0x100 ,
  gpos_single = 0x101 , gpos_pair = 0x102 , gpos_cursive = 0x103 , gpos_mark2base = 0x104 ,
  gpos_mark2ligature = 0x105 , gpos_mark2mark = 0x106 , gpos_context = 0x107 , gpos_contextchain = 0x108 ,
  ot_undef = 0 , gsub_start = 0x000 , gsub_single = 0x001 , gsub_multiple = 0x002 ,
  gsub_alternate = 0x003 , gsub_ligature = 0x004 , gsub_context = 0x005 , gsub_contextchain = 0x006 ,
  gsub_reversecchain = 0x008 , gpos_start = 0x100 , gpos_single = 0x101 , gpos_pair = 0x102 ,
  gpos_cursive = 0x103 , gpos_mark2base = 0x104 , gpos_mark2ligature = 0x105 , gpos_mark2mark = 0x106 ,
  gpos_context = 0x107 , gpos_contextchain = 0x108
}
 
enum  otlookup_typemasks {
  gsub_single_mask = 0x00001 , gsub_multiple_mask = 0x00002 , gsub_alternate_mask = 0x00004 , gsub_ligature_mask = 0x00008 ,
  gsub_context_mask = 0x00010 , gsub_contextchain_mask = 0x00020 , gsub_reversecchain_mask = 0x00040 , morx_indic_mask = 0x00080 ,
  morx_context_mask = 0x00100 , morx_insert_mask = 0x00200 , gpos_single_mask = 0x00400 , gpos_pair_mask = 0x00800 ,
  gpos_cursive_mask = 0x01000 , gpos_mark2base_mask = 0x02000 , gpos_mark2ligature_mask = 0x04000 , gpos_mark2mark_mask = 0x08000 ,
  gpos_context_mask = 0x10000 , gpos_contextchain_mask = 0x20000 , kern_statemachine_mask = 0x40000 , gsub_single_mask = 0x00001 ,
  gsub_multiple_mask = 0x00002 , gsub_alternate_mask = 0x00004 , gsub_ligature_mask = 0x00008 , gsub_context_mask = 0x00010 ,
  gsub_contextchain_mask = 0x00020 , gsub_reversecchain_mask = 0x00040 , gpos_single_mask = 0x00400 , gpos_pair_mask = 0x00800 ,
  gpos_cursive_mask = 0x01000 , gpos_mark2base_mask = 0x02000 , gpos_mark2ligature_mask = 0x04000 , gpos_mark2mark_mask = 0x08000 ,
  gpos_context_mask = 0x10000 , gpos_contextchain_mask = 0x20000 , gsub_single_mask = 0x00001 , gsub_multiple_mask = 0x00002 ,
  gsub_alternate_mask = 0x00004 , gsub_ligature_mask = 0x00008 , gsub_context_mask = 0x00010 , gsub_contextchain_mask = 0x00020 ,
  gsub_reversecchain_mask = 0x00040 , gpos_single_mask = 0x00400 , gpos_pair_mask = 0x00800 , gpos_cursive_mask = 0x01000 ,
  gpos_mark2base_mask = 0x02000 , gpos_mark2ligature_mask = 0x04000 , gpos_mark2mark_mask = 0x08000 , gpos_context_mask = 0x10000 ,
  gpos_contextchain_mask = 0x20000
}
 
enum  pst_flags {
  pst_r2l =1 , pst_ignorebaseglyphs =2 , pst_ignoreligatures =4 , pst_ignorecombiningmarks =8 ,
  pst_usemarkfilteringset =0x10 , pst_markclass =0xff00 , pst_markset =0xffff0000 , pst_r2l =1 ,
  pst_ignorebaseglyphs =2 , pst_ignoreligatures =4 , pst_ignorecombiningmarks =8 , pst_r2l =1 ,
  pst_ignorebaseglyphs =2 , pst_ignoreligatures =4 , pst_ignorecombiningmarks =8
}
 
enum  anchorclass_type {
  act_mark , act_mkmk , act_curs , act_mklg ,
  act_unknown , act_mark , act_mkmk , act_curs ,
  act_mklg , act_mark , act_mkmk , act_curs ,
  act_mklg
}
 
enum  anchor_type {
  at_mark , at_basechar , at_baselig , at_basemark ,
  at_centry , at_cexit , at_max , at_mark ,
  at_basechar , at_baselig , at_basemark , at_centry ,
  at_cexit , at_max , at_mark , at_basechar ,
  at_baselig , at_basemark , at_centry , at_cexit ,
  at_max
}
 
enum  possub_type {
  pst_null , pst_position , pst_pair , pst_substitution ,
  pst_alternate , pst_multiple , pst_ligature , pst_lcaret ,
  pst_max , pst_kerning = pst_max , pst_vkerning , pst_anchors ,
  pst_contextpos , pst_contextsub , pst_chainpos , pst_chainsub ,
  pst_reversesub , fpst_max , pst_kernback , pst_vkernback ,
  pst_null , pst_position , pst_pair , pst_substitution ,
  pst_alternate , pst_multiple , pst_ligature , pst_lcaret ,
  pst_max , pst_kerning = pst_max , pst_vkerning , pst_anchors ,
  pst_contextpos , pst_contextsub , pst_chainpos , pst_chainsub ,
  pst_reversesub , fpst_max , pst_kernback , pst_vkernback ,
  pst_null , pst_position , pst_pair , pst_substitution ,
  pst_alternate , pst_multiple , pst_ligature , pst_lcaret ,
  pst_max , pst_kerning = pst_max , pst_vkerning , pst_anchors ,
  pst_contextpos , pst_contextsub , pst_chainpos , pst_chainsub ,
  pst_reversesub , fpst_max , pst_kernback , pst_vkernback
}
 
enum  fpossub_format {
  pst_glyphs , pst_class , pst_coverage , pst_reversecoverage ,
  pst_formatmax , pst_glyphs , pst_class , pst_coverage ,
  pst_reversecoverage , pst_formatmax , pst_glyphs , pst_class ,
  pst_coverage , pst_reversecoverage , pst_formatmax
}
 
enum  uni_interp {
  ui_unset = -1 , ui_none , ui_adobe , ui_greek ,
  ui_japanese , ui_trad_chinese , ui_simp_chinese , ui_korean ,
  ui_ams , ui_unset = -1 , ui_none , ui_adobe ,
  ui_greek , ui_japanese , ui_trad_chinese , ui_simp_chinese ,
  ui_korean , ui_ams , ui_unset = -1 , ui_none ,
  ui_adobe , ui_greek , ui_japanese , ui_trad_chinese ,
  ui_simp_chinese , ui_korean , ui_ams
}
 
enum  property_type {
  prt_string , prt_atom , prt_int , prt_uint ,
  prt_property =0x10 , prt_string , prt_atom , prt_int ,
  prt_uint , prt_property =0x10 , prt_string , prt_atom ,
  prt_int , prt_uint , prt_property =0x10
}
 
enum  pointtype {
  pt_curve , pt_corner , pt_tangent , pt_hvcurve ,
  pt_curve , pt_corner , pt_tangent , pt_hvcurve ,
  pt_curve , pt_corner , pt_tangent , pt_hvcurve
}
 
enum  hinttypes {
  ht_unspecified =0 , ht_h , ht_v , ht_d ,
  ht_unspecified =0 , ht_h , ht_v , ht_d ,
  ht_unspecified =0 , ht_h , ht_v , ht_d
}
 
enum  layer_type {
  ly_all =-2 , ly_grid = -1 , ly_back =0 , ly_fore =1 ,
  ly_none = -3 , ly_all =-2 , ly_grid = -1 , ly_back =0 ,
  ly_fore =1 , ly_none = -3 , ly_all =-2 , ly_grid = -1 ,
  ly_back =0 , ly_fore =1 , ly_none = -3
}
 
enum  privatedict_state {
  pds_odd = 0x1 , pds_outoforder = 0x2 , pds_toomany = 0x4 , pds_tooclose = 0x8 ,
  pds_notintegral = 0x10 , pds_toobig = 0x20 , pds_shift = 8 , pds_missingblue = 0x010000 ,
  pds_badbluefuzz = 0x020000 , pds_badbluescale = 0x040000 , pds_badstdhw = 0x080000 , pds_badstdvw = 0x100000 ,
  pds_badstemsnaph = 0x200000 , pds_badstemsnapv = 0x400000 , pds_stemsnapnostdh = 0x0800000 , pds_stemsnapnostdv = 0x1000000 ,
  pds_badblueshift = 0x2000000 , pds_odd = 0x1 , pds_outoforder = 0x2 , pds_toomany = 0x4 ,
  pds_tooclose = 0x8 , pds_notintegral = 0x10 , pds_toobig = 0x20 , pds_shift = 8 ,
  pds_missingblue = 0x010000 , pds_badbluefuzz = 0x020000 , pds_badbluescale = 0x040000 , pds_badstdhw = 0x080000 ,
  pds_badstdvw = 0x100000 , pds_badstemsnaph = 0x200000 , pds_badstemsnapv = 0x400000 , pds_stemsnapnostdh = 0x0800000 ,
  pds_stemsnapnostdv = 0x1000000 , pds_badblueshift = 0x2000000 , pds_odd = 0x1 , pds_outoforder = 0x2 ,
  pds_toomany = 0x4 , pds_tooclose = 0x8 , pds_notintegral = 0x10 , pds_toobig = 0x20 ,
  pds_shift = 8 , pds_missingblue = 0x010000 , pds_badbluefuzz = 0x020000 , pds_badbluescale = 0x040000 ,
  pds_badstdhw = 0x080000 , pds_badstdvw = 0x100000 , pds_badstemsnaph = 0x200000 , pds_badstemsnapv = 0x400000 ,
  pds_stemsnapnostdh = 0x0800000 , pds_stemsnapnostdv = 0x1000000 , pds_badblueshift = 0x2000000
}
 
enum  validation_state {
  vs_unknown = 0 , vs_known =0x01 , vs_opencontour =0x02 , vs_selfintersects =0x04 ,
  vs_wrongdirection =0x08 , vs_flippedreferences =0x10 , vs_missingextrema =0x20 , vs_missingglyphnameingsub =0x40 ,
  vs_toomanypoints =0x80 , vs_toomanyhints =0x100 , vs_badglyphname =0x200 , vs_maxp_toomanypoints =0x400 ,
  vs_maxp_toomanypaths =0x800 , vs_maxp_toomanycomppoints =0x1000 , vs_maxp_toomanycomppaths =0x2000 , vs_maxp_instrtoolong =0x4000 ,
  vs_maxp_toomanyrefs =0x8000 , vs_maxp_refstoodeep =0x10000 , vs_pointstoofarapart = 0x40000 , vs_nonintegral = 0x80000 ,
  vs_missinganchor = 0x100000 , vs_dupname = 0x200000 , vs_dupunicode = 0x400000 , vs_overlappedhints = 0x800000 ,
  vs_last = vs_overlappedhints , vs_maskps = 0x3fe | vs_pointstoofarapart | vs_missinganchor | vs_dupname | vs_dupunicode | vs_overlappedhints , vs_maskcid = 0x1fe | vs_pointstoofarapart | vs_missinganchor | vs_dupname | vs_overlappedhints , vs_maskttf = 0x7e | vs_pointstoofarapart | vs_nonintegral | vs_missinganchor | vs_dupunicode ,
  vs_maskfindproblems = 0x1be | vs_pointstoofarapart | vs_nonintegral | vs_missinganchor | vs_overlappedhints , vs_unknown = 0 , vs_known =0x01 , vs_opencontour =0x02 ,
  vs_selfintersects =0x04 , vs_wrongdirection =0x08 , vs_flippedreferences =0x10 , vs_missingextrema =0x20 ,
  vs_missingglyphnameingsub =0x40 , vs_toomanypoints =0x80 , vs_toomanyhints =0x100 , vs_badglyphname =0x200 ,
  vs_maxp_toomanypoints =0x400 , vs_maxp_toomanypaths =0x800 , vs_maxp_toomanycomppoints =0x1000 , vs_maxp_toomanycomppaths =0x2000 ,
  vs_maxp_instrtoolong =0x4000 , vs_maxp_toomanyrefs =0x8000 , vs_maxp_refstoodeep =0x10000 , vs_pointstoofarapart = 0x40000 ,
  vs_nonintegral = 0x80000 , vs_missinganchor = 0x100000 , vs_dupname = 0x200000 , vs_dupunicode = 0x400000 ,
  vs_last = vs_dupunicode , vs_maskps = 0x3fe | vs_pointstoofarapart | vs_missinganchor | vs_dupname | vs_dupunicode , vs_maskcid = 0x1fe | vs_pointstoofarapart | vs_missinganchor | vs_dupname , vs_maskttf = 0x7e | vs_pointstoofarapart | vs_nonintegral | vs_missinganchor | vs_dupunicode ,
  vs_maskfindproblems = 0x1be | vs_pointstoofarapart | vs_nonintegral | vs_missinganchor , vs_unknown = 0 , vs_known =0x01 , vs_opencontour =0x02 ,
  vs_selfintersects =0x04 , vs_wrongdirection =0x08 , vs_flippedreferences =0x10 , vs_missingextrema =0x20 ,
  vs_missingglyphnameingsub =0x40 , vs_toomanypoints =0x80 , vs_toomanyhints =0x100 , vs_badglyphname =0x200 ,
  vs_maxp_toomanypoints =0x400 , vs_maxp_toomanypaths =0x800 , vs_maxp_toomanycomppoints =0x1000 , vs_maxp_toomanycomppaths =0x2000 ,
  vs_maxp_instrtoolong =0x4000 , vs_maxp_toomanyrefs =0x8000 , vs_maxp_refstoodeep =0x10000 , vs_pointstoofarapart = 0x40000 ,
  vs_nonintegral = 0x80000 , vs_missinganchor = 0x100000 , vs_dupname = 0x200000 , vs_dupunicode = 0x400000 ,
  vs_last = vs_dupunicode , vs_maskps = 0x3fe | vs_pointstoofarapart | vs_missinganchor | vs_dupname | vs_dupunicode , vs_maskcid = 0x1fe | vs_pointstoofarapart | vs_missinganchor | vs_dupname , vs_maskttf = 0x7e | vs_pointstoofarapart | vs_nonintegral | vs_missinganchor | vs_dupunicode ,
  vs_maskfindproblems = 0x1be | vs_pointstoofarapart | vs_nonintegral | vs_missinganchor
}
 
enum  ttfnames {
  ttf_copyright =0 , ttf_family , ttf_subfamily , ttf_uniqueid ,
  ttf_fullname , ttf_version , ttf_postscriptname , ttf_trademark ,
  ttf_manufacturer , ttf_designer , ttf_descriptor , ttf_venderurl ,
  ttf_designerurl , ttf_license , ttf_licenseurl , ttf_idontknow ,
  ttf_preffamilyname , ttf_prefmodifiers , ttf_compatfull , ttf_sampletext ,
  ttf_cidfindfontname , ttf_wwsfamily , ttf_wwssubfamily , ttf_namemax ,
  ttf_copyright =0 , ttf_family , ttf_subfamily , ttf_uniqueid ,
  ttf_fullname , ttf_version , ttf_postscriptname , ttf_trademark ,
  ttf_manufacturer , ttf_designer , ttf_descriptor , ttf_venderurl ,
  ttf_designerurl , ttf_license , ttf_licenseurl , ttf_idontknow ,
  ttf_preffamilyname , ttf_prefmodifiers , ttf_compatfull , ttf_sampletext ,
  ttf_cidfindfontname , ttf_wwsfamily , ttf_wwssubfamily , ttf_namemax ,
  ttf_copyright =0 , ttf_family , ttf_subfamily , ttf_uniqueid ,
  ttf_fullname , ttf_version , ttf_postscriptname , ttf_trademark ,
  ttf_manufacturer , ttf_designer , ttf_descriptor , ttf_venderurl ,
  ttf_designerurl , ttf_license , ttf_licenseurl , ttf_idontknow ,
  ttf_preffamilyname , ttf_prefmodifiers , ttf_compatfull , ttf_sampletext ,
  ttf_cidfindfontname , ttf_wwsfamily , ttf_wwssubfamily , ttf_namemax
}
 
enum  backedup_state {
  bs_dontknow =0 , bs_not =1 , bs_backedup =2 , bs_dontknow =0 ,
  bs_not =1 , bs_backedup =2 , bs_dontknow =0 , bs_not =1 ,
  bs_backedup =2
}
 
enum  loadvalidation_state {
  lvs_bad_ps_fontname = 0x001 , lvs_bad_glyph_table = 0x002 , lvs_bad_cff_table = 0x004 , lvs_bad_metrics_table = 0x008 ,
  lvs_bad_cmap_table = 0x010 , lvs_bad_bitmaps_table = 0x020 , lvs_bad_gx_table = 0x040 , lvs_bad_ot_table = 0x080 ,
  lvs_bad_os2_version = 0x100 , lvs_bad_sfnt_header = 0x200 , lvs_bad_ps_fontname = 0x001 , lvs_bad_glyph_table = 0x002 ,
  lvs_bad_cff_table = 0x004 , lvs_bad_metrics_table = 0x008 , lvs_bad_cmap_table = 0x010 , lvs_bad_bitmaps_table = 0x020 ,
  lvs_bad_gx_table = 0x040 , lvs_bad_ot_table = 0x080 , lvs_bad_os2_version = 0x100 , lvs_bad_sfnt_header = 0x200 ,
  lvs_bad_ps_fontname = 0x001 , lvs_bad_glyph_table = 0x002 , lvs_bad_cff_table = 0x004 , lvs_bad_metrics_table = 0x008 ,
  lvs_bad_cmap_table = 0x010 , lvs_bad_bitmaps_table = 0x020 , lvs_bad_gx_table = 0x040 , lvs_bad_ot_table = 0x080 ,
  lvs_bad_os2_version = 0x100 , lvs_bad_sfnt_header = 0x200
}
 
enum  style_flags {
  sf_bold = 1 , sf_italic = 2 , sf_underline = 4 , sf_outline = 8 ,
  sf_shadow = 0x10 , sf_condense = 0x20 , sf_extend = 0x40 , sf_bold = 1 ,
  sf_italic = 2 , sf_underline = 4 , sf_outline = 8 , sf_shadow = 0x10 ,
  sf_condense = 0x20 , sf_extend = 0x40 , sf_bold = 1 , sf_italic = 2 ,
  sf_underline = 4 , sf_outline = 8 , sf_shadow = 0x10 , sf_condense = 0x20 ,
  sf_extend = 0x40
}
 
enum  ttf_flags {
  ttf_flag_shortps = 1 , ttf_flag_nohints = 2 , ttf_flag_applemode =4 , ttf_flag_pfed_comments =8 ,
  ttf_flag_pfed_colors =0x10 , ttf_flag_otmode =0x20 , ttf_flag_glyphmap =0x40 , ttf_flag_TeXtable =0x80 ,
  ttf_flag_ofm =0x100 , ttf_flag_oldkern =0x200 , ttf_flag_pfed_lookupnames =0x800 , ttf_flag_pfed_guides =0x1000 ,
  ttf_flag_pfed_layers =0x2000 , ttf_flag_symbol =0x4000 , ttf_flag_dummyDSIG =0x8000 , ttf_native_kern =0x10000 ,
  ttf_flag_oldkernmappedonly =0x20000000 , ttf_flag_shortps = 1 , ttf_flag_nohints = 2 , ttf_flag_applemode =4 ,
  ttf_flag_pfed_comments =8 , ttf_flag_pfed_colors =0x10 , ttf_flag_otmode =0x20 , ttf_flag_glyphmap =0x40 ,
  ttf_flag_TeXtable =0x80 , ttf_flag_ofm =0x100 , ttf_flag_oldkern =0x200 , ttf_flag_brokensize =0x400 ,
  ttf_flag_pfed_lookupnames =0x800 , ttf_flag_pfed_guides =0x1000 , ttf_flag_pfed_layers =0x2000 , ttf_flag_symbol =0x4000 ,
  ttf_flag_dummyDSIG =0x8000 , ttf_flag_shortps = 1 , ttf_flag_nohints = 2 , ttf_flag_applemode =4 ,
  ttf_flag_pfed_comments =8 , ttf_flag_pfed_colors =0x10 , ttf_flag_otmode =0x20 , ttf_flag_glyphmap =0x40 ,
  ttf_flag_TeXtable =0x80 , ttf_flag_ofm =0x100 , ttf_flag_oldkern =0x200 , ttf_flag_brokensize =0x400 ,
  ttf_flag_pfed_lookupnames =0x800 , ttf_flag_pfed_guides =0x1000 , ttf_flag_pfed_layers =0x2000 , ttf_flag_symbol =0x4000 ,
  ttf_flag_dummyDSIG =0x8000
}
 
enum  openflags {
  of_fstypepermitted =1 , of_askcmap =2 , of_all_glyphs_in_ttc =4 , of_fontlint =8 ,
  of_hidewindow =0x10 , of_all_tables =0x20 , of_fstypepermitted =1 , of_askcmap =2 ,
  of_all_glyphs_in_ttc =4 , of_fontlint =8 , of_hidewindow =0x10 , of_fstypepermitted =1 ,
  of_askcmap =2 , of_all_glyphs_in_ttc =4 , of_fontlint =8 , of_hidewindow =0x10
}
 
enum  ps_flags {
  ps_flag_nohintsubs = 0x10000 , ps_flag_noflex =0x20000 , ps_flag_nohints = 0x40000 , ps_flag_restrict256 =0x80000 ,
  ps_flag_afm = 0x100000 , ps_flag_pfm = 0x200000 , ps_flag_tfm = 0x400000 , ps_flag_round = 0x800000 ,
  ps_flag_nocffsugar = 0x1000000 , ps_flag_identitycidmap = 0x2000000 , ps_flag_afmwithmarks = 0x4000000 , ps_flag_noseac = 0x8000000 ,
  ps_flag_outputfontlog = 0x10000000 , ps_flag_mask , ps_flag_nohintsubs = 0x10000 , ps_flag_noflex =0x20000 ,
  ps_flag_nohints = 0x40000 , ps_flag_restrict256 =0x80000 , ps_flag_afm = 0x100000 , ps_flag_pfm = 0x200000 ,
  ps_flag_tfm = 0x400000 , ps_flag_round = 0x800000 , ps_flag_nocffsugar = 0x1000000 , ps_flag_identitycidmap = 0x2000000 ,
  ps_flag_afmwithmarks = 0x4000000 , ps_flag_noseac = 0x8000000 , ps_flag_outputfontlog = 0x10000000 , ps_flag_mask ,
  ps_flag_nohintsubs = 0x10000 , ps_flag_noflex =0x20000 , ps_flag_nohints = 0x40000 , ps_flag_restrict256 =0x80000 ,
  ps_flag_afm = 0x100000 , ps_flag_pfm = 0x200000 , ps_flag_tfm = 0x400000 , ps_flag_round = 0x800000 ,
  ps_flag_nocffsugar = 0x1000000 , ps_flag_identitycidmap = 0x2000000 , ps_flag_afmwithmarks = 0x4000000 , ps_flag_noseac = 0x8000000 ,
  ps_flag_outputfontlog = 0x10000000 , ps_flag_mask
}
 
enum  fontformat {
  ff_pfa , ff_pfb , ff_pfbmacbin , ff_multiple ,
  ff_mma , ff_mmb , ff_ptype3 , ff_ptype0 ,
  ff_cid , ff_cff , ff_cffcid , ff_type42 ,
  ff_type42cid , ff_ttf , ff_ttfsym , ff_ttfmacbin ,
  ff_ttc , ff_ttfdfont , ff_otf , ff_otfdfont ,
  ff_otfcid , ff_otfciddfont , ff_svg , ff_ufo ,
  ff_woff , ff_none , ff_pfa , ff_pfb ,
  ff_pfbmacbin , ff_multiple , ff_mma , ff_mmb ,
  ff_ptype3 , ff_ptype0 , ff_cid , ff_cff ,
  ff_cffcid , ff_type42 , ff_type42cid , ff_ttf ,
  ff_ttfsym , ff_ttfmacbin , ff_ttfdfont , ff_otf ,
  ff_otfdfont , ff_otfcid , ff_otfciddfont , ff_svg ,
  ff_ufo , ff_none , ff_pfa , ff_pfb ,
  ff_pfbmacbin , ff_multiple , ff_mma , ff_mmb ,
  ff_ptype3 , ff_ptype0 , ff_cid , ff_cff ,
  ff_cffcid , ff_type42 , ff_type42cid , ff_ttf ,
  ff_ttfsym , ff_ttfmacbin , ff_ttfdfont , ff_otf ,
  ff_otfdfont , ff_otfcid , ff_otfciddfont , ff_svg ,
  ff_ufo , ff_none
}
 
enum  bitmapformat {
  bf_bdf , bf_ttf , bf_sfnt_dfont , bf_sfnt_ms ,
  bf_otb , bf_nfntmacbin , bf_fon , bf_fnt ,
  bf_palm , bf_ptype3 , bf_none , bf_bdf ,
  bf_ttf , bf_sfnt_dfont , bf_sfnt_ms , bf_otb ,
  bf_nfntmacbin , bf_fon , bf_fnt , bf_palm ,
  bf_ptype3 , bf_none , bf_bdf , bf_ttf ,
  bf_sfnt_dfont , bf_sfnt_ms , bf_otb , bf_nfntmacbin ,
  bf_fon , bf_fnt , bf_palm , bf_ptype3 ,
  bf_none
}
 
enum  piecemeal_flags {
  pf_antialias =1 , pf_bbsized =2 , pf_ft_nohints =4 , pf_ft_recontext =8 ,
  pf_antialias =1 , pf_bbsized =2 , pf_ft_nohints =4 , pf_antialias =1 ,
  pf_bbsized =2 , pf_ft_nohints =4
}
 
enum  ae_type {
  ae_all , ae_between_selected , ae_only_good , ae_only_good_rm_later ,
  ae_all , ae_between_selected , ae_only_good , ae_only_good_rm_later ,
  ae_all , ae_between_selected , ae_only_good , ae_only_good_rm_later
}
 
enum  ttfflags {
  ttf_onlystrikes =1 , ttf_onlyonestrike =2 , ttf_onlykerns =4 , ttf_onlynames =8 ,
  ttf_onlystrikes =1 , ttf_onlyonestrike =2 , ttf_onlykerns =4 , ttf_onlynames =8 ,
  ttf_onlystrikes =1 , ttf_onlyonestrike =2 , ttf_onlykerns =4 , ttf_onlynames =8
}
 
enum  psstrokeflags {
  sf_handle_eraser =4 , sf_correctdir =8 , sf_clearbeforeinput =16 , sf_toobigwarn =1 ,
  sf_removeoverlap =2 , sf_handle_eraser =4 , sf_correctdir =8 , sf_clearbeforeinput =16 ,
  sf_toobigwarn =1 , sf_removeoverlap =2 , sf_handle_eraser =4 , sf_correctdir =8 ,
  sf_clearbeforeinput =16
}
 
enum  Compare_Ret {
  SS_DiffContourCount = 1 , SS_MismatchOpenClosed = 2 , SS_DisorderedContours = 4 , SS_DisorderedStart = 8 ,
  SS_DisorderedDirection = 16 , SS_PointsMatch = 32 , SS_ContourMatch = 64 , SS_NoMatch = 128 ,
  SS_RefMismatch = 256 , SS_WidthMismatch = 512 , SS_VWidthMismatch = 1024 , SS_HintMismatch = 2048 ,
  SS_HintMaskMismatch = 4096 , SS_LayerCntMismatch = 8192 , SS_ContourMismatch = 16384 , SS_UnlinkRefMatch = 32768 ,
  BC_DepthMismatch = 1<<16 , BC_BoundingBoxMismatch = 2<<16 , BC_BitmapMismatch = 4<<16 , BC_NoMatch = 8<<16 ,
  BC_Match = 16<<16 , SS_RefPtMismatch = 32<<16 , SS_DiffContourCount = 1 , SS_MismatchOpenClosed = 2 ,
  SS_DisorderedContours = 4 , SS_DisorderedStart = 8 , SS_DisorderedDirection = 16 , SS_PointsMatch = 32 ,
  SS_ContourMatch = 64 , SS_NoMatch = 128 , SS_RefMismatch = 256 , SS_WidthMismatch = 512 ,
  SS_VWidthMismatch = 1024 , SS_HintMismatch = 2048 , SS_HintMaskMismatch = 4096 , SS_LayerCntMismatch = 8192 ,
  SS_ContourMismatch = 16384 , SS_UnlinkRefMatch = 32768 , BC_DepthMismatch = 1<<16 , BC_BoundingBoxMismatch = 2<<16 ,
  BC_BitmapMismatch = 4<<16 , BC_NoMatch = 8<<16 , BC_Match = 16<<16 , SS_RefPtMismatch = 32<<16 ,
  SS_DiffContourCount = 1 , SS_MismatchOpenClosed = 2 , SS_DisorderedContours = 4 , SS_DisorderedStart = 8 ,
  SS_DisorderedDirection = 16 , SS_PointsMatch = 32 , SS_ContourMatch = 64 , SS_NoMatch = 128 ,
  SS_RefMismatch = 256 , SS_WidthMismatch = 512 , SS_VWidthMismatch = 1024 , SS_HintMismatch = 2048 ,
  SS_HintMaskMismatch = 4096 , SS_LayerCntMismatch = 8192 , SS_ContourMismatch = 16384 , SS_UnlinkRefMatch = 32768 ,
  BC_DepthMismatch = 1<<16 , BC_BoundingBoxMismatch = 2<<16 , BC_BitmapMismatch = 4<<16 , BC_NoMatch = 8<<16 ,
  BC_Match = 16<<16 , SS_RefPtMismatch = 32<<16
}
 
enum  font_compare_flags {
  fcf_outlines =1 , fcf_exact =2 , fcf_warn_not_exact =4 , fcf_hinting =8 ,
  fcf_hintmasks =0x10 , fcf_hmonlywithconflicts =0x20 , fcf_warn_not_ref_exact =0x40 , fcf_bitmaps =0x80 ,
  fcf_names = 0x100 , fcf_gpos =0x200 , fcf_gsub =0x400 , fcf_adddiff2sf1 =0x800 ,
  fcf_addmissing =0x1000 , fcf_outlines =1 , fcf_exact =2 , fcf_warn_not_exact =4 ,
  fcf_hinting =8 , fcf_hintmasks =0x10 , fcf_hmonlywithconflicts =0x20 , fcf_warn_not_ref_exact =0x40 ,
  fcf_bitmaps =0x80 , fcf_names = 0x100 , fcf_gpos =0x200 , fcf_gsub =0x400 ,
  fcf_adddiff2sf1 =0x800 , fcf_addmissing =0x1000 , fcf_outlines =1 , fcf_exact =2 ,
  fcf_warn_not_exact =4 , fcf_hinting =8 , fcf_hintmasks =0x10 , fcf_hmonlywithconflicts =0x20 ,
  fcf_warn_not_ref_exact =0x40 , fcf_bitmaps =0x80 , fcf_names = 0x100 , fcf_gpos =0x200 ,
  fcf_gsub =0x400 , fcf_adddiff2sf1 =0x800 , fcf_addmissing =0x1000
}
 

Functions

char * strconcat (const char *str, const char *str2)
 
char * strconcat3 (const char *str, const char *str2, const char *str3)
 
char * XUIDFromFD (int xuid[20])
 
SplineFontSplineFontFromPSFont (struct fontdict *fd)
 
int CheckAfmOfPostscript (SplineFont *sf, const char *psname, EncMap *map)
 
int LoadKerningDataFromAmfm (SplineFont *sf, char *filename, EncMap *map)
 
int LoadKerningDataFromAfm (SplineFont *sf, char *filename, EncMap *map)
 
int LoadKerningDataFromTfm (SplineFont *sf, char *filename, EncMap *map)
 
int LoadKerningDataFromOfm (SplineFont *sf, char *filename, EncMap *map)
 
int LoadKerningDataFromPfm (SplineFont *sf, char *filename, EncMap *map)
 
int LoadKerningDataFromMacFOND (SplineFont *sf, char *filename, EncMap *map)
 
int LoadKerningDataFromMetricsFile (SplineFont *sf, char *filename, EncMap *map)
 
void FeatDumpFontLookups (FILE *out, SplineFont *sf)
 
void FeatDumpOneLookup (FILE *out, SplineFont *sf, OTLookup *otl)
 
void SFApplyFeatureFile (SplineFont *sf, FILE *file, char *filename)
 
void SFApplyFeatureFilename (SplineFont *sf, char *filename)
 
void SubsNew (SplineChar *to, enum possub_type type, int tag, char *components, SplineChar *default_script)
 
void PosNew (SplineChar *to, int tag, int dx, int dy, int dh, int dv)
 
int SFOneWidth (SplineFont *sf)
 
int CIDOneWidth (SplineFont *sf)
 
int SFOneHeight (SplineFont *sf)
 
int SFIsCJK (SplineFont *sf, EncMap *map)
 
void CIDMasterAsDes (SplineFont *sf)
 
struct pscharsSplineFont2ChrsSubrs (SplineFont *sf, int iscjk, struct pschars *subrs, int flags, enum fontformat format, int layer)
 
int CanonicalCombiner (int uni)
 
int UnitsParallel (BasePoint *u1, BasePoint *u2, int strict)
 
int CvtPsStem3 (struct growbuf *gb, SplineChar *scs[16], int instance_count, int ishstem, int round)
 
struct pscharsSplineFont2ChrsSubrs2 (SplineFont *sf, int nomwid, int defwid, const int *bygid, int cnt, int flags, struct pschars **_subrs, int layer)
 
struct pscharsCID2ChrsSubrs2 (SplineFont *cidmaster, struct fd2data *fds, int flags, struct pschars **_glbls, int layer)
 
const char * GetAuthor (void)
 
SplineCharSFFindExistingCharMac (SplineFont *, EncMap *map, int unienc)
 
void SC_PSDump (void(*dumpchar)(int ch, void *data), void *data, SplineChar *sc, int refs_to_splines, int pdfopers, int layer)
 
int _WritePSFont (FILE *out, SplineFont *sf, enum fontformat format, int flags, EncMap *enc, SplineFont *fullsf, int layer)
 
int WritePSFont (char *fontname, SplineFont *sf, enum fontformat format, int flags, EncMap *enc, SplineFont *fullsf, int layer)
 
int WriteMacPSFont (char *fontname, SplineFont *sf, enum fontformat format, int flags, EncMap *enc, int layer)
 
int _WriteTTFFont (FILE *ttf, SplineFont *sf, enum fontformat format, int32 *bsizes, enum bitmapformat bf, int flags, EncMap *enc, int layer)
 
int WriteTTFFont (char *fontname, SplineFont *sf, enum fontformat format, int32 *bsizes, enum bitmapformat bf, int flags, EncMap *enc, int layer)
 
int _WriteType42SFNTS (FILE *type42, SplineFont *sf, enum fontformat format, int flags, EncMap *enc, int layer)
 
int WriteMacTTFFont (char *fontname, SplineFont *sf, enum fontformat format, int32 *bsizes, enum bitmapformat bf, int flags, EncMap *enc, int layer)
 
int WriteMacBitmaps (char *filename, SplineFont *sf, int32 *sizes, int is_dfont, EncMap *enc)
 
int WritePalmBitmaps (char *filename, SplineFont *sf, int32 *sizes, EncMap *enc)
 
int WriteMacFamily (char *filename, struct sflist *sfs, enum fontformat format, enum bitmapformat bf, int flags, EncMap *enc, int layer)
 
long mactime (void)
 
int WriteSVGFont (char *fontname, SplineFont *sf, enum fontformat format, int flags, EncMap *enc, int layer)
 
int WriteUFOFont (char *fontname, SplineFont *sf, enum fontformat format, int flags, EncMap *enc, int layer)
 
void SfListFree (struct sflist *sfs)
 
void DefaultTTFEnglishNames (struct ttflangname *dummy, SplineFont *sf)
 
void TeXDefaultParams (SplineFont *sf)
 
int AlreadyMSSymbolArea (SplineFont *sf, EncMap *map)
 
void OS2FigureCodePages (SplineFont *sf, uint32 CodePage[2])
 
void OS2FigureUnicodeRanges (SplineFont *sf, uint32 Ranges[4])
 
void SFDefaultOS2Info (struct pfminfo *pfminfo, SplineFont *sf, char *fontname)
 
void SFDefaultOS2Simple (struct pfminfo *pfminfo, SplineFont *sf)
 
void SFDefaultOS2SubSuper (struct pfminfo *pfminfo, int emsize, double italicangle)
 
void VerifyLanguages (SplineFont *sf)
 
int ScriptIsRightToLeft (uint32 script)
 
void ScriptMainRange (uint32 script, int *start, int *end)
 
uint32 ScriptFromUnicode (int u, SplineFont *sf)
 
uint32 SCScriptFromUnicode (SplineChar *sc)
 
int SCRightToLeft (SplineChar *sc)
 
int SLIContainsR2L (SplineFont *sf, int sli)
 
void SFFindNearTop (SplineFont *)
 
void SFRestoreNearTop (SplineFont *)
 
int SFForceEncoding (SplineFont *sf, EncMap *old, Encoding *new_map)
 
int CountOfEncoding (Encoding *encoding_name)
 
void SFMatchGlyphs (SplineFont *sf, SplineFont *target, int addempties)
 
void MMMatchGlyphs (MMSet *mm)
 
char * _GetModifiers (char *fontname, char *familyname, char *weight)
 
char * SFGetModifiers (SplineFont *sf)
 
const unichar_t_uGetModifiers (const unichar_t *fontname, const unichar_t *familyname, const unichar_t *weight)
 
void SFSetFontName (SplineFont *sf, char *family, char *mods, char *full)
 
void ttfdumpbitmap (SplineFont *sf, struct alltabs *at, int32 *sizes)
 
void ttfdumpbitmapscaling (SplineFont *sf, struct alltabs *at, int32 *sizes)
 
void SplineFontSetUnChanged (SplineFont *sf)
 
int RealNear (double a, double b)
 
int RealNearish (double a, double b)
 
int RealApprox (double a, double b)
 
int RealWithin (double a, double b, double fudge)
 
int RealRatio (double a, double b, double fudge)
 
int PointsDiagonalable (SplineFont *sf, BasePoint **bp, BasePoint *unit)
 
int MergeDStemInfo (SplineFont *sf, DStemInfo **ds, DStemInfo *test)
 
void LineListFree (LineList *ll)
 
void LinearApproxFree (LinearApprox *la)
 
void SplineFree (Spline *spline)
 
SplinePointSplinePointCreate (double x, double y)
 
void SplinePointFree (SplinePoint *sp)
 
void SplinePointMDFree (SplineChar *sc, SplinePoint *sp)
 
void SplinePointsFree (SplinePointList *spl)
 
void SplinePointListFree (SplinePointList *spl)
 
void SplinePointListMDFree (SplineChar *sc, SplinePointList *spl)
 
void SplinePointListsMDFree (SplineChar *sc, SplinePointList *spl)
 
void SplinePointListsFree (SplinePointList *head)
 
void SplineSetBeziersClear (SplineSet *spl)
 
void RefCharFree (RefChar *ref)
 
void RefCharsFree (RefChar *ref)
 
void RefCharsFreeRef (RefChar *ref)
 
void CopyBufferFree (void)
 
void CopyBufferClearCopiedFrom (SplineFont *dying)
 
void UndoesFree (Undoes *undo)
 
void StemInfosFree (StemInfo *h)
 
void StemInfoFree (StemInfo *h)
 
void DStemInfosFree (DStemInfo *h)
 
void DStemInfoFree (DStemInfo *h)
 
void KernPairsFree (KernPair *kp)
 
void SCOrderAP (SplineChar *sc)
 
void AnchorPointsFree (AnchorPoint *ap)
 
AnchorPointAnchorPointsCopy (AnchorPoint *alist)
 
void SFRemoveAnchorClass (SplineFont *sf, AnchorClass *an)
 
int AnchorClassesNextMerge (AnchorClass *ac)
 
int IsAnchorClassUsed (SplineChar *sc, AnchorClass *an)
 
AnchorPointAPAnchorClassMerge (AnchorPoint *anchors, AnchorClass *into, AnchorClass *from)
 
void AnchorClassMerge (SplineFont *sf, AnchorClass *into, AnchorClass *from)
 
void AnchorClassesFree (AnchorClass *kp)
 
void TtfTablesFree (struct ttf_table *tab)
 
void SFRemoveSavedTable (SplineFont *sf, uint32 tag)
 
AnchorClassAnchorClassMatch (SplineChar *sc1, SplineChar *sc2, AnchorClass *restrict_, AnchorPoint **_ap1, AnchorPoint **_ap2)
 
AnchorClassAnchorClassMkMkMatch (SplineChar *sc1, SplineChar *sc2, AnchorPoint **_ap1, AnchorPoint **_ap2)
 
AnchorClassAnchorClassCursMatch (SplineChar *sc1, SplineChar *sc2, AnchorPoint **_ap1, AnchorPoint **_ap2)
 
void SCInsertPST (SplineChar *sc, PST *new)
 
void PSTFree (PST *lig)
 
uint16 PSTDefaultFlags (enum possub_type type, SplineChar *sc)
 
int PSTContains (const char *components, const char *name)
 
StemInfoStemInfoCopy (StemInfo *h)
 
DStemInfoDStemInfoCopy (DStemInfo *h)
 
MinimumDistanceMinimumDistanceCopy (MinimumDistance *h)
 
void SPChangePointType (SplinePoint *sp, int pointtype)
 
PSTPSTCopy (PST *base, SplineChar *sc, struct sfmergecontext *mc)
 
struct lookup_subtableMCConvertSubtable (struct sfmergecontext *mc, struct lookup_subtable *sub)
 
AnchorClassMCConvertAnchorClass (struct sfmergecontext *mc, AnchorClass *ac)
 
void SFFinishMergeContext (struct sfmergecontext *mc)
 
SplineCharSplineCharCopy (SplineChar *sc, SplineFont *into, struct sfmergecontext *)
 
BDFCharBDFCharCopy (BDFChar *bc)
 
void BCFlattenFloat (BDFChar *bc)
 
void BitmapsCopy (SplineFont *to, SplineFont *from, int to_index, int from_index)
 
struct gimageImageAlterClut (struct gimage *image)
 
void ImageListsFree (ImageList *imgs)
 
void TTFLangNamesFree (struct ttflangname *l)
 
void AltUniFree (struct altuni *altuni)
 
void AltUniRemove (SplineChar *sc, int uni)
 
void MinimumDistancesFree (MinimumDistance *md)
 
void LayerDefault (Layer *)
 
SplineCharSplineCharCreate (int layer_cnt)
 
SplineCharSFSplineCharCreate (SplineFont *sf)
 
RefCharRefCharCreate (void)
 
RefCharRefCharsCopy (RefChar *ref)
 
void SCAddRef (SplineChar *sc, SplineChar *rsc, int layer, double xoff, double yoff)
 
void _SCAddRef (SplineChar *sc, SplineChar *rsc, int layer, double transform[6])
 
KernClassKernClassCopy (KernClass *kc)
 
void KernClassFreeContents (KernClass *kc)
 
void KernClassListFree (KernClass *kc)
 
int KernClassContains (KernClass *kc, char *name1, char *name2, int ordered)
 
void OTLookupFree (OTLookup *lookup)
 
void OTLookupListFree (OTLookup *lookup)
 
FPSTFPSTCopy (FPST *fpst)
 
void FPSTRuleContentsFree (struct fpst_rule *r, enum fpossub_format format)
 
void FPSTRulesFree (struct fpst_rule *r, enum fpossub_format format, int rcnt)
 
void FPSTFree (FPST *fpst)
 
void GlyphVariantsFree (struct glyphvariants *gv)
 
void MathKernVContentsFree (struct mathkernvertex *mk)
 
void MathKernFree (struct mathkern *mk)
 
struct mathkernMathKernCopy (struct mathkern *mk)
 
void SplineCharListsFree (struct splinecharlist *dlist)
 
void LayerFreeContents (SplineChar *sc, int layer)
 
void SplineCharFreeContents (SplineChar *sc)
 
void SplineCharFree (SplineChar *sc)
 
void EncMapFree (EncMap *map)
 
EncMapEncMapFromEncoding (SplineFont *sf, Encoding *enc)
 
EncMapCompactEncMap (EncMap *map, SplineFont *sf)
 
EncMapEncMapNew (int encmax, int backmax, Encoding *enc)
 
EncMapEncMap1to1 (int enccount)
 
EncMapEncMapCopy (EncMap *map)
 
void SFExpandGlyphCount (SplineFont *sf, int newcnt)
 
void ScriptLangListFree (struct scriptlanglist *sl)
 
void FeatureScriptLangListFree (FeatureScriptLangList *fl)
 
void SFBaseSort (SplineFont *sf)
 
struct baselangextentBaseLangCopy (struct baselangextent *extent)
 
void BaseLangFree (struct baselangextent *extent)
 
void BaseScriptFree (struct basescript *bs)
 
void BaseFree (struct Base *base)
 
void SplineFontFree (SplineFont *sf)
 
void MATHFree (struct MATH *math)
 
struct MATHMathTableNew (SplineFont *sf)
 
void OtfNameListFree (struct otfname *on)
 
void MarkClassFree (int cnt, char **classes, char **names)
 
void MMSetFreeContents (MMSet *mm)
 
void MMSetFree (MMSet *mm)
 
void SFRemoveUndoes (SplineFont *sf, uint8 *selected, EncMap *map)
 
void SplineRefigure3 (Spline *spline)
 
void SplineRefigure (Spline *spline)
 
SplineSplineMake3 (SplinePoint *from, SplinePoint *to)
 
LinearApproxSplineApproximate (Spline *spline, double scale)
 
int SplinePointListIsClockwise (const SplineSet *spl)
 
void SplineSetFindBounds (const SplinePointList *spl, DBounds *bounds)
 
void SplineCharLayerFindBounds (SplineChar *sc, int layer, DBounds *bounds)
 
void SplineCharFindBounds (SplineChar *sc, DBounds *bounds)
 
void SplineFontLayerFindBounds (SplineFont *sf, int layer, DBounds *bounds)
 
void SplineFontFindBounds (SplineFont *sf, DBounds *bounds)
 
void CIDLayerFindBounds (SplineFont *sf, int layer, DBounds *bounds)
 
void SplineSetQuickBounds (SplineSet *ss, DBounds *b)
 
void SplineCharQuickBounds (SplineChar *sc, DBounds *b)
 
void SplineSetQuickConservativeBounds (SplineSet *ss, DBounds *b)
 
void SplineCharQuickConservativeBounds (SplineChar *sc, DBounds *b)
 
void SplineFontQuickConservativeBounds (SplineFont *sf, DBounds *b)
 
void SplinePointCatagorize (SplinePoint *sp)
 
int SplinePointIsACorner (SplinePoint *sp)
 
void SPLCatagorizePoints (SplinePointList *spl)
 
void SCCatagorizePoints (SplineChar *sc)
 
SplinePointListSplinePointListCopy1 (const SplinePointList *spl)
 
SplinePointListSplinePointListCopy (const SplinePointList *base)
 
SplinePointListSplinePointListCopySelected (SplinePointList *base)
 
ImageListImageListCopy (ImageList *cimg)
 
ImageListImageListTransform (ImageList *cimg, double transform[6])
 
void ApTransform (AnchorPoint *ap, double transform[6])
 
SplinePointListSplinePointListTransform (SplinePointList *base, double transform[6], int allpoints)
 
SplinePointListSplinePointListShift (SplinePointList *base, double xoff, int allpoints)
 
HintMaskHintMaskFromTransformedRef (RefChar *ref, BasePoint *trans, SplineChar *basesc, HintMask *hm)
 
SplinePointListSPLCopyTranslatedHintMasks (SplinePointList *base, SplineChar *basesc, SplineChar *subsc, BasePoint *trans)
 
SplinePointListSPLCopyTransformedHintMasks (RefChar *r, SplineChar *basesc, BasePoint *trans, int layer)
 
SplinePointListSplinePointListRemoveSelected (SplineChar *sc, SplinePointList *base)
 
void SplinePointListSet (SplinePointList *tobase, SplinePointList *frombase)
 
void SplinePointListSelect (SplinePointList *spl, int sel)
 
void SCRefToSplines (SplineChar *sc, RefChar *rf, int layer)
 
void RefCharFindBounds (RefChar *rf)
 
void SCReinstanciateRefChar (SplineChar *sc, RefChar *rf, int layer)
 
void SCReinstanciateRef (SplineChar *sc, SplineChar *rsc, int layer)
 
void SFReinstanciateRefs (SplineFont *sf)
 
void SFInstanciateRefs (SplineFont *sf)
 
SplineCharMakeDupRef (SplineChar *base, int local_enc, int uni_enc)
 
void SCRemoveDependent (SplineChar *dependent, RefChar *rf, int layer)
 
void SCRemoveLayerDependents (SplineChar *dependent, int layer)
 
void SCRemoveDependents (SplineChar *dependent)
 
int SCDependsOnSC (SplineChar *parent, SplineChar *child)
 
void BCCompressBitmap (BDFChar *bdfc)
 
void BCRegularizeBitmap (BDFChar *bdfc)
 
void BCRegularizeGreymap (BDFChar *bdfc)
 
void BCPasteInto (BDFChar *bc, BDFChar *rbc, int ixoff, int iyoff, int invert, int cleartoo)
 
void BCRotateCharForVert (BDFChar *bc, BDFChar *from, BDFFont *frombdf)
 
int GradientHere (double scale, DBounds *bbox, int iy, int ix, struct gradient *grad, struct pattern *pat, int defgrey)
 
void PatternPrep (SplineChar *sc, struct brush *brush, double scale)
 
BDFCharSplineCharRasterize (SplineChar *sc, int layer, double pixelsize)
 
BDFFontSplineFontToBDFHeader (SplineFont *_sf, int pixelsize, int indicate)
 
BDFFontSplineFontRasterize (SplineFont *sf, int layer, int pixelsize, int indicate)
 
void BDFCAntiAlias (BDFChar *bc, int linear_scale)
 
BDFCharSplineCharAntiAlias (SplineChar *sc, int layer, int pixelsize, int linear_scale)
 
BDFFontSplineFontAntiAlias (SplineFont *sf, int layer, int pixelsize, int linear_scale)
 
struct clut_BDFClut (int linear_scale)
 
void BDFClut (BDFFont *bdf, int linear_scale)
 
int BDFDepth (BDFFont *bdf)
 
BDFCharBDFPieceMeal (BDFFont *bdf, int index)
 
BDFCharBDFPieceMealCheck (BDFFont *bdf, int index)
 
BDFFontSplineFontPieceMeal (SplineFont *sf, int layer, int pixelsize, int flags, void *freetype_context)
 
void BDFCharFindBounds (BDFChar *bc, IBounds *bb)
 
BDFFontBitmapFontScaleTo (BDFFont *old, int to)
 
void BDFCharFree (BDFChar *bdfc)
 
void BDFPropsFree (BDFFont *bdf)
 
void BDFFontFree (BDFFont *bdf)
 
void SFDefaultAscent (SplineFont *sf)
 
int PSBitmapDump (char *filename, BDFFont *font, EncMap *map)
 
int BDFFontDump (char *filename, BDFFont *font, EncMap *map, int res)
 
int FNTFontDump (char *filename, BDFFont *font, EncMap *map, int res)
 
int FONFontDump (char *filename, SplineFont *sf, int32 *sizes, int res, EncMap *map)
 
void SFReplaceEncodingBDFProps (SplineFont *sf, EncMap *map)
 
void SFReplaceFontnameBDFProps (SplineFont *sf)
 
int IsUnsignedBDFKey (char *key)
 
int BdfPropHasInt (BDFFont *font, const char *key, int def)
 
char * BdfPropHasString (BDFFont *font, const char *key, char *def)
 
void def_Charset_Enc (EncMap *map, char *reg, char *enc)
 
void Default_XLFD (BDFFont *bdf, EncMap *map, int res)
 
void Default_Properties (BDFFont *bdf, EncMap *map, char *onlyme)
 
void BDFDefaultProps (BDFFont *bdf, EncMap *map, int res)
 
BDFPropertiesBdfPropsCopy (BDFProperties *props, int cnt)
 
void XLFD_GetComponents (char *xlfd, struct xlfd_components *comp)
 
void XLFD_CreateComponents (BDFFont *bdf, EncMap *map, int res, struct xlfd_components *comp)
 
int SplinesIntersect (const Spline *s1, const Spline *s2, BasePoint pts[9], double t1s[10], double t2s[10])
 
SplineSetLayerAllSplines (Layer *layer)
 
SplineSetLayerUnAllSplines (Layer *layer)
 
int SplineSetIntersect (SplineSet *spl, Spline **_spline, Spline **_spline2)
 
int LineTangentToSplineThroughPt (Spline *s, BasePoint *pt, double ts[4], double tmin, double tmax)
 
int CubicSolve (const Spline1D *sp, double ts[3])
 
double IterateSplineSolve (const Spline1D *sp, double tmin, double tmax, double sought_y, double err)
 
double SplineSolve (const Spline1D *sp, double tmin, double tmax, double sought_y, double err)
 
int SplineSolveFull (const Spline1D *sp, double val, double ts[3])
 
void SplineFindExtrema (const Spline1D *sp, double *_t1, double *_t2)
 
SplineSetSplineSetsInterpolate (SplineSet *base, SplineSet *other, double amount, SplineChar *sc)
 
SplineCharSplineCharInterpolate (SplineChar *base, SplineChar *other, double amount)
 
SplineFontInterpolateFont (SplineFont *base, SplineFont *other, double amount, Encoding *enc)
 
double SFSerifHeight (SplineFont *sf)
 
void DumpPfaEditEncodings (void)
 
void ParseEncodingFile (char *filename)
 
void LoadPfaEditEncodings (void)
 
int GenerateScript (SplineFont *sf, char *filename, char *bitmaptype, int fmflags, int res, char *subfontdirectory, struct sflist *sfs, EncMap *map, NameList *rename_to, int layer)
 
void _SCAutoTrace (SplineChar *sc, int layer, char **args)
 
char ** AutoTraceArgs (int ask)
 
double SplineCurvature (Spline *s, double t)
 
double CheckExtremaForSingleBitErrors (const Spline1D *sp, double t)
 
int Spline2DFindExtrema (const Spline *sp, double extrema[4])
 
int Spline2DFindPointsOfInflection (const Spline *sp, double poi[2])
 
int SplineAtInflection (Spline1D *sp, double t)
 
int SplineAtMinMax (Spline1D *sp, double t)
 
void SplineRemoveExtremaTooClose (Spline1D *sp, double *_t1, double *_t2)
 
int NearSpline (struct findsel *fs, Spline *spline)
 
double SplineNearPoint (Spline *spline, BasePoint *bp, double fudge)
 
void SCMakeDependent (SplineChar *dependent, SplineChar *base)
 
SplinePointSplineBisect (Spline *spline, double t)
 
SplineSplineSplit (Spline *spline, double ts[3])
 
SplineApproximateSplineFromPoints (SplinePoint *from, SplinePoint *to, TPoint *mid, int cnt, int order2)
 
SplineApproximateSplineFromPointsSlopes (SplinePoint *from, SplinePoint *to, TPoint *mid, int cnt, int order2)
 
double SplineLength (Spline *spline)
 
double SplineLengthRange (Spline *spline, double from_t, double to_t)
 
double PathLength (SplineSet *ss)
 
SplinePathFindDistance (SplineSet *path, double d, double *_t)
 
SplineSetSplineSetBindToPath (SplineSet *ss, int doscale, int glyph_as_unit, int align, double offset, SplineSet *path)
 
int SplineIsLinear (Spline *spline)
 
int SplineIsLinearMake (Spline *spline)
 
int SSPointWithin (SplineSet *spl, BasePoint *pt)
 
SplineSetSSRemoveZeroLengthSplines (SplineSet *base)
 
void SSRemoveStupidControlPoints (SplineSet *base)
 
void SSOverlapClusterCpAngles (SplineSet *base, double within)
 
void SplinesRemoveBetween (SplineChar *sc, SplinePoint *from, SplinePoint *to, int type)
 
void SplineCharMerge (SplineChar *sc, SplineSet **head, int type)
 
void SPLNearlyHvCps (SplineChar *sc, SplineSet *ss, double err)
 
void SPLNearlyHvLines (SplineChar *sc, SplineSet *ss, double err)
 
int SPLNearlyLines (SplineChar *sc, SplineSet *ss, double err)
 
int SPInterpolate (SplinePoint *sp)
 
void SplinePointListSimplify (SplineChar *sc, SplinePointList *spl, struct simplifyinfo *smpl)
 
SplineSetSplineCharSimplify (SplineChar *sc, SplineSet *head, struct simplifyinfo *smpl)
 
void SPLStartToLeftmost (SplineChar *sc, SplinePointList *spl, int *changed)
 
void SPLsStartToLeftmost (SplineChar *sc, int layer)
 
void CanonicalContours (SplineChar *sc, int layer)
 
void SplineSetJoinCpFixup (SplinePoint *sp)
 
SplineSetSplineSetJoin (SplineSet *start, int doall, double fudge, int *changed)
 
SplineSplineAddExtrema (Spline *s, int always, double lenbound, double offsetbound, DBounds *b)
 
void SplineSetAddExtrema (SplineChar *sc, SplineSet *ss, enum ae_type between_selected, int emsize)
 
void SplineCharAddExtrema (SplineChar *sc, SplineSet *head, enum ae_type between_selected, int emsize)
 
SplineSetSplineCharRemoveTiny (SplineChar *sc, SplineSet *head)
 
SplineFontSplineFontNew (void)
 
char * GetNextUntitledName (void)
 
SplineFontSplineFontEmpty (void)
 
SplineFontSplineFontBlank (int charcnt)
 
void SFIncrementXUID (SplineFont *sf)
 
void SFRandomChangeXUID (SplineFont *sf)
 
SplineSetSplineSetReverse (SplineSet *spl)
 
SplineSetSplineSetsExtractOpen (SplineSet **tbase)
 
void SplineSetsInsertOpen (SplineSet **tbase, SplineSet *open)
 
SplineSetSplineSetsCorrect (SplineSet *base, int *changed)
 
SplineSetSplineSetsAntiCorrect (SplineSet *base)
 
SplineSetSplineSetsDetectDir (SplineSet **_base, int *lastscan)
 
void SPAverageCps (SplinePoint *sp)
 
void SPLAverageCps (SplinePointList *spl)
 
void SPWeightedAverageCps (SplinePoint *sp)
 
void SplineCharDefaultPrevCP (SplinePoint *base)
 
void SplineCharDefaultNextCP (SplinePoint *base)
 
void SplineCharTangentNextCP (SplinePoint *sp)
 
void SplineCharTangentPrevCP (SplinePoint *sp)
 
void SPHVCurveForce (SplinePoint *sp)
 
void SPSmoothJoint (SplinePoint *sp)
 
int PointListIsSelected (SplinePointList *spl)
 
void SCSplinePointsUntick (SplineChar *sc, int layer)
 
void SFOrderBitmapList (SplineFont *sf)
 
int KernThreshold (SplineFont *sf, int cnt)
 
double SFGuessItalicAngle (SplineFont *sf)
 
SplinePointSplineTtfApprox (Spline *ps)
 
SplineSetSSttfApprox (SplineSet *ss)
 
SplineSetSplineSetsTTFApprox (SplineSet *ss)
 
SplineSetSSPSApprox (SplineSet *ss)
 
SplineSetSplineSetsPSApprox (SplineSet *ss)
 
SplineSetSplineSetsConvertOrder (SplineSet *ss, int to_order2)
 
void SplineRefigure2 (Spline *spline)
 
void SplineRefigureFixup (Spline *spline)
 
SplineSplineMake2 (SplinePoint *from, SplinePoint *to)
 
SplineSplineMake (SplinePoint *from, SplinePoint *to, int order2)
 
SplineSFSplineMake (SplineFont *sf, SplinePoint *from, SplinePoint *to)
 
void SCConvertToOrder2 (SplineChar *sc)
 
void SFConvertToOrder2 (SplineFont *sf)
 
void SCConvertToOrder3 (SplineChar *sc)
 
void SFConvertToOrder3 (SplineFont *sf)
 
void SFConvertGridToOrder2 (SplineFont *_sf)
 
void SCConvertLayerToOrder2 (SplineChar *sc, int layer)
 
void SFConvertLayerToOrder2 (SplineFont *sf, int layer)
 
void SFConvertGridToOrder3 (SplineFont *_sf)
 
void SCConvertLayerToOrder3 (SplineChar *sc, int layer)
 
void SFConvertLayerToOrder3 (SplineFont *sf, int layer)
 
void SCConvertOrder (SplineChar *sc, int to_order2)
 
void SplinePointPrevCPChanged2 (SplinePoint *sp)
 
void SplinePointNextCPChanged2 (SplinePoint *sp)
 
int IntersectLines (BasePoint *inter, BasePoint *line1_1, BasePoint *line1_2, BasePoint *line2_1, BasePoint *line2_2)
 
int IntersectLinesClip (BasePoint *inter, BasePoint *line1_1, BasePoint *line1_2, BasePoint *line2_1, BasePoint *line2_2)
 
SplineSetSplineSetStroke (SplineSet *spl, StrokeInfo *si, SplineChar *sc)
 
SplineSetSSStroke (SplineSet *spl, StrokeInfo *si, SplineChar *sc)
 
SplineSetSplineSetRemoveOverlap (SplineChar *sc, SplineSet *base, enum overlap_type)
 
SplineSetSSShadow (SplineSet *spl, double angle, double outline_width, double shadow_length, SplineChar *sc, int wireframe)
 
double BlueScaleFigureForced (struct psdict *private, double bluevalues[], double otherblues[])
 
double BlueScaleFigure (struct psdict *private, double bluevalues[], double otherblues[])
 
void FindBlues (SplineFont *sf, int layer, double blues[14], double otherblues[10])
 
void QuickBlues (SplineFont *sf, int layer, BlueData *bd)
 
void FindHStems (SplineFont *sf, double snaps[12], double cnt[12])
 
void FindVStems (SplineFont *sf, double snaps[12], double cnt[12])
 
double SFStdVW (SplineFont *sf)
 
int SplineCharIsFlexible (SplineChar *sc, int layer)
 
void SCGuessHintInstancesList (SplineChar *sc, int layer, StemInfo *hstem, StemInfo *vstem, DStemInfo *dstem, int hvforce, int dforce)
 
void SCGuessDHintInstances (SplineChar *sc, int layer, DStemInfo *ds)
 
void SCGuessHHintInstancesAndAdd (SplineChar *sc, int layer, StemInfo *stem, double guess1, double guess2)
 
void SCGuessVHintInstancesAndAdd (SplineChar *sc, int layer, StemInfo *stem, double guess1, double guess2)
 
void SCGuessHHintInstancesList (SplineChar *sc, int layer)
 
void SCGuessVHintInstancesList (SplineChar *sc, int layer)
 
double HIlen (StemInfo *stems)
 
double HIoverlap (HintInstance *mhi, HintInstance *thi)
 
int StemInfoAnyOverlaps (StemInfo *stems)
 
int StemListAnyConflicts (StemInfo *stems)
 
HintInstanceHICopyTrans (HintInstance *hi, double mul, double offset)
 
void MDAdd (SplineChar *sc, int x, SplinePoint *sp1, SplinePoint *sp2)
 
int SFNeedsAutoHint (SplineFont *_sf, int layer)
 
void InitGlobalInstrCt (GlobalInstrCt *gic, SplineFont *sf, int layer, BlueData *bd)
 
void FreeGlobalInstrCt (GlobalInstrCt *gic)
 
void NowakowskiSCAutoInstr (GlobalInstrCt *gic, SplineChar *sc)
 
void CVT_ImportPrivate (SplineFont *sf)
 
void SCModifyHintMasksAdd (SplineChar *sc, int layer, StemInfo *new)
 
void SCClearHints (SplineChar *sc)
 
void SCClearHintMasks (SplineChar *sc, int layer, int counterstoo)
 
void SCFigureVerticalCounterMasks (SplineChar *sc)
 
void SCFigureCounterMasks (SplineChar *sc)
 
void SCFigureHintMasks (SplineChar *sc, int layer)
 
void _SplineCharAutoHint (SplineChar *sc, int layer, BlueData *bd, struct glyphdata *gd2, int gen_undoes)
 
void SplineCharAutoHint (SplineChar *sc, int layer, BlueData *bd)
 
void SFSCAutoHint (SplineChar *sc, int layer, BlueData *bd)
 
void SplineFontAutoHint (SplineFont *sf, int layer)
 
void SplineFontAutoHintRefs (SplineFont *sf, int layer)
 
StemInfoHintCleanup (StemInfo *stem, int dosort, int instance_count)
 
int SplineFontIsFlexible (SplineFont *sf, int layer, int flags)
 
int SCDrawsSomething (SplineChar *sc)
 
int SFFindNotdef (SplineFont *sf, int fixed)
 
int doesGlyphExpandHorizontally (SplineChar *sc)
 
int IsntBDFChar (BDFChar *bdfc)
 
int CIDWorthOutputting (SplineFont *cidmaster, int enc)
 
int AmfmSplineFont (FILE *afm, MMSet *mm, int formattype, EncMap *map, int layer)
 
int AfmSplineFont (FILE *afm, SplineFont *sf, int formattype, EncMap *map, int docc, SplineFont *fullsf, int layer)
 
int PfmSplineFont (FILE *pfm, SplineFont *sf, int type0, EncMap *map, int layer)
 
int TfmSplineFont (FILE *afm, SplineFont *sf, int formattype, EncMap *map, int layer)
 
int OfmSplineFont (FILE *afm, SplineFont *sf, int formattype, EncMap *map, int layer)
 
char * EncodingName (Encoding *map)
 
char * SFEncodingName (SplineFont *sf, EncMap *map)
 
void SFLigaturePrepare (SplineFont *sf)
 
void SFLigatureCleanup (SplineFont *sf)
 
void SFKernClassTempDecompose (SplineFont *sf, int isv)
 
void SFKernCleanup (SplineFont *sf, int isv)
 
int SCSetMetaData (SplineChar *sc, char *name, int unienc, const char *comment)
 
enum uni_interp interp_from_encoding (Encoding *enc, enum uni_interp interp)
 
const char * EncName (Encoding *encname)
 
const char * FindUnicharName (void)
 
Encoding_FindOrMakeEncoding (const char *name, int make_it)
 
EncodingFindOrMakeEncoding (const char *name)
 
int SFDWrite (char *filename, SplineFont *sf, EncMap *map, EncMap *normal, int todir)
 
int SFDWriteBak (SplineFont *sf, EncMap *map, EncMap *normal)
 
SplineFontSFDRead (char *filename)
 
SplineFont_SFDRead (char *filename, FILE *sfd)
 
SplineFontSFDirRead (char *filename)
 
SplineCharSFDReadOneChar (SplineFont *sf, const char *name)
 
char * TTFGetFontName (FILE *ttf, int32 offset, int32 off2)
 
char * TTFGetPSFontName (FILE *ttf, int32 offset, int32 off2)
 
void TTFLoadBitmaps (FILE *ttf, struct ttfinfo *info, int onlyone)
 
SplineFont_SFReadTTF (FILE *ttf, int flags, enum openflags openflags, char *filename, struct fontdict *fd)
 
SplineFontSFReadTTF (char *filename, int flags, enum openflags openflags)
 
SplineFontSFReadSVG (char *filename, int flags)
 
SplineFontSFReadUFO (char *filename, int flags)
 
SplineFont_CFFParse (FILE *temp, int len, char *fontsetname)
 
SplineFontCFFParse (char *filename)
 
SplineFontSFReadMacBinary (char *filename, int flags, enum openflags openflags)
 
SplineFontSFReadWinFON (char *filename, int toback)
 
SplineFontSFReadPalmPdb (char *filename, int toback)
 
SplineFontLoadSplineFont (char *filename, enum openflags)
 
SplineFont_ReadSplineFont (FILE *file, char *filename, enum openflags openflags)
 
SplineFontReadSplineFont (char *filename, enum openflags)
 
FILEURLToTempFile (char *url, void *lock)
 
int URLFromFile (char *url, FILE *from)
 
int HttpGetBuf (char *url, char *databuf, int *datalen, void *mutex)
 
void ArchiveCleanup (char *archivedir)
 
char * Unarchive (char *name, char **_archivedir)
 
char * Decompress (char *name, int compression)
 
SplineFontSFFromBDF (char *filename, int ispk, int toback)
 
SplineFontSFFromMF (char *filename)
 
void SFCheckPSBitmap (SplineFont *sf)
 
uint16 _MacStyleCode (char *styles, SplineFont *sf, uint16 *psstyle)
 
uint16 MacStyleCode (SplineFont *sf, uint16 *psstyle)
 
SplineFontSFReadIkarus (char *fontname)
 
SplineFont_SFReadPdfFont (FILE *ttf, char *filename, char *select_this_font, enum openflags openflags)
 
SplineFontSFReadPdfFont (char *filename, enum openflags openflags)
 
char ** GetFontNames (char *filename)
 
char ** NamesReadSFD (char *filename)
 
char ** NamesReadTTF (char *filename)
 
char ** NamesReadCFF (char *filename)
 
char ** NamesReadPostscript (char *filename)
 
char ** _NamesReadPostscript (FILE *ps)
 
char ** NamesReadSVG (char *filename)
 
char ** NamesReadUFO (char *filename)
 
char ** NamesReadMacBinary (char *filename)
 
void SFSetOrder (SplineFont *sf, int order2)
 
int SFFindOrder (SplineFont *sf)
 
const char * UnicodeRange (int unienc)
 
SplineCharSCBuildDummy (SplineChar *dummy, SplineFont *sf, EncMap *map, int i)
 
SplineCharSFMakeChar (SplineFont *sf, EncMap *map, int i)
 
char * AdobeLigatureFormat (char *name)
 
uint32 LigTagFromUnicode (int uni)
 
void SCLigCaretheck (SplineChar *sc, int clean)
 
BDFCharBDFMakeGID (BDFFont *bdf, int gid)
 
BDFCharBDFMakeChar (BDFFont *bdf, EncMap *map, int enc)
 
RefCharRefCharsCopyState (SplineChar *sc, int layer)
 
int SCWasEmpty (SplineChar *sc, int skip_this_layer)
 
void SCUndoSetLBearingChange (SplineChar *sc, int lb)
 
UndoesSCPreserveHints (SplineChar *sc, int layer)
 
UndoesSCPreserveLayer (SplineChar *sc, int layer, int dohints)
 
UndoesSCPreserveState (SplineChar *sc, int dohints)
 
UndoesSCPreserveBackground (SplineChar *sc)
 
UndoesSFPreserveGuide (SplineFont *sf)
 
UndoesSCPreserveWidth (SplineChar *sc)
 
UndoesSCPreserveVWidth (SplineChar *sc)
 
UndoesBCPreserveState (BDFChar *bc)
 
void BCDoRedo (BDFChar *bc)
 
void BCDoUndo (BDFChar *bc)
 
int isaccent (int uni)
 
int SFIsCompositBuildable (SplineFont *sf, int unicodeenc, SplineChar *sc, int layer)
 
int SFIsSomethingBuildable (SplineFont *sf, SplineChar *sc, int layer, int onlyaccents)
 
int SFIsRotatable (SplineFont *sf, SplineChar *sc, int layer)
 
int SCMakeDotless (SplineFont *sf, SplineChar *dotless, int layer, int copybmp, int doit)
 
void SCBuildComposit (SplineFont *sf, SplineChar *sc, int layer, int copybmp)
 
int SCAppendAccent (SplineChar *sc, int layer, char *glyph_name, int uni, int pos)
 
const unichar_tSFGetAlternate (SplineFont *sf, int base, SplineChar *sc, int nocheck)
 
int getAdobeEnc (char *name)
 
void SFSplinesFromLayers (SplineFont *sf, int tostroke)
 
void SFSetLayerWidthsStroked (SplineFont *sf, double strokewidth)
 
SplineSetSplinePointListInterpretSVG (char *filename, char *memory, int memlen, int em_size, int ascent, int stroked)
 
SplineSetSplinePointListInterpretGlif (char *filename, char *memory, int memlen, int em_size, int ascent, int stroked)
 
SplinePointListSplinePointListInterpretPS (FILE *ps, int flags, int stroked, int *width)
 
void PSFontInterpretPS (FILE *ps, struct charprocs *cp, char **encoding)
 
struct encPSSlurpEncodings (FILE *file)
 
int EvaluatePS (char *str, double *stack, int size)
 
int UnblendedCompare (double u1[16], double u2[16], int cnt)
 
SplineCharPSCharStringToSplines (uint8 *type1, int len, struct pscontext *context, struct pschars *subrs, struct pschars *gsubrs, const char *name)
 
SplineCharPSCharStringToBB (uint8 *type1, int len, struct pscontext *context, struct pschars *subrs, struct pschars *gsubrs, const char *name)
 
void MatMultiply (double m1[6], double m2[6], double to[6])
 
int NameToEncoding (SplineFont *sf, EncMap *map, const char *uname)
 
void GlyphHashFree (SplineFont *sf)
 
void SFHashGlyph (SplineFont *sf, SplineChar *sc)
 
SplineCharSFHashName (SplineFont *sf, const char *name)
 
int SFFindGID (SplineFont *sf, int unienc, const char *name)
 
int SFFindSlot (SplineFont *sf, EncMap *map, int unienc, const char *name)
 
int SFCIDFindCID (SplineFont *sf, int unienc, const char *name)
 
SplineCharSFGetChar (SplineFont *sf, int unienc, const char *name)
 
int SFHasChar (SplineFont *sf, int unienc, const char *name)
 
SplineCharSFGetOrMakeChar (SplineFont *sf, int unienc, const char *name)
 
int SFFindExistingSlot (SplineFont *sf, int unienc, const char *name)
 
int SFCIDFindExistingChar (SplineFont *sf, int unienc, const char *name)
 
int SFHasCID (SplineFont *sf, int cid)
 
char * getPfaEditDir (char *buffer)
 
void _DoAutoSaves (struct fontviewbase *)
 
void CleanAutoRecovery (void)
 
int DoAutoRecovery (int)
 
SplineFontSFRecoverFile (char *autosavename, int inquire, int *state)
 
void SFAutoSave (SplineFont *sf, EncMap *map)
 
void SFClearAutoSave (SplineFont *sf)
 
void PSCharsFree (struct pschars *chrs)
 
void PSDictFree (struct psdict *chrs)
 
struct psdictPSDictCopy (struct psdict *dict)
 
int PSDictFindEntry (struct psdict *dict, char *key)
 
char * PSDictHasEntry (struct psdict *dict, char *key)
 
int PSDictRemoveEntry (struct psdict *dict, char *key)
 
int PSDictChangeEntry (struct psdict *dict, char *key, char *newval)
 
int SFPrivateGuess (SplineFont *sf, int layer, struct psdict *private, char *name, int onlyone)
 
void SFRemoveLayer (SplineFont *sf, int l)
 
void SFAddLayer (SplineFont *sf, char *name, int order2, int background)
 
void SFLayerSetBackground (SplineFont *sf, int layer, int is_back)
 
void SplineSetsRound2Int (SplineSet *spl, double factor, int inspiro, int onlysel)
 
void SCRound2Int (SplineChar *sc, int layer, double factor)
 
int SCRoundToCluster (SplineChar *sc, int layer, int sel, double within, double max)
 
int SplineSetsRemoveAnnoyingExtrema (SplineSet *ss, double err)
 
int hascomposing (SplineFont *sf, int u, SplineChar *sc)
 
int CIDFromName (char *name, SplineFont *cidmaster)
 
int CID2Uni (struct cidmap *map, int cid)
 
int CID2NameUni (struct cidmap *map, int cid, char *buffer, int len)
 
int NameUni2CID (struct cidmap *map, int uni, const char *name)
 
int MaxCID (struct cidmap *map)
 
struct cidmapFindCidMap (char *registry, char *ordering, int supplement, SplineFont *sf)
 
void SFEncodeToMap (SplineFont *sf, struct cidmap *map)
 
SplineFontCIDFlatten (SplineFont *cidmaster, SplineChar **chars, int charcnt)
 
void SFFlatten (SplineFont *cidmaster)
 
int SFFlattenByCMap (SplineFont *sf, char *cmapname)
 
SplineFontMakeCIDMaster (SplineFont *sf, EncMap *oldmap, int bycmap, char *cmapfilename, struct cidmap *cidmap)
 
int getushort (FILE *ttf)
 
int32 getlong (FILE *ttf)
 
int get3byte (FILE *ttf)
 
double getfixed (FILE *ttf)
 
double get2dot14 (FILE *ttf)
 
void putshort (FILE *file, int sval)
 
void putlong (FILE *file, int val)
 
void putfixed (FILE *file, double dval)
 
int ttfcopyfile (FILE *ttf, FILE *other, int pos, char *table_name)
 
void SCCopyLayerToLayer (SplineChar *sc, int from, int to, int doclear)
 
int hasFreeType (void)
 
int hasFreeTypeDebugger (void)
 
int hasFreeTypeByteCode (void)
 
int FreeTypeAtLeast (int major, int minor, int patch)
 
void doneFreeType (void)
 
void_FreeTypeFontContext (SplineFont *sf, SplineChar *sc, struct fontviewbase *fv, int layer, enum fontformat ff, int flags, void *shared_ftc)
 
voidFreeTypeFontContext (SplineFont *sf, SplineChar *sc, struct fontviewbase *fv, int layer)
 
BDFFontSplineFontFreeTypeRasterize (void *freetypecontext, int pixelsize, int depth)
 
BDFCharSplineCharFreeTypeRasterize (void *freetypecontext, int gid, int pixelsize, int depth)
 
void FreeTypeFreeContext (void *freetypecontext)
 
SplineSetFreeType_GridFitChar (void *single_glyph_context, int enc, double ptsizey, double ptsizex, int dpi, uint16 *width, SplineChar *sc, int depth)
 
struct freetype_rasterFreeType_GetRaster (void *single_glyph_context, int enc, double ptsizey, double ptsizex, int dpi, int depth)
 
BDFCharSplineCharFreeTypeRasterizeNoHints (SplineChar *sc, int layer, int pixelsize, int depth)
 
BDFFontSplineFontFreeTypeRasterizeNoHints (SplineFont *sf, int layer, int pixelsize, int depth)
 
void FreeType_FreeRaster (struct freetype_raster *raster)
 
struct freetype_rasterDebuggerCurrentRaster (struct TT_ExecContextRec_ *exc, int depth)
 
int UniFromName (const char *name, enum uni_interp interp, Encoding *encname)
 
const char * StdGlyphName (char *buffer, int uni, enum uni_interp interp, NameList *for_this_font)
 
char ** AllGlyphNames (int uni, NameList *for_this_font, SplineChar *sc)
 
char ** AllNamelistNames (void)
 
NameListDefaultNameListForNewFonts (void)
 
NameListNameListByName (char *name)
 
NameListLoadNamelist (char *filename)
 
void LoadNamelistDir (char *dir)
 
const char * RenameGlyphToNamelist (char *buffer, SplineChar *sc, NameList *old, NameList *new)
 
void SFRenameGlyphsToNamelist (SplineFont *sf, NameList *new)
 
char ** SFTemporaryRenameGlyphsToNamelist (SplineFont *sf, NameList *new)
 
void SFTemporaryRestoreGlyphNames (SplineFont *sf, char **former)
 
void doversion (const char *)
 
AnchorPosAnchorPositioning (SplineChar *sc, unichar_t *ustr, SplineChar **sstr)
 
void AnchorPosFree (AnchorPos *apos)
 
int SF_CloseAllInstrs (SplineFont *sf)
 
int SSTtfNumberPoints (SplineSet *ss)
 
int SCNumberPoints (SplineChar *sc, int layer)
 
int SCPointsNumberedProperly (SplineChar *sc, int layer)
 
int ttfFindPointInSC (SplineChar *sc, int layer, int pnum, BasePoint *pos, RefChar *bound)
 
int SFFigureDefWidth (SplineFont *sf, int *_nomwid)
 
int SFRenameTheseFeatureTags (SplineFont *sf, uint32 tag, int sli, int flags, uint32 totag, int tosli, int toflags, int ismac)
 
int SFRemoveUnusedNestedFeatures (SplineFont *sf)
 
char * utf8_verify_copy (const char *str)
 
char * MacStrToUtf8 (const char *str, int macenc, int maclang)
 
char * Utf8ToMacStr (const char *ustr, int macenc, int maclang)
 
uint8 MacEncFromMacLang (int maclang)
 
uint16 WinLangFromMac (int maclang)
 
uint16 WinLangToMac (int winlang)
 
int CanEncodingWinLangAsMac (int winlang)
 
const int32MacEncToUnicode (int script, int lang)
 
int MacLangFromLocale (void)
 
char * MacLanguageFromCode (int code)
 
int32 UniFromEnc (int enc, Encoding *encname)
 
int32 EncFromUni (int32 uni, Encoding *encname)
 
int32 EncFromName (const char *name, enum uni_interp interp, Encoding *encname)
 
void MatInverse (double into[6], double orig[6])
 
int BpColinear (BasePoint *first, BasePoint *mid, BasePoint *last)
 
char * MMAxisAbrev (char *axis_name)
 
char * MMMakeMasterFontname (MMSet *mm, int ipos, char **fullname)
 
char * MMGuessWeight (MMSet *mm, int ipos, char *def)
 
char * MMExtractNth (char *pt, int ipos)
 
char * MMExtractArrayNth (char *pt, int ipos)
 
int MMValid (MMSet *mm, int complain)
 
void MMKern (SplineFont *sf, SplineChar *first, SplineChar *second, int diff, struct lookup_subtable *sub, KernPair *oldkp)
 
char * MMBlendChar (MMSet *mm, int gid)
 
char * EnforcePostScriptName (char *old)
 
char * ToAbsolute (char *filename)
 
enum Compare_Ret BitmapCompare (BDFChar *bc1, BDFChar *bc2, int err, int bb_err)
 
enum Compare_Ret SSsCompare (const SplineSet *ss1, const SplineSet *ss2, double pt_err, double spline_err, SplinePoint **hmfail)
 
int CompareFonts (SplineFont *sf1, EncMap *map1, SplineFont *sf2, FILE *diffs, int flags)
 
int LayersSimilar (Layer *ly1, Layer *ly2, double spline_err)
 
void DefaultOtherSubrs (void)
 
int ReadOtherSubrsFile (char *filename)
 
char * utf8toutf7_copy (const char *_str)
 
char * utf7toutf8_copy (const char *_str)
 
void SFSetModTime (SplineFont *sf)
 
void SFTimesFromFile (SplineFont *sf, FILE *)
 
int SFHasInstructions (SplineFont *sf)
 
int RefDepth (RefChar *ref, int layer)
 
SplineCharSCHasSubs (SplineChar *sc, uint32 tag)
 
char * TagFullName (SplineFont *sf, uint32 tag, int onlyifknown)
 
uint32SFScriptsInLookups (SplineFont *sf, int gpos)
 
uint32SFLangsInScript (SplineFont *sf, int gpos, uint32 script)
 
uint32SFFeaturesInScriptLang (SplineFont *sf, int gpos, uint32 script, uint32 lang)
 
OTLookup ** SFLookupsInScriptLangFeature (SplineFont *sf, int gpos, uint32 script, uint32 lang, uint32 feature)
 
SplineChar ** SFGlyphsWithPSTinSubtable (SplineFont *sf, struct lookup_subtable *subtable)
 
SplineChar ** SFGlyphsWithLigatureinLookup (SplineFont *sf, struct lookup_subtable *subtable)
 
void SFFindUnusedLookups (SplineFont *sf)
 
void SFFindClearUnusedLookupBits (SplineFont *sf)
 
int LookupUsedNested (SplineFont *sf, OTLookup *checkme)
 
void SFRemoveUnusedLookupSubTables (SplineFont *sf, int remove_incomplete_anchorclasses, int remove_unused_lookups)
 
void SFRemoveLookupSubTable (SplineFont *sf, struct lookup_subtable *sub)
 
void SFRemoveLookup (SplineFont *sf, OTLookup *otl)
 
struct lookup_subtableSFFindLookupSubtable (SplineFont *sf, char *name)
 
struct lookup_subtableSFFindLookupSubtableAndFreeName (SplineFont *sf, char *name)
 
OTLookupSFFindLookup (SplineFont *sf, char *name)
 
void NameOTLookup (OTLookup *otl, SplineFont *sf)
 
void FListAppendScriptLang (FeatureScriptLangList *fl, uint32 script_tag, uint32 lang_tag)
 
void FListsAppendScriptLang (FeatureScriptLangList *fl, uint32 script_tag, uint32 lang_tag)
 
struct scriptlanglistSLCopy (struct scriptlanglist *sl)
 
struct scriptlanglistSListCopy (struct scriptlanglist *sl)
 
FeatureScriptLangListFeatureListCopy (FeatureScriptLangList *fl)
 
void SLMerge (FeatureScriptLangList *into, struct scriptlanglist *fsl)
 
void FLMerge (OTLookup *into, OTLookup *from)
 
FeatureScriptLangListFLOrder (FeatureScriptLangList *fl)
 
int FeatureScriptTagInFeatureScriptList (uint32 tag, uint32 script, FeatureScriptLangList *fl)
 
FeatureScriptLangListFindFeatureTagInFeatureScriptList (uint32 tag, FeatureScriptLangList *fl)
 
int FeatureTagInFeatureScriptList (uint32 tag, FeatureScriptLangList *fl)
 
int DefaultLangTagInOneScriptList (struct scriptlanglist *sl)
 
struct scriptlanglistDefaultLangTagInScriptList (struct scriptlanglist *sl, int DFLT_ok)
 
int ScriptInFeatureScriptList (uint32 script, FeatureScriptLangList *fl)
 
int _FeatureOrderId (int isgpos, uint32 tag)
 
int FeatureOrderId (int isgpos, FeatureScriptLangList *fl)
 
void SFSubTablesMerge (SplineFont *_sf, struct lookup_subtable *subfirst, struct lookup_subtable *subsecond)
 
struct lookup_subtableSFSubTableFindOrMake (SplineFont *sf, uint32 tag, uint32 script, int lookup_type)
 
struct lookup_subtableSFSubTableMake (SplineFont *sf, uint32 tag, uint32 script, int lookup_type)
 
OTLookupOTLookupCopyInto (SplineFont *into_sf, SplineFont *from_sf, OTLookup *from_otl)
 
void OTLookupsCopyInto (SplineFont *into_sf, SplineFont *from_sf, OTLookup **from_list, OTLookup *before)
 
struct opentype_strApplyTickedFeatures (SplineFont *sf, uint32 *flist, uint32 script, uint32 lang, int pixelsize, SplineChar **glyphs)
 
int VerticalKernFeature (SplineFont *sf, OTLookup *otl, int ask)
 
void SllkFree (struct sllk *sllk, int sllk_cnt)
 
struct sllkAddOTLToSllks (OTLookup *otl, struct sllk *sllk, int *_sllk_cnt, int *_sllk_max)
 
OTLookupNewAALTLookup (SplineFont *sf, struct sllk *sllk, int sllk_cnt, int i)
 
void AddNewAALTFeatures (SplineFont *sf)
 
void SplinePointRound (SplinePoint *, double)
 
int KCFindName (char *name, char **classnames, int cnt)
 
int KCFindIndex (KernClass *kc, char *name1, char *name2)
 
KernClassSFFindKernClass (SplineFont *sf, SplineChar *first, SplineChar *last, int *index, int allow_zero)
 
KernClassSFFindVKernClass (SplineFont *sf, SplineChar *first, SplineChar *last, int *index, int allow_zero)
 
void SCClearRounds (SplineChar *sc, int layer)
 
void MDReplace (MinimumDistance *md, SplineSet *old, SplineSet *rpl)
 
void SCSynchronizeWidth (SplineChar *sc, double newwidth, double oldwidth, struct fontviewbase *fv)
 
RefCharHasUseMyMetrics (SplineChar *sc, int layer)
 
void SCSynchronizeLBearing (SplineChar *sc, double off, int layer)
 
void RevertedGlyphReferenceFixup (SplineChar *sc, SplineFont *sf)
 
void SFUntickAll (SplineFont *sf)
 
void BDFOrigFixup (BDFFont *bdf, int orig_cnt, SplineFont *sf)
 
int HasSVG (void)
 
void SCImportSVG (SplineChar *sc, int layer, char *path, char *memory, int memlen, int doclear)
 
int HasUFO (void)
 
void SCImportGlif (SplineChar *sc, int layer, char *path, char *memory, int memlen, int doclear)
 
void SCImportPS (SplineChar *sc, int layer, char *path, int doclear, int flags)
 
void SCImportPSFile (SplineChar *sc, int layer, FILE *ps, int doclear, int flags)
 
void SCImportPDF (SplineChar *sc, int layer, char *path, int doclear, int flags)
 
void SCImportPDFFile (SplineChar *sc, int layer, FILE *ps, int doclear, int flags)
 
void SCImportPlateFile (SplineChar *sc, int layer, FILE *plate, int doclear, int flags)
 
void SCAddScaleImage (SplineChar *sc, struct gimage *image, int doclear, int layer)
 
void SCInsertImage (SplineChar *sc, struct gimage *image, double scale, double yoff, double xoff, int layer)
 
void SCImportFig (SplineChar *sc, int layer, char *path, int doclear)
 
int _ExportPlate (FILE *pdf, SplineChar *sc, int layer)
 
int _ExportPDF (FILE *pdf, SplineChar *sc, int layer)
 
int _ExportEPS (FILE *eps, SplineChar *sc, int layer, int gen_preview)
 
int _ExportSVG (FILE *svg, SplineChar *sc, int layer)
 
int _ExportGlif (FILE *glif, SplineChar *sc, int layer)
 
int ExportEPS (char *filename, SplineChar *sc, int layer)
 
int ExportPDF (char *filename, SplineChar *sc, int layer)
 
int ExportPlate (char *filename, SplineChar *sc, int layer)
 
int ExportSVG (char *filename, SplineChar *sc, int layer)
 
int ExportGlif (char *filename, SplineChar *sc, int layer)
 
int ExportFig (char *filename, SplineChar *sc, int layer)
 
int BCExportXBM (char *filename, BDFChar *bdfc, int format)
 
int ExportImage (char *filename, SplineChar *sc, int layer, int format, int pixelsize, int bitsperpixel)
 
void ScriptExport (SplineFont *sf, BDFFont *bdf, int format, int gid, char *format_spec, EncMap *map)
 
void SFRemoveGlyph (SplineFont *sf, SplineChar *sc, int *flags)
 
void SFAddEncodingSlot (SplineFont *sf, int gid)
 
void SFAddGlyphAndEncode (SplineFont *sf, SplineChar *sc, EncMap *basemap, int baseenc)
 
void SCDoRedo (SplineChar *sc, int layer)
 
void SCDoUndo (SplineChar *sc, int layer)
 
void SCCopyWidth (SplineChar *sc, enum undotype)
 
void SCAppendPosSub (SplineChar *sc, enum possub_type type, char **d, SplineFont *copied_from)
 
void SCClearBackground (SplineChar *sc)
 
void BackgroundImageTransform (SplineChar *sc, ImageList *img, double transform[6])
 
int SFIsDuplicatable (SplineFont *sf, SplineChar *sc)
 
void DoAutoSaves (void)
 
void SCClearLayer (SplineChar *sc, int layer)
 
void SCClearContents (SplineChar *sc, int layer)
 
void SCClearAll (SplineChar *sc, int layer)
 
void BCClearAll (BDFChar *bc)
 
void FontForge_PythonInit (void)
 
void PyFF_ErrorString (const char *msg, const char *str)
 
void PyFF_ErrorF3 (const char *frmt, const char *str, int size, int depth)
 
void PyFF_Stdin (void)
 
void PyFF_Main (int argc, char **argv, int start)
 
void PyFF_ScriptFile (struct fontviewbase *fv, SplineChar *sc, char *filename)
 
void PyFF_ScriptString (struct fontviewbase *fv, SplineChar *sc, int layer, char *str)
 
void PyFF_FreeFV (struct fontviewbase *fv)
 
void PyFF_FreeSC (SplineChar *sc)
 
void PyFF_FreeSF (SplineFont *sf)
 
void PyFF_ProcessInitFiles (void)
 
char * PyFF_PickleMeToString (void *pydata)
 
voidPyFF_UnPickleMeToObjects (char *str)
 
void PyFF_CallDictFunc (struct _object *dict, char *key, char *argtypes,...)
 
void ff_init (void)
 
void doinitFontForgeMain (void)
 
void InitSimpleStuff (void)
 
int SSExistsInLayer (SplineSet *ss, SplineSet *lots)
 
int SplineExistsInSS (Spline *s, SplineSet *ss)
 
int SpExistsInSS (SplinePoint *sp, SplineSet *ss)
 
int MSLanguageFromLocale (void)
 
int BPTooFar (BasePoint *bp1, BasePoint *bp2)
 
char * VSErrorsFromMask (int mask, int private_mask)
 
int SCValidate (SplineChar *sc, int layer, int force)
 
AnchorClassSCValidateAnchors (SplineChar *sc)
 
void SCTickValidationState (SplineChar *sc, int layer)
 
int ValidatePrivate (SplineFont *sf)
 
int SFValidate (SplineFont *sf, int layer, int force)
 
int VSMaskFromFormat (SplineFont *sf, int layer, enum fontformat format)
 
unichar_tPrtBuildDef (SplineFont *sf, void *tf, void(*langsyscallback)(void *tf, int end, uint32 script, uint32 lang))
 
char * RandomParaFromScriptLang (uint32 script, uint32 lang, SplineFont *sf, struct lang_frequencies *freq)
 
char * RandomParaFromScript (uint32 script, uint32 *lang, SplineFont *sf)
 
int SF2Scripts (SplineFont *sf, uint32 scripts[100])
 
char ** SFScriptLangs (SplineFont *sf, struct lang_frequencies ***freq)
 
int SSHasClip (SplineSet *ss)
 
int SSHasDrawn (SplineSet *ss)
 
struct gradientGradientCopy (struct gradient *old)
 
void GradientFree (struct gradient *grad)
 
struct patternPatternCopy (struct pattern *old)
 
void PatternFree (struct pattern *pat)
 
void BrushCopy (struct brush *into, struct brush *from)
 
void PenCopy (struct pen *into, struct pen *from)
 
void PatternSCBounds (SplineChar *sc, DBounds *b)
 
char * SFDefaultImage (SplineFont *sf, char *filename)
 
void SCClearInstrsOrMark (SplineChar *sc, int layer, int complain)
 
void instrcheck (SplineChar *sc, int layer)
 
void TTFPointMatches (SplineChar *sc, int layer, int top)
 

Variables

struct opentype_feature_friendlynames friendlies []
 
struct math_constants_descriptor math_constants_descriptor []
 

Macro Definition Documentation

◆ _EXTENDED

#define _EXTENDED

Definition at line 64 of file splinefont.h.

◆ bigreal

#define bigreal   double

Definition at line 50 of file splinefont.h.

◆ CHR

#define CHR (   ch1,
  ch2,
  ch3,
  ch4 
)    (((ch1)<<24)|((ch2)<<16)|((ch3)<<8)|(ch4))

Definition at line 66 of file splinefont.h.

◆ chunkalloc

#define chunkalloc (   size)    gcalloc(1,size)

Definition at line 1759 of file splinefont.h.

◆ chunkfree

#define chunkfree (   item,
  size 
)    free(item)

Definition at line 1760 of file splinefont.h.

◆ COLOR_INHERITED

#define COLOR_INHERITED   0xfffffffe

Definition at line 145 of file splinefont.h.

◆ CURVATURE_ERROR

#define CURVATURE_ERROR   -1e9

Definition at line 2152 of file splinefont.h.

◆ DASH_INHERITED

#define DASH_INHERITED   255 /* if the dashes[0]==0 && dashes[1]==DASH_INHERITED */

Definition at line 176 of file splinefont.h.

◆ DASH_MAX

#define DASH_MAX   8

Definition at line 177 of file splinefont.h.

◆ DEFAULT_LANG

#define DEFAULT_LANG   CHR('d','f','l','t')

Definition at line 320 of file splinefont.h.

◆ DEFAULT_SCRIPT

#define DEFAULT_SCRIPT   CHR('D','F','L','T')

Definition at line 323 of file splinefont.h.

◆ END_CVT_NAMES

#define END_CVT_NAMES   ((char *) (~(intpt) 0))

Definition at line 1599 of file splinefont.h.

◆ esqrt

#define esqrt (   d)    sqrt(d)

Definition at line 2157 of file splinefont.h.

◆ extended

#define extended   double

Definition at line 61 of file splinefont.h.

◆ HntMax

#define HntMax   96 /* PS says at most 96 hints */

Definition at line 794 of file splinefont.h.

◆ ICONV_CONST

#define ICONV_CONST

Definition at line 42 of file splinefont.h.

◆ MAX_LANG

#define MAX_LANG   4 /* If more than this we allocate more_langs in chunks of MAX_LANG */

Definition at line 373 of file splinefont.h.

◆ MmMax

#define MmMax   16 /* PS says at most this many instances for type1/2 mm fonts */

Definition at line 68 of file splinefont.h.

◆ real

#define real   double

Definition at line 49 of file splinefont.h.

◆ REQUIRED_FEATURE

#define REQUIRED_FEATURE   CHR(' ','R','Q','D')

Definition at line 324 of file splinefont.h.

◆ SCWorthOutputting

#define SCWorthOutputting (   a)    1

Definition at line 2357 of file splinefont.h.

◆ TEX_UNDEF

#define TEX_UNDEF   0x7fff

Definition at line 1237 of file splinefont.h.

◆ UNDEFINED_WIDTH

#define UNDEFINED_WIDTH   -999999

Definition at line 2469 of file splinefont.h.

◆ WIDTH_INHERITED

#define WIDTH_INHERITED   (-1)

Definition at line 175 of file splinefont.h.

Typedef Documentation

◆ _MMArray

typedef double _MMArray[2][16]

Definition at line 949 of file splinefont.h.

◆ AnchorClass

typedef struct anchorclass AnchorClass

◆ AnchorPoint

typedef struct anchorpoint AnchorPoint

◆ AnchorPos

typedef struct anchorpos AnchorPos

◆ BasePoint

typedef struct basepoint BasePoint

◆ BDFChar

typedef struct bdfchar BDFChar

◆ BDFFloat

typedef struct bdffloat BDFFloat

◆ BDFFont

typedef struct bdffont BDFFont

◆ BDFProperties

typedef struct bdfprops BDFProperties

◆ BlueData

typedef struct bluedata BlueData

◆ BlueZone

typedef struct bluezone BlueZone

◆ DashType

typedef unsigned char DashType

Definition at line 178 of file splinefont.h.

◆ DBasePoint

typedef struct dbasepoint DBasePoint

◆ DBounds

typedef struct dbounds DBounds

◆ DStemInfo

typedef struct dsteminfo DStemInfo

◆ EncMap

typedef struct encmap EncMap

◆ Encoding

typedef struct enc Encoding

◆ FeatureScriptLangList

◆ FPST

typedef struct generic_fpst FPST

◆ GlobalInstrCt

typedef struct globalinstrct GlobalInstrCt

◆ HintInstance

typedef struct hintinstance HintInstance

◆ HintMask

typedef uint8 HintMask[96/8]

Definition at line 795 of file splinefont.h.

◆ IBounds

typedef struct ibounds IBounds

◆ ImageList

typedef struct imagelist ImageList

◆ IPoint

typedef struct ipoint IPoint

◆ ItalicInfo

typedef struct italicinfo ItalicInfo

◆ KernClass

typedef struct kernclass KernClass

◆ KernPair

typedef struct kernpair KernPair

◆ Layer

typedef struct layer Layer

◆ LayerInfo

typedef struct layerinfo LayerInfo

◆ LigList

typedef struct liglist LigList

◆ LinearApprox

typedef struct linearapprox LinearApprox

◆ LineList

typedef struct linelist LineList

◆ MinimumDistance

◆ MMSet

typedef struct mmset