THotPDF GSUB Lookup Methods

THotPDF API 참조

 

THotPDF Methods  Auto Shaping  GSUB

이 페이지는 GSUB lookup methods와 관련된 API 그룹을 설명합니다. 형식 이름, 메서드 이름, Delphi 구문은 코드와 바로 대조할 수 있도록 그대로 유지합니다

 

Delphi 구문

function GetSingleSubstituteGlyph(InputGID: Word; const FeatureTag: AnsiString): Word;

function GetMultipleSubstituteGlyphs(InputGID: Word; const FeatureTag: AnsiString; var OutGIDs: TGSUBLookupArray): Boolean;

function GetAlternateGlyphCount(InputGID: Word; const FeatureTag: AnsiString): Integer;

function GetAlternateGlyph(InputGID: Word; const FeatureTag: AnsiString; AlternateIndex: Integer): Word;

function ApplyLigatureSubstitution(const InputGIDs: array of Word; StartIndex: Integer; const FeatureTag: AnsiString; out OutGID: Word; out ConsumedCount: Integer): Boolean;

function ApplyContextualSubst(const InputGIDs: array of Word; StartIndex: Integer; const FeatureTag: AnsiString; var OutGIDs: TGSUBLookupArray; out ConsumedLen: Integer): Boolean;

function ApplyReverseChainedContextualSubst(const InputGIDs: array of Word; StartIndex: Integer; const FeatureTag: AnsiString; out OutGID: Word): Boolean;

function ApplyGSUBContextualFeature(const Wide: UnicodeString; const AFeatureTag: AnsiString): UnicodeString;

function ApplyLocalizedForms(const Wide: UnicodeString): UnicodeString;

 

포함된 API

API사용 참고 사항
GetSingleSubstituteGlyph이 페이지는 GSUB lookup methods와 관련된 API 그룹을 설명합니다. 형식 이름, 메서드 이름, Delphi 구문은 코드와 바로 대조할 수 있도록 그대로 유지합니다
GetMultipleSubstituteGlyphs이 페이지는 GSUB lookup methods와 관련된 API 그룹을 설명합니다. 형식 이름, 메서드 이름, Delphi 구문은 코드와 바로 대조할 수 있도록 그대로 유지합니다
GetAlternateGlyphCount이 페이지는 GSUB lookup methods와 관련된 API 그룹을 설명합니다. 형식 이름, 메서드 이름, Delphi 구문은 코드와 바로 대조할 수 있도록 그대로 유지합니다
GetAlternateGlyph이 페이지는 GSUB lookup methods와 관련된 API 그룹을 설명합니다. 형식 이름, 메서드 이름, Delphi 구문은 코드와 바로 대조할 수 있도록 그대로 유지합니다
ApplyLigatureSubstitution이 페이지는 GSUB lookup methods와 관련된 API 그룹을 설명합니다. 형식 이름, 메서드 이름, Delphi 구문은 코드와 바로 대조할 수 있도록 그대로 유지합니다
ApplyContextualSubst이 페이지는 GSUB lookup methods와 관련된 API 그룹을 설명합니다. 형식 이름, 메서드 이름, Delphi 구문은 코드와 바로 대조할 수 있도록 그대로 유지합니다
ApplyReverseChainedContextualSubst이 페이지는 GSUB lookup methods와 관련된 API 그룹을 설명합니다. 형식 이름, 메서드 이름, Delphi 구문은 코드와 바로 대조할 수 있도록 그대로 유지합니다
ApplyGSUBContextualFeature이 페이지는 GSUB lookup methods와 관련된 API 그룹을 설명합니다. 형식 이름, 메서드 이름, Delphi 구문은 코드와 바로 대조할 수 있도록 그대로 유지합니다
ApplyLocalizedForms이 페이지는 GSUB lookup methods와 관련된 API 그룹을 설명합니다. 형식 이름, 메서드 이름, Delphi 구문은 코드와 바로 대조할 수 있도록 그대로 유지합니다
MarkUnicodeGlyphUsed이 페이지는 GSUB lookup methods와 관련된 API 그룹을 설명합니다. 형식 이름, 메서드 이름, Delphi 구문은 코드와 바로 대조할 수 있도록 그대로 유지합니다
sfContextualAlternates이 페이지는 GSUB lookup methods와 관련된 API 그룹을 설명합니다. 형식 이름, 메서드 이름, Delphi 구문은 코드와 바로 대조할 수 있도록 그대로 유지합니다
sfLocalizedForms이 페이지는 GSUB lookup methods와 관련된 API 그룹을 설명합니다. 형식 이름, 메서드 이름, Delphi 구문은 코드와 바로 대조할 수 있도록 그대로 유지합니다

 

사용 참고 사항

적절한 Unicode 글꼴을 등록한 뒤 텍스트를 출력하기 전에 이 API를 사용합니다. 글꼴에 필요한 OpenType 테이블이 없으면 조회는 안전한 no-op 결과를 반환하거나 출력 경로가 더 단순한 동작으로 돌아갑니다

 

관련 항목: OpenType GSUB Engine GSUB script and language methods ShapingFeatures Subset and mapping methods