RFR: 8246348: Crash in libpango on Ubuntu 20.04 with some unicode chars

Phil Race prr at openjdk.java.net
Thu Jun 11 18:10:27 UTC 2020


On Tue, 9 Jun 2020 19:33:01 GMT, Johan Vos <jvos at openjdk.org> wrote:

> This addresses https://bugs.openjdk.java.net/browse/JDK-8246348

Instead of a space you could use a ZWNJ U+FEFF. Because that is also the endian-ness
mark, Unicode actually prefers you now to use U+2060 but you need to make sure these
are processed correctly by pango. Unlike a space they should have no rendering effect - not even an advance.

-------------

PR: https://git.openjdk.java.net/jfx/pull/249


More information about the openjfx-dev mailing list