More notes

This commit is contained in:
Francesco Abbate 2020-05-30 18:07:40 +02:00
parent 103336945e
commit 4334d09bab
1 changed files with 10 additions and 0 deletions

View File

@ -157,3 +157,13 @@ typedef struct FT_FaceRec_
} FT_FaceRec; } FT_FaceRec;
``` ```
## AGG font engine's font size
The variable m_height is the size of the font muliplied by 64.
It will be used to set font size with:
- FT_Set_Char_Size if m_resolution is set (> 0)
- FT_Set_Pixel_Sizes, divided by 64, if m_resolution is not set (= 0)
The method height() returns m_height / 64;