[Mono-bugs] [Bug 48601][Min] New - Font strikeout is not accurate

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 18 Sep 2003 10:42:04 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by yaronsh@mainsoft.com.

http://bugzilla.ximian.com/show_bug.cgi?id=48601

--- shadow/48601	2003-09-18 10:42:04.000000000 -0400
+++ shadow/48601.tmp.17561	2003-09-18 10:42:04.000000000 -0400
@@ -0,0 +1,57 @@
+Bug#: 48601
+Product: Mono/Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Minor
+Component: System.Web
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: yaronsh@mainsoft.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Font strikeout is not accurate
+
+Please fill in this template when reporting a bug, unless you know what 
+you are doing.
+Description of Problem:
+The strikeout line is not centered like it should be.
+
+Steps to reproduce the problem:
+1. Open the attached aspx file
+2. Click the "Test" button
+
+Actual Results:
+The line is noticeably positioned in the lower part of the text.
+
+Expected Results:
+The line should be centralized in the text.
+
+How often does this happen? 
+Always
+
+Additional Information:
+In the case of numbers it's quite easy to notice the miss accuracy.
+
+<%@ Page language="c#" AutoEventWireup="false" %>
+<HTML>
+    <HEAD>
+    <script runat="server" language="C#">
+    private void BtnTest_Click(object sender, System.EventArgs e)
+    {
+	Label1.Font.Strikeout = true;
+    }
+    </script>
+    </HEAD>
+    <body>
+	<form id="Form1" method="post" runat="server">
+	   <asp:Label id="Label1" runat="server">626</asp:Label>
+	   <asp:Button id="BtnTest" OnClick="BtnTest_Click" runat="server" 
+                       Text="Test"></asp:Button>
+	</form>
+     </body>
+</HTML>