View Single Post
Old 11-26-2015, 11:35 PM   #19
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,378
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by Toxaris View Post
The reason you can make them even smaller is probably due to the fact that I keep all the ligatures. So, if the reader makes use of ligatures, they are at least there regardless of the subsetting.
No the reason calibre's subsetting works better is likely because it reads the rules from the GSUB table to figure out which glyphs actually need to be kept to support glyph substitution features (of which ligatures are just the simplest). So to use a trivial example, if you subset a document containing only the text: "finish" then calibre will only keep the ligatures for ff and fi but not fl, because there is no l in the text.

This is not a big optimization in latin languages, but for more complex scripts it can be a big saving.
kovidgoyal is offline   Reply With Quote