@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 ​
| Property | Modifier | Type | Default value | Defined in |
|---|---|---|---|---|
zeroMarkWidths | static | string | 'AFTER_GPOS' | src/open-type/shapers/default-shaper.ts:32 |
Methods ​
assignFeatures() ​
protectedstaticassignFeatures<T>(_plan,glyphs):void
Defined in: src/open-type/shapers/default-shaper.ts:73
Type Parameters ​
| Type Parameter |
|---|
T |
Parameters ​
| Parameter | Type |
|---|---|
_plan | ShapingPlan<T> |
glyphs | GlyphInfo<T>[] |
Returns ​
void
plan() ​
staticplan<T>(plan,glyphs,features):void
Defined in: src/open-type/shapers/default-shaper.ts:33
Type Parameters ​
| Type Parameter |
|---|
T |
Parameters ​
| Parameter | Type |
|---|---|
plan | ShapingPlan<T> |
glyphs | GlyphInfo<T>[] |
features | FeatureFlags |
Returns ​
void
planFeatures() ​
staticplanFeatures<T>(_plan):void
Defined in: src/open-type/shapers/default-shaper.ts:61
Type Parameters ​
| Type Parameter |
|---|
T |
Parameters ​
| Parameter | Type |
|---|---|
_plan | ShapingPlan<T> |
Returns ​
void
planPostprocessing() ​
staticplanPostprocessing<T>(plan,userFeatures):void
Defined in: src/open-type/shapers/default-shaper.ts:65
Type Parameters ​
| Type Parameter |
|---|
T |
Parameters ​
| Parameter | Type |
|---|---|
plan | ShapingPlan<T> |
userFeatures | FeatureFlags |
Returns ​
void
planPreprocessing() ​
staticplanPreprocessing<T>(plan):void
Defined in: src/open-type/shapers/default-shaper.ts:54
Type Parameters ​
| Type Parameter |
|---|
T |
Parameters ​
| Parameter | Type |
|---|---|
plan | ShapingPlan<T> |
Returns ​
void