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

header.
This commit is contained in:
Huw Davies 2004-08-09 18:52:51 +00:00 committed by Alexandre Julliard
parent f2460876ae
commit 544c85ee01
1 changed files with 2 additions and 2 deletions

View File

@ -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;