THotPDF.ShapingFeatures Property

THotPDF API reference

 

THotPDF Methoden  Auto Shaping  GSUB

Steuert die optionale (Opt-in) erzeugerseitige Gestaltungs-, Positionierungs-, Lokalisierungsform- und Skript-Vorverarbeitungspipeline von HotPDF; die standardmäßige leere Menge hält die Ausgabe byte-stabil; jedes Flag aktiviert einen bestimmten GSUB-, GPOS- oder Skript-Pfad, wenn eine Unicode-Schriftart und ein Textlauf dies erfordern

 

Delphi syntax

property ShapingFeatures: THPDFShapingFeatures read FShapingFeatures write FShapingFeatures;

type THPDFShapingFeature = (sfArabicGSUB, sfStandardLigatures, sfContextualLigatures, sfStylisticAlternates, sfIndicShaping, sfContextualAlternates, sfKerning, sfMarkPositioning, sfTibetanShaping, sfMongolianShaping, sfIndicGSUB, sfLocalizedForms, sfVerticalKerning, sfThaiLaoReorder, sfHebrewReorder, sfJavaneseShaping, sfMarkToLigature, sfCursiveAttachment, sfDiscretionaryLigatures, sfHistoricalLigatures, sfSmallCaps, sfCapsToSmallCaps, sfOldstyleFigures, sfLiningFigures, sfSuperscripts, sfSubscripts, sfOrdinals, sfFractions, sfTaiVietReorder, sfMeeteiMayekShaping, sfDistancePositioning, sfKhmerShaping, sfMyanmarShaping, sfVerticalAlternates, sfCaseSensitiveForms, sfSlashedZero, sfProportionalFigures, sfTabularFigures, sfScientificInferiors, sfNumerators, sfDenominators);

 

Covered APIs

