Fonts seem to be repeatly created in CSS and the course build will be huge in CJK

Nov 27, 2023

We faced some problem in CJK (Chinese, Japanese, Korean) when using some custom fonts and published the course. The entire course for these language will grow dramatically. Says if the English course build is around 14MB, CJK course build will grow to 60 ~ 110 MB.

I created a test story with single page like below:
Slide

And I applied with different fonts, published, and ZIP it. You can see the size difference:
File Size

The problem seem to be in \html5\data\css\output.min.css, I doubt some fonts were embedded repeatedly:

From our real elearning course, the Simplified Chinese course ZIP is around 131 MB, and the output.min.css is already occupied 137MB!

We did use a few set of fonts, but I still doubt some fonts were embedded redundantly.

 

I wonder if anyone has faced similar issue like me.

 

1 Reply
Lauren Connelly

Hello Arith!

Thank you so much for sharing these details with us! I've seen others sharing a similar experience when using specific fonts. Their workaround was to use a different font. I completely understand this would be quite a heavy lift, depending on the size of your file. 

If you'd like our Support Engineers to take a look at your project file for additional testing, you can share your .story file in a support case. They'll delete your file after testing and can sign an NDA if needed.