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 <dlist.h>
#include "configure-fontforge.h"
#include "fflocale.h"
#include <gwwiconv.h>
#include <gnetwork.h>
#include "ustring.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  grad_stops
 
struct  gradient
 
struct  pattern
 
struct  brush
 
struct  pen
 
struct  strokeinfo
 
struct  hsquash
 
struct  italicinfo
 
struct  bluedata
 
struct  bdffloat
 
struct  scriptlanglist
 
struct  featurescriptlanglist
 
struct  lookup_subtable
 
struct  otlookup
 
struct  devicetab
 
struct  valdev
 
struct  anchorclass
 
struct  anchorpoint
 
struct  kernpair
 
struct  kernclass
 
struct  vr
 
struct  generic_pst
 
struct  liglist
 
struct  seqlookup
 
struct  fpg
 
struct  fpc
 
struct  fpv
 
struct  fpr
 
struct  fpst_rule
 
struct  generic_fpst
 
struct  asm_state
 
struct  generic_asm
 
struct  jstf_prio
 
struct  jstf_lang
 
struct  jstf_script
 
struct  macname
 
struct  otfname
 
struct  otffeatname
 
struct  macsetting
 
struct  macfeat
 
struct  refbdfc
 
struct  bdfcharlist
 
struct  bdfchar
 
struct  enc
 
struct  renames
 
struct  namelist
 
struct  remap
 
struct  encmap
 
struct  bdfprops
 
struct  bdffont
 
struct  splinepoint
 
struct  linelist
 
struct  linearapprox
 
struct  spline1d
 
struct  spline
 
struct  spiro_cp
 
struct  splinepointlist
 
struct  reflayer
 
struct  refchar
 
struct  hintinstance
 
struct  steminfo
 
struct  dsteminfo
 
struct  minimumdistance
 
struct  layer
 
struct  gv_part
 
struct  glyphvariants
 
struct  mathkerndata
 
struct  mathkernvertex
 
struct  mathkern
 
struct  splinecharlist
 
struct  altuni
 
struct  splinechar
 
struct  ttflangname
 
struct  MATH
 
struct  layerinfo
 
struct  baselangextent
 
struct  basescript
 
struct  Base
 
struct  pfminfo
 
struct  ttf_table
 
struct  texdata
 
struct  gasp
 
struct  ff_glyphclasses
 
struct  ff_rawoffsets
 
struct  splinefont
 
struct  axismap
 
struct  named_instance
 
struct  mmset
 
struct  sflist
 
struct  anchorpos
 
struct  compressors
 
struct  growbuf
 
struct  lookup_cvt
 
struct  sub_cvt
 
struct  ac_cvt
 
struct  bluezone
 
struct  stdstem
 
struct  globalinstrct
 
struct  sfd_getfontmetadatadata
 
struct  math_constants_descriptor
 

Macros

#define real   float
 
#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 AppleMmMax   26 /* Apple sort of has a limit of 4095, but we only support this many */
 
#define IPOINT_EMPTY   { 0, 0 }
 
#define BASEPOINT_EMPTY   { (real)0.0, (real)0.0 }
 
#define DBASEPOINT_EMPTY   { (bigreal)0.0, (bigreal)0.0 }
 
#define TPOINT_EMPTY   { (real)0.0, (real)0.0, (real)0.0 }
 
#define DBOUNDS_EMPTY   { (real)0.0, (real)0.0, (real)0.0, (real)0.0 }
 
#define IBOUNDS_EMPTY   { 0, 0, 0, 0 }
 
#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 ITALICINFO_REMAINDER   0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0
 
#define BLUEDATA_EMPTY
 
#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 OPENTYPE_FEATURE_FRIENDLYNAMES_EMPTY   { 0, NULL, NULL, 0 }
 
#define LOOKUP_SUBTABLE_EMPTY   { NULL, NULL, 0, 0, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL }
 
#define OTLOOKUP_EMPTY   { NULL, 0, 0, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL }
 
#define FF_KERNCLASS_FLAG_NATIVE   2
 
#define FF_KERNCLASS_FLAG_FEATURE   4
 
#define FF_KERNCLASS_FLAG_NAMETYPE   8
 
#define FF_KERNCLASS_FLAG_NAMELEGACY   16
 
#define FF_KERNCLASS_FLAG_VIRTUAL   32
 
#define FF_KERNCLASS_FLAG_FLATTEN   64
 
#define FF_KERNCLASS_FLAG_SINGLECHAR   (FF_KERNCLASS_FLAG_VIRTUAL | FF_KERNCLASS_FLAG_FLATTEN)
 
#define UNDO_LAYER_UNKNOWN   -1
 
#define HntMax   96 /* PS says at most 96 hints */
 
#define SPIRO_OPEN_CONTOUR   '{'
 
#define SPIRO_CORNER   'v'
 
#define SPIRO_G4   'o'
 
#define SPIRO_G2   'c'
 
#define SPIRO_LEFT   '['
 
#define SPIRO_RIGHT   ']'
 
#define SPIRO_END   'z'
 
#define SPIRO_SELECTED(cp)   ((cp)->ty&0x80)
 
#define SPIRO_DESELECT(cp)   ((cp)->ty&=~0x80)
 
#define SPIRO_SELECT(cp)   ((cp)->ty|=0x80)
 
#define SPIRO_SPL_OPEN(spl)   ((spl)->spiro_cnt>1 && ((spl)->spiros[0].ty&0x7f)==SPIRO_OPEN_CONTOUR)
 
#define SPIRO_NEXT_CONSTRAINT   SPIRO_RIGHT /* The curve is on the next side of the constraint point */
 
#define SPIRO_PREV_CONSTRAINT   SPIRO_LEFT /* The curve is on the prev side of the constraint point */
 
#define TEX_UNDEF   0x7fff
 
#define END_CVT_NAMES   ((char *) (~(intpt) 0))
 
#define sfntRevisionUnset   0x44445555
 
#define woffUnset   0x4455
 
#define COMPRESSORS_EMPTY   { NULL, NULL, NULL }
 
#define ARCHIVERS_EMPTY   { NULL, NULL, NULL, NULL, NULL, NULL, 0 }
 
#define chunkalloc(size)   calloc(1,size)
 
#define chunkfree(item, size)   free(item)
 
#define GROUP_NAME_KERNING_UFO   1
 
#define GROUP_NAME_KERNING_FEATURE   2
 
#define GROUP_NAME_VERTICAL   4
 
#define GROUP_NAME_RIGHT   8
 
#define STD_BDF_PROPS_EMPTY   { NULL, 0, 0 }
 
#define CURVATURE_ERROR   -1e9
 
#define MATH_CONSTANTS_DESCRIPTOR_EMPTY   { NULL, 0, 0}
 

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 devicetab DeviceTable
 
typedef struct valdev ValDevTab
 
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 generic_asm ASM
 
typedef struct jstf_script Justify
 
typedef struct macfeat MacFeat
 
typedef struct refbdfc BDFRefChar
 
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 refchar RefChar
 
typedef struct hintinstance HintInstance
 
typedef float _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 growbuf GrowBuf
 
typedef struct bluezone BlueZone
 
typedef struct stdstem StdStem
 
typedef struct globalinstrct GlobalInstrCt
 
typedef struct sfd_getfontmetadatadata SFD_GetFontMetaDataData
 
typedef void(* SPLFirstVisitSplinesVisitor) (SplinePoint *splfirst, Spline *s, void *udata)
 
typedef void(* SPLFirstVisitPointsVisitor) (SplinePoint *splfirst, Spline *s, SplinePoint *sp, void *udata)
 

Enumerations

enum  val_type {
  v_int , v_real , v_str , v_unicode ,
  v_lval , v_arr , v_arrfree , v_int32pt ,
  v_int16pt , v_int8pt , v_void
}
 
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  PolyType {
  Poly_Convex , Poly_Concave , Poly_PointOnEdge , Poly_TooFewPoints ,
  Poly_Line
}
 
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  serif_type { srf_flat , srf_simpleslant , srf_complexslant }
 
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  asm_type {
  asm_indic , asm_context , asm_lig , asm_simple =4 ,
  asm_insert , asm_kern =0x11
}
 
enum  asm_flags { asm_vert =0x8000 , asm_descending =0x4000 , asm_always =0x2000 }
 
enum  undotype {
  ut_none =0 , ut_state , ut_tstate , ut_statehint ,
  ut_statename , ut_statelookup , ut_anchors , ut_width ,
  ut_vwidth , ut_lbearing , ut_rbearing , ut_possub ,
  ut_hints , ut_bitmap , ut_bitmapsel , ut_composit ,
  ut_multiple , ut_layers , ut_noop
}
 
enum  sfundotype {
  sfut_none =0 , sfut_lookups , sfut_lookups_kerns , sfut_fontinfo ,
  sfut_noop
}
 
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  linelist_flags { cvli_onscreen =0x1 , cvli_clipped =0x2 }
 
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  texdata_type { tex_unset , tex_text , tex_math , tex_mathext }
 
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  ttc_flags { ttc_flag_trymerge =0x1 , ttc_flag_cff =0x2 }
 
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  archive_list_style { ars_tar , ars_zip }
 
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  transformPointType { tpt_OnlySelected , tpt_AllPoints , tpt_OnlySelectedInterpCPs }
 
enum  transformPointMask { tpmask_dontFixControlPoints = 1 << 1 , tpmask_operateOnSelectedBCP = 1 << 2 }
 
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

int SFOneWidth (SplineFont *sf)
 
int CIDOneWidth (SplineFont *sf)
 
void GrowBuffer (GrowBuf *gb)
 
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)
 
int32 filechecksum (FILE *file)
 
int _WriteWOFFFont (FILE *ttf, SplineFont *sf, enum fontformat format, int32 *bsizes, enum bitmapformat bf, int flags, EncMap *enc, int layer)
 
int WriteWOFFFont (char *fontname, SplineFont *sf, enum fontformat format, int32 *bsizes, enum bitmapformat bf, 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 WriteMacFamily (char *filename, struct sflist *sfs, enum fontformat format, enum bitmapformat bf, int flags, int layer)
 
int WriteTTC (const char *filename, struct sflist *sfs, enum fontformat format, enum bitmapformat bf, int flags, int layer, enum ttc_flags ttcflags)
 
long mactime (void)
 
void DefaultTTFEnglishNames (struct ttflangname *dummy, 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)
 
int ScriptIsRightToLeft (uint32 script)
 
uint32 ScriptFromUnicode (uint32 u, SplineFont *sf)
 
uint32 SCScriptFromUnicode (SplineChar *sc)
 
int SCRightToLeft (SplineChar *sc)
 
void SFMatchGlyphs (SplineFont *sf, SplineFont *target, int addempties)
 
void MMMatchGlyphs (MMSet *mm)
 
const char * _GetModifiers (const char *fontname, const char *familyname, const char *weight)
 
const char * SFGetModifiers (const SplineFont *sf)
 
int Within4RoundingErrors (double v1, double v2)
 
int Within16RoundingErrors (double v1, double v2)
 
int RealNear (float a, float b)
 
int RealNearish (float a, float b)
 
int RealApprox (float a, float b)
 
int RealWithin (float a, float b, float 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 (float x, float y)
 
void SplinePointFree (SplinePoint *sp)
 
void SplinePointsFree (SplinePointList *spl)
 
void SplinePointListFree (SplinePointList *spl)
 
void SplinePointListsFree (SplinePointList *head)
 
void SplineSetSpirosClear (SplineSet *spl)
 
void RefCharFree (RefChar *ref)
 
void RefCharsFree (RefChar *ref)
 
void StemInfosFree (StemInfo *h)
 
void StemInfoFree (StemInfo *h)
 
void DStemInfosFree (DStemInfo *h)
 
void DStemInfoFree (DStemInfo *h)
 
void KernPairsFree (KernPair *kp)
 
void AnchorPointsFree (AnchorPoint *ap)
 
void AnchorClassesFree (AnchorClass *kp)
 
void TtfTablesFree (struct ttf_table *tab)
 
void ValDevFree (ValDevTab *adjust)
 
void DeviceTableFree (DeviceTable *adjust)
 
void PSTFree (PST *lig)
 
void TTFLangNamesFree (struct ttflangname *l)
 
void AltUniFree (struct altuni *altuni)
 
void AltUniFigure (SplineFont *sf, EncMap *map, int check_dups)
 
void AltUniAdd (SplineChar *sc, int uni)
 
void AltUniAdd_DontCheckDups (SplineChar *sc, int uni)
 
void MinimumDistancesFree (MinimumDistance *md)
 
void LayerDefault (Layer *)
 
SplineCharSplineCharCreate (int layer_cnt)
 
SplineCharSFSplineCharCreate (SplineFont *sf)
 
RefCharRefCharCreate (void)
 
void KernClassFreeContents (KernClass *kc)
 
void KernClassClearSpecialContents (KernClass *kc)
 
void KernClassListFree (KernClass *kc)
 
void KernClassListClearSpecialContents (KernClass *kc)
 
void OTLookupFree (OTLookup *lookup)
 
void OTLookupListFree (OTLookup *lookup)
 
void FPSTRuleContentsFree (struct fpst_rule *r, enum fpossub_format format)
 
void FPSTClassesFree (FPST *fpst)
 
void FPSTFree (FPST *fpst)
 
void ASMFree (ASM *sm)
 
void MacNameListFree (struct macname *mn)
 
void MacSettingListFree (struct macsetting *ms)
 
void MacFeatListFree (MacFeat *mf)
 
void GlyphVariantsFree (struct glyphvariants *gv)
 
void MathKernVContentsFree (struct mathkernvertex *mk)
 
void MathKernFree (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)
 
EncMapEncMapNew (int encmax, int backmax, Encoding *enc)
 
EncMapEncMap1to1 (int enccount)
 
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 SplineFontClearSpecial (SplineFont *sf)
 
void GlyphGroupFree (struct ff_glyphclasses *group)
 
void GlyphGroupsFree (struct ff_glyphclasses *root)
 
void GlyphGroupKernFree (struct ff_rawoffsets *groupkern)
 
void GlyphGroupKernsFree (struct ff_rawoffsets *root)
 
void JstfLangFree (struct jstf_lang *jl)
 
void JustifyFree (Justify *just)
 
void OtfNameListFree (struct otfname *on)
 
void OtfFeatNameListFree (struct otffeatname *fn)
 
struct otffeatnamefindotffeatname (uint32 tag, SplineFont *sf)
 
void MarkSetFree (int cnt, char **classes, char **names)
 
void MarkClassFree (int cnt, char **classes, char **names)
 
void MMSetFreeContents (MMSet *mm)
 
void MMSetFree (MMSet *mm)
 
void MMSetClearSpecial (MMSet *mm)
 
void SplineRefigure3 (Spline *spline)
 
void SplineRefigure (Spline *spline)
 
SplineSplineMake3 (SplinePoint *from, SplinePoint *to)
 
int SplinePointListIsClockwise (const SplineSet *spl)
 
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 SplineCharLayerQuickBounds (SplineChar *sc, int layer, DBounds *bounds)
 
void SplineCharQuickBounds (SplineChar *sc, DBounds *b)
 
void SplinePointCategorize (SplinePoint *sp)
 
void SPLCategorizePoints (SplinePointList *spl)
 
SplinePointListSplinePointListCopy1 (const SplinePointList *spl)
 
SplinePointListSplinePointListCopy (const SplinePointList *base)
 
void BpTransform (BasePoint *to, BasePoint *from, float transform[6])
 
SplinePointListSplinePointListTransform (SplinePointList *base, float transform[6], enum transformPointType allpoints)
 
SplinePointListSplinePointListTransformExtended (SplinePointList *base, float transform[6], enum transformPointType tpt, enum transformPointMask tpmask)
 
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)
 
void RefCharFindBounds (RefChar *rf)
 
void SCReinstanciateRefChar (SplineChar *sc, RefChar *rf, int layer)
 
int SplinesIntersect (const Spline *s1, const Spline *s2, BasePoint pts[9], double t1s[10], double t2s[10])
 
int _CubicSolve (const Spline1D *sp, double sought, double ts[3])
 
int CubicSolve (const Spline1D *sp, double sought, double ts[3])
 
double IterateSplineSolve (const Spline1D *sp, double tmin, double tmax, double sought_y)
 
double IterateSplineSolveFixup (const Spline1D *sp, double tmin, double tmax, double sought_y)
 
void SplineFindExtrema (const Spline1D *sp, double *_t1, double *_t2)
 
double SplineCurvature (Spline *s, double t)
 
double CheckExtremaForSingleBitErrors (const Spline1D *sp, double t, double othert)
 
int Spline2DFindExtrema (const Spline *sp, double extrema[4])
 
int Spline2DFindPointsOfInflection (const Spline *sp, double poi[2])
 
void SplineRemoveExtremaTooClose (Spline1D *sp, double *_t1, double *_t2)
 
void SCMakeDependent (SplineChar *dependent, SplineChar *base)
 
SplinePointSplineBisect (Spline *spline, double t)
 
double SplineLength (Spline *spline)
 
int SplineIsLinear (Spline *spline)
 
int SPInterpolate (const SplinePoint *sp)
 
int SpIsExtremum (SplinePoint *sp)
 
int Spline1DCantExtremeX (const Spline *s)
 
int Spline1DCantExtremeY (const Spline *s)
 
SplineSplineAddExtrema (Spline *s, int always, float lenbound, float offsetbound, DBounds *b)
 
SplineFontSplineFontEmpty (void)
 
void SFIncrementXUID (SplineFont *sf)
 
SplineSetSplineSetReverse (SplineSet *spl)
 
void BP_HVForce (BasePoint *vector)
 
void SplineCharDefaultPrevCP (SplinePoint *base)
 
void SplineCharDefaultNextCP (SplinePoint *base)
 
void SplineCharTangentNextCP (SplinePoint *sp)
 
void SplineCharTangentPrevCP (SplinePoint *sp)
 
void SPTouchControl (SplinePoint *sp, BasePoint *which, int order2)
 
void SPAdjustControl (SplinePoint *sp, BasePoint *cp, BasePoint *to, int order2)
 
SplineSetSSttfApprox (SplineSet *ss)
 
SplineSetSSPSApprox (SplineSet *ss)
 
SplineSetSplineSetsPSApprox (SplineSet *ss)
 
void SplineRefigure2 (Spline *spline)
 
void SplineRefigureFixup (Spline *spline)
 
SplineSplineMake2 (SplinePoint *from, SplinePoint *to)
 
SplineSplineMake (SplinePoint *from, SplinePoint *to, int order2)
 
void SCConvertToOrder2 (SplineChar *sc)
 
void SFConvertToOrder2 (SplineFont *sf)
 
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)
 
double BlueScaleFigureForced (struct psdict *private_, float bluevalues[], float otherblues[])
 
