]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiDelimiter.cpp
Use QFontMetrics information for underlines (and friends) width and position
[lyx.git] / src / frontends / qt4 / GuiDelimiter.cpp
index c1a4f90bd0b21eae2e8623f105c656e240fb047b..458d05ca6a9c582ef834e0aeea8a51c1d1b16ec5 100644 (file)
@@ -192,8 +192,9 @@ GuiDelimiter::GuiDelimiter(GuiView & lv)
 // on Windows (see #5760).
 // FIXME: Re-check after Windows has settled to Qt 5.
 //        ATM, this doesn't work also with Qt 5.4.1 because of still missing
-//        glyphs for \llbracket and \rrbracket.
-#if defined(Q_OS_WIN) || defined(Q_CYGWIN_WIN)
+//        glyphs for \llbracket and \rrbracket. These last symbols are also
+//        missing when compiling on cygwin using the X11 xcb backend.
+#if defined(Q_OS_WIN) || defined(Q_OS_CYGWIN)
                QString symbol(ms.fontcode?
                        QChar(ms.fontcode) : toqstr(docstring(1, ms.unicode)));
                QListWidgetItem * lwi = new QListWidgetItem(symbol);