Flex font embedding nightmare
There are many things that really irritate me – pretence, dishonesty, blind faith and Flex font embedding! Sometimes it makes me wonder whether i really exist… Ok, that’s taking it a bit far, but it really grates my nuts sometimes. I was recently (this evening) working on a website for a production company and i added a custom preloader from Flash (thank you Mr Brimelow!) to my Flex application. I’d embedded a font to use for the content in my site and i’d used the same font for the percentage loaded textfield in the preloader.
So i carried on happily putting the finishing touches on the site when disaster struck! The embedded fonts no longer showed up! I was perplexed… After about an hour of trying ever single bloody trick in the book and vociferous googling, i found… nothing. The worst part was that any other font worked, except the one that i was using for the site, and the client needed that specific font – no compromise.
As luck would have it, i had a chance brainfart and decided to check my font embedding settings in my Flash preloader. Wouldn’t you know it… Flash was screwing up my fonts! It’s no fault of Flash’s though… It was embedding the fonts before Flex could, and it was embedding only a handful of glyphs.
So… Next time your fonts spontaneously stop working in Flex, check out any Flash resources you’re including in the site to make sure that the font embedding isn’t pernicious.
| Print article | This entry was posted by Danny Kopping on September 8, 2009 at 9:35 pm, and is filed under ActionScript 3.0, Flash, Flex. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
No comments yet.
No trackbacks yet.
Truly Cached Flex Modules
about 2 years ago - 3 comments
I was working on a project recently and I discovered (or possibly misunderstood – see disclaimer) that Flex does not cache modules correctly, or – at the very least – it does not do it effectively according to my tests.
Using a Custom Cursor in Flex with CSS
about 2 years ago - No comments
Learn how to define a custom Flex busy cursor in pure CSS
QuickTip: asSQL Connection Problem with non-localhost hostname
about 2 years ago - 1 comment
Read this post to fix that annoying error with asSQL when trying to connect to remote MySQL installations
Fixing that annoying feature of List controls
about 2 years ago - No comments
Learn how to fix that ever-painful “optimization” feature of Flex’s list components
The Whirlwind that is Adobe in 2009
about 2 years ago - 1 comment
It’s been quite a fascinating year thus far; Adobe has really started getting serious about Flash, Flex and the developers involved
Flash & Flex Developer's Magazine
about 2 years ago - No comments
The new version of FFDMag is officially out! The publication is now an online-based magazine, available free of charge to all that want to check it out. Check out my article about Flex & AMFPHP integration on Page 54.
Runtime Shared Libraries – indispensable and infuriating!
about 2 years ago - 2 comments
Utilizing the RSL (Runtime Shared Library) mechanism in Flex is arguably one of the quickest and easiest ways to drastically shrink your Flex application’s file size. The RSL mechanism essentially allows you to compile your Flex application without embedding the Flex framework into the code. So, if the Flex framework isn’t compiled into the Flex
Handling multiple remote services with RemoteObject – the easy way!
about 2 years ago - 9 comments
Here’s a quick and easy way to handle multiple service calls in two simple event handlers!
Flex Builder 3 for Linux has been canned! Show your support!
about 2 years ago - No comments
I was recently shocked and appalled to see that Adobe has put the development on Flex Builder 3 for Linux on hold