property FontItalicAngle[FontIndex: Integer]: Single; // solo lectura
Devuelve el ángulo itálico de la fuente en grados, negativo para cursiva típica y 0 para vertical La propiedad se indexa mediante un identificador de fuente obtenido de un carácter (FontHandle[CharIndex]) or directly enumerated through the page's font resources.
Solo lectura. PDFium consulta el valor subyacente de forma diferida desde el diccionario de fuentes o el programa de la fuente. Cuando el índice no coincide con una fuente conocida, la función lanza EPdfError.
Use this property together with CharacterFontSize / CharacterFontWeight to drive font-substitution or text-style reconstruction pipelines.
| FontIndex | Index of the font handle. Obtain via FontHandle[CharIndex] or by enumerating the page font resources. |
/ItalicAngle entry of the font descriptor.FontData and a TrueType/OpenType parser.
var
FontIdx: Integer;
begin
// inspect the font used by the first character
if Pdf1.CharacterCount > 0 then
begin
FontIdx := Pdf1.FontHandle[0];
Memo1.Lines.Add(Format('%s (embed=%s)',
[Pdf1.FontFamilyName[FontIdx], BoolToStr(Pdf1.FontIsEmbedded[FontIdx], True)]));
end;
end;