[swfmill] Can't import & as a font glyph

daniel fischer dan at f3c.com
Thu Oct 20 10:39:47 EDT 2005


Evan <evan at tenpoundsound.com> (on Wed, 19 Oct 2005 18:29:40 -0400):

  > 
  > 	When trying to import the ampersand as a font glyph swfmill throws a 
  > xml parsing error.
  > 
  > MyFile.xml:10: parser error : xmlParseEntityRef: no name
  >          <font id="impact" import="assets/impact.ttf" 
  > glyphs="loading.TePusfBCSmpPtryiM&
  > 
  > 
  > 	Is there a bug tracker I should file this with?

it's not a bug, but an XML restriction. for & you can use the built-in entity reference &amp; , or the hexadecimal notation, &#x26; -- for other glyphs, like the double quote, you have to use hex entities: " becomes &#x22;

-dan

-- 
http://0xDF.com/
http://iterative.org/



More information about the swfmill mailing list