This content has been marked as final. Show 4 replies
Works for me. Well, sort of. Fonts renders fine on screen and prints ok(ish) from Windows, but printing from Mac is completely unreadable.
I created the swf creation for the fonts I need using the "procedure" on page 651 of the dev guide. The make sure you embedded them as a style somewhere higher up in your UI tree so the styles cascade down and then it just works.
fontFamily: "Font Name";
In a UI component that is a child or parent.mxml
<mx:Label ... styleName="printFont5"/>
All works well.
As I said, the only problem that I have is that it won't print on Mac (looks fine on screen and looks good and prints from Windows).
Yes. I have done all that. I couldn't care less about printing at this point - would like to get past errors.
Would anyone care to share a font.swf file so I can give it a shot? I've tried Interstate (Type 1), Helvetica Nueue, Helvetica, and even fr**!@#% Arial on my Mac in Flash 8 to no avail.
font 'myFont' with normal weight and regular style not found
I Agree with Robert, it works fine, with embed fonts, in this way, but only in this way.
I explain :
I used exactly the same method to embed my proprieraty font, but when I want to use it in a htmlText like this :
<mx:Text width="100%" id="ta2">
<![CDATA[This is a picto : <font face="NuP" size="18">T</font>]]>
It doesn't show up my font, unless it's windows installed.
Any tips ?