G
Graham Dawson
I am using DotNet v1.1.4322.
This issue can be replicated with various text fonts - but is easiest to see
using WingDings.
1) Create a string which includes character #132
2) Draw it to a Graphics object with DrawString
S := #130+#131+#132+#133+#134+#135+#136+#137+#138+#139;
F := System.Drawing.Font.Create('WingDings', 16);
G.DrawString(S, F, Brushes.Black, 0, 0);
The output always wraps immediately after character #132, regardless of font
size, StringFormat settings, etc.
Is this a bug in DrawString, or is it due to some other setting of which I
am not aware?
Does it happen in DotNet v2?
This issue can be replicated with various text fonts - but is easiest to see
using WingDings.
1) Create a string which includes character #132
2) Draw it to a Graphics object with DrawString
S := #130+#131+#132+#133+#134+#135+#136+#137+#138+#139;
F := System.Drawing.Font.Create('WingDings', 16);
G.DrawString(S, F, Brushes.Black, 0, 0);
The output always wraps immediately after character #132, regardless of font
size, StringFormat settings, etc.
Is this a bug in DrawString, or is it due to some other setting of which I
am not aware?
Does it happen in DotNet v2?