Try specifying font-weight:bold; in addition to the other properties in the @font-face rule.
Pete -----Original Message----- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Amy Sent: Sunday, March 29, 2009 3:26 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Embedding a font with a space in it --- In flexcoders@yahoogroups.com, Eric Cancil <ecan...@...> wrote: > > When I try to embed a font with a space in it in Flex I get an error. > > @font-face { > src: url("../asset/font/futura.swf"); > fontFamily : Futura Medium; > } > > Although this font exists within the SWF i get the following error font (*) > with normal weight and regular style not found. I don't think that the name you put in the fontFamily spot in the CSS has to agree with anything in the font itself...I belive it's just a "handle" to allow you to refer to it as you're applying it to components. Try: @font-face { src: url("../asset/font/futura.swf"); fontFamily : foo; } And see what happens. ------------------------------------ -- 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