]> git.lyx.org Git - features.git/commit
(almost) Fix Qt4 support breakspace
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 10 Nov 2022 16:24:56 +0000 (17:24 +0100)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 10 Nov 2022 16:27:45 +0000 (17:27 +0100)
commit50e1bdf320d9481ddec02f9c82cbfb3c369d8e53
tree61cffd6546bda19e03e59b4fa5f4898fbc0a3dc5
parent23cd38bc1c1fb30568117f337cb6a54966299bf0
(almost) Fix Qt4 support

When is it detected that our zero-width characters are not really
zero-width, avoid to use them altogether. Currently, this is known to
happen in Qt4 with monospace fonts.

This allow to remove the special Qt4 code in breaskString_helper.

Related to bug #10117.
src/frontends/qt/GuiFontMetrics.cpp
src/frontends/qt/GuiFontMetrics.h