double BlueScaleFigure (struct psdict *private_, float bluevalues[], float otherblues[])
 
void FindBlues (SplineFont *sf, int layer, float blues[14], float otherblues[10])
 
void QuickBlues (SplineFont *sf, int layer, BlueData *bd)
 
void FindHStems (SplineFont *sf, float snaps[12], float cnt[12])
 
void FindVStems (SplineFont *sf, float snaps[12], float cnt[12])
 
void SCGuessHintInstancesList (SplineChar *sc, int layer, StemInfo *hstem, StemInfo *vstem, DStemInfo *dstem, int hvforce, int dforce)
 
float HIlen (StemInfo *stems)
 
float HIoverlap (HintInstance *mhi, HintInstance *thi)
 
int StemListAnyConflicts (StemInfo *stems)
 
HintInstanceHICopyTrans (HintInstance *hi, float mul, float offset)
 
void InitGlobalInstrCt (GlobalInstrCt *gic, SplineFont *sf, int layer, BlueData *bd)
 
void FreeGlobalInstrCt (GlobalInstrCt *gic)
 
void NowakowskiSCAutoInstr (GlobalInstrCt *gic, SplineChar *sc)
 
void SCClearHintMasks (SplineChar *sc, int layer, int counterstoo)
 
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)
 
int SplineFontIsFlexible (SplineFont *sf, int layer, int flags)
 
int SCDrawsSomething (SplineChar *sc)
 
int SCWorthOutputting (SplineChar *sc)
 
void SFLigaturePrepare (SplineFont *sf)
 
void SFLigatureCleanup (SplineFont *sf)
 
void SFKernClassTempDecompose (SplineFont *sf, int isv)
 
void SFKernCleanup (SplineFont *sf, int isv)
 
void SFD_GetFontMetaDataData_Init (SFD_GetFontMetaDataData *d)
 
bool SFD_GetFontMetaData (FILE *sfd, char *tok, SplineFont *sf, SFD_GetFontMetaDataData *d)
 
const char * FindUnicharName (void)
 
Encoding_FindOrMakeEncoding (const char *name, int make_it)
 
EncodingFindOrMakeEncoding (const char *name)
 
MacFeatSFDParseMacFeatures (FILE *sfd, char *tok)
 
SplineFontSFDRead (char *filename)
 
SplineFont_SFDRead (char *filename, FILE *sfd)
 
uint16 _MacStyleCode (const char *styles, SplineFont *sf, uint16 *psstyle)
 
uint16 MacStyleCode (SplineFont *sf, uint16 *psstyle)
 
int getAdobeEnc (const char *name)
 
void MatMultiply (float m1[6], float m2[6], float to[6])
 
void GlyphHashFree (SplineFont *sf)
 
SplineCharSFHashName (SplineFont *sf, const char *name)
 
int SFFindGID (SplineFont *sf, int unienc, const char *name)
 
int SFCIDFindCID (SplineFont *sf, int unienc, const char *name)
 
SplineCharSFGetChar (SplineFont *sf, int unienc, const char *name)
 
int SFFindExistingSlot (SplineFont *sf, int unienc, const char *name)
 
int SFHasCID (SplineFont *sf, int cid)
 
void PSCharsFree (struct pschars *chrs)
 
void PSDictFree (struct psdict *chrs)
 
char * PSDictHasEntry (struct psdict *dict, const char *key)
 
int PSDictSame (struct psdict *dict1, struct psdict *dict2)
 
int getushort (FILE *ttf)
 
int32 getlong (FILE *ttf)
 
void putshort (FILE *file, int sval)
 
void putlong (FILE *file, int val)
 
void putfixed (FILE *file, float dval)
 
int ttfcopyfile (FILE *ttf, FILE *other, int pos, const char *table_name)
 
int UniFromName (const char *name, enum uni_interp interp, Encoding *encname)
 
NameListDefaultNameListForNewFonts (void)
 
NameListNameListByName (const char *name)
 
int SSTtfNumberPoints (SplineSet *ss)
 
int SCNumberPoints (SplineChar *sc, int layer)
 
int SCPointsNumberedProperly (SplineChar *sc, int layer)
 
int SFFigureDefWidth (SplineFont *sf, int *_nomwid)
 
int ClassesMatch (int cnt1, char **classes1, int cnt2, char **classes2)
 
FPSTFPSTGlyphToClass (FPST *fpst)
 
ASMASMFromOpenTypeForms (SplineFont *sf, uint32 script)
 
ASMASMFromFPST (SplineFont *sf, FPST *fpst, int ordered)
 
char * utf8_verify_copy (const char *str)
 
char * Utf8ToMacStr (const char *ustr, int macenc, int maclang)
 
uint8 MacEncFromMacLang (int maclang)
 
uint16 WinLangToMac (int winlang)
 
MacFeatFindMacFeature (SplineFont *sf, int feat, MacFeat **secondary)
 
struct macsettingFindMacSetting (SplineFont *sf, int feat, int set, struct macsetting **secondary)
 
int32 UniFromEnc (int enc, Encoding *encname)
 
int32 EncFromUni (int32 uni, Encoding *encname)
 
int MMValid (MMSet *mm, int complain)
 
void SFTimesFromFile (SplineFont *sf, FILE *)
 
int SFHasInstructions (SplineFont *sf)
 
int RefDepth (RefChar *ref, int layer)
 
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)
 
void SFFindUnusedLookups (SplineFont *sf)
 
struct lookup_subtableSFFindLookupSubtable (SplineFont *sf, char *name)
 
struct lookup_subtableSFFindLookupSubtableAndFreeName (SplineFont *sf, char *name)
 
OTLookupSFFindLookup (SplineFont *sf, char *name)
 
struct scriptlanglistSLCopy (struct scriptlanglist *sl)
 
struct scriptlanglistSListCopy (struct scriptlanglist *sl)
 
FeatureScriptLangListFeatureListCopy (FeatureScriptLangList *fl)
 
int DefaultLangTagInOneScriptList (struct scriptlanglist *sl)
 
RefCharHasUseMyMetrics (SplineChar *sc, int layer)
 
void InitSimpleStuff (void)
 
struct gradientGradientCopy (struct gradient *old, float transform[6])
 
void GradientFree (struct gradient *grad)
 
struct patternPatternCopy (struct pattern *old, float transform[6])
 
void PatternFree (struct pattern *pat)
 
void BrushCopy (struct brush *into, struct brush *from, float transform[6])
 
void PenCopy (struct pen *into, struct pen *from, float transform[6])
 
double SFCapHeight (SplineFont *sf, int layer, int return_error)
 
double SFXHeight (SplineFont *sf, int layer, int return_error)
 
void SPLFirstVisitSplines (SplinePoint *splfirst, SPLFirstVisitSplinesVisitor f, void *udata)
 
SplinePointSplinePointListContainsPointAtX (SplinePointList *container, float x)
 
bool equalWithTolerence (float a, float b, float tolerence)
 
char * upper_case (const char *input)
 

Variables

struct compressors compressors []
 
struct math_constants_descriptor math_constants_descriptor []
 
const char * knownweights []
 
const char * realweights []
 
const char ** noticeweights []
 

Macro Definition Documentation

◆ _EXTENDED

#define _EXTENDED

Definition at line 54 of file splinefont.h.

◆ AppleMmMax

#define AppleMmMax   26 /* Apple sort of has a limit of 4095, but we only support this many */

Definition at line 59 of file splinefont.h.

◆ ARCHIVERS_EMPTY

#define ARCHIVERS_EMPTY   { NULL, NULL, NULL, NULL, NULL, NULL, 0 }

Definition at line 1939 of file splinefont.h.

◆ BASEPOINT_EMPTY

#define BASEPOINT_EMPTY   { (real)0.0, (real)0.0 }

Definition at line 74 of file splinefont.h.

◆ bigreal

#define bigreal   double

Definition at line 49 of file splinefont.h.

◆ BLUEDATA_EMPTY

#define BLUEDATA_EMPTY
Value:
{ \
0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0, \
{ { 0.0, 0.0 }, { 0.0, 0.0 }, { 0.0, 0.0 }, { 0.0, 0.0 }, { 0.0, 0.0 }, { 0.0, 0.0 }, \
{ 0.0, 0.0 }, { 0.0, 0.0 }, { 0.0, 0.0 }, { 0.0, 0.0 }, { 0.0, 0.0 }, { 0.0, 0.0 } \
} \
}

Definition at line 322 of file splinefont.h.

◆ CHR

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

Definition at line 56 of file splinefont.h.

◆ chunkalloc

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

Definition at line 1947 of file splinefont.h.

◆ chunkfree

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

Definition at line 1948 of file splinefont.h.

◆ COLOR_INHERITED

#define COLOR_INHERITED   0xfffffffe

Definition at line 158 of file splinefont.h.

◆ COMPRESSORS_EMPTY

#define COMPRESSORS_EMPTY   { NULL, NULL, NULL }

Definition at line 1934 of file splinefont.h.

◆ CURVATURE_ERROR

#define CURVATURE_ERROR   -1e9

Definition at line 2181 of file splinefont.h.

◆ DASH_INHERITED

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

Definition at line 192 of file splinefont.h.

◆ DASH_MAX

#define DASH_MAX   8

Definition at line 193 of file splinefont.h.

◆ DBASEPOINT_EMPTY

#define DBASEPOINT_EMPTY   { (bigreal)0.0, (bigreal)0.0 }

Definition at line 82 of file splinefont.h.

◆ DBOUNDS_EMPTY

