|
THPDFPage.UnicodeTextOut
|
맨 위 이전 다음 |
Version 2.1102.0은 일반 네이티브 CFF2 텍스트와 포터블 CFF1 폰트 임베딩을 추가합니다. 등록된 이름은 얼려 둔 폰트 바이트를 직접 고르고, cmap과 hmtx가 glyph와 메트릭을 공급하며, 폰트별 BMP/SMP 매핑과 원래 glyph 슬롯 전부를 유지하는 CIDFontType0C 스트림을 씁니다
|
Shows text represented by a Unicode string or buffer.
This procedure is retained for backward compatibility and shares the current TextOut font pipeline. Use it when existing code already passes WideString or UTF-16 buffers.
Delphi 구문: procedure UnicodeTextOut( X, Y: Single; Angle: Extended; Text: PWORD; TextLength: Integer ); overload; procedure UnicodeTextOut( X, Y: Single; Angle: Extended; Text: WideString ); overload;
Description: This procedure prints a text line represented by a Unicode buffer ( Text: PWORD, TextLength: Integer ) or Unicode string ( Text: WideString ) from point X, Y using orientation Angle in degrees.
Embedded Unicode font의 경우 HotPDF는 이제 font가 변경될 때 glyph state를 refresh하고 active Windows font에서 glyph ID를 resolve하며 generated PDF에 matching ToUnicode data를 씁니다. 이는 Calibri 같은 embedded font의 cross-viewer rendering을 향상합니다
Active font가 먼저
Tests\Delphi\FontTest provides a practical comparison sample for TextOut and embedded font validation.
Code Example
|