The only thing I can suggest is looking at Lee Brimelow's tutorial on using
[Embed] for fonts. Maybe going through that tutorial will enlighten you.

http://gotoandlearn.com/play?id=102

Kttu

On Mon, Aug 31, 2009 at 3:10 PM, Andrew Murphy <[email protected]> wrote:

> Hi again, Ian. :)
>
> I have tried a few different variations on the font name, but I hadn't
> tried
> using Font.enumerateFonts() to list the system's names for the fonts.
>  Thank
> you for that suggestion. :)  I gave it a try, listing out the fontName and
> fontStyle props and ended up with this:
>
> name: Akzidenz Grotesk BE   style: regular
> name: Akzidenz Grotesk BE Bold   style: regular
> name: Akzidenz Grotesk BE BoldEx   style: regular
> name: Akzidenz Grotesk BE Ex   style: regular
> name: Akzidenz Grotesk BE Light   style: regular
> name: Akzidenz Grotesk BE LightEx   style: regular
> name: Akzidenz Grotesk BE LightOsF   style: regular
> name: Akzidenz Grotesk BE LightSC   style: regular
> name: Akzidenz Grotesk BE MdEx   style: regular
> name: Akzidenz Grotesk BE Super   style: regular
>
>
> I'd already tried "Akzidenz Grotesk BE" but just in case I gave it another
> try, like this:
>
> [Embed(
>  systemFont="Akzidenz Grotesk BE",
>  fontName="AkzidenzOTF",
>  mimeType="application/x-font",
>  unicodeRange="U+0021-U+00FF"
> )]
> var akzidenz_otf:Class;
> Font.registerFont(akzidenz_otf);
>
>
> And it throws the exact same error.
>
>
>
> However I have managed to get it working, sort of, by just creating Font
> Symbols in my FLA's Library.  It means embedding the whole dern font,
> rather
> than a smaller subset of characters, but at least it works.
>
> I guess this is "solved".  More-or-less.
>
>
> Thank you for your help. ^_^
>
>
>
>
> --------------------------------
> Andrew Murphy
> Interactive Media Specialist
> [email protected]
>
> 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.
>
>
>
> > -----Original Message-----
> > From: [email protected]
> > [mailto:[email protected]] On Behalf
> > Of Ian Thomas
> > Sent: Monday, August 31, 2009 1:31 PM
> > To: Flash Coders List
> > Subject: Re: [Flashcoders] Error when trying to embed a font
> >
> > Sorry! My poor reading!
> >
> > The normal reason for such errors is that the name of the
> > font (when using systemFont) does not exactly match the name
> > your system thinks it should be. This can be complicated by
> > font variants - you say you've already tried combinations of
> > fontStyle, fontWeight etc. Have you tried those variants
> > within the name? Could it be something like the name should
> > be "Berthold Akzidenz Grotesk Bold" and you should have
> > fontWeight set to bold?
> >
> > Have you tried Font.enumerateFonts() to list what fonts your
> > Flash Player thinks is available on your system, and what
> > their names are?
> >
> > Ian
> >
> > On Mon, Aug 31, 2009 at 6:01 PM, Andrew
> > Murphy<[email protected]> wrote:
> > > Hi, Ian. :)
> > >
> > > Thanks, but I tried that already, I mentioned it in my
> > first post.  It
> > > throws the same error.
> > >
> > >
> > > --------------------------------
> > > Andrew Murphy
> > > Interactive Media Specialist
> > > [email protected]
> > >
> > > 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.
> > >
> > >
> > >
> > >> -----Original Message-----
> > >> From: [email protected]
> > >> [mailto:[email protected]] On
> > Behalf Of Ian
> > >> Thomas
> > >> Sent: Monday, August 31, 2009 12:35 PM
> > >> To: Flash Coders List
> > >> Subject: Re: [Flashcoders] Error when trying to embed a font
> > >>
> > >> 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<[email protected]>
> > >> 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:[email protected]> [email protected]
> > >> >
> > >> > 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
> > >> > [email protected]
> > >> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >> >
> > >>
> > >> _______________________________________________
> > >> Flashcoders mailing list
> > >> [email protected]
> > >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> > >
> > > _______________________________________________
> > > Flashcoders mailing list
> > > [email protected]
> > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> > >
> >
> > _______________________________________________
> > Flashcoders mailing list
> > [email protected]
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to