Further investigation shows that gray_convert_glyph_inner is now being called hundreds of times, whereas in 2.6 it was called once.
-Jamie. On Thu, 24 Oct 2019, 15:28 Jamie Dale, <jamiedale88+freet...@gmail.com> wrote: > Okay, it's FT_Outline_Render that's gotten slower. > > Our code is using the same set-up as RenderSpans in this example: > https://www.freetype.org/freetype2/docs/tutorial/example2.cpp > > -Jamie. > > On Thu, 24 Oct 2019, 14:59 Jamie Dale, <jamiedale88+freet...@gmail.com> > wrote: > >> Scratch that, it seems to be something in the FT_Stroker API that's >> gotten slower. >> >> We're continuing to investigate, but let me know if you have any leads. >> >> -Jamie. >> >> On Thu, 24 Oct 2019, 13:04 Jamie Dale, <jamiedale88+freet...@gmail.com> >> wrote: >> >>> Hi, >>> >>> We recently upgraded from FreeType 2.6 to 2.10, and are finding that >>> with identical code, things are now running significantly slower >>> (FT_RenderGlyph seems to be 10x slower). >>> >>> I tried changing the "interpreter-version" to both 35 and 40 but it made >>> no difference. >>> >>> Is there anything else we need to disable or change in order to get the >>> old performance back? >>> >>> Thanks, >>> Jamie. >>> >>