The current state of rendering and overlap

Skef Iterum <[email protected]> Tue, 19 Dec 2023 01:10:57 -0800
Newsgroups gmane.comp.fonts.freetype.devel
Organization Iterum Software Consulting LLC
Message-ID <[email protected]>
Hello -

I've been looking into various FreeType issues related to the 
combination of CFF2 and hinting. As part of that I ran into the 
phenomenon represented in the attached capture of ftgrid. Which, to 
summarize, has a rendering artifact caused by overlap.

It seemed like the simplest answer to this was to mark all outlines 
extracted from a CFF2 font as FT_OUTLINE_OVERLAP, because there's no 
inexpensive method of detecting it. And so I added code to do that and 
verified it was heeded in ftsmooth.c -- but the ftgrid output didn't 
look any different.

So I thought I would ask here: Is this what can be expected given the 
path data or is there something else I should be looking at tweaking?

Thanks,
Skef Iterum (Adobe, Inc.)
uni0447_ftgrid.png (image/png, 15 KB) - not displayed