property FontItalicAngle[FontIndex: Integer]: Single; // read only
Mengembalikan sudut italic font dalam derajat (negatif untuk italic biasa; 0 untuk upright). Properti diindeks oleh handle font yang diperoleh dari sebuah karakter (FontHandle[CharIndex]) atau dienumerasi langsung melalui sumber daya font halaman
Hanya-baca. Nilai yang mendasari dikueri secara lazy oleh PDFium dari kamus font atau program font. Ketika indeks tidak cocok dengan font yang dikenal, fungsi memunculkan EPdfError
Gunakan properti ini bersama dengan CharacterFontSize / CharacterFontWeight untuk mendorong pipeline substitusi-font atau rekonstruksi gaya-teks
| FontIndex | Indeks handle font. Diperoleh melalui FontHandle[CharIndex] atau dengan mengenumerasi sumber daya font halaman |
/ItalicAngle deskriptor fontFontData dan parser TrueType/OpenType
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;