fix symbols fonts on X11

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@13378 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2006-03-15 13:39:59 +00:00
parent f43f4ed94f
commit 2470320dd6
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-03-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* qfont_loader.C (isChosenFont): Xft-enabled Qt 4.1 seems to call
all fonts "Multi". Therefore test for this case.
2006-03-15 Abdelrazak Younes <younes.a@free.fr>
* QLPopupMenu.[Ch]: renamed topLevelMenu to topLevelMenu_

View File

@ -177,7 +177,8 @@ bool isChosenFont(QFont & font, string const & family)
}
// Qt 3.2 beta1 returns "xft" for all xft fonts
if (font.rawName() == "xft") {
// Qt 4.1 returns "Multi" for all ? xft fonts
if (font.rawName() == "xft" || font.rawName() == "Multi") {
if (contains(fromqstr(fi.family()), family)) {
lyxerr[Debug::FONT] << " got it (Xft) ";
return true;