APIVerwendungshinweise
sfArabicGSUBAktiviert native arabische kontextuelle GSUB-Gestaltung durch Anwendung der init-, medi-, fina-, isol-, rlig-, calt- und rclt-Lookups der registrierten Schriftart und gibt dann bei Bedarf die resultierenden Glyphen-IDs über synthetische Codepunkte aus
sfStandardLigaturesWendet standardmäßige lateinische Ligatursubstitutionen wie fi, fl, ffi und ffl an, wenn die Schriftart das liga-Feature bereitstellt
sfContextualLigaturesFügt kontextuelle Ligatursubstitution durch clig nach dem Standardligaturdurchlauf hinzu
sfStylisticAlternatesReserviert das Gestaltungsflag für aufrufergesteuerte stilistische Alternativ-Workflows, die explizit alternative Glyphen abfragen
sfIndicShapingRuns the conservative Indic syllable reorder path before text output without forcing full GSUB feature application
sfContextualAlternatesWendet erforderliche kontextuelle Alternativen über den rclt-fähigen GSUB kontextuellen Lookup-Pfad an
sfKerningAktiviert GPOS Paar-Kerning-Anpassungen während der Unicode-Textausgabe von links nach rechts
sfMarkPositioningAktiviert GPOS-Mark-to-Base- und Mark-to-Mark-Offsets für kombinierende Zeichen
sfTibetanShapingAktiviert tibetische GSUB-Gestaltung und synthetische Codepunktausgabe für gestaltete tibetische Glyphen-IDs
sfMongolianShapingAktiviert mongolische Positionsformgestaltung durch Verbindungsanalyse und GSUB-Lookups der Schriftart
sfIndicGSUBRuns the Indic reorder and GSUB feature chain, then emits shaped glyph IDs through synthetic codepoints
sfLocalizedFormsWendet GSUB locl-Lokalisierungsformsubstitutions unter dem aktiven Skript und der aktiven Sprache an
sfVerticalKerningAktiviert die vertikalen GPOS vkrn- und vpal-Vorschubanpassungen im vertikalen Textausgabepfad
sfThaiLaoReorderAktiviert Thai/Lao SARA AM-Zerlegung und Tonzeichenordnung vor der cmap-zu-GID-Zuordnung
sfHebrewReorderOrdnet hebräische Niqqud und Punkte nach kanonischer Kombinationsklasse vor der RTL-Ausgabe und Zeichenplatzierung
sfJavaneseShapingAktiviert die javanische Vokalzeichenumordnung vor der Glyphenzuordnung
sfMarkToLigatureAktiviert GPOS-Mark-to-Ligature-Platzierung für kombinierende Zeichen, die an Ligaturkomponenten angehängt sind
sfCursiveAttachmentAktiviert die GPOS cursive Einstiegs-/Ausstiegsankerausrichtung für Glyphenläufe, die durch die nativen Arabisch-GSUB-Lookups der Schriftart gestaltet wurden
sfDiscretionaryLigaturesApplies discretionary ligature substitutions through the OpenType dlig feature
sfHistoricalLigaturesApplies historical ligature substitutions through the OpenType hlig feature
sfSmallCapsApplies lower-case to small-cap substitutions through the OpenType smcp feature
sfCapsToSmallCapsApplies capital-to-small-cap substitutions through the OpenType c2sc feature
sfOldstyleFiguresApplies oldstyle digit substitutions through the OpenType onum feature
sfLiningFiguresApplies lining digit substitutions through the OpenType lnum feature
sfSuperscriptsApplies superscript glyph substitutions through the OpenType sups feature
sfSubscriptsApplies subscript glyph substitutions through the OpenType subs feature
sfOrdinalsApplies ordinal glyph substitutions through the OpenType ordn feature
sfFractionsApplies numerator, fraction slash, and denominator substitutions through the OpenType frac feature
sfTaiVietReorderAktiviert Tai Viet Vokal- und Zeichenumordnung in visueller Reihenfolge von links vor der cmap-zu-GID-Zuordnung
sfMeeteiMayekShapingAktiviert die Meetei-Mayek-Silbenumordnung im brahmischen Stil vor der cmap-zu-GID-Zuordnung
sfDistancePositioningWendet GPOS-Abstandspositionierung für Abstandsabfragen komplexer Skripte über einfaches Kerning hinaus an
sfKhmerShapingAktiviert die Khmer-Vokal- und Clusterumordnung vor der cmap-zu-GID-Zuordnung
sfMyanmarShapingAktiviert Myanmar Kinzi-, Vorbasisvokal-, Medial- und Zeichenumordnung vor der cmap-zu-GID-Zuordnung
sfVerticalAlternatesApplies vertical alternate substitutions through the OpenType vert and vrt2 features
sfCaseSensitiveFormsApplies case-sensitive punctuation and symbol substitutions through the OpenType case feature
sfSlashedZeroApplies slashed-zero digit substitutions through the OpenType zero feature
sfProportionalFiguresApplies proportional digit-width substitutions through the OpenType pnum feature
sfTabularFiguresApplies tabular digit-width substitutions through the OpenType tnum feature
sfScientificInferiorsApplies scientific inferior glyph substitutions through the OpenType sinf feature
sfNumeratorsApplies numerator glyph substitutions through the OpenType numr feature
sfDenominatorsApplies denominator glyph substitutions through the OpenType dnom feature

 

Verwendungshinweise

Verwenden Sie diese Eigenschaft nach RegisterUnicodeTTF und vor dem Schreiben von Text; wählen Sie sfLocalizedForms für locl-Substitutionen, Feature-Familien-Flags für typografische Alternativen und Ziffernstile, sfKerning, sfVerticalKerning und sfDistancePositioning für GPOS-Vorschubanpassungen, sfMarkPositioning, sfMarkToLigature und sfCursiveAttachment für Zeichen- oder Schreibschriftverbindungen, sfIndicGSUB für eine vollständige indische GSUB-Gestaltung und die skriptspezifischen Vorverarbeitungs-Flags für Thai/Lao-, Khmer-, Myanmar-, Tai-Viet-, Meetei-Mayek-, Hebräisch- und Javanisch-Text

 

See also: Automatic Shaping Pipeline GPOS-Methoden Indic-Schriftgestaltungsmethoden Methoden zur Vorverarbeitung der Schriftgestaltung