title: DrawString EllipsisCharacter has different behavior in test program than production library?
body: <p>I was drawing on a bitmap in a test program using the following code. The ellipsis worked as expected. I moved the code to a .dll called on our webserver, and the ellipsis behavior changed to have no '...' and to trim at the word boundary:</p>
  
  <p>The text is "This is a long title". In the test program, I get "this is a lo...", but in production I get "this is a".</p>
  
  <pre><code>StringFormat format = new StringFormat();
  format.Trimming = StringTrimming.EllipsisCharacter;
  format.LineAlignment = StringAlignment.Near;
  format.Alignment = StringAlignment.Near;
  
  g.DrawString(Title, TitleFont, TitleColorBrush, TitleRectF, format);
  </code></pre>
  
  <p>Both sets of code are using .NET 4, both have the same bitmap initialization code copied from this test program, and the bitmaps are identical otherwise.</p>
  
  <p>Any idea what I can do to get the ellipsis behavior to work? Are there any flags in the .NET environment I should be setting that I get for "free" in an app but not a dll?  </p>