Created
January 22, 2009 13:27
-
-
Save braindeaf/50536 to your computer and use it in GitHub Desktop.
Embedding a font in Flex
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mx:Style> | |
@font-face { | |
font-family: Copacetix; | |
src: url("assets/copacetix.ttf"); | |
unicode-range: | |
U+0020-U+0040, /* Punctuation, Numbers */ | |
U+0041-U+005A, /* Upper-Case A-Z */ | |
U+005B-U+0060, /* Punctuation and Symbols */ | |
U+0061-U+007A, /* Lower-Case a-z */ | |
U+007B-U+007E; /* Punctuation and Symbols */ | |
} | |
.MyTextStyle { | |
font-family: Copacetix; | |
font-size: 24pt; | |
} | |
</mx:Style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment