[Lazarus] Controlling DPI

Graeme Geldenhuys graemeg.lists at gmail.com
Sun Mar 29 09:45:22 CEST 2009


On Sat, Mar 28, 2009 at 8:17 PM, Hans-Peter Diettrich
<DrDiettrich1 at aol.com> wrote:
>
> Changing the screen resolution, for one or more monitors, requires an
> restart of the graphics system (GDI, X11...), of course, because it
> affects the desktop and all windows on the monitor(s).

In Gnome you can select the DPI and it will affect all Gnome based
applications - without a restart. Firefox and Thunderbird also allow
you to select a specific DPI which then only applies to the
application.  But I think with all these, they simply take the real
screen dpi and calculate the zoom factor for the applications.

All this is doable in FPC/Lazarus already.

Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the Lazarus mailing list