* src/autofit/afloader.c (af_loader_load_glyph): Remove `size` check.

This is done by `FT_Load_Glyph`.
This commit is contained in:
Alexei Podtelezhnikov 2022-11-20 22:37:08 -05:00
parent 4e6906cc5d
commit 1c44de209c
1 changed files with 1 additions and 6 deletions

View File

@ -216,7 +216,7 @@
FT_Error error;
FT_Size size = face->size;
FT_Size_Internal size_internal = NULL;
FT_Size_Internal size_internal = size->internal;
FT_GlyphSlot slot = face->glyph;
FT_Slot_Internal slot_internal = slot->internal;
FT_GlyphLoader gloader = slot_internal->loader;
@ -229,11 +229,6 @@
AF_WritingSystemClass writing_system_class;
if ( !size )
return FT_THROW( Invalid_Size_Handle );
size_internal = size->internal;
FT_ZERO( &scaler );
if ( !size_internal->autohint_metrics.x_scale ||