Hi,
I am trying to get runtime font loading working in my project.
I have managed to do this fine for Chinese characters using the
method of creating a Font symbol in the IDE and loading at runtime, but
I am struggling with Hebrew fonts.
My font appears to be loaded, and ASCII characters are displayed
fine, but my Hebrew characters are not displayed - looking at the font
in a decompiler, I can only see 243 characters embedded and no Hebrew,
so I am guessing that CS3 does not really embed the whole font? Is
there a way of hacking it to do this - library fonts, not embedding on
stage?
I also tried using Flash Develop to embed my font, but I get an
error when I try to register the font it throws an error. It decompiles
okay with the decompiler.
Error #2136: The SWF file file ... contains invalid data. I found a
couple of posts about this, but trying the fixes did not solve anything..
(http://www.ultrashock.com/forums/actionscript/font-embedding-using-flash-as3-and-flex-3-a-109509.html)
I have googled everywhere and read about 20 articles on Font
embedding, so I can't see what I am doing wrong.
My font code is here:
public class _Arial extends Sprite {
[Embed(source='C:/WINDOWS/Fonts/ARIAL.TTF', fontName='_Arial',
unicodeRange='U+05B0-U+05FF')]//,U+FB1D-U+FB4F,U+2000-U+206F,U+20A0-U+20CF,U+2100-U+2183)]
public static var _Arial:Class
}
Thanks in advance
Glen
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders