Skip to main content
Participant
Feb 3, 2010 12:33 PM UTC
Answered

Is it possible to check if a user has a device font before using it?

It's all in the title really. I was hoping there might be a way to check if the user had a certain font already installed on there computer to try and save loading the font at runtime when not needed. Is this possible with Flex4 and the new TLF?

Thanks

Ollie

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer
Feb 3, 2010 4:48 PM UTC

Font.enumerateFonts(true); will give you an array of device and embedded fonts.

2 replies

Correct answer
Feb 3, 2010 4:48 PM UTC

Font.enumerateFonts(true); will give you an array of device and embedded fonts.

Translate
Participant
Feb 5, 2010 12:47 AM UTC

Awesome. Thanks Alan. Your conciseness humbles me.

Translate