diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-02-25 12:41:29 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-02-25 12:57:52 +0000 |
commit | c1d3315e8d1e4d8be4bcabcf343ef5dd76d63691 (patch) | |
tree | daf0f19ef428af9f1089df2e17146f32dc5a5c99 /xmloff | |
parent | 423932fe1849a2c9e2f4c1730a93435f39657e95 (diff) |
Related: fdo#60764 APPFONT is 1/8 avg char *height* & 1/4 avg char *width*
but *sob*, it's not really that, because there's a dialog scale factor which is
per-language which adds a bit to it depending on the language, MAP_REALAPPFONT
is the unscaled variant.
but *head in hands*, it's not really that either because if the font was
considered "too narrow" then the average char width is recalculated in terms of
the average char height.
*clenches teeth*, add a approximate_char_width and use it directly. It can be
considered the rough equivalent of
pango_font_metrics_get_approximate_char_width albeit that it retains the same
crude 1/8 of the width of "aemnnxEM"
Change-Id: I4c135ca03467447dddf279ac0c187b13371acadb
Diffstat (limited to 'xmloff')
0 files changed, 0 insertions, 0 deletions