Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
1c44de20
by Alexei Podtelezhnikov at 2022-11-20T22:37:08-05:00
1 changed file:
Changes:
... | ... | @@ -216,7 +216,7 @@ |
216 | 216 | FT_Error error;
|
217 | 217 | |
218 | 218 | FT_Size size = face->size;
|
219 | - FT_Size_Internal size_internal = NULL;
|
|
219 | + FT_Size_Internal size_internal = size->internal;
|
|
220 | 220 | FT_GlyphSlot slot = face->glyph;
|
221 | 221 | FT_Slot_Internal slot_internal = slot->internal;
|
222 | 222 | FT_GlyphLoader gloader = slot_internal->loader;
|
... | ... | @@ -229,11 +229,6 @@ |
229 | 229 | AF_WritingSystemClass writing_system_class;
|
230 | 230 | |
231 | 231 | |
232 | - if ( !size )
|
|
233 | - return FT_THROW( Invalid_Size_Handle );
|
|
234 | - |
|
235 | - size_internal = size->internal;
|
|
236 | - |
|
237 | 232 | FT_ZERO( &scaler );
|
238 | 233 | |
239 | 234 | if ( !size_internal->autohint_metrics.x_scale ||
|