|
THPDFPage.UnicodeTextOut
|
Arriba Anterior Siguiente |
|
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
Sintaxis Delphi: procedure UnicodeTextOut( X, Y: Single; Angle: Extended; Text: PWORD; TextLength: Integer ); overload; procedure UnicodeTextOut( X, Y: Single; Angle: Extended; Text: WideString ); overload;
Descripción: 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
Para fuentes Unicode incrustadas, HotPDF ahora actualiza el estado de glifos cuando cambia la fuente, resuelve los ID de glifo desde la fuente Windows activa y escribe datos ToUnicode coincidentes para el PDF generado. Esto mejora el renderizado entre visores para fuentes incrustadas como Calibri
Cuando la fuente activa se ha cargado primero con
Tests\Delphi\FontTest provides a practical comparison sample for TextOut and embedded font validation
Ejemplo de código
|