On Tue, Jan 21, 2014 at 01:24:39AM +0200, clutton <[email protected]> wrote: > I was trying to fix enormous font width for urxvt running on FreeBSD. > The fonts I have are «Monaco» and «PragmataPro».
Please look at previous discussions - the patch is incorrect. rxvt-unicode requires a charcell font (basically a font suitable for a use in a grid such as used interminals). Basically, your fonts have very wide glyphs, and urxvt has to accomodate them. > + * bukind: don't use g.width as a width of a character! > + * instead use g.xOff, see e.g.: > http://keithp.com/~keithp/render/Xft.tutorial According to that very url, xOff is *wrong*, as it is the spacing to the next glyph. "width" is correct, as we need the glyph width (the spacing is constant in a terminal). -- The choice of a Deliantra, the free code+content MORPG -----==- _GNU_ http://www.deliantra.net ----==-- _ generation ---==---(_)__ __ ____ __ Marc Lehmann --==---/ / _ \/ // /\ \/ / [email protected] -=====/_/_//_/\_,_/ /_/\_\ _______________________________________________ rxvt-unicode mailing list [email protected] http://lists.schmorp.de/cgi-bin/mailman/listinfo/rxvt-unicode
