[Webkit-unassigned] [Bug 48459] Glyphs in vertical text tests are rotated 90 degrees clockwise on Windows

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 6 21:04:19 PST 2011


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





--- Comment #15 from Chun-Lung Huang <alvincl.huang at gmail.com>  2011-01-06 21:04:18 PST ---
(In reply to comment #11)
> (From update of attachment 77702 [details])
> I would prefer orientation just be part of the constructed hash key rather than hacking the family name.  We have to do this with bold and oblique already, so I think that's a better approach than hacking the family name.

Thank you.  We thought that way at beginning.  After search and test, however, we found that Win32 Text APIs already did things for vertical writing(and line breaking/word breaking as well).  It seems that @ can do nearly all the jobs.
http://msdn.microsoft.com/en-us/goglobal/bb688137

On Windows platform, if we change the original html script by manually adding '@' in front of the font family, we could get what we need with WebKit Nightly Builds.
http://www.flickr.com/photos/burorly/5332235280/in/set-72157625585506341/
(punctuations are rotated and replaced correctly)

If we locally apply this patch and load the test case 'english-rl-text.html', the letters in vertical writing mode look correctly, not rotated even '@' was added by the patch.
http://www.flickr.com/photos/burorly/5332283402/in/set-72157625585506341/
same as 'broken-ideographic-font.html'
http://www.flickr.com/photos/burorly/5308588600/in/set-72157625585506341/

I'll try to test this in pure English environment to see if it still works well.


Thanks for Dan and Koan-Sin's comments.

-- 
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