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

List:       koffice-devel
Subject:    Re: Font dialog
From:       David Faure <faure () kde ! org>
Date:       2005-06-05 20:03:32
Message-ID: 200506052203.33494.faure () kde ! org
[Download RAW message or body]

On Sunday 05 June 2005 22:46, pierre.stirnweiss_koffice@gadz.org wrote:
> - offset = 0 if subscript or superscript is checked. apparently 
> KoTextFormat::save is dropping sub or super if offset != 0 anyway.

Hmm, strange. We can definitely draw text with an offset even if it's not subscript/superscript,
the painting code handles it; so why not allow it...
Ah, save() is for OASIS, not for old XML. I think this is simply a bug in KoTextFormat::save().
OK if I fix it to save the offset there?

> - relative text size is fixed in case of sub/super, This is the main getting 
> item: if we load a document (OOo for example) with text-pos = "super 
> 58%" (legal according to OASIS) we can either drop the 58% and use the normal 
> 66%, which is no good, or convert it to Custom but then we do not keep the 
> document intact on save again (not good either).

I don't follow.
I see that we can load and save "super 58%" correctly, by setting AlignSuper and relativetextsize=0.58,
are you sure we can't handle it? Or is that only a GUI issue?

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.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