diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-07 09:50:23 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-09-07 09:50:23 +0200 |
commit | 840248a4c7faa3d1a96155b2d798ae44249b78bd (patch) | |
tree | 5597790abcbc98daa20e2eda4ecf0e55bfef4f41 /include/xmloff/nmspmap.hxx | |
parent | 730da2a1e87fce799897ec9d493f7b2251f9b08a (diff) |
tdf#93884 windows opengl: make space around cached glyphs depend on font size
Cached glyphs used to have a 2px border in all font sizes, that's too
small for larger fonts. Make the border size depend on the font size for
larger fonts to make sure that the rendered glyphs are indeed
independent. The introduced GLYPH_SPACE_RATIO = 8 constant is the
smallest value where I don't see overflows anymore for large fonts.
With this, not even the bugdoc renders correctly when presenting, but
also the text is OK when the font size is set to the max allowed by the
UI (96pt).
Change-Id: I52aa5c4444583fc0467291463697a63f2b8fc86c
Diffstat (limited to 'include/xmloff/nmspmap.hxx')
0 files changed, 0 insertions, 0 deletions