View Single Post
Old 11-18-2022, 08:02 PM   #6
tatagi
Connoisseur
tatagi began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Oct 2022
Device: none
Quote:
Originally Posted by Turtle91 View Post
Turtle91
Quote:
Originally Posted by Quoth View Post
Quoth
Quote:
Originally Posted by phillipgessert View Post
phillipgessert

Thank you all for the things to consider that I might possibly miss out on

The reason my epub is exorbitantly bigger than pdf was obvious. I unzipped the epub and check all the files inside. 5 fonts already consumed 25MBs of space(inside fonts folder, it's bigger than total epub size because it's uncompressed), about 1MB for two images(within images folder), and some ncx opf style css files not exceeding few kilobytes. other than that, it's xhtml files to form the text part, which didnt take more than 1.5MB.

I want to upload my file for you to inspect more in depths but it's copyrighted content so I don't think I can. But I think you guys know what went wrong.

It was obviously font that made the file size ridiculously big.
Since the book is written in korean, it's no wonder it was big(11,172 glyphs in total), and a lot of them are in use so subset didn't help much.

What I still don't understand is, all the fonts are rendered correctly in pdf format too, and still it's only 2MBs. Probably PDFs work differently and do not need embedded fonts and it just imitates all the contents(including how each letters are shaped) when converted from epub therefore no need for font files to be embedded? I don't know.

Last edited by tatagi; 11-18-2022 at 08:30 PM. Reason: edited to quote commenters
tatagi is offline   Reply With Quote