Issue 101659

Summary: Fractional GTK UI font size is rounded down to an integer
Product: General Reporter: akaseorg <anders>
Component: uiAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues
Version: OOo 3.1 RC2   
Target Milestone: AOO Later   
Hardware: All   
OS: Unix, all   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description akaseorg 2009-05-07 20:24:22 UTC
gnome-appearance-properties (System → Preferences → Appearance) allows you to
configure a non-integer font size; on my system, I use 7.5pt.  But applications round this down to 7pt, so all UI components end up
looking too small.

Looking at GtkSalGraphics::updateSettings,
vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx, int nPointSize is computed from
nPangoHeight (which is in units of 1/1024 pt) using
  nPointHeight = nPangoHeight/PANGO_SCALE;
and stored into a Size object as a long.  Probably the Font class should be
redefined to store its size in smaller units than pt.
Comment 1 Olaf Felka 2010-01-31 08:21:09 UTC
@ pl: Something for you?
Comment 2 philipp.lohmann 2010-02-02 10:32:05 UTC
Comment 3 philipp.lohmann 2010-02-02 10:32:44 UTC
assign to the font master general
Comment 4 Marcus 2017-05-20 11:33:15 UTC
Reset assigne to the default "".