View Single Post
Old 11-14-2016, 05:58 AM   #32
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: 43,910
Karma: 22669818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
While in this case it is easy to deduce which is the correct font, in the general case it is not so easy. Remember that there are four axes on which font properties must be matched, so the search space is rather large and you can have many candidates. As such, I think showing the user the candidates and letting them pick manually is better than auto-picking one, which could very well be wrong. Not to mention that this problem only happens for special purpose fonts i.e. ones that do not have regular weight or stretch properties, which is relative rare.
kovidgoyal is offline   Reply With Quote