nx-libs
nx-libs copied to clipboard
freeze due to anti-aliasing with big size fonts
As a follow up for https://github.com/ArcticaProject/nx-libs/issues/55 ...
Another issue with anti-alliasing could be found. In certain situations, the complete nxagent freezes when it comes to displaying really huge fonts (font size: 1000).
This happens with grayscale antialiasing enabled.
When testing the same issue locally (no nxcomp in the middle), then applications crash instead of causing an nxagent freeze up.
Reproducers:
works: ´´´ $ pango-view --font="Terminus Bold" --markup --text "<span size='1021049'>HALLO MIKE</span>" $ pango-view --font="Terminus Bold" --markup --text "<span size='1021050'>HALLO</span>" $ pango-view --markup --text "<span size='1021050'>HALLO ;</span>" ´´´ crashes:
$ pango-view --font="Terminus Bold" --markup --text "<span size='1021050'>HALLO MIKE</span>" XIO: fatal IO error 0 (Success) on X server ":1" after 49 requests (49 known processed) with 0 events remaining. $ pango-view --markup --text "<span size='1021050'>HALLO W</span>" XIO: fatal IO error 0 (Success) on X server ":1" after 46 requests (46 known processed) with 0 events remaining.
I had further test commands that worked and failed. The crashes of the pango-view command inside nxagent sessions seems to be related to a combination of font size, font type, rendered text length, etc.
The bigger the font, the more pixel rendered, the more text to be rendered, the more like it is that pango crashes in NX.
and of course... in a local X.Org or Xephyr session, those crashes don't occur...
I was unable to reproduce this on nx-lib 3.5.99 27b0b57 and libpango1.0-dev 1.36.3-1ubuntu1.1
Hi Ulrich,
On Mo 04 Jul 2016 22:31:17 CEST, Ulrich Sibiller wrote:
I was unable to reproduce this on nx-lib 3.5.99 27b0b57 and
libpango1.0-dev 1.36.3-1ubuntu1.1
it is still there... And it is related to AddGlyphs producing an X11
request that exceeds the maximum size of one request.
I have this test mail from a customer here in thunderbird that
contains HUUUUGE letters which triggers the issue.
Mike
DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby mobile: +49 (1520) 1976 148 landline: +49 (4354) 8390 139
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: [email protected], http://das-netzwerkteam.de
I have tried this today with a current nxagent 3.5.99.22 and it works flawlessly. No crash. But I am a bit unsure where to enable the anti-aliasing you are mentioning.
On Mi 15 Jan 2020 23:13:21 CET, Ulrich Sibiller wrote:
I have tried this today with a current nxagent 3.5.99.22 and it
works flawlessly. No crash.
NIICCCEEE!!! Closing this, then?
Mike
DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: [email protected], http://das-netzwerkteam.de
Well, if you could test with your setup (and with the anti-aliasing which I am not sure where to activate)...
On Wed, Jan 15, 2020 at 11:17 PM Mike Gabriel [email protected] wrote:
On Mi 15 Jan 2020 23:13:21 CET, Ulrich Sibiller wrote:
I have tried this today with a current nxagent 3.5.99.22 and it works flawlessly. No crash.
NIICCCEEE!!! Closing this, then?
Mike
DAS-NETZWERKTEAM c\o Technik- und Ökologiezentrum Eckernförde Mike Gabriel, Marienthaler str. 17, 24340 Eckernförde mobile: +49 (1520) 1976 148 landline: +49 (4351) 850 8940
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31 mail: [email protected], http://das-netzwerkteam.de
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.