Re: WebKit ª½®Ñ(w/ CSS Writing Mode)¥Ø«eªº±¡ªp

2010/12/8 Yuan Chao <yuanchao@gmail.com>:
> 2010/12/8 Koan-Sin Tan <koansin.tan@gmail.com>:
>> 2. platform dependent ªº³¡¥÷, Apple ¥ý¹ê°µ¥u¦³ Mac OS X ¤W¥Î Core
>>    Text ©M cocoa ªº³¡¥÷¡C¥]¬A WeKit ©M Chromium for Mac ¥Îªº³£¬O³o­Ó
>>    backend, ¤]´N¬O»¡¦b¦pªG¤U¦b WebKit ©Î Chromium ªº nightly build,
>>    ¤j·§¦b¤Q¤ë©³¤Q¤@¤ëªì¥H«áªºª©¥»´N¥i¥H¬Ý¨ìª½®Ñ¤F¡C¤£¹LÁÙ¬O¦³¨Ç
>>    ¤p°ÝÃD, ¦pÅã¥Ü [1] ªº®É­Ô¬O¿ùªº
> ¥i¥H³Â·Ð¶K­Ó¹Ï»¡©ú¤@¤U¿ù»~ªº¦a¤è¶Ü¡H

½Ð¬Ý [1-3], [1,2] ¬O¦b Mac ¤W Chrome Dev Channel ¬Ýªº, ¥ªÃä¥Ã»·¬Ý¤£¨ì,
¤U­±ªº scrollbar ¦³¥X¨Ó, ¦ý¬O¤@©Ô´N!@#$

[3] ªº scrollbar «Ü©úÅãÂ\¦b¥¿½Tªº¦a¤è¤F, ©Ô¤F¤]¥¿±`, ­ì¥»¥H¬°¬O WebKit
¤W platform independent ªº°ÝÃD, ²{¦b¬Ý¨Ó¬O platform dependent ªº°ÝÃD,
­n¨Ó°e­Ó bug report

[1] http://www.flickr.com/photos/koansin/5243822284/
[2] http://www.flickr.com/photos/koansin/5243224643/
[3] http://www.flickr.com/photos/koansin/5243837438/in/photostream/

> ª`·N¨ìÃö©ó¼ÐÂIªº¦a¤è¡A¥Ø«eªº³o­Óimplementation¦ü¥G¬O¨Ì·Ó²¤¤»P¤é¤åªº°µªk¡A
> §â³r¸¹©ñ¨ì¥k¤W¨¤¡C(¤]´N¬O«e¤@­Ó¦rªº¥k¤U¨¤)¤£¹Lª½®Ñ®É·|´«¦¨Ãþ¦ü¤¤¤åªº¹y¸¹¡C
> ¥i¬O³o¸ÌÅã¥Üªº¥y¸¹¬O¦b¤¤¥¡¡C
> ¾Ú¤p§Ì©Òª¾¡A¾î®Ñ®É¤j³°Â²¤¤ªº²ßºD¡A¬O§â¥y³r³£©ñ¨ì«e¤@­Ó¦rªº¥k¤U¨¤¡C(²{¦b¦n¹³¨S¦³¦b¥Îª½®Ñ¤F)
> ¦Ó¥xÆWÁc¤¤ªº²ßºD«h¬O¤£½×ª½¾î³£©ñ¦b¦r²Åªº¤¤¶¡¡C
> ¡u¥j¥N¡v­Ê¤Ñ¤¤¤å¦Lª½®Ñªº®É­Ô¥u­nÂà90«×¡A©Ò¥H¨Ã¤£·|¹³¤Þ¸¹¤§Ãþ¯S§O°µª½®Ñ¥Îªº¦r²Å¡C
> («á¨Ówindows¦ü¥G¤]¬Oªuŧªº¤èªk¡A´£¨Ñ@¶}ÀYÂà90«×ªº¦r«¬¨Ñª½®Ñ¦C¦L¨Ï¥Î¡C)
> ¦bfreedom¤j´£¨Ñªº§ì¹Ï¬Ý¨Ó¡A¶ÂÅ骺³r¸¹¦ü¥G¤Ó¾aªñ«e¤@­Ó¦r¡A
> ¦Ó¼Ð·¢Å骺³r¸¹«h¬O¶¶®É°wÂà¤F90«×¡C³o¬O¦]¬°¥Ø«eªº¹ê§@¬OÃþ¦ü¥j¥N¡A¥ý°f®É°wÂà90«×«á¡A
> ¥H­ì¥»ªºlayout engine±Æ¦n¡A¦AÂà¦^¨Óªº°µªk¶Ü¡H

³o¬O¦r«¬ªº°ÝÃD¡C²³æ»¡§A¬Ý¨ìªº¨º¨â±i¥D­n¥Îªº¦r«¬¬O·L³n¥¿¶ÂÅé¡C

¦pªG¦r«¬¤¤¦³ 'vhea' (vertical header table)ªº, ·|®³¨Ó§âÂà -90 «×
¦b³o­Ó¦r«¬¤¤ªºª½®Ñ´À¥Nªí»¡ Unicode ¤¤ªº U+FF0C, FULL WIDTH COMMA
­n´«¦¨ U+FE10, PRESENTATION FORM FOR VERTICAL COMMA
¨C­Ó¦r«¬³B²z³o¨Çªº¤èªk¤£¤Ó¤@¼Ë, §Ú²{¦b¥u¦³³B²z OpenType GSUB
table ¤¤ªº 'vert'¡C

¼Ð·¢Å骺¨S¦³ 'vhea', ©Ò¥H¤]¨S§ä GSUB 'vert', ¤]´N¬O»¡°£¨Óªº¬O¾î®Ñ
®Éªº U+FF0C

>
> ¥t¥~¡Aª`­µ²Å¸¹ªºÁn½Õ²Å¡A¦ü¥G­¸»·¤FÂI¡CÀ³¸Ó­n¦b§ì¹Ï¤¤½d¨Òªººñ®Ø¤º¶Ü¡H
>

ª`­µ²Å¸¹¬O¶Ã hack ªº, ¥Î¨â¼h <ruby> °µªº, ¬Ý¬Ý html code ´Nª¾¹D¤F
³o¦pªG¯à³QÀ½¦b®Ø®Ø¤º´N¤Ó¯«©_¤F

-- 
// koan-sin tan

Received on Wednesday, 8 December 2010 12:57:02 UTC