PeachDrawing.Text
PeachDrawing.Text.Shaping Namespace
| Classes | |
|---|---|
| GlyphRun | The result of shaping one run of text: its glyphs, in the order they are drawn, and the face they belong to. |
| Shaper | Turns text into glyphs: the mapping of characters to glyphs through the font’s cmap, the substitutions of its GSUB table, and the positioning of its GPOS table. |
| Structs | |
|---|---|
| FeatureSetting | One OpenType feature a caller asks for by its tag, in the way CSS font-feature-settings does. |
| PlacedGlyph | One glyph a shaper produced, with where it came from in the text and how far it is nudged from where its advance would put it. |
| ShapeSettings | Everything a caller can ask of the shaper for one run of text. |
| Enums | |
|---|---|
| CapsMode | The caps feature to apply when shaping (CSS font-variant-caps), of which at most one applies. |
| EastAsianSet | The East Asian features to apply when shaping (CSS font-variant-east-asian). |
| LigatureSet | The ligature features to apply when shaping (CSS font-variant-ligatures). |
| NumeralSet | The numeral features to apply when shaping (CSS font-variant-numeric). |
| SubSuperMode | The subscript or superscript feature to apply when shaping (CSS font-variant-position), of which at most one applies. |