Commit c44c347d authored by Alexandre Julliard's avatar Alexandre Julliard

gdi32: Move more font metrics information to the generic font structure.

parent 16b8f2b3
...@@ -413,6 +413,7 @@ struct gdi_font *alloc_gdi_font(void) ...@@ -413,6 +413,7 @@ struct gdi_font *alloc_gdi_font(void)
font->refcount = 1; font->refcount = 1;
font->matrix.eM11 = font->matrix.eM22 = 1.0; font->matrix.eM11 = font->matrix.eM22 = 1.0;
font->scale_y = 1.0;
if (!(font->handle = alloc_font_handle( font ))) if (!(font->handle = alloc_font_handle( font )))
{ {
......
...@@ -319,6 +319,15 @@ struct gdi_font ...@@ -319,6 +319,15 @@ struct gdi_font
LOGFONTW lf; LOGFONTW lf;
FMAT2 matrix; FMAT2 matrix;
UINT face_index; UINT face_index;
double scale_y;
INT aveWidth;
INT ppem;
SHORT yMax;
SHORT yMin;
UINT ntmFlags;
UINT ntmCellHeight;
UINT ntmAvgWidth;
UINT aa_flags;
BOOL can_use_bitmap : 1; BOOL can_use_bitmap : 1;
BOOL fake_italic : 1; BOOL fake_italic : 1;
BOOL fake_bold : 1; BOOL fake_bold : 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment