I've tried adding the /
at the front like many other forums and blogs suggested and that didnt work.
I'm hoping I missed something, and you guys can help me catch it. I'm using the AlivePDF
library its working fine so far until now, I am trying to embed the swiss-721-bold-outline
, here is my code:
[Embed( source="/../swissFonts/swz721bo.TTF", mimeType="application/octet-stream" )]
var swissBold:Class;
[Embed( source="/../swissFonts/swiz721bo.afm", mimeType="application/octet-stream" )]
var BoldAfm:Class;
var regularSwiss:EmbeddedFont = new EmbeddedFont(new swissBold() as ByteArray, new BoldAfm() as ByteArray, CodePage.CP1252);
Simple, but I keep getting these errors:
Unable to resolve '/../swissFonts/swiz721bo.afm' for transcoding
Unable to transcode /../swissFonts/swiz721bo.afm.
Notice that the .TTF
file has no errors, just the .afm
...