I have a question related to font embedding from external swfs. I have 2 different swfs with different unicode ranges of the same font family (Arial):
[Embed(source='Arial.ttf', unicodeRange="U+0400-04FF", fontFamily="Arial", fontWeight="normal", embedAsCFF="false", mimeType='application/x-font')]
public static var ArialCyrillic:Class;
and:
[Embed(source='Arial.ttf', unicodeRange="U+0600-06FF", fontFamily="Arial", fontWeight="normal", embedAsCFF="false", mimeType='application/x-font')]
public static var ArialArabic:Class;
Then I call:
Font.registerFont(FontLib1.ArialCyrillic)
Font.registerFont(FontLib2.ArialArabic)
The problem is that arabic font replaces cyrillic, so I can see only arabic symbols. If I register arabic first, then I will see only cyrillic symbols. I know that I can have 1 external swf with unicodeRange="U+0400-04FF,U+0600-06FF", but it is not suitable in my case. So is it possible to embed different unicode ranges of the same font family dynamically?