Page 1 of 1

Bigger font sizes?

Posted: 10.01.2005, 12:51
by manoweb
Hi, where can I find new fonts to display script output? I would like a much bigger font for the text to be readable by a person a couple of meters away from the screen.

Thank you
Alessio Sangalli

Posted: 10.01.2005, 14:39
by manoweb
I solved by myself:

1) download in a directory:
- http://resumbrae.com/ub/dms424_s03/26/p ... /TexFont.h
- http://resumbrae.com/ub/dms424_s03/26/p ... ntexfont.c

2) compile:
$ gcc -lglut -lGLU -lGL -L/usr/X11R6/lib -lX11 -lm gentexfont.c -o gentexfont

3) list available fonts:
$ xlsfonts
[...]
-monotype-arial-medium-i-normal--0-0-0-0-p-0-iso8859-15
-monotype-times new roman-medium-i-normal--0-0-0-0-p-0-iso8859-15
[...]

4) create a new "tex" font choosing the font and the size. Pay attention to the "-fn" option:
./gentexfont -fn '-monotype-arial-medium-r-normal--36-*-*-*-p-*-iso8859-15' -file arial36.txf -glist"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890\!@#$%^&*()_-+=;:,./\'\"<>? " -bitmap -w 256 -h 256 -gap 3
you will need to adjust the W and H size for bigger fonts (increase to 512x512 or even 1024x1024 for very large fonts (90+)

Thank you
Alessio Sangalli