# Embedding fonts // using css to style text

**URL:** <https://forum.kirupa.com/t/embedding-fonts-using-css-to-style-text/323539>\
**Category:** Uncategorized\
**Created:** [July 6, 2011, 3:46am UTC](https://forum.kirupa.com/t/embedding-fonts-using-css-to-style-text/323539 "2011-07-06T03:46:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oluc](https://avatars.discourse-cdn.com/v4/letter/o/cc9497/32.png) [@oluc](https://forum.kirupa.com/u/oluc)\
**Post date:** [July 6, 2011, 3:46am UTC](https://forum.kirupa.com/t/embedding-fonts-using-css-to-style-text/323539/1 "2011-07-06T03:46:59Z")

</div>

do you know how to use some kind of embed fonts feature while using css? or anti-alias the text that is styled using css?

i have tried to set:

titlefield.embedFonts = true;  
titlefield.stylesheet = sheet;

but it does not work. if i comment out the embedFonts the css works fine but the text is very aliased. and because as3 does not support the embed font property within css i am in a bit of a predicament!

i appreciate any help!!
