[cbdt] Remove extra clip
This commit is contained in:
parent
f70c5d6f0d
commit
d35dff020f
|
@ -956,11 +956,6 @@ struct CBDT
|
|||
if (unlikely (!get_extents (font, glyph, &pixel_extents, false)))
|
||||
return false;
|
||||
|
||||
funcs->push_clip_rectangle (data,
|
||||
extents.x_bearing, extents.y_bearing,
|
||||
extents.x_bearing + extents.width,
|
||||
extents.y_bearing + extents.height);
|
||||
|
||||
bool ret = funcs->image (data,
|
||||
blob,
|
||||
pixel_extents.width, -pixel_extents.height,
|
||||
|
@ -968,8 +963,6 @@ struct CBDT
|
|||
font->slant_xy,
|
||||
&extents);
|
||||
|
||||
funcs->pop_clip (data);
|
||||
|
||||
hb_blob_destroy (blob);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue