diff --git a/po/sv.gmo b/po/sv.gmo index c19b2b900f..299f6fe172 100644 Binary files a/po/sv.gmo and b/po/sv.gmo differ diff --git a/po/uk.gmo b/po/uk.gmo index 7639bcc057..a331875e1c 100644 Binary files a/po/uk.gmo and b/po/uk.gmo differ diff --git a/src/frontends/qt4/GuiFontMetrics.cpp b/src/frontends/qt4/GuiFontMetrics.cpp index 2f598f43dc..2ab182ec33 100644 --- a/src/frontends/qt4/GuiFontMetrics.cpp +++ b/src/frontends/qt4/GuiFontMetrics.cpp @@ -186,7 +186,8 @@ int GuiFontMetrics::width(docstring const & s) const #endif /* For some reason QMetrics::width returns a wrong value with Qt5 * with some arabic text. OTOH, QTextLayout is broken for single - * characters with null width (like \not in mathed). + * characters with null width (like \not in mathed). Also, as a + * safety measure, always use QMetrics::width with our math fonts. */ int w = 0; if (s.length() == 1