luigifab left a comment (geany/geany#3701) Tested with: ```diff diff --git a/scintilla/gtk/PlatGTK.cxx b/scintilla/gtk/PlatGTK.cxx index d8dc26e..4848787 100644 --- a/scintilla/gtk/PlatGTK.cxx +++ b/scintilla/gtk/PlatGTK.cxx @@ -76,7 +76,11 @@ void SetFractionalPositions([[maybe_unused]] PangoContext *pcontext) noexcept { #if PANGO_VERSION_CHECK(1,44,3) - pango_context_set_round_glyph_positions(pcontext, FALSE); + const gchar *config = g_getenv ("GEANY_TEST_3701"); + if (config && (strcmp (config, "1") == 0)) { + pango_context_set_round_glyph_positions(pcontext, TRUE); + else + pango_context_set_round_glyph_positions(pcontext, FALSE); #endif } ```
Screenshots: - [1.38 `geany`](https://github.com/user-attachments/assets/0ae2e2a9-a23d-41d3-b9f8-332a6d8b6363) - [2.0 `geany`](https://github.com/user-attachments/assets/9e7a378e-c304-4241-abee-343c2f2af828) - [2.0 `GEANY_TEST_3701=1 geany`](https://github.com/user-attachments/assets/64a8117e-9db3-44f1-8331-1fbb2295a533) `compare -fuzz 1% -compose src -highlight-color blue -lowlight-color none 138.png 2hack.png dif.png` `composite dif.png 2hack.png dif.png` [result](https://github.com/user-attachments/assets/4e213dbb-23e5-4c01-9626-28e8dcc5211f) So for me the hack is working (Pango 1.56.3). -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/3701#issuecomment-2934096784 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/issues/3701/2934096...@github.com>