Changeset 7e8e1b444d in tspsg


Ignore:
Timestamp:
Jul 17, 2012, 7:13:58 PM (12 years ago)
Author:
Oleksii Serdiuk
Branches:
appveyor, imgbot, master, readme
Children:
c8ed26ddf1
Parents:
95c1897bf1
git-author:
Oleksii Serdiuk <contacts@…> (07/17/12 19:13:58)
git-committer:
Oleksii Serdiuk <contacts@…> (07/17/12 19:27:37)
Message:

DejaVuLGCSansMono.ttf doesn't contain bold version.

Because of this, at least in Kubuntu 12.04, no bold characters where
produced in the solution output even if text was marked to be bold.
Added also bold version of this font (DejaVuLGCSansMono-Bold.ttf) to
built-in resources.

Additionally, updated DejaVuLGCSansMono.ttf to the latest version.

Files:
1 added
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • resources/common.qrc

    r95c1897bf1 r7e8e1b444d  
    55    <qresource prefix="/files">
    66        <file>COPYING</file>
    7         <file>DejaVuLGCSansMono.ttf</file>
     7        <file>fonts/DejaVuLGCSansMono.ttf</file>
     8        <file>fonts/DejaVuLGCSansMono-Bold.ttf</file>
    89    </qresource>
    910</RCC>
  • src/main.cpp

    r95c1897bf1 r7e8e1b444d  
    6969#endif
    7070    // Don't load the font if it is already available
    71     if (!QFontDatabase().families().contains(DEF_FONT_FACE))
    72         QFontDatabase::addApplicationFont(":/files/DejaVuLGCSansMono.ttf");
     71    if (!QFontDatabase().families().contains(DEF_FONT_FACE)) {
     72        QFontDatabase::addApplicationFont(":/files/fonts/DejaVuLGCSansMono.ttf");
     73        QFontDatabase::addApplicationFont(":/files/fonts/DejaVuLGCSansMono-Bold.ttf");
     74    }
    7375
    7476QTranslator en;
Note: See TracChangeset for help on using the changeset viewer.