>>> 1. The function to compute how much darkening to apply is a crude >>> copy-pasta of the real thing in cff/cf2font.c >> >> Is this the one with four parameters? I do not understand why it has >> to be so complex. I am not a big fan unless someone can explain it? > > I haven't yet looked closely at the new code, but I think that the > original one in function `cf2_computeDarkening' (in file `cf2font.c') > is quite straightforward – and it is well commented :-)
I do not get why this function should be piecewise linear, rather than just linear. Why can't we just use something like this? darkenAmount = 0.5 pixels - ( scaledStem / 4 ) Thank you, Alexei _______________________________________________ Freetype-devel mailing list Freetype-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/freetype-devel