openbsd-ports/emulators/wine/patches/patch-objects_font_c
2007-10-26 21:04:25 +00:00

33 lines
1.4 KiB
Plaintext

$OpenBSD: patch-objects_font_c,v 1.2 2007/10/26 21:04:25 ajacoutot Exp $
--- objects/font.c.orig Wed Feb 17 14:51:13 1999
+++ objects/font.c Fri Oct 26 22:55:06 2007
@@ -940,17 +940,17 @@ BOOL32 WINAPI GetTextMetrics32A( HDC32 hdc, TEXTMETRIC
metrics->tmMaxCharWidth = WDPTOLP(metrics->tmMaxCharWidth);
metrics->tmOverhang = WDPTOLP(metrics->tmOverhang);
- TRACE(font,"text metrics:
- Weight = %03i\t FirstChar = %03i\t AveCharWidth = %i
- Italic = % 3i\t LastChar = %03i\t\t MaxCharWidth = %i
- UnderLined = %01i\t DefaultChar = %03i\t Overhang = %i
- StruckOut = %01i\t BreakChar = %03i\t CharSet = %i
- PitchAndFamily = %02x
- --------------------
- InternalLeading = %i
- Ascent = %i
- Descent = %i
- Height = %i\n",
+ TRACE(font,"text metrics:\n"
+" Weight = %03i\t FirstChar = %03i\t AveCharWidth = %i\n"
+" Italic = % 3i\t LastChar = %03i\t\t MaxCharWidth = %i\n"
+" UnderLined = %01i\t DefaultChar = %03i\t Overhang = %i\n"
+" StruckOut = %01i\t BreakChar = %03i\t CharSet = %i\n"
+" PitchAndFamily = %02x\n"
+" --------------------\n"
+" InternalLeading = %i\n"
+" Ascent = %i\n"
+" Descent = %i\n"
+" Height = %i\n",
metrics->tmWeight, metrics->tmFirstChar, metrics->tmAveCharWidth,
metrics->tmItalic, metrics->tmLastChar, metrics->tmMaxCharWidth,
metrics->tmUnderlined, metrics->tmDefaultChar, metrics->tmOverhang,