[Mono-winforms-list] Screen dpis

David Suarez dsuarezv at codicesoftware.com
Tue Dec 4 12:38:09 EST 2007


Hi, 

I'm trying to figure out the way to handle different font sizes among linux
distros (I know, I know... but we need to support it :) ) The point is that
we now have all our forms autoscaling properly on windows (on both 96 and
120dpi modes) and they show up properly on 96dpi linux (all we have tested
for now: suse/ubuntu/fedora/slackware/debian/kubuntu). 

The problem arises with linux displays set to 120dpi, where some custom
controls don't scale properly. I attach a couple of screenshots. 

Is there any reason why a custom control inheriting from Control couldn't
get autoscaled?

Cheers, 

David Suarez
www.codicesoftware.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: linuxDiff-120dpi.png
Type: image/png
Size: 38495 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20071204/6691d61b/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WindowsDiff-120dpi.png
Type: image/png
Size: 24488 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-winforms-list/attachments/20071204/6691d61b/attachment-0003.png 


More information about the Mono-winforms-list mailing list