summaryrefslogtreecommitdiff
path: root/platform/uwp/thread_uwp.h
diff options
context:
space:
mode:
authorRuslan Mustakov <r.mustakov@gmail.com>2018-03-14 19:38:34 +0700
committerRuslan Mustakov <r.mustakov@gmail.com>2018-03-14 19:53:44 +0700
commitaa8561ded403020f0292450e7a7af75eaf001e94 (patch)
tree770407401bd19888eff20858b2f119c52551b5b7 /platform/uwp/thread_uwp.h
parenta8bbb708a8751e4bcd98de9b1bb94adef5bd4a17 (diff)
Ceil dynamic font glyph size
Fixes #15459. When oversampling is enabled, glyphs may have fractional size, but they are still rendered into integral pixels, which results in them taking more space than was anticiped by autowrapping algorithm. The solution here is to return ceiled width, which makes autowrapper consider characters a bit larger than they are, but it doesn't hurt the actual rendering and ensures there is enough space for the characters.
Diffstat (limited to 'platform/uwp/thread_uwp.h')
0 files changed, 0 insertions, 0 deletions