[Webkit-unassigned] [Bug 51584] [Qt] Glyphs in vertical text tests are rotated 90 degrees clockwise

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 24 00:24:20 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=51584


Koan-Sin Tan <koansin.tan at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #77406|                            |review?
               Flag|                            |




--- Comment #1 from Koan-Sin Tan <koansin.tan at gmail.com>  2010-12-24 00:24:20 PST ---
Created an attachment (id=77406)
 --> (https://bugs.webkit.org/attachment.cgi?id=77406&action=review)
initial patch to make vertical text work

An initial patch to make vertical text work. There are many problems in this patch, but it works.

1. Qt doesn't export font/text matrix (yet), so we have to rotate the QPainter at least once for each QString
2. Qt doesn't export API to get GSUB tables (yet), it's not quite difficult to do vertical glyph substitution
3. Currently, glyph positions use QFontMetrics to measure the width a horizontal string. This is not quite. Should be able to measure the height of a string with vertical layout

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list