sorccu / cufon

Fast text replacement with canvas and VML - no Flash or images required.
http://cufon.shoqolate.com
MIT License
2.09k stars 237 forks source link

Support Retina display resolution #140

Closed egghaus closed 13 years ago

egghaus commented 14 years ago

all rendered font's are pixelated.

see related article — http://blog.iwalt.com/2010/08/generating-highresolution-graphics-with-html5s-canvas-element.html

sorccu commented 13 years ago

Fixed. Late but fixed.

egghaus commented 13 years ago

awesome, thanks! we'll use this :)

Devolv commented 12 years ago

New issue. Padding within the canvas elements are incorrect. Padding unit used within the Canvas element is pixels, and when using the device-pixel-ratio=2 this doubles the padding as well, but this creates too much padding on the Retina devices. Text height alignment is off as well, so vertically centering Cufon text on a header consistently would be impossible for both Retina and Non-Retina devices. Characters such as "g", "j" etc are also being clipped off the edge of the canvas element.