Tech and Academic things for Chianshin

Monday, March 26, 2007

Fonts in the X Window System

Fonts in the X Window System: "The utilities dxfc, bdftopcf and bdftosnf convert between some of these formats, but converters for several font file format combinations are lacking.

getbdf can fetch a font from the X server, and output it in .bdf format. Since there are converters from this format to the others, this utility makes it possible to convert between any pair of formats, albeit by a roundabout route through the X server.

bdfresize can be used to scale a font in .bdf format by a rational factor. The output is also a .bdf file, but before you can use it, you need to edit the FONT line in the output file to change the font name to reflect the altered size.

showsnf can be used to print the contents of an .snf file.

mftobdf can be used to convert Metafont fonts to .bdf format.

The fstobdf utility can read any font from a font server, and output it in .bdf format

The xfd utility displays a table of all characters in a font, for example, xfd -fn 10x20.

The xlsfonts utility lists all of the fonts known to the X server. On many systems, this will produce a long list of 1000--2000 fonts, so if you use it, you probably want to filter its output through a pager, like less, more, or pg, or else through a pattern search utility like agrep, cgrep, ceegrep, egrep, fgrep, grep, or sgrep.

Th"

Saturday, March 17, 2007

aterm guide - make the aterm terminal look good (Linux Reviews)

aterm guide - make the aterm terminal look good (Linux Reviews): "aterm -tr -trsb -sh 60"

Friday, March 16, 2007

HOWTO: View and Input Chinese on a English Interface in Linux | Biohackery

HOWTO: View and Input Chinese on a English Interf
ace in Linux | Biohackery


- Install Chinese fonts

In the terminal as root user, enter:

apt-get install ttf-arphic-gbsn00lp ttf-arphic-gkai00mp ttf-arphic-bsmi00lp ttf-arphic-bkai00mp

...to install Chinese fonts.
2 - Install input method (IM) engines

Enter:

apt-get install scim scim-m17n scim-modules-table scim-pinyin scim-tables-zh

Thursday, March 08, 2007

Desktop Java and Desktop Linux: A Match ...

Desktop Java and Desktop Linux: A Match ...: "of development that one might want to do--something that Mono can't even begin to match yet. Furthermore, Java has a much larger development community in place already, and remains the most popular language for open source projects on SourceForge, as well as on FreshMeat.net, where Java has 5383 projects compared to only 284 for C#--making Java nearly 19 times more popular than C#. "