Hi, I'm not sure if this is the same problem you're having cause it sounds like you're build goes thru fine with the font. Anyways I'm on OSX also but none of my fonts embed when using the source attribute with the location of the font. I've tested a dozen fonts and kept getting the message "Error: exception during transcoding: Unexpected exception encountered while reading font file...". Anyways providing the actual name of an installed font to the systemFont attribute worked every time so far...
[Embed(systemFont="Arial", fontName="myArial", mimeType="application/x-font")] private var font1:Class; I guess the compiler is only able to read windows-based truetype files. If this isn't the issue, did you bring over windows truetype fonts for embedding? -David flexcodersVK wrote: > > I've tried for several hours to use a embedded font without succes. > > I have: > > <mx:Script> > <![CDATA[[ > [Embed(source="work/ttf/KIMSHAND.TTF", > fontName="KIMSHAND", > mimeType="application/x-font")] > private var fontKIMSHAND:Class; > ]]> > </mx:Script> > > <mx:Text > id="helpText" > height="240" > width="240" > text="My help text" > fontSize="24" color="#ffffff" fontFamily="KIMSHAND"> > </mx:Text> > > The .text isn't displayed when I run the project. > I've trief a lot of other truetype fonts, but none are working. > I'm using Flex 2.0.1 on OSX. > > Thanks for help! > > Jaap > >