• B
    Relax inert checks · eb0bf3ae
    Behdad Esfahbod 提交于
    Previously, when creating an object from inert inputs (eg:
    "hb_font_create(hb_face_get_empty())") we returned the inert
    empty object.  This is not helpful as there are legitimate
    usecases to do that.
    
    We now never return the inert object unless allocation failed.
    
    Tests are revised to reflect.
    eb0bf3ae
hb-face.cc 8.6 KB