From 4334d09bab0058428cf0e89a8659a849e0dfffdf Mon Sep 17 00:00:00 2001 From: Francesco Abbate Date: Sat, 30 May 2020 18:07:40 +0200 Subject: [PATCH] More notes --- notes.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/notes.md b/notes.md index f56cf0cd..5efb8627 100644 --- a/notes.md +++ b/notes.md @@ -157,3 +157,13 @@ typedef struct 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;