I have a related problem to Font Embed Error. I am creating a manifest at runtime, using manifest.addFont, manifest.addBitmapData, manifest.addText, and manifest.addBytes. After doing that I make a call to AssetLibrary.loadFromManifest (manifest). All my assets load, except for the fonts. When I trace out my manifest, it appears to be okay:
{
assets : [{
path : assets/title/haxe-opt.svg,
id : assets/title/haxe-opt.svg,
type : TEXT,
preload : true
},{
path : assets/title/frontPageText.html,
id : assets/title/frontPageText.html,
type : TEXT,
preload : true
},{
path : assets/title/KatamotzIkasi.eot,
id : assets/title/KatamotzIkasi.eot,
type : FONT,
preload : true
},{
path : assets/title/KatamotzIkasi.ttf,
id : assets/title/KatamotzIkasi.ttf,
type : FONT,
preload : true
},{
path : assets/title/KatamotzIkasi.woff,
id : assets/title/KatamotzIkasi.woff,
type : FONT,
preload : true
},{
path : assets/title/KatamotzIkasi.svg,
id : assets/title/KatamotzIkasi.svg,
type : FONT,
preload : true
}],
libraryArgs : [],
version : 2,
libraryType : openfl.utils.AssetLibrary
}
You may recognise KatamotzIkasi font from the OpenFL samples. I ran the AddingText example which works because it bundles the fonts at compile time.
I also noticed the CSS font loading issue but this is not limited to Safari for me. Any ideas?
I don’t get an error, the font just doesn’t load. OpenFL 8.8.0, Lime 7.2.1.
Sorry I posted this originally in a different less relevant thread.