~ubuntu-branches/ubuntu/breezy/koffice/breezy

« back to all changes in this revision

Viewing changes to kivio/kiviopart/kiviosdk/kivio_text_style.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Ben Burton
  • Date: 2004-05-09 11:33:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040509113300-vfrdadqsvjfuhn3b
Tags: 1:1.3.1-1
* New upstream bugfix release.
* Built against newer imagemagick (closes: #246623).
* Made koffice-libs/kformula recommend/depend on latex-xft-fonts, which
  provides mathematical fonts that the formula editor can use.  Also
  patched the kformula part to make these fonts the default.
* Changed kword menu hint from "WordProcessors" to "Word processors"
  (closes: #246209).
* Spellchecker configuration is now fixed (closes: #221256, #227568).

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
#include "kivio_text_style.h"
3
3
#include <qdom.h>
4
4
#include <qpainter.h>
5
 
#include <kglobalsettings.h>
 
5
#include <koGlobal.h>
6
6
 
7
7
KivioTextStyle::KivioTextStyle()
8
8
{
12
12
    m_vTextAlign = Qt::AlignVCenter;
13
13
    m_isHtml = false;
14
14
    //m_font = QFont("times",12);
15
 
    m_font = KGlobalSettings::generalFont();
 
15
    m_font = KoGlobal::defaultFont();
16
16
}
17
17
 
18
18
KivioTextStyle::~KivioTextStyle()