diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-29 10:03:14 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2023-11-29 10:03:14 +0100 |
| commit | 44b845cc42b9a0326b6aa3438462bcd1b77ddeb4 (patch) | |
| tree | 17db2ac35086284b97065b894ca578e5c68fc895 /FL/Fl_Graphics_Driver.H | |
| parent | 6bcce462e9dfb5b1a49befb796527505b6f60f59 (diff) | |
Change type of member variables Fl_Graphics_Driver::ascent + descent
Type short is too small for Fl_Cairo_Graphics_Driver and font sizes ≥ 110.
Diffstat (limited to 'FL/Fl_Graphics_Driver.H')
| -rw-r--r-- | FL/Fl_Graphics_Driver.H | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H index 1d7c3d702..49d6d4fc4 100644 --- a/FL/Fl_Graphics_Driver.H +++ b/FL/Fl_Graphics_Driver.H @@ -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 }; |
