Font rendering question - should stroking create a gap?

Andrew Murray <[email protected]> Sat, 18 Jan 2025 00:03:47 +1100
Newsgroups gmane.comp.fonts.freetype.user
Message-ID <[email protected]>
Hi,

Over at Python Pillow, a user has reported a gap between a regular =
rendering of a font and a stroked rendering of a font - =
https://github.com/python-pillow/Pillow/issues/8697

To visually demonstrate what I mean, a simpler Pillow script creates the =
following image with Times New Roman.ttf on my macOS 15.2 machine - =
there is a circle gap around the dot in the =E2=80=98I'.

=EF=BF=BC

I=E2=80=99ve attached stroke.c for a FreeType-only reproduction, and =
output.txt to show what I see when I run the script - a simple rendering =
that shows that the width of the dot in the =E2=80=98I=E2=80=99 is =
smaller in width than the hole created when rendered with stroke.

=EF=BF=BC=EF=BF=BC

So, is this =E2=80=98gap=E2=80=99 expected behaviour from FreeType? =
I=E2=80=99d be surprised if was a bug.

If it is accepted behaviour, I don=E2=80=99t suppose there is a simple =
way to stroke text with a filled inside?

Thanks.=