# How to embed fonts in component textarea?

**URL:** <https://forum.kirupa.com/t/how-to-embed-fonts-in-component-textarea/204188>\
**Category:** Uncategorized\
**Created:** [October 17, 2006, 8:12pm UTC](https://forum.kirupa.com/t/how-to-embed-fonts-in-component-textarea/204188 "2006-10-17T20:12:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Battin](https://avatars.discourse-cdn.com/v4/letter/b/8dc957/32.png) [@Battin](https://forum.kirupa.com/u/Battin)\
**Post date:** [October 17, 2006, 8:12pm UTC](https://forum.kirupa.com/t/how-to-embed-fonts-in-component-textarea/204188/1 "2006-10-17T20:12:17Z")

</div>

Hello there. I am working on this website, but i can’t figure out why i can’t embed my pixelfont in my textarea.

[http://www.rvlt.com/shopfinder/](http://www.rvlt.com/shopfinder/)

I read on the internet i had to do it with styles because the textarea is dynamically filled with content. So i wrote this code, but it doesnt work! ☹

```auto
// **************************************************************
// Styles
// **************************************************************
var my_styles = new TextField.StyleSheet();
my_styles.setStyle("p", {fontFamily:'standard 07_53', color:'#FFFFFF', fontSize:'8px'});
textarea_ta.styleSheet = my_styles;
textarea_ta.embedFonts = true;

```

i hope you can help me!