#define DBOUNDS_EMPTY   { (real)0.0, (real)0.0, (real)0.0, (real)0.0 }

Definition at line 99 of file splinefont.h.

◆ DEFAULT_LANG

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

Definition at line 340 of file splinefont.h.

◆ DEFAULT_SCRIPT

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

Definition at line 343 of file splinefont.h.

◆ END_CVT_NAMES

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

Definition at line 1754 of file splinefont.h.

◆ extended

#define extended   double

Definition at line 52 of file splinefont.h.

◆ FF_KERNCLASS_FLAG_FEATURE

#define FF_KERNCLASS_FLAG_FEATURE   4

Definition at line 538 of file splinefont.h.

◆ FF_KERNCLASS_FLAG_FLATTEN

#define FF_KERNCLASS_FLAG_FLATTEN   64

Definition at line 542 of file splinefont.h.

◆ FF_KERNCLASS_FLAG_NAMELEGACY

#define FF_KERNCLASS_FLAG_NAMELEGACY   16

Definition at line 540 of file splinefont.h.

◆ FF_KERNCLASS_FLAG_NAMETYPE

#define FF_KERNCLASS_FLAG_NAMETYPE   8

Definition at line 539 of file splinefont.h.

◆ FF_KERNCLASS_FLAG_NATIVE

#define FF_KERNCLASS_FLAG_NATIVE   2

Definition at line 537 of file splinefont.h.

◆ FF_KERNCLASS_FLAG_SINGLECHAR

#define FF_KERNCLASS_FLAG_SINGLECHAR   (FF_KERNCLASS_FLAG_VIRTUAL | FF_KERNCLASS_FLAG_FLATTEN)

Definition at line 543 of file splinefont.h.

◆ FF_KERNCLASS_FLAG_VIRTUAL

#define FF_KERNCLASS_FLAG_VIRTUAL   32

Definition at line 541 of file splinefont.h.

◆ GROUP_NAME_KERNING_FEATURE

#define GROUP_NAME_KERNING_FEATURE   2

Definition at line 2101 of file splinefont.h.

◆ GROUP_NAME_KERNING_UFO

#define GROUP_NAME_KERNING_UFO   1

Definition at line 2100 of file splinefont.h.

◆ GROUP_NAME_RIGHT

#define GROUP_NAME_RIGHT   8

Definition at line 2103 of file splinefont.h.

◆ GROUP_NAME_VERTICAL

#define GROUP_NAME_VERTICAL   4

Definition at line 2102 of file splinefont.h.

◆ HntMax

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

Definition at line 948 of file splinefont.h.

◆ IBOUNDS_EMPTY

#define IBOUNDS_EMPTY   { 0, 0, 0, 0 }

Definition at line 107 of file splinefont.h.

◆ IPOINT_EMPTY

#define IPOINT_EMPTY   { 0, 0 }

Definition at line 66 of file splinefont.h.

◆ ITALICINFO_REMAINDER

#define ITALICINFO_REMAINDER   0, 0, 0, 0, 0, 0, NULL, 0, 0, 0, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0

Definition at line 308 of file splinefont.h.

◆ LOOKUP_SUBTABLE_EMPTY

#define LOOKUP_SUBTABLE_EMPTY   { NULL, NULL, 0, 0, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL, 0, NULL }

Definition at line 486 of file splinefont.h.

◆ MATH_CONSTANTS_DESCRIPTOR_EMPTY

#define MATH_CONSTANTS_DESCRIPTOR_EMPTY   { NULL, 0, 0}

Definition at line 2474 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 402 of file splinefont.h.

◆ MmMax

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

Definition at line 58 of file splinefont.h.

◆ OPENTYPE_FEATURE_FRIENDLYNAMES_EMPTY

#define OPENTYPE_FEATURE_FRIENDLYNAMES_EMPTY   { 0, NULL, NULL, 0 }

Definition at line 411 of file splinefont.h.

◆ OTLOOKUP_EMPTY

#define OTLOOKUP_EMPTY   { NULL, 0, 0, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL }

Definition at line 487 of file splinefont.h.

◆ real

#define real   float

Definition at line 48 of file splinefont.h.

◆ REQUIRED_FEATURE

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

Definition at line 344 of file splinefont.h.

◆ sfntRevisionUnset

#define sfntRevisionUnset   0x44445555

Definition at line 1821 of file splinefont.h.

◆ SPIRO_CORNER

#define SPIRO_CORNER   'v'

Definition at line 1051 of file splinefont.h.

◆ SPIRO_DESELECT

#define SPIRO_DESELECT (   cp)    ((cp)->ty&=~0x80)

Definition at line 1064 of file splinefont.h.

◆ SPIRO_END

#define SPIRO_END   'z'

Definition at line 1056 of file splinefont.h.

◆ SPIRO_G2

#define SPIRO_G2   'c'

Definition at line 1053 of file splinefont.h.

◆ SPIRO_G4

#define SPIRO_G4   'o'

Definition at line 1052 of file splinefont.h.

◆ SPIRO_LEFT

#define SPIRO_LEFT   '['

Definition at line 1054 of file splinefont.h.

◆ SPIRO_NEXT_CONSTRAINT

#define SPIRO_NEXT_CONSTRAINT   SPIRO_RIGHT /* The curve is on the next side of the constraint point */

Definition at line 1068 of file splinefont.h.

◆ SPIRO_OPEN_CONTOUR

#define SPIRO_OPEN_CONTOUR   '{'

Definition at line 1050 of file splinefont.h.

◆ SPIRO_PREV_CONSTRAINT

#define SPIRO_PREV_CONSTRAINT   SPIRO_LEFT /* The curve is on the prev side of the constraint point */

Definition at line 1069 of file splinefont.h.

◆ SPIRO_RIGHT

#define SPIRO_RIGHT   ']'

Definition at line 1055 of file splinefont.h.

◆ SPIRO_SELECT

#define SPIRO_SELECT (   cp)    ((cp)->ty|=0x80)

Definition at line 1065 of file splinefont.h.

◆ SPIRO_SELECTED

#define SPIRO_SELECTED (   cp)    ((cp)->ty&0x80)

Definition at line 1063 of file splinefont.h.

◆ SPIRO_SPL_OPEN

#define SPIRO_SPL_OPEN (   spl)    ((spl)->spiro_cnt>1 && ((spl)->spiros[0].ty&0x7f)==SPIRO_OPEN_CONTOUR)

Definition at line 1066 of file splinefont.h.

◆ STD_BDF_PROPS_EMPTY

#define STD_BDF_PROPS_EMPTY   { NULL, 0, 0 }

Definition at line 2166 of file splinefont.h.

◆ TEX_UNDEF

#define TEX_UNDEF   0x7fff

Definition at line 1428 of file splinefont.h.

◆ TPOINT_EMPTY

#define TPOINT_EMPTY   { (real)0.0, (real)0.0, (real)0.0 }

Definition at line 91 of file splinefont.h.

◆ UNDO_LAYER_UNKNOWN

#define UNDO_LAYER_UNKNOWN   -1

Definition at line 824 of file splinefont.h.

◆ WIDTH_INHERITED

#define WIDTH_INHERITED   (-1)

Definition at line 191 of file splinefont.h.

◆ woffUnset

#define woffUnset   0x4455

Definition at line 1823 of file splinefont.h.

Typedef Documentation

◆ _MMArray

typedef float _MMArray[2][16]

Definition at line 1136 of file splinefont.h.

◆ AnchorClass

typedef struct anchorclass AnchorClass

◆ AnchorPoint

typedef struct anchorpoint AnchorPoint

◆ AnchorPos

typedef struct anchorpos AnchorPos

◆ ASM

typedef struct generic_asm ASM

◆ 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

◆ BDFRefChar

typedef struct refbdfc BDFRefChar

◆ BlueData

typedef struct bluedata BlueData

◆ BlueZone

typedef struct bluezone BlueZone

◆ DashType

typedef unsigned char DashType

Definition at line 194 of file splinefont.h.

◆ DBasePoint

typedef struct dbasepoint DBasePoint

◆ DBounds

typedef struct dbounds DBounds

◆ DeviceTable

typedef struct devicetab DeviceTable

◆ DStemInfo

typedef struct dsteminfo DStemInfo

◆ EncMap

typedef struct encmap EncMap

◆ Encoding

typedef struct enc Encoding

A spline font level undo stack. undoes are doubly linked using the 'ln' member and carry some user presentable description of what the undo relates to in 'msg'.

The sfdchunk is a pointer to an SFD fragment which will apply the undo to the current state. For example, it might contain information about the old value of kerning pairs which can be used to restore state to how it was. Note that the sfdchunk might only be partial, containing only enough information to restore the state which changed when the undo was created.

◆ FeatureScriptLangList

◆ FPST

typedef struct generic_fpst FPST

◆ GlobalInstrCt

typedef struct globalinstrct GlobalInstrCt

◆ GrowBuf

typedef struct growbuf GrowBuf

◆ HintInstance

typedef struct hintinstance HintInstance

◆ HintMask

typedef uint8 HintMask[96/8]

Definition at line 949 of file splinefont.h.

◆ IBounds

typedef struct ibounds IBounds

◆ IPoint

typedef struct ipoint IPoint

◆ ItalicInfo

typedef struct italicinfo ItalicInfo

◆ Justify

typedef struct jstf_script Justify

◆ 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

◆ MacFeat

typedef struct macfeat MacFeat

◆ MinimumDistance

◆ MMSet

typedef struct mmset MMSet

