@pdfa-lab/fontkit / IndicShaper
Class: IndicShaper ​
Defined in: src/open-type/shapers/indic-shaper.ts:65
The IndicShaper supports indic scripts e.g. Devanagari, Kannada, etc. Based on code from Harfbuzz: https://github.com/behdad/harfbuzz/blob/master/src/hb-ot-shape-complex-indic.cc
Extends ​
Constructors ​
Constructor ​
new IndicShaper():
IndicShaper
Returns ​
IndicShaper
Inherited from ​
Properties ​
| Property | Modifier | Type | Default value | Overrides | Defined in |
|---|---|---|---|---|---|
zeroMarkWidths | static | string | 'NONE' | DefaultShaper.zeroMarkWidths | src/open-type/shapers/indic-shaper.ts:66 |
Methods ​
assignFeatures() ​
staticassignFeatures<T>(plan,glyphs):void
Defined in: src/open-type/shapers/indic-shaper.ts:116
Type Parameters ​
| Type Parameter | Default type |
|---|---|
T | IndicInfo |
Parameters ​
| Parameter | Type |
|---|---|
plan | ShapingPlan<T> |
glyphs | GlyphInfo<T>[] |
Returns ​
void
Overrides ​
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
Inherited from ​
planFeatures() ​
staticplanFeatures<IndicInfo>(plan):void
Defined in: src/open-type/shapers/indic-shaper.ts:67
Type Parameters ​
| Type Parameter |
|---|
IndicInfo |
Parameters ​
| Parameter | Type |
|---|---|
plan | ShapingPlan<IndicInfo> |
Returns ​
void
Overrides ​
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
Inherited from ​
DefaultShaper.planPostprocessing
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