[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-24 9:39:46
Message-ID: o2v56a746381004240239g4c87eddfl96eebae3a9eb458f () 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.   Try
> it, you likely won't like the effects. (I tried it on qt45 linux)
> I don't think its a Qt bug, but lower levels.
>
> This is one of those properties that are likely going to be too hard to do at
> this point in time. (choose your battles wisely ;)

OK, thanks for the explanation.
Of course a TODO is to look how nice it would be rendered on
non-X11/freetype systems.

BTW, Is there a place (wiki?) where we note down status of particular
ODF properties? If not, I can create a simple table. I found some
comments in KoCharacterStyle.cpp, but having the support status noted
down somewhere centrally would be nicer.

-- 
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