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:

   <mx:Style>
      @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;
      }
    </mx:Style>
    <mx:Label text="Hello" id="myLabel" styleName="MyTextStyle"/>

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.

Reply via email to