From: John M. <lis...@b7...> - 2012-05-10 06:01:13
|
Hi, * Araki Ken <ara...@us...> [120509 19:16]: > > I'm having trouble changing the font in mlterm. My goal is to display > > UTF-8 files using Gentium, a variable width font. > > > > After starting mlterm with `mlterm -A -V`, I brought up the mlterm > > configuration panel, selected "Gentium 24" from the pull-down menu, > > and checked the "Variable column width" option. I do see a line has > > been added to ~./mlterm/vaafont > > > > DEFAULT = 24,Gentium 24 > > > > But mlterm does not display the Gentium font...it just keeps displaying > > the same monospace font (looks like DejaVu Sans Mono) no matter what > > font is selected. > > Will you show me your ~/.mlterm/main, ~/.mlterm/aafont and > ~/.mlterm/vaafont? I'm sorry but procedure of font setting is somewhat > complicated. Variable width unicode font is searched as follows. All these are mostly as copied from /etc: `cp /etc/mlterm/* ~/.mlterm/` (with the addition of the font callout for Gentium). > If you specify ~/.mlterm/main and ~/.mlterm/vaafont as follows > or remove ~/.mlterm/aafont, I think you can certainly display Gentium font. > > ~/.mlterm/main > fontsize = 24 > > ~/.mlterm/vaafont > DEFAULT = 24,Gentium 24 > ISO10646_UCS4_1 = 24,Gentium 24 Yes, this did it. It was necessary to specify fontsize in ~/.mlterm/main as well as those two lines in ~/.mlterm/vaafont (I was missing the "ISO10646_UCS4_1 = 24,Gentium 24" line). Now Gentium displays properly as a variable width font when started with `mlterm -A` Thanks for your help, John -- John Magolske http://B79.net/contact |