|
THotPDF.EnableFontSubsetting
|
속성 FontEmbedding PDF Filter Support |
|
Controls whether embedded fonts are reduced to the glyphs used by the current document.
Delphi 구문: property EnableFontSubsetting: Boolean;
C++ 구문: __property bool EnableFontSubsetting;
설명 Embedded font data를 줄이려면
이 property는 생성 후 편집될 수 있는 document의 full-font embedding을 보존하기 위해 기본적으로 off입니다. Final PDF output에서는 subsetting을 enable하면 file size를 크게 줄일 수 있습니다. 특히 Adobe Fan/Gothic/Heiti/Ming/Myungjo/Song Std, Kozuka Pr6N, Source Han Sans 등 18000개 이상의 CID 중 작은 일부만 document마다 보통 사용되는 큰 CJK CID-keyed OpenType-CFF font에서 효과가 큽니다
Subset font가 작성될 때 HotPDF는
PDF/A에서는 embedded TrueType subset이 더 compact해집니다. 유지된 glyph는 dense range로 renumber되고, declared glyph count는 document가 실제 사용하는 glyph로 줄어들며, CIDFontType2가 절대 참조하지 않는 GID-indexed table(cmap, GPOS, GSUB, hdmx, kern)은 제거됩니다. 명시적
참조: FontEmbedding, CFF and OpenType Font Subsetting Functions, PDF Filter Support |