<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>gdiplus: do not draw line-breaking spaces</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>When text (say, &quot;Hello world&quot;) is broken by GdipDrawString into two lines, gdiplus draws the first line with a trailing space (&quot;Hello &quot; and &quot;world&quot;). This is wrong when the text is centered or right-aligned. With this patch, we no longer draw the trailing space, and the first line is aligned properly.<BR>
<BR>
This makes the testcase on bug 14244 look better and more like Windows.</FONT>
</P>

</BODY>
</HTML>