[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pnet-developers] [patch #3559] Fix font size calculation
From: |
Gopal.V |
Subject: |
[Pnet-developers] [patch #3559] Fix font size calculation |
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 patch tracker
of the project: DotGNU Portable.NET.
/**************************************************************************/
[patch #3559] Latest Modifications:
Changes by:
Gopal.V <address@hidden>
'Date:
Wed 12/08/2004 at 16:49 (Asia/Calcutta)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Applied
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
Applied on 8th Dec 2004 .
/**************************************************************************/
[patch #3559] Full Item Snapshot:
URL: <http://savannah.gnu.org/patch/?func=detailitem&item_id=3559>
Project: DotGNU Portable.NET
Submitted by: Marc Haisenko
On: Wed 12/08/2004 at 09:40
Category: None
Priority: 5 - Normal
Resolution: Applied
Privacy: Public
Assigned to: None
Originator Email:
Status: Closed
Summary: Fix font size calculation
Original Submission: The current font size calculation assumes Windows is
normally using 108 DPI for font rendering which is wrong. All documents clearly
state it's 96 DPI. So setting the PointSizeConversion float from
System.Drawing.Xsharp.DrawingFont.cs to 96.0 fixes the font size.
Tested with MicroSoft Sans Serif at sizes 10, 50 and 100 with Windows XP via
rdesktop and X Window at 1024x768 (80 DPI) and at 800x600 (75 DPI). Font sizes
now match to the pixel.
Follow-up Comments
------------------
-------------------------------------------------------
Date: Wed 12/08/2004 at 16:49 By: Gopal.V <t3rmin4t0r>
Applied on 8th Dec 2004 .
File Attachments
-------------------
-------------------------------------------------------
Date: Wed 12/08/2004 at 09:40 Name: DrawingFont.cs.FixFontsize.patch Size:
808B By: darkdust
http://savannah.gnu.org/patch/download.php?item_id=3559&item_file_id=3928
For detailed info, follow this link:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=3559>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/