◆ NameList

typedef struct namelist NameList

◆ OTLookup

typedef struct otlookup OTLookup

◆ PST

typedef struct generic_pst PST

◆ RefChar

typedef struct refchar RefChar

◆ SFD_GetFontMetaDataData

◆ SPLFirstVisitPointsVisitor

typedef void(* SPLFirstVisitPointsVisitor) (SplinePoint *splfirst, Spline *s, SplinePoint *sp, void *udata)

Visitor for SPLFirstVisitPoints()

Definition at line 2533 of file splinefont.h.

◆ SPLFirstVisitSplinesVisitor

typedef void(* SPLFirstVisitSplinesVisitor) (SplinePoint *splfirst, Spline *s, void *udata)

Visitor for SPLFirstVisitSplines()

Definition at line 2492 of file splinefont.h.

◆ Spline

typedef struct spline Spline

2013Note: If you are altering from->me.x and y then you will probably have to modify splines[] to match your change. eg, moving both ends of a spline up/down by changing their to/from will also probably need an update to splines[ 0 | 1 ].d to match.

◆ Spline1D

typedef struct spline1d Spline1D

◆ SplineChar

typedef struct splinechar SplineChar

◆ SplineFont

typedef struct splinefont SplineFont

◆ SplinePoint

typedef struct splinepoint SplinePoint

◆ SplinePointList

◆ SplineSet

typedef struct splinepointlist SplineSet

◆ StdStem

typedef struct stdstem StdStem

◆ StemInfo

typedef struct steminfo StemInfo

◆ StrokeInfo

typedef struct strokeinfo StrokeInfo

◆ TPoint

typedef struct tpoint TPoint

◆ Val

typedef struct val Val

◆ ValDevTab

typedef struct valdev ValDevTab

Enumeration Type Documentation

◆ ae_type

enum ae_type
Enumerator
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 

Definition at line 2193 of file splinefont.h.

◆ anchor_type

Enumerator
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 

Definition at line 513 of file splinefont.h.

◆ anchorclass_type

Enumerator
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 

Definition at line 502 of file splinefont.h.

◆ archive_list_style

Enumerator
ars_tar 
ars_zip 

Definition at line 1937 of file splinefont.h.

◆ asm_flags

enum asm_flags
Enumerator
asm_vert 
asm_descending 
asm_always 

Definition at line 650 of file splinefont.h.

◆ asm_type

enum asm_type
Enumerator
asm_indic 
asm_context 
asm_lig 
asm_simple 
asm_insert 
asm_kern 

Definition at line 648 of file splinefont.h.

◆ backedup_state

Enumerator
bs_dontknow 
bs_not 
bs_backedup 
bs_dontknow 
bs_not 
bs_backedup 
bs_dontknow 
bs_not 
bs_backedup 

Definition at line 1556 of file splinefont.h.

◆ bitmapformat

Enumerator
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 

Definition at line 1979 of file splinefont.h.

◆ Compare_Ret

Enumerator
SS_DiffContourCount 
SS_MismatchOpenClosed 
SS_DisorderedContours 
SS_DisorderedStart 
SS_DisorderedDirection 
SS_PointsMatch 
SS_ContourMatch 
SS_NoMatch 
SS_RefMismatch 
SS_WidthMismatch 
SS_VWidthMismatch 
SS_HintMismatch 
SS_HintMaskMismatch 
SS_LayerCntMismatch 
SS_ContourMismatch 
SS_UnlinkRefMatch 
BC_DepthMismatch 
BC_BoundingBoxMismatch 
BC_BitmapMismatch 
BC_NoMatch 
BC_Match 
SS_RefPtMismatch 
SS_DiffContourCount 
SS_MismatchOpenClosed 
SS_DisorderedContours 
SS_DisorderedStart 
SS_DisorderedDirection 
SS_PointsMatch 
SS_ContourMatch 
SS_NoMatch 
SS_RefMismatch 
SS_WidthMismatch 
SS_VWidthMismatch 
SS_HintMismatch 
SS_HintMaskMismatch 
SS_LayerCntMismatch 
SS_ContourMismatch 
SS_UnlinkRefMatch 
BC_DepthMismatch 
BC_BoundingBoxMismatch 
BC_BitmapMismatch 
BC_NoMatch 
BC_Match 
SS_RefPtMismatch 
SS_DiffContourCount 
SS_MismatchOpenClosed 
SS_DisorderedContours 
SS_DisorderedStart 
SS_DisorderedDirection 
SS_PointsMatch 
SS_ContourMatch 
SS_NoMatch 
SS_RefMismatch 
SS_WidthMismatch 
SS_VWidthMismatch 
SS_HintMismatch 
SS_HintMaskMismatch 
SS_LayerCntMismatch 
SS_ContourMismatch 
SS_UnlinkRefMatch 
BC_DepthMismatch 
BC_BoundingBoxMismatch 
BC_BitmapMismatch 
BC_NoMatch 
BC_Match 
SS_RefPtMismatch 

Definition at line 2404 of file splinefont.h.

◆ font_compare_flags

Enumerator
fcf_outlines 
fcf_exact 
fcf_warn_not_exact 
fcf_hinting 
fcf_hintmasks 
fcf_hmonlywithconflicts 
fcf_warn_not_ref_exact 
fcf_bitmaps 
fcf_names 
fcf_gpos 
fcf_gsub 
fcf_adddiff2sf1 
fcf_addmissing 
fcf_outlines 
fcf_exact 
fcf_warn_not_exact 
fcf_hinting 
fcf_hintmasks 
fcf_hmonlywithconflicts 
fcf_warn_not_ref_exact 
fcf_bitmaps 
fcf_names 
fcf_gpos 
fcf_gsub 
fcf_adddiff2sf1 
fcf_addmissing 
fcf_outlines 
fcf_exact 
fcf_warn_not_exact 
fcf_hinting 
fcf_hintmasks 
fcf_hmonlywithconflicts 
fcf_warn_not_ref_exact 
fcf_bitmaps 
fcf_names 
fcf_gpos 
fcf_gsub 
fcf_adddiff2sf1 
fcf_addmissing 

Definition at line 2430 of file splinefont.h.

◆ fontformat

enum fontformat
Enumerator
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 

Definition at line 1953 of file splinefont.h.

◆ fpossub_format

Enumerator
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 

Definition at line 608 of file splinefont.h.

◆ hinttypes

enum hinttypes
Enumerator
ht_unspecified 
ht_h 
ht_v 
ht_d 
ht_unspecified 
ht_h 
ht_v 
ht_d 
ht_unspecified 
ht_h 
ht_v 
ht_d 

Definition at line 1135 of file splinefont.h.

◆ layer_type

enum layer_type
Enumerator
ly_all 
ly_grid 
ly_back 
ly_fore 
ly_none 
ly_all 
ly_grid 
ly_back 
ly_fore 
ly_none 
ly_all 
ly_grid 
ly_back 
ly_fore 
ly_none 

Definition at line 1209 of file splinefont.h.

◆ linecap

enum linecap
Enumerator
lc_butt 
lc_round 
lc_square 
lc_inherited 
lc_butt 
lc_round 
lc_square 
lc_inherited 
lc_butt 
lc_round 
lc_square 
lc_inherited 

Definition at line 148 of file splinefont.h.

◆ linejoin

enum linejoin
Enumerator
lj_miter 
lj_round 
lj_bevel 
lj_inherited 
lj_miter 
lj_round 
lj_bevel 
lj_inherited 
lj_miter 
lj_round 
lj_bevel 
lj_inherited 

Definition at line 142 of file splinefont.h.

◆ linelist_flags

Enumerator
cvli_onscreen 
cvli_clipped 

Definition at line 985 of file splinefont.h.

◆ loadvalidation_state

Enumerator
lvs_bad_ps_fontname 
lvs_bad_glyph_table 
lvs_bad_cff_table 
lvs_bad_metrics_table 
lvs_bad_cmap_table 
lvs_bad_bitmaps_table 
lvs_bad_gx_table 
lvs_bad_ot_table 
lvs_bad_os2_version 
lvs_bad_sfnt_header 
lvs_bad_ps_fontname 
lvs_bad_glyph_table 
lvs_bad_cff_table 
lvs_bad_metrics_table 
lvs_bad_cmap_table 
lvs_bad_bitmaps_table 
lvs_bad_gx_table 
lvs_bad_ot_table 
lvs_bad_os2_version 
lvs_bad_sfnt_header 
lvs_bad_ps_fontname 
lvs_bad_glyph_table 
lvs_bad_cff_table 
lvs_bad_metrics_table 
lvs_bad_cmap_table 
lvs_bad_bitmaps_table 
lvs_bad_gx_table 
lvs_bad_ot_table 
lvs_bad_os2_version 
lvs_bad_sfnt_header 

Definition at line 1557 of file splinefont.h.

◆ openflags

enum openflags
Enumerator
of_fstypepermitted 
of_askcmap 
of_all_glyphs_in_ttc 
of_fontlint 
of_hidewindow 
of_all_tables 
of_fstypepermitted 
of_askcmap 
of_all_glyphs_in_ttc 
of_fontlint 
of_hidewindow 
of_fstypepermitted 
of_askcmap 
of_all_glyphs_in_ttc 
of_fontlint 
of_hidewindow 

Definition at line 1914 of file splinefont.h.

◆ otlookup_type

