[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
Mon Apr 16 03:37:47 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=51584
yangc248 <yangchen at cn.fujitsu.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |yangchen at cn.fujitsu.com
--- Comment #12 from yangc248 <yangchen at cn.fujitsu.com> 2012-04-16 03:37:46 PST ---
(In reply to comment #1)
> Created an attachment (id=77406)
--> (https://bugs.webkit.org/attachment.cgi?id=77406&action=review) [details]
> 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
In my project ,
1、I had updated QFontMetrics'width interface to support vertical flag.
2、I had updated freetype font engine to get the gsub tables.
3、I had done some codes to support spectial process(For example,90 degree rotate 、 180 degree rotate for special glyph)
4、I had modified some bugs in Jiang Jiang's patch.
I dont's know whether this patchs can be passed.
--
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