[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: font - dpi settings ignored?

From: Kenichi Handa
Subject: Re: font - dpi settings ignored?
Date: Thu, 26 Jun 2008 21:37:50 +0900
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/23.0.60 (i686-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

In article <address@hidden>, James Cloos <address@hidden> writes:

>>>> >                 Xft.dpi: 96
>>> Could you tell me what does Xft.dpi means?

>>> Is it a way to tell X applications to assume the specified DPI

> > In short, yes. 

> More specifically, it tells libXft to use said DPI.  If it exists,
> libXft adds that value (a double) to the patterns it sends on to
> fontconfig.

> If it does not exist, libXft uses DisplayHeight * 25.4 / DisplayHeightMM.

> I believe it uses those two (prefering the Xft.dpi value) only if the
> application hasn't already specified FC_DPI in the fontconfig pattern.

Thank you for the explanation.  But, then, it seems that the
DPI setting affects only how to convert point-size to
pixel-size.  But, in his screenshot:


the rendering is apparently affected.  Are there any
possibility that what is wrong is not Xft.dpi but some other
Xft setting (e.g. RGB)?

Kenichi Handa

reply via email to

[Prev in Thread] Current Thread [Next in Thread]