# Runtime font embed with spaces in style name

**URL:** <https://forum.kirupa.com/t/runtime-font-embed-with-spaces-in-style-name/299034>\
**Category:** flash\
**Created:** [October 28, 2009, 8:41pm UTC](https://forum.kirupa.com/t/runtime-font-embed-with-spaces-in-style-name/299034 "2009-10-28T20:41:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jao](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@Jao](https://forum.kirupa.com/u/Jao)\
**Post date:** [October 28, 2009, 8:41pm UTC](https://forum.kirupa.com/t/runtime-font-embed-with-spaces-in-style-name/299034/1 "2009-10-28T20:41:54Z")

</div>

Hey guys.

I’m feeling overgoogled atm, but still can’t find any solution. I have font “Futura” with “Condensed Medium” style, actually 4 styles - “Medium, Italic, Condensed Medium, Condensed ExtraBold”. However, when I embed it at runtime, it embeds just “Medium” style of font.

Embedding with code:

```php

[Embed(systemFont="Futura", fontName="PreloaderFont", fontStyle="Condensed Medium", mimeType="application/x-font-truetype",unicodeRange="U+0030-U+0039,U+002E,U+0025")] 

```

Tried almost everything:

```php

... systemFont="Futura Condensed Medium" ...
... systemFont="Futura", fontStyle="Condensed", fontWeight="Medium"...
... systemFont="Futura", fontStyle="Medium" ...
... systemFont="Futura", fontStyle="Condensed\ Medium"...
... systemFont="Futura", fontStyle="condensedmedium"...
... systemFont="Futura", fontStyle="CondensedMedium"...

```

Nothing helps. Any Ideas?

Thanks in advance.  
[Embed(systemFont=“Futura”, fontName=“PreloaderFont”, fontStyle=“Condensed Medium”, mimeType=“application/x-font-truetype”,unicodeRange=“U+0030-U+0039,U+002E,U+0025”)]
