Searched refs:device_lf (Results 1 – 1 of 1) sorted by relevance
/reactos/modules/rostests/winetests/gdi32/ |
H A D | metafile.c | 88 LOGFONTA device_lf; in eto_emf_enum_proc() local 119 ret = GetObjectA(GetCurrentObject(hdc, OBJ_FONT), sizeof(device_lf), &device_lf); in eto_emf_enum_proc() 120 ok( ret == sizeof(device_lf), "GetObjectA error %d\n", GetLastError()); in eto_emf_enum_proc() 125 … ok(!memcmp(&orig_lf, &device_lf, FIELD_OFFSET(LOGFONTA, lfOutPrecision)), "fonts don't match\n"); in eto_emf_enum_proc() 126 ok(!lstrcmpA(orig_lf.lfFaceName, device_lf.lfFaceName), "font names don't match\n"); in eto_emf_enum_proc() 144 ret = GetObjectA(GetCurrentObject(hdc, OBJ_FONT), sizeof(device_lf), &device_lf); in eto_emf_enum_proc() 145 ok( ret == sizeof(device_lf) || in eto_emf_enum_proc() 146 … broken(ret == (sizeof(device_lf) - LF_FACESIZE + strlen(device_lf.lfFaceName) + 1)), /* NT4 */ in eto_emf_enum_proc() 152 … ok(!memcmp(&orig_lf, &device_lf, FIELD_OFFSET(LOGFONTA, lfOutPrecision)), "fonts don't match\n"); in eto_emf_enum_proc() 153 ok(!lstrcmpA(orig_lf.lfFaceName, device_lf.lfFaceName), "font names don't match\n"); in eto_emf_enum_proc()
|