[Interest] scale all fonts

Hamish Moffatt hamish at risingsoftware.com
Tue Mar 19 14:19:58 CET 2013


On 19/03/2013 10:55 PM, Rutledge Shawn wrote:
> On 19 Mar 2013, at 11:27 AM, Hamish Moffatt wrote:
>
>> Is it possible to apply a scaling to all font sizes used in an application?
>>
>> I can see Qt is doing the right thing by converting point sizes to pixel
>> sizes in accordance with the DPI of the display. Now suppose I want to
>> override the DPI, or redefine point to be other than 1/72" (achieves the
>> same). Is this possible?
> Unless you are on MacOS, you can override the DPI system-wide.  X11 has multiple ways (xorg.conf, and startx -- -dpi 72 or whatever); in Windows you can do it in the display control panel.
>
I'd like to do it in the application, not system-wide. Can I override 
the DPI that Qt has detected from the OS somehow?


Hamish




More information about the Interest mailing list