[Lazarus] Controlling DPI

David W Noon david.w.noon at ntlworld.com
Sat Mar 28 17:16:55 CET 2009


On Sat, 2009-03-28 at 18:41 +0300, ik wrote:
> 
> I prefer the latter, but the zoon factor can also do the trick.

The DPI is controlled by the hardware driver for the video card. It
applies to the entire screen and cannot be changed for a particular
window on the screen. The only way to alter it is to restart the video
driver with different initialization parameters. [For a UNIX-like system
(e.g. Linux, FreeBSD), this means altering the X11 configuration and
restarting the X11 daemon.]

A zoom factor applies to an image, either pictorial or rendered text.
You can do whatever you want with that within your application.

-- 
Regards,

Dave  [RLU #314465]
=======================================================================
david.w.noon at ntlworld.com (David W Noon)
=======================================================================



More information about the Lazarus mailing list