> So, if my understanding is correct, hb_ot_shape_glyphs_closure will > take an input character or characters and tell me all the glyphs > that it gets transformed into, as well as the final form.
Yes. > I'm not sure about this interpretation, because the documentation > uses the term "Transitive closure", which I'm not familiar with. Indeed, it's a bit unfortunate that the documentation is not more verbose. > As for iterating through auto-hinter styles, do you mean that I > should get a list of features and try each one for the 'features' > parameter? Yes, you should try each one, and all combinations of them. However, the number of features that are of interest (at least for latin scripts) is small, which means that the number of iterations doesn't become very large; see macro `META_STYLE_LATIN` in file `afstyles.h` for a list. > Also, I wanted to share my progress in the tilde unflattening. > [...] This sounds very promising, thanks! > The segment removal should be part of the solution, but the question > is to what extent the vertical stretch should be part of the > solution. My gut feeling says that both is needed. I hope that you find constraints that work reliably for a large bunch of (common) fonts. To try to answer this, I tested on a bunch of fonts. > [...] Please also post some images. Werner