check for ItalicAngle != 0

This commit is contained in:
BobLd
2020-05-22 13:48:02 +01:00
committed by Eliot Jones
parent a7a2ef0630
commit 40afe977a3

View File

@@ -184,7 +184,7 @@
return new FontDetails(name ?? FontName ?? string.Empty,
FontWeight > 500,
(int)FontWeight,
Flags.HasFlag(FontDescriptorFlags.Italic));
Flags.HasFlag(FontDescriptorFlags.Italic) || ItalicAngle != 0);
}
/// <summary>