# Font-family setting for embedded AND devicefonts

**URL:** https://forum.kirupa.com/t/font-family-setting-for-embedded-and-devicefonts/322309
**Category:** Uncategorized
**Created:** [May 17, 2011, 4:33pm UTC](https://forum.kirupa.com/t/font-family-setting-for-embedded-and-devicefonts/322309 "2011-05-17T16:33:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![petemaritz](https://avatars.discourse-cdn.com/v4/letter/p/c57346/32.png) [@petemaritz](https://forum.kirupa.com/u/petemaritz)
#### Post date: [May 17, 2011, 4:33pm UTC](https://forum.kirupa.com/t/font-family-setting-for-embedded-and-devicefonts/322309/1 "2011-05-17T16:33:22Z")

</div>

I’m trying to set a text field to arial, helvetica, sans AFTER I disable embedded fonts, but I’m having trouble with the CSS. This is what works for embedded fonts when I’m using English text:

```auto
.specialtext{
font-family:"MetaPlusBold" ;
font-weight:bold;
font-style:italic;
  } 

```

But then if I switch languages and therefore have the embed fonts = false I get a serif font. That’s not surprising, because I can’t use anything else in there… adding other font families doesn’t help and “breaks” the embedded version:

```auto
font-family:"MetaPlusBold" , Verdana, Arial, Helvetica, sans-serif; 

```

btw, I have to use weight and style so it looks right when using device fonts. I guess I really need a way to set everything to “\_sans” but not on the actual text fields themselves. That didn’t work for me, because this doesn’t help:

```auto
body {
font-family:"MetaPlusBold-Roman" ; 
    }

```

I have to set my text fields to the embedded font. They’re dynamic but already on the stage so I can animate them easily.  
So probably I’m missing something basic, that I’m not learning through various google searches.
