03-06-2011 12:02 PM
I have built a simple app for the playbook. As it was my first time I built off the AIRHelloWorld example. When I was finished I figured I would have to change that name so in my ignorance I created a new project with the correct name, then started coping things over.
When I tested the newly copied over project I found that none of my textboxes were working. After some trouble shooting it ended up being that my embedded fonts (which DID work) were no longer displaying!
I've not tried to fix it for a few HOURS and then tried starting over with the AIRHelloWorld tutorial and trying to re-make the project and make it work with NO LUCK... I'm at my end here! Please help!
I embedded the font like this:
1. I made a new folder in the src dir named "fonts"
2. imported the font from a folder on my desktop into the fonts folder
Then used this code:
If embedFonts = true then nothing shows up. If I change it to false then I get text, but obviously without the correct font.
I was SO close to finished and now feel very confused. I thank you for your help!
Solved! Go to Solution.
03-06-2011 05:58 PM
I use an embedded font in my app which was built using 0.9.3., I'm not at my dev station now to compare code, so I can only say that I haven't seen a change in behavior and its still working fine. I will say that I followed a post by Renaun and it worked flawlessly. search these forums for his post and see if its different.
03-07-2011 07:16 AM
If you are using Burito 4.5 there was a change in embedded fonts (which breaks backward compatibily, the most stupid thing in Air/Flex/etc).
Add this code to Embed tag:
03-07-2011 12:31 PM
Just to close this out. I figured it all out, much thanks to those that posted.
It was a combination of issues.
The font I was using would not transcode correctly if I added the CFF=false flag. Eventually I figured out that it was the rendering engine causing problems and going with the old font renderer AND the CFF=false resolved it.
So, for anyone else that runs into a similar issue:
In the project -> properties -> compiler : Additional Compiler
Add the line :
In the code:
Add , embedAsCFF="false" to the embed tag like so
05-21-2011 11:55 AM - edited 05-21-2011 09:36 PM
the embed tag described is for Flash Builder only I believe. anyone know how to implement this issue for a Flash Pro user? please spell it out for a nube. thanks. (i have it embedded in the usual method through the properties window but it is not passing the font to the playbook.)