[ft-devel] Stem darkening toggling API

2016-08-21 Thread Nikolaus Waxweiler
Hey list, so I finally got around implementing a concept: a new API entry point `FT_Face_SetStemDarkening( FT_Face face, FT_Bool enable )`. It toggles a new member of FT_FaceRec `no_stem_darkening`. Font drivers and the autohinter poll this member to decide if they must darken stems. `FT_Load_

Re: [ft-devel] "Inside the fastest font renderer in the world" - BUG FIX

2016-08-21 Thread Raph Levien
Thanks for the tip! I haven't tested font-rs against a large corpus yet, so wouldn't be surprised if there were bugs. This looks worth tracking down. Also, Nigel Tao has done a port to Go and reports a significant speedup from using fixed point (https://github.com/google/font-rs/issues/10). Might

Re: [ft-devel] "Inside the fastest font renderer in the world" - BUG FIX

2016-08-21 Thread Graham Asher
I have found the bug causing the crash in my C version of the new floating-point rasterizer. It was possible for the accumulation array to be written using an illegal index of -1. The cause was that when the DrawLine code steps through the y values - the raster lines - it increments the x valu