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)  

splinechar.c File Reference
#include "fontforgevw.h"
#include <math.h>
#include <locale.h>
#include <ustring.h>
#include <utype.h>
#include "ttf.h"
Include dependency graph for splinechar.c:

Go to the source code of this file.

Functions

void SCClearRounds (SplineChar *sc, int layer)
 
void SCClearLayer (SplineChar *sc, int layer)
 
void SCClearContents (SplineChar *sc, int layer)
 
void SplinePointRound (SplinePoint *sp, double factor)
 
void SplineSetsRound2Int (SplineSet *spl, double factor, int inspiro, int onlysel)
 
void SCOrderAP (SplineChar *sc)
 
static void SCUpdateNothing (SplineChar *sc)
 
static void SCHintsChng (SplineChar *sc)
 
static void _SCChngNoUpdate (SplineChar *sc, int layer, int changed)
 
static void SCChngNoUpdate (SplineChar *sc, int layer)
 
static void SCB_MoreLayers (SplineChar *sc, Layer *old)
 
void FF_SetSCInterface (struct sc_interface *sci)
 
static void CVChngNoUpdate (CharViewBase *cv)
 
static void _CVChngNoUpdate (CharViewBase *cv, int changed)
 
static void CVGlphRenameFixup (SplineFont *sf, char *oldname, char *newname)
 
static void CV__LayerPaletteCheck (SplineFont *sf)
 
void FF_SetCVInterface (struct cv_interface *cvi)
 

Variables

int adjustwidth = 1
 
int adjustlbearing = 1
 
int allow_utf8_glyphnames = 0
 
int clear_tt_instructions_when_needed = 1
 
static struct sc_interface noui_sc
 
struct sc_interfacesc_interface = &noui_sc
 
static struct cv_interface noui_cv
 
struct cv_interfacecv_interface = &noui_cv
 

Function Documentation

◆ _CVChngNoUpdate()

static void _CVChngNoUpdate ( CharViewBase cv,
int  changed 
)
static

Definition at line 225 of file splinechar.c.

◆ _SCChngNoUpdate()

static void _SCChngNoUpdate ( SplineChar sc,
int  layer,
int  changed 
)
static

Definition at line 194 of file splinechar.c.

Referenced by SCChngNoUpdate().

◆ CV__LayerPaletteCheck()

static void CV__LayerPaletteCheck ( SplineFont sf)
static

Definition at line 231 of file splinechar.c.

◆ CVChngNoUpdate()

static void CVChngNoUpdate ( CharViewBase cv)
static

Definition at line 222 of file splinechar.c.

◆ CVGlphRenameFixup()

static void CVGlphRenameFixup ( SplineFont sf,
char *  oldname,
char *  newname 
)
static

Definition at line 228 of file splinechar.c.

◆ FF_SetCVInterface()

void FF_SetCVInterface ( struct cv_interface cvi)

Definition at line 243 of file splinechar.c.

◆ FF_SetSCInterface()

void FF_SetSCInterface ( struct sc_interface sci)

Definition at line 218 of file splinechar.c.

◆ SCB_MoreLayers()

static void SCB_MoreLayers ( SplineChar sc,
Layer old 
)
static

Definition at line 201 of file splinechar.c.

◆ SCChngNoUpdate()

static void SCChngNoUpdate ( SplineChar sc,
int  layer 
)
static

Definition at line 197 of file splinechar.c.

References _SCChngNoUpdate(), and sc.

◆ SCClearContents()

◆ SCClearLayer()

void SCClearLayer ( SplineChar sc,
int  layer 
)

Definition at line 59 of file splinechar.c.

References ImageListsFree(), refchar::next, next, NULL, sc, SCRemoveDependent(), and SplinePointListsFree().

Referenced by SCClearContents().

◆ SCClearRounds()

void SCClearRounds ( SplineChar sc,
int  layer 
)

Definition at line 42 of file splinechar.c.

References splinepointlist::first, splinepointlist::next, NULL, sc, and sp.

◆ SCHintsChng()

static void SCHintsChng ( SplineChar sc)
static

Definition at line 186 of file splinechar.c.

References sc.

◆ SCOrderAP()

void SCOrderAP ( SplineChar sc)

Definition at line 150 of file splinechar.c.

References ap, cnt, free, galloc(), i, j, lc(), next, NULL, out, and sc.

Referenced by SFFillFromTTF().

◆ SCUpdateNothing()

static void SCUpdateNothing ( SplineChar sc)
static

Definition at line 183 of file splinechar.c.

◆ SplinePointRound()

void SplinePointRound ( SplinePoint sp,
double  factor 
)

Definition at line 107 of file splinechar.c.

References factor, NULL, rint(), and sp.

Referenced by SplineSetsRound2Int().

◆ SplineSetsRound2Int()

void SplineSetsRound2Int ( SplineSet spl,
double  factor,
int  inspiro,
int  onlysel 
)

Variable Documentation

◆ adjustlbearing

int adjustlbearing = 1

Definition at line 38 of file splinechar.c.

◆ adjustwidth

int adjustwidth = 1

Definition at line 37 of file splinechar.c.

◆ allow_utf8_glyphnames

int allow_utf8_glyphnames = 0

Definition at line 39 of file splinechar.c.

◆ clear_tt_instructions_when_needed

int clear_tt_instructions_when_needed = 1

Definition at line 40 of file splinechar.c.

◆ cv_interface

Definition at line 241 of file splinechar.c.

◆ noui_cv

struct cv_interface noui_cv
static
Initial value:
= {
}
static void CV__LayerPaletteCheck(SplineFont *sf)
Definition: splinechar.c:231
static void CVChngNoUpdate(CharViewBase *cv)
Definition: splinechar.c:222
static void _CVChngNoUpdate(CharViewBase *cv, int changed)
Definition: splinechar.c:225
static void CVGlphRenameFixup(SplineFont *sf, char *oldname, char *newname)
Definition: splinechar.c:228

Definition at line 231 of file splinechar.c.

◆ noui_sc

struct sc_interface noui_sc
static
Initial value:
= {
}
static void SCHintsChng(SplineChar *sc)
Definition: splinechar.c:186
static void SCChngNoUpdate(SplineChar *sc, int layer)
Definition: splinechar.c:197
static void _SCChngNoUpdate(SplineChar *sc, int layer, int changed)
Definition: splinechar.c:194
static void SCUpdateNothing(SplineChar *sc)
Definition: splinechar.c:183
static void SCB_MoreLayers(SplineChar *sc, Layer *old)
Definition: splinechar.c:201

Definition at line 201 of file splinechar.c.

◆ sc_interface

Definition at line 216 of file splinechar.c.