From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Borleis Date: Thu, 11 Dec 2014 11:45:07 +0100 References: <54886D80.2080207@telefonica.net> In-Reply-To: <54886D80.2080207@telefonica.net> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <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-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de 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 -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Borleis =A0 =A0 =A0 =A0 =A0 =A0 | Industrial Linux Solutions =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de