Enumerator
ot_undef 
gsub_start 
gsub_single 
gsub_multiple 
gsub_alternate 
gsub_ligature 
gsub_context 
gsub_contextchain 
gsub_reversecchain 
morx_indic 
morx_context 
morx_insert 
gpos_start 
gpos_single 
gpos_pair 
gpos_cursive 
gpos_mark2base 
gpos_mark2ligature 
gpos_mark2mark 
gpos_context 
gpos_contextchain 
kern_statemachine 
ot_undef 
gsub_start 
gsub_single 
gsub_multiple 
gsub_alternate 
gsub_ligature 
gsub_context 
gsub_contextchain 
gsub_reversecchain 
gpos_start 
gpos_single 
gpos_pair 
gpos_cursive 
gpos_mark2base 
gpos_mark2ligature 
gpos_mark2mark 
gpos_context 
gpos_contextchain 
ot_undef 
gsub_start 
gsub_single 
gsub_multiple 
gsub_alternate 
gsub_ligature 
gsub_context 
gsub_contextchain 
gsub_reversecchain 
gpos_start 
gpos_single 
gpos_pair 
gpos_cursive 
gpos_mark2base 
gpos_mark2ligature 
gpos_mark2mark 
gpos_context 
gpos_contextchain 

Definition at line 346 of file splinefont.h.

◆ otlookup_typemasks

Enumerator
gsub_single_mask 
gsub_multiple_mask 
gsub_alternate_mask 
gsub_ligature_mask 
gsub_context_mask 
gsub_contextchain_mask 
gsub_reversecchain_mask 
morx_indic_mask 
morx_context_mask 
morx_insert_mask 
gpos_single_mask 
gpos_pair_mask 
gpos_cursive_mask 
gpos_mark2base_mask 
gpos_mark2ligature_mask 
gpos_mark2mark_mask 
gpos_context_mask 
gpos_contextchain_mask 
kern_statemachine_mask 
gsub_single_mask 
gsub_multiple_mask 
gsub_alternate_mask 
gsub_ligature_mask 
gsub_context_mask 
gsub_contextchain_mask 
gsub_reversecchain_mask 
gpos_single_mask 
gpos_pair_mask 
gpos_cursive_mask 
gpos_mark2base_mask 
gpos_mark2ligature_mask 
gpos_mark2mark_mask 
gpos_context_mask 
gpos_contextchain_mask 
gsub_single_mask 
gsub_multiple_mask 
gsub_alternate_mask 
gsub_ligature_mask 
gsub_context_mask 
gsub_contextchain_mask 
gsub_reversecchain_mask 
gpos_single_mask 
gpos_pair_mask 
gpos_cursive_mask 
gpos_mark2base_mask 
gpos_mark2ligature_mask 
gpos_mark2mark_mask 
gpos_context_mask 
gpos_contextchain_mask 

Definition at line 379 of file splinefont.h.

◆ overlap_type

Enumerator
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 

Definition at line 232 of file splinefont.h.

◆ piecemeal_flags

Enumerator
pf_antialias 
pf_bbsized 
pf_ft_nohints 
pf_ft_recontext 
pf_antialias 
pf_bbsized 
pf_ft_nohints 
pf_antialias 
pf_bbsized 
pf_ft_nohints 

Definition at line 2165 of file splinefont.h.

◆ pointtype

enum pointtype
Enumerator
pt_curve 
pt_corner 
pt_tangent 
pt_hvcurve 
pt_curve 
pt_corner 
pt_tangent 
pt_hvcurve 
pt_curve 
pt_corner 
pt_tangent 
pt_hvcurve 

Definition at line 951 of file splinefont.h.

◆ PolyType

enum PolyType
Enumerator
Poly_Convex 
Poly_Concave 
Poly_PointOnEdge 
Poly_TooFewPoints 
Poly_Line 

Definition at line 228 of file splinefont.h.

◆ possub_type

Enumerator
pst_null 
pst_position 
pst_pair 
pst_substitution 
pst_alternate 
pst_multiple 
pst_ligature 
pst_lcaret 
pst_max 
pst_kerning 
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_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_vkerning 
pst_anchors 
pst_contextpos 
pst_contextsub 
pst_chainpos 
pst_chainsub 
pst_reversesub 
fpst_max 
pst_kernback 
pst_vkernback 

Definition at line 563 of file splinefont.h.

◆ privatedict_state

Enumerator
pds_odd 
pds_outoforder 
pds_toomany 
pds_tooclose 
pds_notintegral 
pds_toobig 
pds_shift 
pds_missingblue 
pds_badbluefuzz 
pds_badbluescale 
pds_badstdhw 
pds_badstdvw 
pds_badstemsnaph 
pds_badstemsnapv 
pds_stemsnapnostdh 
pds_stemsnapnostdv 
pds_badblueshift 
pds_odd 
pds_outoforder 
pds_toomany 
pds_tooclose 
pds_notintegral 
pds_toobig 
pds_shift 
pds_missingblue 
pds_badbluefuzz 
pds_badbluescale 
pds_badstdhw 
pds_badstdvw 
pds_badstemsnaph 
pds_badstemsnapv 
pds_stemsnapnostdh 
pds_stemsnapnostdv 
pds_badblueshift 
pds_odd 
pds_outoforder 
pds_toomany 
pds_tooclose 
pds_notintegral 
pds_toobig 
pds_shift 
pds_missingblue 
pds_badbluefuzz 
pds_badbluescale 
pds_badstdhw 
pds_badstdvw 
pds_badstemsnaph 
pds_badstemsnapv 
pds_stemsnapnostdh 
pds_stemsnapnostdv 
pds_badblueshift 

Definition at line 1255 of file splinefont.h.

◆ property_type

Enumerator
prt_string 
prt_atom 
prt_int 
prt_uint 
prt_property 
prt_string 
prt_atom 
prt_int 
prt_uint 
prt_property 
prt_string 
prt_atom 
prt_int 
prt_uint 
prt_property 

Definition at line 912 of file splinefont.h.

◆ ps_flags

enum ps_flags
Enumerator
ps_flag_nohintsubs 
ps_flag_noflex 
ps_flag_nohints 
ps_flag_restrict256 
ps_flag_afm 
ps_flag_pfm 
ps_flag_tfm 
ps_flag_round 
ps_flag_nocffsugar 
ps_flag_identitycidmap 
ps_flag_afmwithmarks 
ps_flag_noseac 
ps_flag_outputfontlog 
ps_flag_mask 
ps_flag_nohintsubs 
ps_flag_noflex 
ps_flag_nohints 
ps_flag_restrict256 
ps_flag_afm 
ps_flag_pfm 
ps_flag_tfm 
ps_flag_round 
ps_flag_nocffsugar 
ps_flag_identitycidmap 
ps_flag_afmwithmarks 
ps_flag_noseac 
ps_flag_outputfontlog 
ps_flag_mask 
ps_flag_nohintsubs 
ps_flag_noflex 
ps_flag_nohints 
ps_flag_restrict256 
ps_flag_afm 
ps_flag_pfm 
ps_flag_tfm 
ps_flag_round 
ps_flag_nocffsugar 
ps_flag_identitycidmap 
ps_flag_afmwithmarks 
ps_flag_noseac 
ps_flag_outputfontlog 
ps_flag_mask 

Definition at line 1916 of file splinefont.h.

◆ psstrokeflags

Enumerator
sf_handle_eraser 
sf_correctdir 
sf_clearbeforeinput 
sf_toobigwarn 
sf_removeoverlap 
sf_handle_eraser 
sf_correctdir 
sf_clearbeforeinput 
sf_toobigwarn 
sf_removeoverlap 
sf_handle_eraser 
sf_correctdir 
sf_clearbeforeinput 

Definition at line 2399 of file splinefont.h.

◆ pst_flags

enum pst_flags
Enumerator
pst_r2l 
pst_ignorebaseglyphs 
pst_ignoreligatures 
pst_ignorecombiningmarks 
pst_usemarkfilteringset 
pst_markclass 
pst_markset 
pst_r2l 
pst_ignorebaseglyphs 
pst_ignoreligatures 
pst_ignorecombiningmarks 
pst_r2l 
pst_ignorebaseglyphs 
pst_ignoreligatures 
pst_ignorecombiningmarks 

Definition at line 421 of file splinefont.h.

◆ serif_type

enum serif_type
Enumerator
srf_flat 
srf_simpleslant 
srf_complexslant 

Definition at line 243 of file splinefont.h.

◆ sfundotype

enum sfundotype
Enumerator
sfut_none 
sfut_lookups 
sfut_lookups_kerns 
sfut_fontinfo 
sfut_noop 

Definition at line 827 of file splinefont.h.

◆ si_type

enum si_type
Enumerator
si_std 
si_caligraphic 
si_poly 
si_centerline 
si_std 
si_caligraphic 
si_elipse 
si_centerline 
si_std 
si_caligraphic 
si_elipse 
si_centerline 

Definition at line 205 of file splinefont.h.

◆ simpify_flags

Enumerator
sf_cleanup 
sf_normal 
sf_ignoreslopes 
sf_ignoreextremum 
sf_smoothcurves 
sf_choosehv 
sf_forcelines 
sf_nearlyhvlines 
sf_mergelines 
sf_setstart2extremum 
sf_rmsingletonpoints 
sf_cleanup 
sf_normal 
sf_ignoreslopes 
sf_ignoreextremum 
sf_smoothcurves 
sf_choosehv 
sf_forcelines 
sf_nearlyhvlines 
sf_mergelines 
sf_setstart2extremum 
sf_rmsingletonpoints 
sf_cleanup 
sf_normal 
sf_ignoreslopes 
sf_ignoreextremum 
sf_smoothcurves 
sf_choosehv 
sf_forcelines 
sf_nearlyhvlines 
sf_mergelines 
sf_setstart2extremum 
sf_rmsingletonpoints 

