[webkit-dev] Transformation of German "ß" to "SS" and Editing

Ryosuke Niwa rniwa at webkit.org
Fri Jul 8 13:53:24 PDT 2011


Hi all,

Editing code in general is unaware of German "ß" and it hits assertions or
exhibit incorrect behavior whenever there's ß and case transformation.

I'd like to fix this but I need your wisdom because I don't fully understand
how we're transforming small ß to SS in rendering engine.  Is this happening
in line layout code?  If so, where and when?

And how can we detect this in editing code?  It appears as if whenever we
see "SS" in RenderText, we'd have to go check if they were generated by "ß"
or not by looking at the corresponding Text node.

Even if the above solution worked, it seems like we'd have to add the same
hack in at least TextIterator, Position, VisiblePosition, and visible_units,
which seems quite invasive.  Maybe we should refactor these classes and
functions to share code first?

I request for your comments and suggestions.

Best,
Ryosuke Niwa
Software Engineer
Google Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20110708/375d1131/attachment.html>


More information about the webkit-dev mailing list