Ben Harris
10fdd29fea
GTK: clear target Pixmap for X font rendering with Cairo
...
CreatePixmap returns a Pixmap with undefined contents, and ImageText16
doesn't quite erase the whole rectangle covered by the text (and hence
the whole Pixmap. So to be on the safe side we should make sure to
erase the entire Pixmap before drawing the text.
Conveniently, ImageText16 ignores the function specified in the GC, so
we can set that to GXclear and avoid needing to change the GC
thereafter.
2025-04-28 23:24:48 +01:00
..
2023-05-29 15:54:34 +01:00
2024-12-19 08:52:47 +00:00
2022-08-03 20:48:46 +01:00
2021-04-26 18:00:01 +01:00
2024-12-19 08:52:47 +00:00
2021-04-26 18:00:01 +01:00
2024-12-19 08:52:47 +00:00
2022-09-06 11:39:01 +01:00
2022-05-05 19:04:34 +01:00
2022-09-01 20:43:23 +01:00
2022-05-01 10:00:32 +01:00
2023-12-18 14:47:48 +00:00
2024-12-13 19:38:48 +00:00
2024-06-29 12:19:35 +01:00
2022-09-17 07:55:05 +01:00
2022-01-22 15:51:31 +00:00
2024-12-15 00:07:21 +00:00
2018-11-03 13:45:00 +00:00
2022-01-22 15:51:31 +00:00
2022-09-01 20:43:23 +01:00
2024-12-19 08:52:47 +00:00
2024-12-19 08:52:47 +00:00
2024-11-28 18:28:43 +00:00
2022-01-22 15:51:31 +00:00
2022-05-20 19:35:59 +01:00
2021-04-26 18:00:01 +01:00
2017-12-20 10:04:02 +00:00
2024-12-19 08:52:47 +00:00
2021-04-26 18:00:01 +01:00
2025-01-10 08:32:52 +00:00
2024-12-19 08:52:47 +00:00
2022-09-14 16:10:29 +01:00
2021-11-19 11:32:47 +00:00
2024-09-26 11:30:07 +01:00
2024-12-19 08:52:47 +00:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2017-11-26 11:45:48 +00:00
2022-01-22 15:51:31 +00:00
2019-09-08 20:29:21 +01:00
2024-12-15 00:07:21 +00:00
2021-04-26 18:00:01 +01:00
2021-04-26 18:00:01 +01:00
2017-11-26 11:45:48 +00:00
2024-12-19 08:52:47 +00:00
2019-09-08 20:29:21 +01:00
2021-10-30 17:28:28 +01:00
2024-12-19 08:52:47 +00:00
2023-04-19 14:28:36 +01:00
2021-10-30 18:19:56 +01:00
2022-09-14 16:10:29 +01:00
2024-09-26 11:30:07 +01:00
2025-04-28 23:24:48 +01:00
2025-04-28 23:24:48 +01:00
2024-12-19 08:52:47 +00:00
2022-01-22 15:51:31 +00:00
2025-04-28 23:24:48 +01:00
2023-05-29 15:41:50 +01:00
2022-01-22 15:51:31 +00:00