Re: CSS transform ¤¤¤å¦rÅܧΰÝÃD ¡X ®³±¼ÂI°}¦r§Î¡]Bitmap Strike¡^ªº CSS3 Fonts ÄÝ©Ê

2011/7/4 Kang-Hao (Kenny) Lu <kennyluck@w3.org>:

> ¦h­Ó¤ë¤§«e¸Îªi´£¥X¹L CSS Transform ·|¨Ï±o¤¤¤å¦rÅܧΪº°ÝÃD[1]¡A¦Ó Hax ´£
> ¥Xªº¤@­Ó¸ÑÄÀ[2]¬O¦]¬°¤¤¤å«Ü¦h¦r§Î¦b¦rÅé¤pªº®É­Ô·|¨Ï¥ÎÂI°}¦r§Î¡]bitmap
> strike¡^[3]¡]©ÎªÌ»¡¬O¦r§ÎÀɸ̭±ªº EBDT¡BEBLC¡BEBSC ªí[4]¡^¦Ó¤£¬O¦V¶q³¡¥÷
> ³y¦¨ªºµ²ªG¡C¡]¥H¤W¬O¹ï¦r§Î§¹¥þ¨S±M·~ªº¤H¨ì¥Ø«e¬°¤îªº²z¸Ñ¡A¦pªG¦³¤ñ¸û¦nªº
> ¸ê°T½Ð¤£ªÙ«ü±Ð¡^
³o­ÓÀ³¸Ó¬OÃö«Y¨ìUA¦r«¬´yø¹ê§@¤Wªº°ÝÃD§a¡H¦Ü¤Ö¥Ø«e´N¤p§Ì©Òª¾¦bLinux¤U¡A
ÁöµM³£¬O¨Ï¥ÎFreeType¡AFF·|¿í´`fontconfigªº³]©w¡A¦ÓChrome«h¬O¦ü¥G¤@ª½¦³µÛµLµø¬ÛÃö
(hinting and embedded bitmap font) ³]©wªºbug¡C

http://code.google.com/p/chromium/issues/detail?id=12179
http://hyperrate.com/thread.php?tid=16031

³o¨Ç­Óbug¤£­×ªº¸Ü¡A¬O¤£¥i¯àÅý§Ú§â¥D­nÂsÄý¾¹´«¨ìchrome¨t¦Cªº¡I

¤£²M·¡¦bwindows©Îmac¤Uªº±¡ªp¡C

> ³o·Pı°_¨Ó¬O«Ü§C¼h¦¸ªº¾Þ§@¡A¦Ó§Ú¸ò Hax ¬ã¨s¨ì¥Ø«e¬°¤î CSS3 Fonts ¨S¦³³o
> ¼ËªºªF¦è¡A³sª½±µ¾Þ§@ OpenType feature ªº§C¼h¦¸ÄÝ©Ê
> 'font-feature-settings'[5] ¸Ì­±¦ü¥G¨S¦³³o­Ó feature[6]¡C³o·íµM¥i¥H¥Î
> webfont ¸Ñ¨M¡]µ¹¨S¦³EBXX³¡¥÷ªº¦r§Î¡^¡A¤£¹L¦ü¥G¤£¬O«Ü¦nªº¸Ñªk¡A¤]¤£¯à¸Ñ¨M
> ¤º«Ø¦r§Îªº°ÝÃD¡A©Ò¥H¼Ð·Ç¬Ý¨Ó¬O¦³¯Ê³´ªº¡C³o¸Ì¥i¯à¦³´XºØ¸Ñªk¡G
³o¸ÌÀ³¸Ó¬O¥Ñfont rendering engine¨Ó³B²z¡A¨ä¹ê¥Î¤£µÛ©M©³¼hAPI¥´¥æ¹D¡A
»Ý­nªº¥u¬O´£¨Ñ¬ÛÃöªº¹ïÀ³³]©w¡C

> 1. ·í transform ªº®É­Ô¦Û°Ê¨ú®øÂI°}¦r§Î
> 2. ·sÄÝ©Ê
> 3. ·sªº OpenType feature
> 4. transform: rotate(0) ªº®É­Ô¤£¨Ï¥ÎÂI°}¦r§Î

> ·Qªk¡H
­Ó¤Hªº²L¨£¦³¨â­Ó¡G­n¤£´N¦bUA¸Ì­±´£¨Ñ¿ï¶µ¡AÅý¨Ï¥ÎªÌ¦Û¦æ¨M©w¡C
­n¤£´N´£¨Ñ¦bCSSªº¬ÛÃö³]©wflag¡AÅýdeveloper¨M©w¡H

> §Ú¸ò Hax °Q½×ªº®É«á¡A§Ú¬OÃhºÃ³o­Ó¥\¯à·|¤£·|¦]¬°¤Ó©³¼h©Ò¥H¦³¹ê§@§xÃø¡]²¦
> ³º¯A¤Î¨ì EBXX ªíªº¾Þ§@¡^¡A¤£¹L¥L¬O»¡ FreeType ¦³³o­Ó API¡A¦ý¬O Windows
> ªº±¡ªp¬O«ç»ò¼Ë©O¡H¡]¦n¹³­ì¥»´N¥u¦³ Windows ¦³°ÝÃD¡A¬O MacOSX ¥»¨Ó´N¨S¥h
¥D­nÁÙ¬OUAªºfont rendering engine«ç»ò³B²z¤F¡H


-- 
Best regards,
Yuan Chao

Received on Monday, 4 July 2011 13:16:11 UTC