Skip to content

@pdfa-lab/fontkit / DefaultShaper

Class: DefaultShaper ​

Defined in: src/open-type/shapers/default-shaper.ts:31

Extended by ​

Constructors ​

Constructor ​

new DefaultShaper(): DefaultShaper

Returns ​

DefaultShaper

Properties ​

PropertyModifierTypeDefault valueDefined in
zeroMarkWidthsstaticstring'AFTER_GPOS'src/open-type/shapers/default-shaper.ts:32

Methods ​

assignFeatures() ​

protected static assignFeatures<T>(_plan, glyphs): void

Defined in: src/open-type/shapers/default-shaper.ts:73

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
_planShapingPlan<T>
glyphsGlyphInfo<T>[]

Returns ​

void


plan() ​

static plan<T>(plan, glyphs, features): void

Defined in: src/open-type/shapers/default-shaper.ts:33

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
planShapingPlan<T>
glyphsGlyphInfo<T>[]
featuresFeatureFlags

Returns ​

void


planFeatures() ​

static planFeatures<T>(_plan): void

Defined in: src/open-type/shapers/default-shaper.ts:61

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
_planShapingPlan<T>

Returns ​

void


planPostprocessing() ​

static planPostprocessing<T>(plan, userFeatures): void

Defined in: src/open-type/shapers/default-shaper.ts:65

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
planShapingPlan<T>
userFeaturesFeatureFlags

Returns ​

void


planPreprocessing() ​

static planPreprocessing<T>(plan): void

Defined in: src/open-type/shapers/default-shaper.ts:54

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
planShapingPlan<T>

Returns ​

void