Forum Discussion
SCORM File is MASSIVE
- 3 months ago
in the output.min.css file are all used fonts (with all uses chars) included
a typical chinese/japanese/korean font is 10 ... 20 MByte (>> 20000 different chars for text)
a typical english, french, italien, german font is 0.1 ... 0.5 MByte (~ 100-200 different chars)
Also,
10. I found that it's the html5>data>css>output.min file that is 245,428 KB. In the other languages, it is at about 5,000 KB. It says it has bout 300,000,000 characters compared to the same file in the English version that says 5,000,000+. What!?
11. I had no issues editing with the storyline file.
Where is this data coming from? Have there been issues in the past when trying to use Chinese fonts?
in the output.min.css file are all used fonts (with all uses chars) included
a typical chinese/japanese/korean font is 10 ... 20 MByte (>> 20000 different chars for text)
a typical english, french, italien, german font is 0.1 ... 0.5 MByte (~ 100-200 different chars)
- NicholeSande3653 months agoCommunity Member
Jürgen,
Yes, this indeed was the problem in two ways.
1. The font "Noto Sans CJK SC" seems to be extra bloated in the css file.
2. Noto Sans is a Google font, and users in China aren't able to connect to the Google Font API due to The Great Firewall.
My solution has been to
1. Replace all fonts with Source Han Sans CN, which is smaller and, being the Adobe version of the font, shouldn't be blocked by the Chinese government.
2. Strip all font formatting beyond size.
These two things reduced the file size to 86,000KB. I think that's as small as I can possibly get it.
Woof.