|
Krita Source Code Documentation
|
#include <KoOpenTypeFeatureInfoFactory.h>
Public Types | |
| enum | OpenTypeTable { GSUB1 , GSUB2 , GSUB3 , GSUB4 , GSUB5 , GSUB6 , GSUB7 , GSUB8 , GPOS1 , GPOS2 , GPOS3 , GPOS4 , GPOS5 , GPOS6 , GPOS7 , GPOS8 , GPOS9 } |
Public Member Functions | |
| KoOpenTypeFeatureInfo () | |
| KoOpenTypeFeatureInfo (const QLatin1String &tag, const QString &name, const QString &description, const QVector< OpenTypeTable > &tables, const bool glyphPalette=false, const int maxValue=1) | |
Public Attributes | |
| QString | description |
| Description of the feature. | |
| bool | glyphPalette {false} |
| Whether the feature should be visible in the glyph palette. | |
| int | maxValue |
| The maximum value possible, this is by default 1 (on), but for alternate substitution(gsub 3), it can have more inside the font. | |
| QString | name |
| User-friendly name. | |
| QStringList | namedParameters |
| QString | sample |
| Sample of the feature, if any. Only used by CVXX features and retrieved from the font. | |
| QVector< OpenTypeTable > | tables |
| Named parameters. Only used by CVXX features and retrieved from the font. | |
| QLatin1String | tag |
| 4 char tag. | |
Definition at line 16 of file KoOpenTypeFeatureInfoFactory.h.
| Enumerator | |
|---|---|
| GSUB1 | Single substitution. |
| GSUB2 | Multiple substitution (1 -> 2) |
| GSUB3 | Alternate substitution. |
| GSUB4 | Ligature substitution. |
| GSUB5 | Contextual substitution. |
| GSUB6 | Chained Contextual substitution. |
| GSUB7 | Extension substitution. |
| GSUB8 | Reverse Chained Contextual substitution. |
| GPOS1 | Single position adjustment. |
| GPOS2 | Pair position adjustment. |
| GPOS3 | Cursive attachment. |
| GPOS4 | Mark-to-base adjustment. |
| GPOS5 | Mark-to-ligature adjustment. |
| GPOS6 | Mark-to-mark adjustment. |
| GPOS7 | Contextual positioning. |
| GPOS8 | Chained-Contextual positioning. |
| GPOS9 | Extension positioning. |
Definition at line 18 of file KoOpenTypeFeatureInfoFactory.h.
|
inline |
Definition at line 37 of file KoOpenTypeFeatureInfoFactory.h.
|
inline |
Definition at line 38 of file KoOpenTypeFeatureInfoFactory.h.
| QString KoOpenTypeFeatureInfo::description |
Description of the feature.
Definition at line 57 of file KoOpenTypeFeatureInfoFactory.h.
| bool KoOpenTypeFeatureInfo::glyphPalette {false} |
Whether the feature should be visible in the glyph palette.
Definition at line 65 of file KoOpenTypeFeatureInfoFactory.h.
| int KoOpenTypeFeatureInfo::maxValue |
The maximum value possible, this is by default 1 (on), but for alternate substitution(gsub 3), it can have more inside the font.
Definition at line 67 of file KoOpenTypeFeatureInfoFactory.h.
| QString KoOpenTypeFeatureInfo::name |
User-friendly name.
Definition at line 55 of file KoOpenTypeFeatureInfoFactory.h.
| QStringList KoOpenTypeFeatureInfo::namedParameters |
Definition at line 61 of file KoOpenTypeFeatureInfoFactory.h.
| QString KoOpenTypeFeatureInfo::sample |
Sample of the feature, if any. Only used by CVXX features and retrieved from the font.
Definition at line 59 of file KoOpenTypeFeatureInfoFactory.h.
| QVector<OpenTypeTable> KoOpenTypeFeatureInfo::tables |
Named parameters. Only used by CVXX features and retrieved from the font.
Which table type(s) are recommended for this feature in the official registry.
Definition at line 63 of file KoOpenTypeFeatureInfoFactory.h.
| QLatin1String KoOpenTypeFeatureInfo::tag |
4 char tag.
Definition at line 53 of file KoOpenTypeFeatureInfoFactory.h.