RE: [suse-kde] Problem with fonts / Anti-Aliasing
Osho - out of coincidence I found a post on another list where you replied DisplaySize 271 203 ...for 1024x768. Just changed it and my fonts/dialog boxes look much nicer! Thanks for the tips. Still wish I understood how this was calculated. Found some info on the net that you devide the horizontal / vertical values (i.e. divide 768 by 203(converted to inches)) to get dpi. Not sure if that's right or not.
Got it! OK, I never was any good at math... ;) So what would I use for 1024x768 ?
For those curious: here is the math. DPI stand for "dots per inches" whereas DisplaySize needs the numbers in mm. We want to get 96 DPI. Now, 1 inch = 2.54 cm = 25.4 mm So, for resolution WxH, to get 96 DPI, DisplayWidth = (W / 96) * 25.4 DisplayHeight = (H / 96) * 25.4 So for resolution 1024x768, DisplayWidth = 270.933 = 271 DisplayHeight = 203.2 = 203 The reason why we wnat 96 DPI is that most font rendering libraries (including freetype2) gives best results for this particular DPI - and many popular fonts are designed with this DPI in mind. So, set the DisplayWidth and DisplayHeight in XF86Config appropriately and then increase/decrease font sizes to make them readable and to suit your tests. Osho On Thu, 7 Oct 2004 14:38:53 -0400, burgeke@hq.verizonwireless.com <burgeke@hq.verizonwireless.com> wrote:
Osho - out of coincidence I found a post on another list where you replied
DisplaySize 271 203
...for 1024x768. Just changed it and my fonts/dialog boxes look much nicer! Thanks for the tips. Still wish I understood how this was calculated. Found some info on the net that you devide the horizontal / vertical values (i.e. divide 768 by 203(converted to inches)) to get dpi. Not sure if that's right or not.
Got it! OK, I never was any good at math... ;) So what would I use for 1024x768 ?
-- To unsubscribe, email: suse-kde-unsubscribe@suse.com For additional commands, email: suse-kde-help@suse.com Please do not cross-post to suse-linux-e
participants (2)
-
burgeke@HQ.VerizonWireless.com
-
Osho GG