|
CFF and OpenType Font Subsetting Functions
|
맨 위 EnableFontSubsetting 목차 |
|
이 unit-level function은 HotPDF embedded font pipeline이 사용하는 public CFF, OpenType-CFF, sfnt font-inspection surface를 노출합니다. HotPDF는 lower-level font inspection이 필요한 호출자를 위해 reusable Type 1 PFB 및 CFF parser unit도 제공합니다
Delphi 구문 function HPDFSubsetCFF(const CFFBytes: TBytes; const KeepGlyph: array of Boolean): TBytes; function HPDFSfntIsOTF(const Data: TBytes): Boolean; function HPDFOTFFindCFFTable(const Data: TBytes; out TableOff: Cardinal; out TableLen: Cardinal): Boolean; function HPDFSubsetOTFContainer(const OTFBytes: TBytes; const KeepGlyph: array of Boolean): TBytes; function HPDFExtractTTFPostScriptName(const Data: TBytes): AnsiString;
설명
Subsetter는 name-keyed CFF(single Private DICT, single Local Subr INDEX)와 CID-keyed CFF(Top DICT ROS operator, 여러 sub-font Private DICT의 FDArray, FDSelect glyph-to-FD map, per-FD Local Subr INDEX)를 모두 인식합니다. CID support는 CJK / Indic / Arabic OpenType-CFF font를 포함합니다. Closure scan은 유지되는 각 CharString의 FD context를 추적하므로 per-FD Local Subr INDEX가 독립적으로 subset됩니다
Lower-level CFF integer decoder, FDArray / FDSelect parser, subroutine scanner는 이 public helper surface 뒤의 implementation detail입니다
Type 1 and CFF parser units
|