mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
Correctly compute metrics for single-char non-math fonts
No status entry needed, as this amends 79998fdc
.
This commit is contained in:
parent
0994a9612d
commit
a85bd34348
@ -218,7 +218,7 @@ int GuiFontMetrics::width(docstring const & s) const
|
||||
int w = 0;
|
||||
if (s.length() == 1
|
||||
#if QT_VERSION >= 0x040800
|
||||
|| font_.styleName() == "LyX"
|
||||
&& font_.styleName() == "LyX"
|
||||
#endif
|
||||
) {
|
||||
// keep value 0 for math chars with null width
|
||||
|
Loading…
Reference in New Issue
Block a user