Changeset 7cd6da5021 in tspsg for src/mainwindow.cpp


Ignore:
Timestamp:
Sep 3, 2010, 5:06:43 PM (14 years ago)
Author:
Oleksii Serdiuk
Branches:
0.1.3.145-beta1-symbian, 0.1.4.170-beta2-bb10, appveyor, imgbot, master, readme
Children:
cb1608daaf
Parents:
ac76a6a753
git-author:
Oleksii Serdiuk <contacts@…> (09/03/10 17:06:43)
git-committer:
Oleksii Serdiuk <contacts@…> (06/29/12 19:45:57)
Message:

+ TSPSG now uses DejaVu? LGC Sans Mono as the default font and comes with it "embedded" in the executable.

  • Updated tspsg.tag file.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mainwindow.cpp

    rac76a6a753 r7cd6da5021  
    748748                pic.begin(&graph);
    749749                pic.setRenderHints(QPainter::Antialiasing | QPainter::SmoothPixmapTransform);
    750 QFont font = settings->value("Output/Font", QFont(getDefaultFont(), 9)).value<QFont>();
     750QFont font = settings->value("Output/Font", QFont(DEF_FONT_FACE, 9)).value<QFont>();
    751751                if (settings->value("Output/HQGraph", DEF_HQ_GRAPH).toBool()) {
    752752                        font.setWeight(QFont::DemiBold);
     
    11451145void MainWindow::initDocStyleSheet()
    11461146{
    1147         solutionText->document()->setDefaultFont(settings->value("Output/Font", QFont(getDefaultFont(), DEF_FONT_SIZE)).value<QFont>());
     1147        solutionText->document()->setDefaultFont(settings->value("Output/Font", QFont(DEF_FONT_FACE, DEF_FONT_SIZE)).value<QFont>());
    11481148
    11491149        fmt_paragraph.setTopMargin(0);
Note: See TracChangeset for help on using the changeset viewer.