Change type of member variables Fl_Graphics_Driver::ascent + descent

Type short is too small for Fl_Cairo_Graphics_Driver and font sizes ≥ 110.
This commit is contained in:
ManoloFLTK 2023-11-29 10:03:14 +01:00
parent 6bcce462e9
commit 44b845cc42

View File

@ -383,7 +383,7 @@ public:
Fl_Fontsize size; /**< font size */
Fl_Font_Descriptor(const char* fontname, Fl_Fontsize size);
virtual FL_EXPORT ~Fl_Font_Descriptor() {}
short ascent, descent;
int ascent, descent;
unsigned int listbase;// base of display list, 0 = none
};