[Gdiplus 3/4] DrawString: be more explicit about what we're ignoring.
Adam Petaccia
adam at tpetaccia.com
Sat Aug 16 22:27:59 CDT 2008
Also upgrade the TRACE to a FIXME, as it's missing behavior
---
dlls/gdiplus/graphics.c | 17 ++++++++++++++++-
1 files changed, 16 insertions(+), 1 deletions(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index 2450b47..6536676 100644
--- a/dlls/gdiplus/graphics.c
+++ b/dlls/gdiplus/graphics.c
@@ -1672,7 +1672,22 @@ GpStatus WINGDIPAPI GdipDrawString(GpGraphics *graphics, GDIPCONST WCHAR *string
}
if(format)
- TRACE("may be ignoring some format flags: attr %x\n", format->attr);
+ {
+ if (format->align)
+ FIXME("Ignoring horizontal alignment: %d\n", format->align);
+ if (format->vertalign)
+ FIXME("Ignoring vertical alignment: %d\n", format->vertalign);
+ /* FIXME: the following StringFormatsFlags are unimplemented:
+ * DirectionRightToLeft, DirectionVertical, NoFitBlackBox,
+ * DisplayFormatControl, NoFontFallback, MeasureTrailingSpaces,
+ * LineLimit, NoClip
+ *
+ * The following are implemented:
+ * NoWrap
+ */
+ if (format->attr & ~StringFormatFlagsNoWrap)
+ FIXME("Ignoring some format flags: attr %x\n", format->attr);
+ }
if(length == -1) length = lstrlenW(string);
--
1.5.4.3
More information about the wine-patches
mailing list