Some things about changing from old X fonts to modern TrueType fontsNow that I've transitioned to using modern fonts in One of my challenges in doing this was matching the size of my new fonts to the size of my old fonts, since I didn't want to significantly change the size of things in my desktop environment; shuffling fonts is bad enough without shuffling layouts as well. Fortunately there turns out to be a relatively easy trick for this that mostly works. There are two ways to specify the sizes of old-style X fonts; you can
use either actual pixel size or a point size (or both at once, if you're
so inclined). If you only have the point size, you need to determine
the pixel size. The easy way to do this is to fire up
Now find the Once you have the pixel size you can simply directly specify this in
an XFT font specification such as ' (The font rendition may not be the same, of course; in my case I found that I needed 'Condensed Bold' instead of plain 'Bold' in order to match reasonably well. You're going to have to experiment.) The other thing I found out after some experimentation is that modern
TrueType fonts are not as good at small pixel sizes as the old X bitmap
fonts. After playing around with it I've stuck with my old X fonts for
small sized things (an example is the places where I'm using the classic
(It's possible that someday we'll have modern TrueType fonts that are very well hinted for such small sizes, but they don't seem to be there today. It's not glaringly bad by comparison, but my FvwmIconMan definitely felt less readable and clear when I was trying out 'Mono:pixelsize=13'.) Sidebar: Xt and bad font rendering in UTF-8One of the things that happens in some Xt-based applications, most
visibly (One comment.)
|
These are my WanderingThoughts GettingAround This is part of CSpace, and is written by ChrisSiebenmann. * * * Atom feeds are available; see the bottom of most pages. Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web |