TechmanDesign / explorercanvas

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

measureText error when getting width of italic font in html5 #113

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set the style of font to italic.
2. Now get the width using html5's canvas context object's measureText method.
3. Set the canvas width equal to width get by above step.

What is the expected output? What do you see instead?
Canvas should shows text properly without cutting last or more than 1 character.

What version of the product are you using? On what operating system?
Google chrome latest version,Windows 7

Please provide any additional information below.

Original issue reported on code.google.com by pvs1...@gmail.com on 9 Dec 2011 at 12:27