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: Rhys Weatherley
Subject: [Pnet-developers] [bugs #9444] X(Sharp) font size does not correspond the size of a System.Drawing.Font
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

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

/**************************************************************************/
[bugs #9444] Latest Modifications:

Changes by: 
                Rhys Weatherley <address@hidden>
'Date: 
                Thu 06/24/2004 at 12:09 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Wont Fix
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
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".






/**************************************************************************/
[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:  Wont Fix
Assigned to:  None
Status:  Closed


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: 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: Thu 06/24/2004 at 11:17  Name: TestFontSize.zip  Size: 43KB   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]