jonessieka / explorercanvas

Automatically exported from code.google.com/p/explorercanvas
Apache License 2.0
0 stars 0 forks source link

A restricted set of font families and style is supported #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Not all the combinations of font family/weight are supported.
For example this style won't give the expected result : 

   font: normal normal bold 10px sans-serif;

It will draw something like : 

   font: normal normal bold 10px "Times New Roman";

Note that "Times new roman" is not a sans-serif font.

See the bug report here :
http://code.google.com/p/canvas-text/issues/detail?id=4

There is information about this here :
http://docs.dojocampus.org/dojox/gfx/#implementation-notes

We should have a list of "easy" font families (arial, verdana, times new 
roman). But I'm not sure the result will be perfect.

Original issue reported on code.google.com by fabien.menager on 22 Oct 2009 at 6:55

GoogleCodeExporter commented 9 years ago
Hi guys, in second information source it is described that in IE 7 not all 
fonts are supported. What is with IE 8? Are for IE 8 foreign fonts supported? I 
use my own fonts at the moment. This will import with @font-face. Is this 
possible with excanvas?

Thanks in advance for all replies.

Hanna

Original comment by HannaSop...@web.de on 12 Sep 2010 at 1:08