Mega Code Archive

 
Categories / Delphi / Examples
 

Checking for large fonts

It can often create havoc on your interface if a user is using large fonts (or normal if you have designed in large fonts. A simple check to see what size the a user has is: if Screen.PixelsPerInch = 96 then ;// Its the normal font size; if Screen.PixelsPerInch = 120 then ;// Its the large font size;