Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[qt-components] Add Open Sans fonts
  • Loading branch information
locusf committed Oct 13, 2013
1 parent b6a374b commit dcfffa8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions rpm/qt-components-qt5.spec
Expand Up @@ -24,6 +24,7 @@ BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(mlite5)
BuildRequires: desktop-file-utils
BuildRequires: fdupes
Requires: google-opensans-fonts

%description
The Harmattan Qt Quick UX Components
Expand Down
4 changes: 2 additions & 2 deletions src/meego/plugin.cpp
Expand Up @@ -143,8 +143,8 @@ class MeeGoPlugin : public QDeclarativeExtensionPlugin

QDeclarativePropertyMap *uiConstants(MLocaleWrapper *locale = 0) {

QString defaultFontFamily = QLatin1String("Nokia Pure Text");
QString defaultFontFamilyLight = QLatin1String("Nokia Pure Text Light");
QString defaultFontFamily = QLatin1String("Open Sans");
QString defaultFontFamilyLight = QLatin1String("Open Sans");

// use arial when language is set to farsi
if (locale && locale->language() == QLatin1String("fa")) {
Expand Down

0 comments on commit dcfffa8

Please sign in to comment.