From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Message-ID: <5489A208.3020009@telefonica.net> Date: Thu, 11 Dec 2014 14:54:16 +0100 From: John Telefonica MIME-Version: 1.0 References: <54886D80.2080207@telefonica.net> <201412111145.07860.jbe@pengutronix.de> In-Reply-To: <201412111145.07860.jbe@pengutronix.de> Subject: Re: [ptxdist] Different font between host and target Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1"; Format="flowed" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hello, I am not tell Qt nothing about DPI value. Where I setup this value? is it a environment variable? Regards John El 12/11/2014 11:45 AM, Juergen Borleis escribi=F3: > On Wednesday 10 December 2014 16:57:52 John Telefonica wrote: >> I have noticed that my Qt app has a different font size in target. >> For example , If I want a Arial font with size 20, I need to setup font >> size in UI form to 28. >> >> I have checked /etc/fonts/font.conf several times. >> >> QFontDatabase recognize fonts that are installed in /usr/lib/fonts >> "Arial" --> familie >> "6 7 8 9 10 11 12 14 16 18 20 22 24 26 28 36 48 72 " ---> smooth sizes >> >> Then, I think is a problem of font config but I dont find out what is >> the problem. > Does Qt know the DPI value of your display? > > Regards, > Juergen > -- = ptxdist mailing list ptxdist@pengutronix.de