Definition at line 235 of file splinefont.h.

◆ spreadMethod

Enumerator
sm_pad 
sm_reflect 
sm_repeat 
sm_pad 
sm_reflect 
sm_repeat 
sm_pad 
sm_reflect 
sm_repeat 

Definition at line 154 of file splinefont.h.

◆ style_flags

Enumerator
sf_bold 
sf_italic 
sf_underline 
sf_outline 
sf_shadow 
sf_condense 
sf_extend 
sf_bold 
sf_italic 
sf_underline 
sf_outline 
sf_shadow 
sf_condense 
sf_extend 
sf_bold 
sf_italic 
sf_underline 
sf_outline 
sf_shadow 
sf_condense 
sf_extend 

Definition at line 1871 of file splinefont.h.

◆ texdata_type

Enumerator
tex_unset 
tex_text 
tex_math 
tex_mathext 

Definition at line 1650 of file splinefont.h.

◆ transformPointMask

Enumerator
tpmask_dontFixControlPoints 
tpmask_operateOnSelectedBCP 

Definition at line 2150 of file splinefont.h.

◆ transformPointType

Enumerator
tpt_OnlySelected 
tpt_AllPoints 
tpt_OnlySelectedInterpCPs 

Definition at line 2145 of file splinefont.h.

◆ ttc_flags

enum ttc_flags
Enumerator
ttc_flag_trymerge 
ttc_flag_cff 

Definition at line 1913 of file splinefont.h.

◆ ttf_flags

enum ttf_flags
Enumerator
ttf_flag_shortps 
ttf_flag_nohints 
ttf_flag_applemode 
ttf_flag_pfed_comments 
ttf_flag_pfed_colors 
ttf_flag_otmode 
ttf_flag_glyphmap 
ttf_flag_TeXtable 
ttf_flag_ofm 
ttf_flag_oldkern 
ttf_flag_pfed_lookupnames 
ttf_flag_pfed_guides 
ttf_flag_pfed_layers 
ttf_flag_symbol 
ttf_flag_dummyDSIG 
ttf_native_kern 
ttf_flag_oldkernmappedonly 
ttf_flag_shortps 
ttf_flag_nohints 
ttf_flag_applemode 
ttf_flag_pfed_comments 
ttf_flag_pfed_colors 
ttf_flag_otmode 
ttf_flag_glyphmap 
ttf_flag_TeXtable 
ttf_flag_ofm 
ttf_flag_oldkern 
ttf_flag_brokensize 
ttf_flag_pfed_lookupnames 
ttf_flag_pfed_guides 
ttf_flag_pfed_layers 
ttf_flag_symbol 
ttf_flag_dummyDSIG 
ttf_flag_shortps 
ttf_flag_nohints 
ttf_flag_applemode 
ttf_flag_pfed_comments 
ttf_flag_pfed_colors 
ttf_flag_otmode 
ttf_flag_glyphmap 
ttf_flag_TeXtable 
ttf_flag_ofm 
ttf_flag_oldkern 
ttf_flag_brokensize 
ttf_flag_pfed_lookupnames 
ttf_flag_pfed_guides 
ttf_flag_pfed_layers 
ttf_flag_symbol 
ttf_flag_dummyDSIG 

Definition at line 1897 of file splinefont.h.

◆ ttfflags

enum ttfflags
Enumerator
ttf_onlystrikes 
ttf_onlyonestrike 
ttf_onlykerns 
ttf_onlynames 
ttf_onlystrikes 
ttf_onlyonestrike 
ttf_onlykerns 
ttf_onlynames 
ttf_onlystrikes 
ttf_onlyonestrike 
ttf_onlykerns 
ttf_onlynames 

Definition at line 2341 of file splinefont.h.

◆ ttfnames

enum ttfnames
Enumerator
ttf_copyright 
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 
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 
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 

Definition at line 1430 of file splinefont.h.

◆ undotype

enum undotype
Enumerator
ut_none 
ut_state 
ut_tstate 
ut_statehint 
ut_statename 
ut_statelookup 
ut_anchors 
ut_width 
ut_vwidth 
ut_lbearing 
ut_rbearing 
ut_possub 
ut_hints 
ut_bitmap 
ut_bitmapsel 
ut_composit 
ut_multiple 
ut_layers 
ut_noop 

Definition at line 817 of file splinefont.h.

◆ uni_interp

enum uni_interp
Enumerator
ui_unset 
ui_none 
ui_adobe 
ui_greek 
ui_japanese 
ui_trad_chinese 
ui_simp_chinese 
ui_korean 
ui_ams 
ui_unset 
ui_none 
ui_adobe 
ui_greek 
ui_japanese 
ui_trad_chinese 
ui_simp_chinese 
ui_korean 
ui_ams 
ui_unset 
ui_none 
ui_adobe 
ui_greek 
ui_japanese 
ui_trad_chinese 
ui_simp_chinese 
ui_korean 
ui_ams 

Definition at line 893 of file splinefont.h.

◆ val_type

enum val_type
Enumerator
v_int 
v_real 
v_str 
v_unicode 
v_lval 
v_arr 
v_arrfree 
v_int32pt 
v_int16pt 
v_int8pt 
v_void 

Definition at line 110 of file splinefont.h.

◆ validation_state

Enumerator
vs_unknown 
vs_known 
vs_opencontour 
vs_selfintersects 
vs_wrongdirection 
vs_flippedreferences 
vs_missingextrema 
vs_missingglyphnameingsub 
vs_toomanypoints 
vs_toomanyhints 
vs_badglyphname 
vs_maxp_toomanypoints 
vs_maxp_toomanypaths 
vs_maxp_toomanycomppoints 
vs_maxp_toomanycomppaths 
vs_maxp_instrtoolong 
vs_maxp_toomanyrefs 
vs_maxp_refstoodeep 
vs_pointstoofarapart 
vs_nonintegral 
vs_missinganchor 
vs_dupname 
vs_dupunicode 
vs_overlappedhints 
vs_last 
vs_maskps 
vs_maskcid 
vs_maskttf 
vs_maskfindproblems 
vs_unknown 
vs_known 
vs_opencontour 
vs_selfintersects 
vs_wrongdirection 
vs_flippedreferences 
vs_missingextrema 
vs_missingglyphnameingsub 
vs_toomanypoints 
vs_toomanyhints 
vs_badglyphname 
vs_maxp_toomanypoints 
vs_maxp_toomanypaths 
vs_maxp_toomanycomppoints 
vs_maxp_toomanycomppaths 
vs_maxp_instrtoolong 
vs_maxp_toomanyrefs 
vs_maxp_refstoodeep 
vs_pointstoofarapart 
vs_nonintegral 
vs_missinganchor 
vs_dupname 
vs_dupunicode 
vs_last 
vs_maskps 
vs_maskcid 
vs_maskttf 
vs_maskfindproblems 
vs_unknown 
vs_known 
vs_opencontour 
vs_selfintersects 
vs_wrongdirection 
vs_flippedreferences 
vs_missingextrema 
vs_missingglyphnameingsub 
vs_toomanypoints 
vs_toomanyhints 
vs_badglyphname 
vs_maxp_toomanypoints 
vs_maxp_toomanypaths 
vs_maxp_toomanycomppoints 
vs_maxp_toomanycomppaths 
vs_maxp_instrtoolong 
vs_maxp_toomanyrefs 
vs_maxp_refstoodeep 
vs_pointstoofarapart 
vs_nonintegral 
vs_missinganchor 
vs_dupname 
vs_dupunicode 
vs_last 
vs_maskps 
vs_maskcid 
vs_maskttf 
vs_maskfindproblems 

Definition at line 1277 of file splinefont.h.

Function Documentation

◆ _CubicSolve()

int _CubicSolve ( const Spline1D sp,
double  sought,
double  ts[3] 
)

Definition at line 1402 of file splineutil.c.

References acos(), cos(), d, delta, extended, h, i, pow(), RealNear(), sc, sp, sqrt(), t2, t3, and temp.

Referenced by CubicSolve().

◆ _FindOrMakeEncoding()

Encoding* _FindOrMakeEncoding ( const char *  name,
int  make_it 
)

Definition at line 227 of file encoding.c.

◆ _GetModifiers()

const char* _GetModifiers ( const char *  fontname,
const char *  familyname,
const char *  weight 
)

Definition at line 45 of file splinefont.c.

References familyname, fontname, fullmods, i, j, mods, NULL, pt, space, strchr, strcmp(), strncpy(), and strstr().

Referenced by GuessStyle(), and SFGetModifiers().

◆ _MacStyleCode()

uint16 _MacStyleCode ( const char *  styles,
SplineFont sf,
uint16 psstyle 
)

◆ _SFDRead()

SplineFont* _SFDRead ( char *  filename,
FILE sfd 
)

◆ _SplineCharAutoHint()

void _SplineCharAutoHint ( SplineChar sc,
int  layer,
BlueData bd,
struct glyphdata gd2,
int  gen_undoes 
)

Definition at line 2280 of file autohint.c.

◆ _WriteTTFFont()

int _WriteTTFFont ( FILE ttf,
SplineFont sf,
enum fontformat  format,
int32 bsizes,
enum bitmapformat  bf,
int  flags,
EncMap enc,
int  layer 
)

◆ _WriteType42SFNTS()

