property FontItalicAngle[Index: Integer]: Integer; // read only
Returns the italic angle of the font in degrees (negative for typical italic; 0 for upright) for the text page object at Index. The valid range is 0 .. ObjectCount - 1 for a text object on the current page
Read-only. The underlying value is queried lazily by PDFium from the font dictionary or font program. When the index does not match a known font, the function raises EPdfError
Use this property together with CharacterFontSize / CharacterFontWeight to drive font-substitution or text-style reconstruction pipelines
| Index | Zero-based page object index in 0 .. ObjectCount - 1 referencing a text object (ObjectType[Index] = otText) |
/ItalicAngle entry of the font descriptorFontData and a TrueType/OpenType parser
var
I: Integer;
begin
for I := 0 to Pdf1.ObjectCount - 1 do
if Pdf1.ObjectType[I] = otText then
Memo1.Lines.Add(Format('%s (italic=%d)', [Pdf1.FontFamilyName[I], Pdf1.FontItalicAngle[I]]));
end;