Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » RichText,QTF,RTF... » Font alignment issues
Re: Font alignment issues [message #22572 is a reply to message #22567] Mon, 27 July 2009 17:53 Go to previous messageGo to previous message
chickenk is currently offline  chickenk
Messages: 169
Registered: May 2007
Location: Grenoble, France
Experienced Member
I replaced the LOG() by DUMP() for easier output:

name = xxxx
height = 0
q = 0
AStdFont = <sans-serif:12>

and the fact is that my std font in Gtk is 9 pt, not 12... it seems the alignment is wrong only when the font size is set to a value smaller than 12. With the same font (Sans) at 12 or greater, the alignment is correct.

Besides, it depends on the font used... some show an alignment problem, others don't. Is that a kerning issue? (I'm absolutely not versed in font management.)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how get font height
Next Topic: Problem with pasting images with transparency
Goto Forum:
  


Current Time: Wed May 15 20:32:52 CEST 2024

Total time taken to generate the page: 0.01945 seconds