mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
Fixup 1d637b8a
: do not set extra spacing for typewriter
This messed up rows with both normal and typewriter fonts.
This commit is contained in:
parent
ba659d0cfd
commit
3895c79879
@ -61,7 +61,7 @@ int Row::Element::expansionAmount() const
|
||||
|
||||
void Row::Element::setExtra(double extra_per_em)
|
||||
{
|
||||
if (type != STRING)
|
||||
if (type != STRING || font.fontInfo().family() == TYPEWRITER_FAMILY)
|
||||
return;
|
||||
extra = extra_per_em * theFontMetrics(font).em();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user