int _WriteType42SFNTS ( FILE type42,
SplineFont sf,
enum fontformat  format,
int  flags,
EncMap enc,
int  layer 
)

◆ _WriteWOFFFont()

◆ AlreadyMSSymbolArea()

int AlreadyMSSymbolArea ( SplineFont sf,
EncMap map 
)

Definition at line 3012 of file tottf.c.

References i, map, and NULL.

◆ AltUniAdd()

void AltUniAdd ( SplineChar sc,
int  uni 
)

Definition at line 299 of file splinechar.c.

References chunkalloc, altuni::fid, altuni::next, NULL, sc, altuni::unienc, and altuni::vs.

Referenced by AltUniFigure(), and SFDFixupRefs().

◆ AltUniAdd_DontCheckDups()

void AltUniAdd_DontCheckDups ( SplineChar sc,
int  uni 
)

Definition at line 317 of file splinechar.c.

References chunkalloc, altuni::fid, altuni::next, NULL, sc, altuni::unienc, and altuni::vs.

Referenced by AltUniFigure().

◆ AltUniFigure()

void AltUniFigure ( SplineFont sf,
EncMap map,
int  check_dups 
)

Definition at line 493 of file parsettf.c.

References AltUniAdd(), AltUniAdd_DontCheckDups(), custom, i, map, and UniFromEnc().

Referenced by SFD_GetFont().

◆ AltUniFree()

void AltUniFree ( struct altuni altuni)

Definition at line 2633 of file splineutil.c.

References chunkfree, altuni::next, and next.

◆ AnchorClassesFree()

void AnchorClassesFree ( AnchorClass kp)

Definition at line 2843 of file splineutil.c.

References chunkfree, free, anchorclass::name, anchorclass::next, and NULL.

Referenced by SFRemoveUnusedLookupSubTables().

◆ AnchorPointsFree()

◆ ASMFree()

◆ ASMFromFPST()

◆ ASMFromOpenTypeForms()

◆ BaseFree()

void BaseFree ( struct Base base)

Definition at line 3166 of file splineutil.c.

References base, BaseScriptFree(), chunkfree, free, and NULL.

◆ BaseLangCopy()

struct baselangextent* BaseLangCopy ( struct baselangextent extent)

Definition at line 3125 of file splineutil.c.

References BaseLangCopy(), chunkalloc, cur, extent, head, last, and NULL.

◆ BaseLangFree()

void BaseLangFree ( struct baselangextent extent)

Definition at line 3142 of file splineutil.c.

References BaseLangFree(), chunkfree, extent, next, and NULL.

◆ BaseScriptFree()

void BaseScriptFree ( struct basescript bs)

◆ BlueScaleFigure()

double BlueScaleFigure ( struct psdict private_,
float  bluevalues[],
float  otherblues[] 
)

Definition at line 127 of file dumppfa.c.

References BlueScaleFigureForced(), bluevalues, NULL, otherblues, and PSDictHasEntry().

Referenced by dumpcffprivate().

◆ BlueScaleFigureForced()

double BlueScaleFigureForced ( struct psdict private_,
float  bluevalues[],
float  otherblues[] 
)

Definition at line 89 of file dumppfa.c.

References bluevalues, FindMaxDiffOfBlues(), i, NULL, otherblues, PSDictHasEntry(), pt, and rint().

Referenced by BlueScaleFigure().

◆ BP_HVForce()

void BP_HVForce ( BasePoint vector)

Definition at line 909 of file splineutil2.c.

References bigreal, len, and sqrt().

Referenced by SPAdjustControl(), SplineCharDefaultNextCP(), and SplineCharDefaultPrevCP().

◆ BpTransform()

void BpTransform ( BasePoint to,
BasePoint from,
float  transform[6] 
)

◆ BrushCopy()

void BrushCopy ( struct brush into,
struct brush from,
float  transform[6] 
)

Definition at line 2777 of file splineutil.c.

References brush::gradient, GradientCopy(), brush::pattern, and PatternCopy().

Referenced by LayerToRefLayer().

◆ CheckExtremaForSingleBitErrors()

double CheckExtremaForSingleBitErrors ( const Spline1D sp,
double  t,
double  othert 
)

Definition at line 1630 of file splineutil.c.

References D_RE_Factor, diff, err, factor, and sp.

Referenced by _SplineFindExtrema(), AddSpline(), SplineAddExtrema(), and SplineFindExtrema().

◆ CID2ChrsSubrs2()

◆ CIDLayerFindBounds()

◆ CIDOneWidth()

int CIDOneWidth ( SplineFont sf)

◆ ClassesMatch()

int ClassesMatch ( int  cnt1,
char **  classes1,
int  cnt2,
char **  classes2 
)

Definition at line 34 of file asmfpst.c.

References i, and strcmp().

Referenced by dumpg___ContextChainClass(), and FPST2Tree().

◆ CubicSolve()

int CubicSolve ( const Spline1D sp,
double  sought,
double  ts[3] 
)

Definition at line 1480 of file splineutil.c.

References _CubicSolve(), extended, i, j, sp, and t.

Referenced by ClosestSplineSolve(), comparespline(), SplineSolve(), and SplineSolveFull().

◆ CvtPsStem3()

int CvtPsStem3 ( struct growbuf gb,
SplineChar scs[16],
int  instance_count,
int  ishstem,
int  round 
)

◆ DefaultLangTagInOneScriptList()

int DefaultLangTagInOneScriptList ( struct scriptlanglist sl)

◆ DefaultNameListForNewFonts()

NameList* DefaultNameListForNewFonts ( void  )

Definition at line 151 of file namelist.c.

◆ DefaultTTFEnglishNames()

◆ DeviceTableFree()

void DeviceTableFree ( DeviceTable adjust)

◆ DStemInfoFree()

void DStemInfoFree ( DStemInfo h)

Definition at line 2454 of file splineutil.c.

References chunkfree, h, n, hintinstance::next, and NULL.

Referenced by MergeDStemInfo().

◆ DStemInfosFree()

void DStemInfosFree ( DStemInfo h)

Definition at line 2464 of file splineutil.c.

References chunkfree, h, n, hintinstance::next, and NULL.

Referenced by _SplineCharAutoHint(), SCClearContents(), and UHintListFree().

◆ EncFromUni()

int32 EncFromUni ( int32  uni,
Encoding encname 
)

Definition at line 749 of file encoding.c.

◆ EncMap1to1()

EncMap* EncMap1to1 ( int  enccount)

Definition at line 3077 of file splineutil.c.

References custom, EncMapNew(), i, map, and NULL.

Referenced by _FontViewBaseCreate(), fea_cid_validate(), ff_do_cff(), and SFD_GetFont().

◆ EncMapFree()

◆ EncMapFromEncoding()

EncMap* EncMapFromEncoding ( SplineFont sf,
Encoding enc 
)

Definition at line 490 of file encoding.c.

◆ EncMapNew()

EncMap* EncMapNew ( int  encmax,
int  backmax,
Encoding enc 
)

Definition at line 3055 of file splineutil.c.

References chunkalloc, enc, free, malloc, map, memset(), and NULL.

Referenced by readcffenc(), readttfencodings(), readttfpostnames(), SFD_GetFont(), and SFFillFromTTF().

◆ equalWithTolerence()

bool equalWithTolerence ( float  a,
float  b,
float  tolerence 
)

It is like a == b, but also true if a is within tolerence of b.

Definition at line 1185 of file splinesave.c.

References a, and b.

Referenced by DumpHints().

◆ FeatureListCopy()

FeatureScriptLangList* FeatureListCopy ( FeatureScriptLangList fl)

Definition at line 667 of file lookups.c.

◆ FeatureScriptLangListFree()

void FeatureScriptLangListFree ( FeatureScriptLangList fl)

◆ filechecksum()

int32 filechecksum ( FILE file)

Definition at line 4939 of file tottf.c.

References chunk(), feof, ferror, and getuint32().

Referenced by dumpttf(), initTables(), and ttc_dump().

◆ FindBlues()

void FindBlues ( SplineFont sf,
int  layer,
float  blues[14],
float  otherblues[10] 
)

◆ FindHStems()

void FindHStems ( SplineFont sf,
float  snaps[12],
float  cnt[12] 
)

Definition at line 2520 of file autohint.c.

References cnt, and FigureStems().

Referenced by dumpcffprivate().

◆ FindMacFeature()

MacFeat* FindMacFeature ( SplineFont sf,
int  feat,
MacFeat **  secondary 
)

Definition at line 1028 of file macenc.c.

References default_mac_feature_map, feat, macfeat::feature, macfeat::next, and NULL.

Referenced by aat_dumpfeat(), and featureFromTag().

◆ FindMacSetting()

struct macsetting* FindMacSetting ( SplineFont sf,
int  feat,
int  set,
struct macsetting **  secondary 
)

◆ FindOrMakeEncoding()

Encoding* FindOrMakeEncoding ( const char *  name)

Definition at line 433 of file encoding.c.

◆ findotffeatname()

struct otffeatname* findotffeatname ( uint32  tag,
SplineFont sf 
)

Definition at line 2915 of file tottfgpos.c.

References fc-lang::fn, and NULL.

Referenced by dumpg___info().

◆ FindUnicharName()

const char* FindUnicharName ( void  )

Definition at line 126 of file encoding.c.

◆ FindVStems()

void FindVStems ( SplineFont sf,
float  snaps[12],
float  cnt[12] 
)

Definition at line 2524 of file autohint.c.

References cnt, and FigureStems().

Referenced by dumpcffprivate().