Hello community, here is the log from the commit of package libyui-qt for openSUSE:Factory checked in at 2014-06-01 18:57:11 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libyui-qt (Old) and /work/SRC/openSUSE:Factory/.libyui-qt.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libyui-qt" Changes: -------- --- /work/SRC/openSUSE:Factory/libyui-qt/libyui-qt.changes 2014-05-22 06:39:25.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.libyui-qt.new/libyui-qt.changes 2014-06-01 18:57:14.000000000 +0200 @@ -1,0 +2,6 @@ +Thu May 29 09:15:17 UTC 2014 - mvidner@suse.com + +- Fix recent ugly fonts in cs_CZ, hu_HU (bnc#879991). +- 2.46.11 + +------------------------------------------------------------------- Old: ---- libyui-qt-2.46.10.tar.bz2 New: ---- libyui-qt-2.46.11.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libyui-qt-doc.spec ++++++ --- /var/tmp/diff_new_pack.uW9Zgq/_old 2014-06-01 18:57:15.000000000 +0200 +++ /var/tmp/diff_new_pack.uW9Zgq/_new 2014-06-01 18:57:15.000000000 +0200 @@ -17,7 +17,7 @@ Name: libyui-qt-doc -Version: 2.46.10 +Version: 2.46.11 Release: 0 Source: libyui-qt-%{version}.tar.bz2 ++++++ libyui-qt.spec ++++++ --- /var/tmp/diff_new_pack.uW9Zgq/_old 2014-06-01 18:57:15.000000000 +0200 +++ /var/tmp/diff_new_pack.uW9Zgq/_new 2014-06-01 18:57:15.000000000 +0200 @@ -17,7 +17,7 @@ Name: libyui-qt -Version: 2.46.10 +Version: 2.46.11 Release: 0 Source: libyui-qt-%{version}.tar.bz2 ++++++ libyui-qt-2.46.10.tar.bz2 -> libyui-qt-2.46.11.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-2.46.10/ChangeLog new/libyui-qt-2.46.11/ChangeLog --- old/libyui-qt-2.46.10/ChangeLog 2014-05-21 10:35:20.000000000 +0200 +++ new/libyui-qt-2.46.11/ChangeLog 2014-05-30 11:35:45.000000000 +0200 @@ -1,4 +1,10 @@ ------------------------------------------------------------------- +Thu May 29 09:15:17 UTC 2014 - mvidner@suse.com + +- Fix recent ugly fonts in cs_CZ, hu_HU (bnc#879991). +- 2.46.11 + +------------------------------------------------------------------- Wed May 21 08:21:09 CEST 2014 - snwint@suse.de - fix last font selection fix (bnc #878859) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-2.46.10/VERSION.cmake new/libyui-qt-2.46.11/VERSION.cmake --- old/libyui-qt-2.46.10/VERSION.cmake 2014-05-21 10:35:20.000000000 +0200 +++ new/libyui-qt-2.46.11/VERSION.cmake 2014-05-30 11:35:45.000000000 +0200 @@ -1,6 +1,6 @@ SET(VERSION_MAJOR "2") SET(VERSION_MINOR "46") -SET(VERSION_PATCH "10") +SET(VERSION_PATCH "11") SET( VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}${GIT_SHA1_VERSION}" ) ##### This is need for the libyui core, ONLY. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/libyui-qt-2.46.10/src/YQApplication.cc new/libyui-qt-2.46.11/src/YQApplication.cc --- old/libyui-qt-2.46.10/src/YQApplication.cc 2014-05-21 10:35:20.000000000 +0200 +++ new/libyui-qt-2.46.11/src/YQApplication.cc 2014-05-30 11:35:45.000000000 +0200 @@ -52,6 +52,11 @@ #include "YQGraphPluginStub.h" #include "YQContextMenu.h" +// Qt5 requires the explicit font initialization; otherwise it picks up +// any random matching fonts, and tends to choose the worst one +// (e.g. bitmap fonts) in the end. (bnc#879991) +// Note that this is also set in LANG_FONTS_FILE +static const char * default_font_family = "Sans Serif"; YQApplication::YQApplication() : YApplication() @@ -74,6 +79,7 @@ // the above works too, but let's try it the icon-loader way - FaTE #306356 iconLoader()->addIconSearchPath( ICONDIR "/icons/" ); loadPredefinedQtTranslations(); + _fontFamily = default_font_family; yuiDebug() << "YQApplication constructor end" << std::endl; } @@ -207,6 +213,8 @@ { if ( ! _langFonts ) { + // FIXME, LANG_FONTS_FILE is defined in the generic interface, + // in yui/Libyui_config.h _langFonts = new QSettings( LANG_FONTS_FILE, QSettings::IniFormat ); Q_CHECK_PTR( _langFonts ); @@ -248,7 +256,7 @@ } if ( _fontFamily.isEmpty() ) { - _fontFamily = "Sans Serif"; + _fontFamily = default_font_family; reloadFont = true; } -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org