Commit Graph
15 Commits
Author SHA1 Message Date
Unknown W. Brackets 22c8ef0b07 Qt: Correct DPI accounting in font rendering.
Like Android, we'll increase the font size at higher DPI.
2020-03-17 20:25:37 -07:00
Unknown W. Brackets 08a6047768 PPGe: Show ellipsis for overly long lines.
To match PPGE_LINE_USE_ELLIPSIS when using TextDrawer.
2020-03-10 21:30:53 -07:00
Unknown W. Brackets fbf4769ea6 PPGe: Support 8-bit text bitmaps from TextDrawer. 2020-03-10 21:30:50 -07:00
Unknown W. Brackets 70b07f20c9 Qt: Cleanup differences in text hashing.
We don't want to use just adler to cache strings.  Also, port over the DPI
handling to be consistent.  Not tested.
2020-03-10 21:29:01 -07:00
Unknown W. Brackets 85d2702304 UI: Refactor TextDrawer to provide bitmaps too. 2020-03-10 21:28:46 -07:00
Henrik Rydgård 4d6a4beae1 Text drawing fixes 2019-10-24 23:07:57 +02:00
Unknown W. Brackets bb6aa99b9e Qt: Correct text bind on first draw of string.
Previously, the first frame we drew a new string was using the UI texture,
typically.
2019-02-17 08:11:16 -08:00
Unknown W. Brackets cc1fa20afb Qt: Use Roboto Condensed like on other platforms.
May improve font fallback issues in #7581.
2018-06-09 11:36:00 -07:00
Unknown W. Brackets 99d16b2202 Vulkan: Add tags to UI textures too. 2018-04-06 21:43:18 -07:00
Henrik Rydgård d30f1c2019 Fix another Qt memory leak 2018-02-04 14:13:47 +01:00
Henrik Rydgård d1d1e1f742 Fix issue with caret position in text boxes caused by a bad hash function. Fletcher is 2-bytes-at-a-time and thus very inappropriate for short strings. 2017-10-24 22:45:27 +02:00
Henrik Rydgård e4d2c95968 Buildfix qt 2017-06-06 12:25:40 +02:00
Henrik Rydgård 3a640ff8aa Address comments, make things closer to the Win32 code. Things work better. 2017-06-06 11:30:20 +02:00
Henrik Rydgård 6e98dbb574 Split out the Qt font drawer in its own file. 2017-06-04 11:52:14 +02:00
Henrik Rydgård 8d3b18478c Split out DrawTextWin32 into its own file, to be further split later. 2017-06-04 11:52:12 +02:00