add is italic check for font file
This commit is contained in:
parent
82ee1c5e4a
commit
b1b8eee3c9
4 changed files with 82 additions and 81 deletions
|
@ -102,6 +102,14 @@ public:
|
|||
const char * text,
|
||||
const FontProp &font_prop);
|
||||
|
||||
/// <summary>
|
||||
/// Read information from naming table of font file
|
||||
/// search for italic (or oblique), bold italic (or bold oblique)
|
||||
/// </summary>
|
||||
/// <param name="font">Selector of font</param>
|
||||
/// <returns>True when the font description contains italic/obligue otherwise False</returns>
|
||||
static bool is_italic(Font &font);
|
||||
|
||||
/// <summary>
|
||||
/// Project 2d point into space
|
||||
/// Could be plane, sphere, cylindric, ...
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue