简体   繁体   中英

Flash CS5 font is largest part of the SWF

I'm transferring a project from CS4 to CS5 and (without any changes) my SWF file gets to be 10 times bigger. It was 7kb and now it's 77kb. I generated a size report and it looks like the font is taking up most of the space. I haven't changed settings. I'm not sure why font is taking up so much space. Is there a way around this? Here is my size report:

Font Name            Bytes         Characters
-----------------    ----------    ----------
_sans                        12    
MilkyWell                   317    .blsu
Calibri-Bold Bold         75960    %.0123456789

As you can see Calibri-Bold is taking up 75kb and I only have 12 characters in it.

update: I removed the Calibri font from my project. It brought it down from 77kb to 3kb.

The calibri bold font is about 900k, so size seems reasonable to me.

I tested it on CS5 and got

Font Name            Bytes         Characters
-----------------    ----------    ----------
Calibri-Bold Bold         74514    %.0123456789

any chance that your CS4 project was using device fonts?

Calibri is an MS font and comes default on all windows machines since Vista, not sure about osX. I think you have them installed if you install any of the ms office suites, or install manually.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM