|
THPDFPage.UnicodeTextOut
|
الأعلى السابق التالي |
|
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 syntax: 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
بالنسبة إلى خطوط Unicode المضمنة، يحدث HotPDF الآن حالة glyph عند تغيير الخط، ويحل glyph IDs من خط Windows النشط، ويكتب بيانات ToUnicode مطابقة في PDF المولد. يحسن ذلك العرض عبر العارضات لخطوط مضمنة مثل Calibri
عندما يكون الخط النشط قد حمل أولًا بواسطة RegisterUnicodeTTF، تحل أحرف Unicode في supplementary-plane مثل U+1F600 عبر بيانات cmap format 12 وتصدر كـ CID داخلي واحد في page text stream. يعيد إخراج الصفحة استخدام مورد Type 0 font المسجل، لذلك تحدث finalization خرائط /CIDToGIDMap و/W و/ToUnicode وحالة font-subset نفسها المستخدمة في AcroForm Unicode appearance streams
Tests\Delphi\FontTest provides a practical comparison sample for TextOut and embedded font validation
Code Example
|