The PixelsPerInch setting for large fonts is 120.

Under Windows 98 I think you can set a custom font size. I don't know
how this affects the PixelsPerInch value.


Paul Faid wrote:
> 
> I'm not sure about the 'correct' way, but we use the value of
> Screen.PixelsPerInch,
> 
> if  Screen.PixelsPerInch = 96 then they are using small fonts. I can't
> remember the value for large fonts.
> 
> As an example, if we need to scale one of our own components, we use small
> fonts at design time and then make the required adjustment at runtime:
> 
>    RunTimeSize := DesignTimeSize * Screen.PixelsPerInch div 96 ;
> 
> Paul
> 
> -----Original Message-----
> From: Dwane Van Der Sluis [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 9 December 1999 11:41
> To: Multiple recipients of list delphi
> Subject: [DUG]: Windows Large and Small Fonts
> 
> What is the correct way to determine if windows is using Large Fonts or
> small fonts?
> 
> Thanks
> 
> Dwane van der Sluis
> 
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz
> ---------------------------------------------------------------------------
>     New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
>                   Website: http://www.delphi.org.nz

-- 
John Mason
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to