mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
Simplify
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5412 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
e2b02e86e4
commit
855925c969
@ -142,10 +142,8 @@ void FontInfo::query()
|
||||
scaleindex = i;
|
||||
}
|
||||
scalable = true;
|
||||
};
|
||||
} else if (lyx::atoi(token(name, '-', 12)) == 0)
|
||||
// Ignore bogus matches of scalable fonts.
|
||||
if (sizes[i] > 0 &&
|
||||
lyx::atoi(token(name, '-', 12)) == 0)
|
||||
sizes[i] = 0;
|
||||
};
|
||||
XFreeFontNames(list);
|
||||
|
Loading…
Reference in New Issue
Block a user