[Lazarus] Font sizes on various platforms
Graeme Geldenhuys
graemeg at opensoft.homeip.net
Wed Jul 8 08:50:50 CEST 2009
JoshyFun wrote:
>
> And also default font could be very different across platforms and
> even in the same platform. To "solve" both problems in my cross
So basically this is a total mess for Lazarus, Kylix and Delphi. :-( How
does other cross-platform toolkits handle this? For example Qt or
wxWidgets? Or maybe more interestingly, Java?
> Maybe something like this functions can be added to the LCL to get
> compatibility with "ScaleBy"'s Delphi.
We used to use that in Delphi and Kylix CLX applications. It was a mess
as well!
> I'm usually developing in Windows environment with 96 dpi and a font
> "normal" for Windows XP. In the formCreate event I'm writting:
So if you change your monitor to say a Widescreen LCD or downgrade your
Windows XP to Vista, then you might have to search and replace the value
of LAZYFOXSTRING for all the applications you every developed and still
maintain? :-(
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://opensoft.homeip.net/fpgui/
More information about the Lazarus
mailing list