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 #22740 is a reply to message #22736] Mon, 10 August 2009 16:44 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13980
Registered: November 2005
Ultimate Member
chickenk wrote on Mon, 10 August 2009 03:17


I just have a quick question: is it intended behavior that the navigator bar list does not take dpi into account? To make a try I used a very small dpi (50). Normal text is hardly readable at this dpi on my PC. I launched theIDE and I discovered that the bottom list of the navigator bar uses the same font size (in pixels) than when I use 88 or 96 dpi. That is really not a problem for me, just wanted to check if it is intended behaviour.



Well, after some checking, the reason is that the font is scaled using layout scale (VertLayoutZoom).

Anyway, there is "small font size" protection in layout scaling - basically, layout are not scaled down below designed size. They can only scale up. This is to avoid numerous troubles in the process. Here, this heurestics applies to the font too.

I am not sure whether this is worth fixing.

Mirek
 
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: Thu May 16 03:43:35 CEST 2024

Total time taken to generate the page: 0.01789 seconds