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

2010/12/8 Koan-Sin Tan <koansin.tan@gmail.com>:

·PÁÂfreedom¤jªº¾ã²z¡C

> 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

> 3. ¨ä¥Lªº platform ©O? ¦pªG¨S¦³¤H¥D°Ê¼g code, ¤j·§¨S¦³§Æ±æ, ©Ò¥H§ÚÀH«K
>    ¼g¤F¤@¨Ç code, §â Chromium [2] ©M WebKitGtk+ [3] ªºª½®Ñ§Ë±o·|°Ê¤F¡C
>    ¤£¹L¦]¬° code ¬OÀH«K¼gªº, review ¤j·§ÁÙ­n¤@°}¤l, ¦³¿³½ìªºªB¤Í¥i¥H¥ý
>    ¦Û¤vª±ª±¬Ý¡C¥Î Qt ªºªB¤Í¤]¥i¥H°Ñ¦Ò¤@¤U, °µ­Ó patch §a¡C
¯u¬O¤Ó·PÁ¤F¡C
¦³¤Fwebkitªº¨ë¿E¡A¬Û«H«Ü§Ö¨ä¥LªºÂsÄý¾¹¤]·|¥[¤J¤ä´©¡C

ª`·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

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

·PÁÂfreedom¤jªºpatch¡C


>    °µ¤F³o¨â patch ¦³­Ó·N¥~ªºµ²ªG, ¦b WebKitGtk+ ¬Ý [1] ³ºµM¬O¹ï¤F,
>    ©Ò¥H³oÀ³¸Ó¬O Macª©³B²z¦³°ÝÃD¡C
>
> 4. ¨º Windows ©O? ½Ð¥Î IE §a¡C¤£¬O°Õ, ¦]¬°Ãi±o¸Ë Windows ªºµo®iÀô¹Ò,
>    ©Ò¥H®Ú¥»¨S¬Ý, ¦³¦b¼g Windows µ{¦¡ªºªB¤Í¶¶¤â°µ¤@¤UÀ³¸Ó¤£·|¤ÓÃø¡C
>
> 5. ¤£¬ÛÃöªº§Þ³N²Ó¸`: ³B²z¦r«¬®É, Chromium Linux ¥Î Skia + HarfBuzz
>    (ª©ªº)¡CWebKitGtk+ ¥D­n¥Î Cairo+FreeType+FontConfig, °µ«Ü½ÆÂø
>    ªº³B²z®É¤~·|¥[¤W¥Î Pango
>
> [1] http://freebsd.csie.nctu.edu.tw/~freedom/html5/vertical-hant-2.html
> [2] https://bugs.webkit.org/show_bug.cgi?id=50365
> [3] https://bugs.webkit.org/show_bug.cgi?id=50619
> [4] http://www.flickr.com/photos/koansin/5240134997/
> [5] http://www.flickr.com/photos/koansin/5240153765/


-- 
Best regards,
Yuan Chao

Received on Wednesday, 8 December 2010 10:24:04 UTC