mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 03:03:06 +00:00
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:
parent
f43f4ed94f
commit
2470320dd6
@ -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_
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user