mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user