From: Araki K. <ara...@us...> - 2013-12-14 02:24:19
|
Hi, From: Andi Cristian Serbanescu <ski...@ya...> Subject: Re: [Mlterm-dev-ja] [Mlterm-dev-en] mlterm 3.3.1 released Date: Thu, 5 Dec 2013 11:09:24 -0800 (PST) Message-ID: <138...@we...> > I would like to ask you about the algorithm which emboldens medium fontsto produce bold ones when no corresponding bold font is available or provided. Is is part of the mlterm code, or does it belong to some X font library? It is part of the mlterm code. > Since it works by reduplicating pixels to the right and glyphs which have different width parity than the character cell tend to be shifted towards the right side more often than not, the resulting bold glyph will extend even more towards the right. Which font do you use ? I want to test it. > I suggest, if possible, to add an option which alters the algorithm by shifting the resulting glyph 1 pixel leftwards (i.e. reduplicating pixels to the left) to preserve balance and prevent frequent overpassingof the character cell bounds. How about the attached patch ? Please apply it to hg head (http://bitbucket.org/arakiken/mlterm/get/tip.tar.gz), build it and start mlterm with --ldd option. > Another issue is the emboldening of semigraphic/block characters (specifically those in the 2580-299F range), which leads to distortion and loss of detail on the shades.I think these should not be touched by the algorithm at all. Can it be done? The attached patch includes this fix. Please test it. Regards, --- Araki Ken ara...@us... |