Set font only once in EMF

Correct fault which led to wrong bytecount - multiple declarations of font not needed
Also included HeaderExtension1 and HeaderExtension2 objects for better compatability with GDI
As suggested by Alex Roy in #185
This commit is contained in:
Robin Stuart
2020-04-19 18:46:14 +01:00
parent bd654647c0
commit 99cd6a3391
2 changed files with 19 additions and 3 deletions

View File

@ -121,6 +121,12 @@ extern "C" {
uint32_t n_pal_entries;
size_l_t device;
size_l_t millimeters;
// HeaderExtension1 Object
uint32_t cb_pixel_format;
uint32_t off_pixel_format;
uint32_t b_open_gl;
// HeaderExtension2 Object
size_l_t micrometers;
} emf_header_t;
typedef struct emr_header {