dotgnu-pnet
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pnet-developers] [bugs #9444] X(Sharp) font size does not correspond th


From: Gopal.V
Subject: [Pnet-developers] [bugs #9444] X(Sharp) font size does not correspond the size of a System.Drawing.Font
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

This mail is an automated notification from the bugs tracker
 of the project: DotGNU Portable.NET.




/**************************************************************************/
[bugs #9444] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=9444>
Project: DotGNU Portable.NET
Submitted by: Erik Pfeifle
On: Thu 06/24/2004 at 11:17

Category:  None
Severity:  5 - Average
Item Group:  None
Resolution:  None
Privacy:  Public
Assigned to:  Rich333
Status:  Open


Summary:  X(Sharp) font size does not correspond the size of a 
System.Drawing.Font

Original Submission:  For a range of "System.Drawing.Font" sizes there is just 
one font created in X(Sharp).

I have tested with System.Drawing.Graphics.MeasureString(..) method.

With the test program you can select a FontFamily and a FontSize in 0.25 Steps. 
The TestText "Let's go DotGNU" and the measuered string length will be 
displayed for the selected Font.
For e.g. Arial: The X(Sharp) Font is the same for the range 8-9,25 and 
9.5-11.25 and 11.5-14.75....

With test program you can generate the attached .txt files which includes for 
each font and size the measured string length. 
The Analysis (excel chart) is in TestFontSize.pdf.

Follow-up Comments
------------------


-------------------------------------------------------
Date: Thu 06/24/2004 at 12:09       By: Rhys Weatherley <rweather>
X fonts, particularly the default bitmapped fonts, do not
scale well.  So Xsharp rounds the font size to the nearest
X size that doesn't exhibit scaling artifacts.  If you want
precise font sizes, you must enable Xft fonts at configure
time with "./configure --enable-xft".






File Attachments
-------------------

-------------------------------------------------------
Date: Wed 12/08/2004 at 16:57  Name: x11_vs_win32.png  Size: 4.21KB   By: 
t3rmin4t0r
X11 vs Win32 (4 pixel difference)
http://savannah.gnu.org/bugs/download.php?item_id=9444&amp;item_file_id=1960

-------------------------------------------------------
Date: Thu 06/24/2004 at 11:17  Name: TestFontSize.zip  Size: 43.44KB   By: kirep
Source file, executable, excel chart as pdf
http://savannah.gnu.org/bugs/download.php?item_id=9444&amp;item_file_id=1428






For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=9444>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]