Meet us at PRINT 19. Chicago, IL. Oct. 3 - 5.

OpenTypeFeatureTag Enumeration

Contains supported Open Type features. For more information about the features, refer to definitions and implementations.

Namespace: Aurigma.GraphicsMill.AdvancedDrawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public enum OpenTypeFeatureTag

Members

Member name Description
Aalt

Access All Alternates

Abvf

Above-base Forms

Abvm

Above-base Mark Positioning

Abvs

Above-base Substitutions

Afrc

Alternative Fractions

Akhn

Akhand

Blwf

Below-base Forms

Blwm

Below-base Mark Positioning

Blws

Below-base Substitutions

C2pc

Petite Capitals From Capitals

C2sc

Small Capitals From Capitals

Calt

Contextual Alternates

Case

Case-Sensitive Forms

Ccmp

Glyph Composition/Decomposition. By default, this feature is enabled.

Cfar

Conjunct Form After Ro

Cjct

Conjunct Forms

Clig

Contextual Ligatures. By default, this feature is enabled.

Cpct

Centered CJK Punctuation

Cpsp

Capital Spacing

Cswh

Contextual Swash

Curs

Cursive Positioning. By default, this feature is enabled.

Dist

Distances

Dlig

Discretionary Ligatures

Dnom

Denominators

Dtls

Dotless Forms

Expt

Expert Forms

Falt

Final Glyph on Line Alternates

Fin2

Terminal Form #2

Fin3

Terminal Form #3

Fina

Terminal Forms

Flac

Flattened ascent forms

Frac

Fractions

Fwid

Full Widths

Half

Half Forms

Haln

Halant Forms

Halt

Alternate Half Widths

Hist

Historical Forms

Hkna

Horizontal Kana Alternates

Hlig

Historical Ligatures

Hngl

Hangul

Hojo

Hojo Kanji Forms

Hwid

Half Widths

Init

Initial Forms

Isol

Isolated Forms

Ital

Italics

Jalt

Justification Alternates

Jp04

JIS2004 Forms

Jp78

JIS78 Forms

Jp83

JIS83 Forms

Jp90

JIS90 Forms

Kern

Kerning. By default, this feature is enabled.

Lfbd

Left Bounds

Liga

Standard Ligatures. By default, this feature is enabled.

Ljmo

Leading Jamo Forms

Lnum

Lining Figures

Locl

Localized Forms. By default, this feature is enabled.

Ltra

Left-to-right glyph alternates

Ltrm

Left-to-right mirrored forms

Mark

Mark Positioning. By default, this feature is enabled.

Med2

Medial Forms #2

Medi

Medial Forms

Mgrk

Mathematical Greek

Mkmk

Mark to Mark Positioning. By default, this feature is enabled.

Mset

Mark Positioning via Substitution

Nalt

Alternate Annotation Forms

Nlck

NLC Kanji Forms

Nukt

Nukta Forms

Numr

Numerators

Onum

Oldstyle Figures

Opbd

Optical Bounds

Ordn

Ordinals

Ornm

Ornaments

Palt

Proportional Alternate Widths

Pcap

Petite Capitals

Pkna

Proportional Kana

Pnum

Proportional Figures

Pref

Pre-base Forms

Pres

Pre-base Substitutions

Pstf

Post-base Forms

Psts

Post-base Substitutions

Pwid

Proportional Widths

Qwid

Quarter Widths

Rand

Randomize

Rclt

Required Contextual Alternates. By default, this feature is enabled.

Rkrf

Rakar Forms

Rlig

Required Ligatures. By default, this feature is enabled.

Rphf

Reph Form

Rtbd

Right Bounds

Rtla

Right-to-left alternates

Rtlm

Right-to-left mirrored forms

Ruby

Ruby Notation Forms

Rvrn

Required Variation Alternates

Salt

Stylistic Alternates

Sinf

Scientific Inferiors

Size

Optical size

Smcp

Small Capitals

Smpl

Simplified Forms

Ss01

Stylistic Set 1

Ss02

Stylistic Set 2

Ss03

Stylistic Set 3

Ss04

Stylistic Set 4

Ss05

Stylistic Set 5

Ss06

Stylistic Set 6

Ss07

Stylistic Set 7

Ss08

Stylistic Set 8

Ss09

Stylistic Set 9

Ss10

Stylistic Set 10

Ss11

Stylistic Set 11

Ss12

Stylistic Set 12

Ss13

Stylistic Set 13

Ss14

Stylistic Set 14

Ss15

Stylistic Set 15

Ss16

Stylistic Set 16

Ss17

Stylistic Set 17

Ss18

Stylistic Set 18

Ss19

Stylistic Set 19

Ss20

Stylistic Set 20

Ssty

Math script style alternates

Stch

Stretching Glyph Decomposition

Subs

Subscript

Sups

Superscript

Swsh

Swash

Titl

Titling

Tjmo

Trailing Jamo Forms

Tnam

Traditional Name Forms

Tnum

Tabular Figures

Trad

Traditional Forms

Twid

Third Widths

Unic

Unicase

Valt

Alternate Vertical Metrics

Vatu

Vattu Variants

Vert

Vertical Alternates

Vhal

Alternate Vertical Half Metrics

Vjmo

Vowel Jamo Forms

Vkna

Vertical Kana Alternates

Vkrn

Vertical Kerning

Vpal

Proportional Alternate Vertical Metrics

Vrt2

Vertical Alternates and Rotation

Vrtr

Vertical Alternates for Rotation

Zero

Slashed Zero

Examples

C#
using (var bitmap = new Bitmap(200, 40, PixelFormat.Format24bppRgb, RgbColor.White))
using (var graphics = bitmap.GetAdvancedGraphics())
{
    var plainText = new PlainText("OpenType Small Caps", FontRegistry.Installed.CreateFont("Lyon Text", "Regular", 18, graphics.DpiX, graphics.DpiX),
                                  new System.Drawing.PointF(10, 25));

    plainText.OpenTypeFeatures.Add(new OpenTypeFeature(OpenTypeFeatureTag.Smcp));
    graphics.DrawText(plainText);

    bitmap.Save(@"Images\Output\DrawOpenTypeHash.png");
}

See Also

Reference