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