Thanks!

Ahhh, the difference is slightly different what I expected
(I expected some hinting or subpixel rendering configuration
is different between terminator and emacs) - the difference
seems to me as if the width of the glyphs are same, but the
height of the characters are different (although the linegap
is still same). It's hard for me to think as the terminator
or emacs invokes the font rasterizer with non-1:1 aspect ratio,
so I have no idea what causes this difference. I want to hear
other experts comment...

Regards,
mpsuzuki


Michael Gummelt wrote:
> Here are the two images side by side: http://imgur.com/zqKoB6k,POLlkVl#0
> 
> The first is graphical emacs, while the second is rendered by the terminal
> (terminator).  They're slightly, yet definitively different.
> 
> I'm not looking for all the possible reasons, but rather an overview of the
> font rendering system, and how Pango/xft/fontconfig/X11 all interact.
> 
> Thanks,
> Michael
> 
> On Wed, Dec 17, 2014 at 12:41 AM, suzuki toshiya <mpsuz...@hiroshima-u.ac.jp
>> wrote:
>>
>> Hi,
>>
>> There might be so many possibilities of the reason why they
>> are different, so I recommend to post the screenshot how
>> they are rendered differently. However, I'm unfamiliar with
>> the font backend in Emacs...
>>
>> Regards,
>> mpsuzuki
>>
>> Michael Gummelt wrote:
>>> Hi,
>>>
>>> I'm just learning how font rendering on linux works, and I'm trying to
>>> understand why my fonts look different in terminator (a gnome
>> application)
>>> and graphical emacs.  The terminator man page says that the font config
>> can
>>> be set to a "Pango font name", which suggests it's using Pango to render
>>> fonts.  My font, DejaVu Sans Mono, looks great in terminator, but not so
>>> good in graphical emacs.  I assume graphical emacs is using raw xft?
>> But I
>>> thought Pango uses xft as a backend, so they should look the same, right?
>>> My question is, what is the separation of duties of each of these font
>>> tools, and why might the same font be rendered differently in each
>>> application?  Is there any way to get emacs to render fonts as well as
>>> terminator?
>>>
>>> Thanks,
>>> Michael
>>>
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> gtk-i18n-list mailing list
>>> gtk-i18n-list@gnome.org
>>> https://mail.gnome.org/mailman/listinfo/gtk-i18n-list
>>
> 

_______________________________________________
gtk-i18n-list mailing list
gtk-i18n-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Reply via email to