mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
Implement qfont_loader::available.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5394 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c7b1647c97
commit
fcb830103b
@ -1,3 +1,7 @@
|
||||
2002-10-12 Dekel Tsur <dekelts@tau.ac.il>
|
||||
|
||||
* qfont_loader.C (available): Implemented.
|
||||
|
||||
2002-10-09 Edwin Leuven <leuven@fee.uva.nl>
|
||||
|
||||
* QDocument.C: Brand new document dialog
|
||||
|
@ -144,8 +144,10 @@ qfont_loader::font_info const * qfont_loader::getfontinfo(LyXFont const & f)
|
||||
}
|
||||
|
||||
|
||||
bool qfont_loader::available(LyXFont const &)
|
||||
bool qfont_loader::available(LyXFont const & f)
|
||||
{
|
||||
// FIXME (see getRawName docs)
|
||||
return true;
|
||||
if (!lyxrc.use_gui)
|
||||
return false;
|
||||
|
||||
return getfontinfo(f)->font.exactMatch();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user