Originally reported in ticket:2550#comment:3.
Links:
Not sure there's much we can do.
There's no "pango-query-modules" in the latest versions.
Overriding g_log_set_handler
would be a pain: I found out this is currently not possible and a known bug within either gobject-introspection or glib, since g_log_set_handler is not bindable
Now that I have some time and a clean head: The original reason I reported this bug (rather I made a comment which opened a bug) is this:
The text rendering is a bit tiring on the eyes. Compare:
2590-client-win10-Xpra_cmd_2020-02-12_21-34-42.png
vs
2590-native-ubuntu-Screenshot from 2020-02-12 21-39-40.png
vs attaching from server itself
2590-client-ubuntu-Screenshot from 2020-02-12 21-38-18.png
I am also attaching the settings (and overrides) I've done. I think I made the settings well enough, so, at least when attaching from itself, quality could skyrocket (and feel as-native)
I have also tested with and without opengl.
The "only" two constant warnings are: This (attaching from windows) and that
$ xpra attach 1 xpra for python 2.7 is not installed retrying with python3 2020-02-21 23:22:00,425 Xpra GTK3 X11 client version 3.0.6-r25174 64-bit 2020-02-21 23:22:00,526 running on Linux Ubuntu 16.04 xenial 2020-02-21 23:22:00,527 window manager is 'Compiz' 2020-02-21 23:22:00,674 No OpenGL_accelerate module loaded: No module named 'OpenGL_accelerate' 2020-02-21 23:22:00,993 OpenGL enabled with Quadro P400/PCIe/SSE2 2020-02-21 23:22:01,026 keyboard settings: layout=us, model=pc105, rules=evdev 2020-02-21 23:22:01,029 desktop size is 6400x1440 with 1 screen: 2020-02-21 23:22:01,029 :0.0 (1693x381 mm - DPI: 96x96) workarea: 6341x1416 at 59x24 2020-02-21 23:22:01,029 DP-0 2560x1440 (597x336 mm - DPI: 108x108) 2020-02-21 23:22:01,029 DP-2 1920x1080 at 2560x180 (527x296 mm - DPI: 92x92) 2020-02-21 23:22:01,029 DP-4 1920x1080 at 4480x180 (527x296 mm - DPI: 92x92) 2020-02-21 23:22:01,030 upscaled to 125%, virtual screen size: 5120x1152 2020-02-21 23:22:01,030 :0.0 (1693x381 mm - DPI: 76x76) workarea: 5073x1133 at 47x19 2020-02-21 23:22:01,030 DP-0 2048x1152 (597x336 mm - DPI: 87x87) 2020-02-21 23:22:01,030 DP-2 1536x864 at 2048x144 (527x296 mm - DPI: 74x74) 2020-02-21 23:22:01,030 DP-4 1536x864 at 3584x144 (527x296 mm - DPI: 74x74) 2020-02-21 23:22:01,061 Warning: invalid frame extents value '[0, 0, 0, 0, 0, 0, 28, 0]' 2020-02-21 23:22:01,062 this is probably a bug in 'Compiz' 2020-02-21 23:22:01,062 using '[0, 0, 28, 0]' instead 2020-02-21 23:22:01,224 enabled fast mmap transfers using 281MB shared memory area 2020-02-21 23:22:01,225 enabled remote logging 2020-02-21 23:22:01,226 Xpra GTK3 X11 server version 3.0.6-r25174 64-bit 2020-02-21 23:22:01,226 running on Linux Ubuntu 16.04 xenial 2020-02-21 23:22:01,228 no need for scaling with mmap 2020-02-21 23:22:01,231 Warning: Invalid Scale Factor 2020-02-21 23:22:01,231 cannot scale by 100% x 100% or lower 2020-02-21 23:22:01,231 the scaled client screen 6400 x 1440 -> 6400 x 1440 2020-02-21 23:22:01,232 would overflow the server's screen: 5760 x 2560 2020-02-21 23:22:01,237 Attached to socket:///run/user/1000/xpra/sntentos-precision-t3620-1 2020-02-21 23:22:01,237 (press Control-C to detach) 2020-02-21 23:22:01,580 server does not support xi input devices 2020-02-21 23:22:01,581 server uses: xtest 2020-02-21 23:22:26,458 Warning: CLIPBOARD selection request for 'TARGETS' timed out 2020-02-21 23:22:26,459 request 0 at time=0 ^C 2020-02-21 23:22:36,435 got signal SIGINT 2020-02-21 23:22:36,436 exiting
When attaching from the server itself
Please don't use this ticket, this has nothing to do with font rendering in applications server side. The pango warning is client-side and means that something in GTK is loading pango and having this problem. Pango is not used client side for rendering server side applications.
Replying to Antoine Martin:
Please don't use this ticket, this has nothing to do with font rendering in applications server side. The pango warning is client-side and means that something in GTK is loading pango and having this problem. Pango is not used client side for rendering server side applications.
Yeah, I saw that coming ...
If you want to move all of that to a new ticket and clean it up from here, no objection by me
this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2590