Flex 3 CSS to Embed Font with all common punctuation and limited characters


/ Published in: MXML
Save to your folder(s)



Copy this code and paste it in your HTML
  1. @font-face {
  2. src:url("../assets/Arial.ttf");
  3. fontFamily: myFontFamily;
  4. unicodeRange:
  5. U+0041-U+005A, /* Upper-Case [A..Z] */
  6. U+0061-U+007A, /* Lower-Case a-z */
  7. U+0030-U+0039, /* Numbers [0..9] */
  8. U+0020-U+002F, /* Punctuation */
  9. U+003A-U+0040, /* Punctuation */
  10. U+005B-U+0060, /* Punctuation */
  11. U+007B-U+007E; /* Punctuation */
  12. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.