lewisje / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

Font Family not used when surrounded by single quotes in Flash 10.1 #510

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a text node in which the font family is defined using a CSS style 
that surrounds the family name with single quotes.

What is the expected output? What do you see instead?
I expect to see the correct font family being used, however, a default of Times 
or similar is used instead.

What version of the product are you using? On what operating system,
browser, and version of Flash?
Windows, IE 8, Flash 10.1 final

Please provide any additional information below. Reduced test cases are
always appreciated!
The problem is the removal of single quotes that is performed in SVGTextNode.  
It does not do a global replace, so as a result, the last single quote is left 
on the font family.  Apparently that works just fine in Flash prior to 10.1.  
In 10.1 the ending quote must be removed as well.  Attached is a file which 
demonstrates the problem, the fix in a svn diff, and a before and after image.

Original issue reported on code.google.com by bduncan%...@gtempaccount.com on 11 Jun 2010 at 1:20

Attachments:

GoogleCodeExporter commented 8 years ago
Fixed in r1171.
Thanks for the patch!

Original comment by grick23@gmail.com on 11 Jun 2010 at 1:56