Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[ttLib] Add a convenience method to the cmap table to return the best available cmap #1092
Often I just want to quickly access the best available cmap from a font, without being interested (or having to worry about) exactly which cmap subtables are in the font. I've used this functionality for while now in my own code as a separate function, and it's been so handy that I think it should just be in fonttools.
Nov 3, 2017
Can we make this match https://github.com/behdad/harfbuzz/blob/master/src/hb-ot-font.cc#L390
Also, would be good to make it return a base subtable and a Format14 subtable, if any.