[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freetype
Subject:    Re: Font rendering question - Brush King.otf
From:       Andrew Murray <radarhere () gmail ! com>
Date:       2023-07-17 10:49:03
Message-ID: 776E3E81-9F64-48A1-829F-D3696FCC4558 () gmail ! com
[Download RAW message or body]

Thanks very much for your answer.

> On 16 Jul 2023, at 6:22 pm, Werner LEMBERG <wl@gnu.org> wrote:
> 
> 
>> Over at Python Pillow, we've had a user asking about
>> https://www.dafont.com/brush-king.font. When Pillow calls
>> FT_Glyph_Stroke on any of the letters abcdeghkmpqrvwz, FreeType
>> returns Array_Too_Large.  [...]
> 
>> So, my question - is there something I've done incorrectly in the
>> above reproduction, is this a FreeType bug, or is the font simply
>> broken?
> 
> The font is broken (it contains self-overlapping contours), however,
> this isn't an issue here.  Regardless of that, the error message is
> correct: For example, glyph 'A' in this font has more than 10000 (on
> and off) points!  Stroking indeed overflows FreeType's built-in size
> guards.
> 
> On the other hand, this font is *completely* unsuitable for stroking;
> it thus doesn't bother me in any way that FreeType can't do that :-)
> 
> 
>    Werner


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic