# CS5.5 Font embedding horror (bug, not "does anyone know how to embed fonts?")

**URL:** <https://forum.kirupa.com/t/cs5-5-font-embedding-horror-bug-not-does-anyone-know-how-to-embed-fonts/328011>\
**Category:** flash\
**Created:** [April 12, 2012, 6:17pm UTC](https://forum.kirupa.com/t/cs5-5-font-embedding-horror-bug-not-does-anyone-know-how-to-embed-fonts/328011 "2012-04-12T18:17:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![magarik](https://avatars.discourse-cdn.com/v4/letter/m/df788c/32.png) [@magarik](https://forum.kirupa.com/u/magarik)\
**Post date:** [April 12, 2012, 6:17pm UTC](https://forum.kirupa.com/t/cs5-5-font-embedding-horror-bug-not-does-anyone-know-how-to-embed-fonts/328011/1 "2012-04-12T18:17:50Z")

</div>

I am using three fonts of the Helvetica typeface,  
embedding them with the embed metatag, font files inside project, openType.

I noticed that for some reason the bold font looks identical to the roman font.

After 4 hours of \_\_\_\_, and testing with five fonts, it turns out that:

if i change the name of all the font files at once, and change the reference to them in the code, all of the fonts work the **first** time i publish. the **second** time i publish (without any changes except pressing publish a second time) some fonts overwrite others, randomly, for instance :

roman looks like roman  
bold looks like roman,  
light looks like roman,  
black looks like black,  
rounded looks like black.

could be anything, i cant predict what will overwrite what.

the only way i can make sure that flash embeds all of the fonts, is to change _all_ of their names and publish.

additional info:  
second time i publish the swf filesize is much smaller than first time ( -flash really doesn’t embed anything)  
traces to which fonts are registered show all fonts are there,  
no errors  
using distinct fontnames  
publishing cache disabled  
restart doesn’t help

flash cs5.5  
fdt 4  
flex 4/air 3 sdk  
windows 7

The problem isn’t critical since i found the workaround, but it was/is so annoying, and i’d really be happy if anyone knows what could it be, even if i find out after i finish.

Thanks people
