[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: Horizontal text scale in kotext (KoCharacterScale)
From:       Jaroslaw S <kexipl () gmail ! com>
Date:       2010-04-29 7:36:41
Message-ID: x2i56a746381004290036h5d80b32x17f037f56c114aaf () mail ! gmail ! com
[Download RAW message or body]

On 24 April 2010 11:18, Thomas Zander <zander@kde.org> 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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic