diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-07-06 10:18:40 +0200 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2022-07-06 10:18:40 +0200 |
| commit | f0971416626f5b2b1e64a8c9bc86734e81a193e8 (patch) | |
| tree | 8b0f0954b769ea749ff494cae298e75dc0585ca7 /src/drivers/Cairo | |
| parent | c6659c9a29ae4299736a5e4de627cc8e105bd40b (diff) | |
Move member q_width from class Fl_Font_Descriptor to Fl_Quartz_Font_Descriptor.
That's because this member is used only in Fl_Quartz_Font_Descriptor.
Diffstat (limited to 'src/drivers/Cairo')
| -rw-r--r-- | src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx b/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx index a8f5d90a2..669f9e813 100644 --- a/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx +++ b/src/drivers/Cairo/Fl_Cairo_Graphics_Driver.cxx @@ -1090,10 +1090,9 @@ Fl_Cairo_Font_Descriptor::Fl_Cairo_Font_Descriptor(const char* name, Fl_Fontsize #else line_height = (pango_font_metrics_get_ascent(metrics) + pango_font_metrics_get_descent(metrics)) * 1.025 + 0.5; #endif - q_width = 0; // useless; pango_font_metrics_unref(metrics); g_object_unref(fontset); -//fprintf(stderr, "[%s](%d) ascent=%d descent=%d q_width=%d\n", name, size, ascent, descent, q_width); +//fprintf(stderr, "[%s](%d) ascent=%d descent=%d\n", name, size, ascent, descent); } |
