我正在调查巨大的遗留项目,其中许多SWF资产是动态加载的。我猜设计师在Flash IDE中使用嵌入字体。现在我正在进行本地化,我的问题是嵌入式$('#menu li a').on('click', function(){
$('#menu li a.current').removeClass('current');
$(this).addClass('current');
});
字体没有非英文符号。我添加了正确的ttf字体:
Futura
我已使用[Embed(source="../../../../../assets/fonts/FuturaBT-ExtraBlackCondensed.ttf", fontFamily="Futura Extra Black Condensed BT", mimeType="application/x-font", embedAsCFF="false")]
private const FONT_FUTURA_EXTRA_BLACK_CONDENSED:Class;
删除了主要代码中的所有地点
它可以工作,但是当我检查Font.registerFont()
以显示所有嵌入字体时,它显示出一些混乱:
Font.enumerateFonts(false)
我担心无效的[trace] Fonts : embedded 21 / all 192
[trace] Arial / regular / embeddedCFF
[trace] Arial / bold / embedded
[trace] Arial / regular / embedded
[trace] Arial / regular / embedded
[trace] Arial Black / regular / embeddedCFF
[trace] Arial Bold / regular / embeddedCFF
[trace] Arial Bold / bold / embedded
[trace] DS-Digital / bold / embedded
[trace] Futura Extra Black Condensed BT / regular / embedded
[trace] Futura Extra Black Condensed BT / regular / embedded
[trace] ITCOfficinaSans LT Book / bold / embedded
[trace] ITCOfficinaSerif LT Book / bold / embedded
[trace] Myriad Pro / regular / embedded
[trace] Myriad Pro Bold / bold / embedded
[trace] Myriad Pro Bold Condensed / bold / embedded
[trace] Myriad Pro Light / bold / embedded
[trace] Myriad Pro Semibold / bold / embedded
[trace] Rockwell Extra Bold / regular / embedded
[trace] Times New Roman / regular / embeddedCFF
[trace] VAG Rounded BT / regular / embedded
[trace] VAG Rounded LT CYR Bold / bold / embedded
仍然存在。
所以我有两个问题:
如何找到那些嵌入字体的来源?
有办法吗? 以某种方式嵌入字体后删除或隐藏字体?