Re: [flexcoders] Embedding Emmentaler Fonts

2009-08-12 Thread Wesley Acheson
Maybe the font only has bold. You need a seperate embedding for bold fonts.

On Wed, Aug 12, 2009 at 9:51 PM, Tim Sawyer  wrote:

> Hi,
>
> I'm trying to embed the Emmentaler font from lilypond (www.lilypond.org)
> in order to be able to output musical notation with Flex.
>
> If I embed the font like this:
>
>   
>  @font-face
>  {
>src: url("/usr/share/lilypond/2.12.1/fonts/otf/emmentaler-26.otf");
>fontFamily: "Emmentaler";
>fontName: "Emmentaler-26";
>  }
>
>  .MyTextStyle
>  {
>embedFonts: true;
>fontFamily: Emmentaler;
>  }
>
>
>
> I get a compile error saying:
>
> Error: exception during transcoding: Font for alias 'Emmentaler' with plain
> weight and style was not found at:
> file:/usr/share/lilypond/2.12.1/fonts/otf/emmentaler-26.otf.  The font is
> present at that path.
>
> Details of the font are here, it's GPL as part of the lilypond source.
>
>
> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/The-Feta-font#The-Feta-font
>
> Can anyone give me any clues as to how to embed it?
>
> Cheers,
>
> Tim.
>
>
>
> 
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location:
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>


[flexcoders] Embedding Emmentaler Fonts

2009-08-12 Thread Tim Sawyer
Hi,

I'm trying to embed the Emmentaler font from lilypond (www.lilypond.org) in 
order to be able to output musical notation with Flex.

If I embed the font like this:

   
  @font-face
  {
src: url("/usr/share/lilypond/2.12.1/fonts/otf/emmentaler-26.otf");
fontFamily: "Emmentaler";
fontName: "Emmentaler-26";
  }

  .MyTextStyle
  {
embedFonts: true;
fontFamily: Emmentaler;
  }



I get a compile error saying:

Error: exception during transcoding: Font for alias 'Emmentaler' with plain 
weight and style was not found at: 
file:/usr/share/lilypond/2.12.1/fonts/otf/emmentaler-26.otf.  The font is 
present at that path.

Details of the font are here, it's GPL as part of the lilypond source.

http://lilypond.org/doc/v2.12/Documentation/user/lilypond/The-Feta-font#The-Feta-font

Can anyone give me any clues as to how to embed it?

Cheers,

Tim.