Commit 544c85ee authored by Huw Davies's avatar Huw Davies Committed by Alexandre Julliard

Break and default char are both relative to first char in the winfnt

header.
parent f2460876
......@@ -2607,8 +2607,8 @@ static BOOL get_bitmap_text_metrics(GdiFont font)
TM.tmDigitizedAspectY = winfnt_header.vertical_resolution;
TM.tmFirstChar = winfnt_header.first_char;
TM.tmLastChar = winfnt_header.last_char;
TM.tmDefaultChar = winfnt_header.default_char;
TM.tmBreakChar = winfnt_header.break_char;
TM.tmDefaultChar = winfnt_header.default_char + winfnt_header.first_char;
TM.tmBreakChar = winfnt_header.break_char + winfnt_header.first_char;
TM.tmItalic = winfnt_header.italic;
TM.tmUnderlined = font->underline;
TM.tmStruckOut = font->strikeout;
......
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