[ros-bugs] [Bug 3481] Firefox 3 - Page content text misaligned

ReactOS.Bugzilla at reactos.org ReactOS.Bugzilla at reactos.org
Fri Dec 18 21:48:07 CET 2009


http://www.reactos.org/bugzilla/show_bug.cgi?id=3481





--- Comment #25 from vicmarcal <vicmarcal at hotmail.com>  2009-12-18 21:48:06 CET ---
Well Smiley, at least we know something, Monospaced fonts are well drawn while
Non-monospaced are wrong drawn by the Cairo. The difference is that a
Monospaced font sets a Fixed width used for all the drawn letters while a
Non-Monospaced has different widths for each letter. 

As Width seems to be the critical param, I would look to the Width param value
of each letter when printing with a Non-Monospaced.
Functions related to calculate the Width of a character can be find here:
http://msdn.microsoft.com/en-us/library/dd183418%28VS.85%29.aspx

Also i would be worried about the Width of a String,(maybe Cairo is using some
of them?), GetTextExtentPoint32, and GetTabbedTextExtent as MSDN suggets:
http://msdn.microsoft.com/en-us/library/dd145122%28VS.85%29.aspx







-- 
Configure bugmail: http://www.reactos.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the Ros-bugs mailing list