[Top][All Lists]

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

Re: font - dpi settings ignored?

From: henry atting
Subject: Re: font - dpi settings ignored?
Date: Thu, 26 Jun 2008 17:58:15 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Kenichi Handa wrote:

> 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:
>   http://www.literaturlatenight.de/pic.png
> 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)?

Since I noticed that the font was rendered correctly on a virtual
debian/lenny (and since I wanted to reinstall my system for some time
past) I installed debian anew. 
I either removed `x-ttcidfont' from the system. 
Now everything works fine.


reply via email to

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