You could try directly referencing the TTF or OTF file with the 'source' argument instead of using the 'systemFont' argument:
[Embed( source="/Path/To/FontFile.TTF", HTH, Ian On Mon, Aug 31, 2009 at 1:31 PM, Andrew Murphy<amur...@delvinia.com> wrote: > Good morning. (Well.. it's morning here anyway.) > > I'm having problems with creating a font .swf file, to use for sharing a > font between some Flash movies. One of the fonts I want to embed is > Berthold Akzidenz Grotesk Medium. > > In the font .swf's FLA file I'm trying to embed it like this: > > > [Embed( > systemFont="Berthold Akzidenz Grotesk", > fontName="AkzidenzMedOTF", > fontStyle="Medium", > mimeType="application/x-font", > unicodeRange="U+0021-U+00FF" > )] > var akzidenz_otf:Class; > Font.registerFont(akzidenz_otf); > > > And I keep getting the error: exception during transcoding: Font for alias > 'AkzidenzOTF' with plain weight and style was not found by family name > 'Berthold Akzidenz Grotesk' > > I'm working in WindowsXP, Flash CS4 and it's a Type1 font. > > I've tried various settings for the fontWeight and fontStyle and nothing > seems to affect this error. > > I've also tried not using "systemFont" and instead setting the "source" path > in the Embed to C:/WINDOWS/Fonts/gfm_____.pfm, which is this font's source > file on my machine, and it throws the same error. > > Any ideas on what I'm dong wrong and how to fix it.. if it can be fixed? > > Thank you. :) > > > > -------------------------------- > Andrew Murphy > Interactive Media Specialist > <mailto:amur...@delvinia.com> amur...@delvinia.com > > Delvinia > 214 King Street West, Suite 214 > Toronto Canada M5H 3S6 > > P 416.364.1455 ext. 232 F 416.364.9830 W www.delvinia.com > > CONFIDENTIALITY NOTICE > This email message may contain privileged or confidential information. If > you are not the intended recipient or received this communication by error, > please notify the sender and delete the message without copying or > disclosing it. > > AVIS DE CONFIDENTIALITÉ > Ce message peut contenir de l'information légalement privilégiée ou > confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par > erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en > détruire le contenu sans le communiquer a d'autres ou le reproduire. > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders