From koffice-devel Thu Apr 29 07:36:41 2010 From: Jaroslaw S Date: Thu, 29 Apr 2010 07:36:41 +0000 To: koffice-devel Subject: Re: Horizontal text scale in kotext (KoCharacterScale) Message-Id: X-MARC-Message: https://marc.info/?l=koffice-devel&m=127252668620770 On 24 April 2010 11:18, Thomas Zander wrote: > On Saturday 24. April 2010 11.07.38 Jaroslaw Staniek wrote: >> Hi, >> I am looking for info on how it could be possible to add horizontal >> character scaling (ODF style:text-scale). It is supported at >> KoCharacterScale via KoCharacterStyle::TextScale, but probably is not >> rendered. The only method I found relevant to text scaling in Qt is >> QFont::setStretch( int factor ), but this is different layer. >> Any hints? Should we wait for improvements in Qt, or? > > I tried to add this in Qt (QTextFormat) but soon realized that would be an > effort of futility since the QFont method you see is not all that useful. Tried that and I don't understand now. See http://img706.imageshack.us/i/plasmadesktopi17644.jpg/ It's as nice as in oo.org. Maybe you mean some other issues? Anyway, I am looking for a hint on how to add that to kotext. -- regards / pozdrawiam, Jaroslaw Staniek http://www.linkedin.com/in/jstaniek Kexi & KOffice (http://www.kexi-project.org, http://www.koffice.org) KDE Software Development Platform on MS Windows (http://windows.kde.org) _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel