[Top][All Lists]
[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: |
Norbert Bollow |
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.6) Gecko/20040501 |
This mail is an automated notification from the bugs tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[bugs #9444] Latest Modifications:
Changes by:
Norbert Bollow <address@hidden>
'Date:
Mon 06/28/2004 at 08:12 (Europe/Zurich)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | Wont Fix | None
Assigned to | None | Rich333
Status | Closed | Open
/**************************************************************************/
[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
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: 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&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/