wineps: Don't include gdi_driver.h from PE module.
[wine.git] / dlls / wineps.drv / ntf.h
blobf9ad1f3314baa083e06c8a6f30198d66559cd206
1 /*
2 * Copyright 2022 Piotr Caban for CodeWeavers
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 struct ntf_header
21 int signature;
22 int driver_type;
23 int version;
24 int unk[5];
25 int glyph_set_count;
26 int glyph_set_off;
27 int font_mtx_count;
28 int font_mtx_off;
31 struct list_entry
33 int name_off;
34 int hash;
35 int size;
36 int off;
37 int unk[4];
40 #define GLYPH_SET_OMIT_CP 1
41 struct glyph_set
43 int size;
44 int version;
45 int flags;
46 int name_off;
47 int glyph_count;
48 int run_count;
49 int run_off;
50 int cp_count;
51 int cp_off;
52 int glyph_set_off;
53 int unk[2];
56 struct code_page
58 int cp;
59 int win_char_set;
60 int name_off;
61 int unk[2];
64 struct font_mtx
66 int size;
67 int version;
68 int flags;
69 int name_off;
70 int display_off;
71 int font_version;
72 int glyph_set_name_off;
73 int glyph_count;
74 int metrics_off;
75 int unk;
76 int width_count;
77 int width_off;
78 int def_width;
79 /* TODO: there are more fields */
82 struct width_range
84 short first;
85 short count;
86 int width;