Skip to content

FreeType check? #3642

@miguelsousa

Description

@miguelsousa

Has a check that validates that a font can be rasterized by FreeType been considered already?

I'm asking because AnchoGX.ttf version 1.000 (from http://beatrizl.com/project/ancho) crashes freetype-py v2.2.0.
fontview v0.3.1 also doesn't render it, I assume because of a FreeType failure.

import freetype
face = freetype.Face("AnchoGX.ttf")
face.set_char_size(48 * 64)
face.load_char('S')
bitmap = face.glyph.bitmap
print(bitmap.buffer)

The snippet above crashes with this error,

freetype.ft_errors.FT_Exception: FT_Exception:  (too many function definitions)

And Rubik-Italic.ttf crashes with,

freetype.ft_errors.FT_Exception: FT_Exception:  (stack overflow)

Metadata

Metadata

Assignees

Labels

New check proposalATTENTION: Please, report proposals on the Fontspector project instead!

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions