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

List:       koffice-devel
Subject:    Re: karbon, kpainter and kword
From:       nicolasg () snafu ! de
Date:       2003-06-19 15:53:08
[Download RAW message or body]

As the WebMail server seems to have eaten my email, here a new version of it.

Ligatures: the problem is that ligatures are more or less optional in Latin-
based languages. However it seems that ligatures (or other character shaping 
changes) are not optional with certain scripts.

Unicode: Unicode allows constructs like a´  for á. I do not really know how Qt 
support it but such constructs could be import by the plain text filter.

Shapers: well, Qt seems to have done it for character (script) groups instead 
of languages.

In general: I do not know much about the situation an the problems. I know what 
is in Qt's doc and I know some threads in kde-i18n-doc. Especially I have no 
idea how is the efficient way of dealing with the problems.

Have a nice day!

--- Original Message ---
List:     koffice-devel
Subject:  Re: karbon, kpainter and kword
From:     "Dirk Schönberger" <dirk.schoenberger () sz-online ! de>
Date:     2003-06-17 14:58:17

nicolasg@snafu.de schreibt:

> Please do not forget that width("AB") is not necessarily width('A') + width
('B')
> 
> It is always true with Latin letters but the world is also made of other 
> characters.

With ligature enabled text rendering width("fl" != width("f") + width ("l")
;)
And don't get me started on UTF-8 encoded german umlauts, like A+diacritic.
But I suppose if you have QString you have real Unicode string, not UTF-8
encoded pseudo strings...

I will try to keep this in mind.
But this will mean that we have to introduce language specific shapers like
in pango?

Regards
Dirk

_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://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