Applying "Remove Overlaps" before ttf conversion

Hello there!

I need to export the .ttf static versions of a pixel font whose components merge into a single shape (just like in your pixel font tutorial). Reading other threads, I gathered that Remove Overlap doesn’t work on quadratic curves*, so I was looking for a way to apply it before the ttf conversion upon export. I thought PreFilters did just that, but apparently they are applied afterwards. Is there a way to trigger the Custom Parameters first and then the otf-ttf conversion?

Thank you in advance for your time!
I’m attaching an img of my parameters in case it helps


*(why is the “Remove Overlap” box still there for ttf exports if it doesn’t have any effect?)

It does, but not for variable fonts as that would interfere with the interpolation.

Do your pixels consist of TrueType curves in your Glyphs file? If not, Remove Overlap is not a problem as it happens before the contours are converted to TrueType.

Hi Florian and Jens!
I stand corrected, it works on every other font I’ve tried it on, but somehow not for this one.
I’m only exporting static .ttf ‘s here, and the parameter is not working, either as a Filter or as a Prefilter, or even removing the tick from the “Remove Overlap” option in the export panel.
Actually… it IS working, but only for certain characters/components, which answers Jens’ question: the pixel curves are probably not the issue here. Here’s an img to understand the issue better:

I don’t understand what you are trying to do? The pixels do not overlap, so why do you need tho remove it?

And can you explain your screenshot: What is the expected result and what failed?

The intended result is the same as your merged pixel font tutorial, that’s why in the first message I added a picture with every parameter I added. The pixels overlap after the offset curve, then they should be merged by the remove overlap filter, then brought back to the original size by an negative offset, and finally the corners are rounded. What’s failing is the remove overlap parameter: the pixels are simply expanded and shrunken by the offsets but they don’t get merged through the process.
The expected result is like in O and Q, the failing letters (which are like 99% of the font) appear like P and R

To be clear, this works seamlessly in the .otfs with the same settings and the pixel is originally a square

I didn’t realize you are applying a Filter.

Could you send me the file for testing?

1 Like