From: Araki K. <ara...@us...> - 2013-12-15 15:12:36
|
Hi, From: Andi Cristian Serbanescu <ski...@ya...> Subject: Re: [Mlterm-dev-en] mlterm 3.3.1 released Date: Sat, 14 Dec 2013 10:01:47 -0800 (PST) Message-ID: <138...@we...> > Some time ago I’ve also noticed something strange about the width of the > character cell when using Xft rendering (although I refrained from > mentioning it since it wasn’t such a big deal), namely that it’s set too > narrow by default. > > I normally use DejaVu Sans Mono for Xft, and I have to adjust the width > manually, e.g. for size 12 px I have to set PERCENT to about 113 in > order to get the width I should expect, and for 13 px it should be set > to 125. This happened with all the fonts I’ve tried, although they were > not that many. Is there any way to make mlterm use a more adequate > character width? https://bitbucket.org/arakiken/mlterm/commits/a557cbe93febdcc148798630b130ffd38bad0c3a makes mlterm use the default character width of the loaded font. > Also, what would you think of using point size instead of pixel size in > the font specifications? Most stuff right now employs the latter more > readily. Enabling point size has been already implemented. (All you have to do is call x_font_use_point_size_for_fc(1) https://bitbucket.org/arakiken/mlterm/src/tip/xwindow/xlib/x_font.c#cl-1258 and x_font_set_dpi_for_fc(dpi) https://bitbucket.org/arakiken/mlterm/src/tip/xwindow/xlib/x_font.c#cl-1266) But it is enabled only when mlterm works as libvte compatible library because gnome-terminal etc requires it. I hesitate to change the current default behavior, but I'll think of this after 3.3.2 release. Regards, --- Araki Ken ara...@us... |