mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
Ignore bogus matches of scalable fonts.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5400 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
8c9ad457e9
commit
260f646231
@ -1,3 +1,7 @@
|
||||
2002-10-14 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* FontInfo.C (query): Ignore bogus matches of scalable fonts.
|
||||
|
||||
2002-10-08 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* FeedbackController.C (PrehandlerCB):
|
||||
|
@ -143,6 +143,10 @@ void FontInfo::query()
|
||||
}
|
||||
scalable = true;
|
||||
};
|
||||
// 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