summaryrefslogtreecommitdiff
path: root/FL/Fl_Graphics_Driver.H
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-02-21 09:38:24 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2024-02-21 09:38:24 +0100
commit957becbe2836d1bc4a8be76b7ca4abb445a181f3 (patch)
treede4955337691c1655f7cc0dd02bb15972bf99dc8 /FL/Fl_Graphics_Driver.H
parent681e22a4529b2d3e36c8fda87a015e82dd80f0fe (diff)
Fix: fl_height(int, int) decreases the font size after each call (#915)
Diffstat (limited to 'FL/Fl_Graphics_Driver.H')
-rw-r--r--FL/Fl_Graphics_Driver.H1
1 files changed, 1 insertions, 0 deletions
diff --git a/FL/Fl_Graphics_Driver.H b/FL/Fl_Graphics_Driver.H
index 49d6d4fc4..3adf6d6c9 100644
--- a/FL/Fl_Graphics_Driver.H
+++ b/FL/Fl_Graphics_Driver.H
@@ -410,6 +410,7 @@ struct Fl_Fontdesc {
In the future, it may also be used by other platforms.
*/
class FL_EXPORT Fl_Scalable_Graphics_Driver : public Fl_Graphics_Driver {
+ Fl_Fontsize fontsize_; // scale-independent font size value
public:
Fl_Scalable_Graphics_Driver();
// This function aims to compute accurately int(x * s) in