File: FontDirs.txt

package info (click to toggle)
tkfont 1.1-12
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 100 kB
  • ctags: 18
  • sloc: tcl: 352; makefile: 35; sh: 8
file content (13 lines) | stat: -rw-r--r-- 1,361 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
Font Directories
	
	Selecting "File/Show Dirs" brings up a window containing a list of all the directories in which your X server looks for fonts.  In each of these directories, there's a file called 'fonts.dir' which tells the X server which file goes with which font.

	Double-clicking on a directory with the left button brings up a window with each entry from the 'fonts.dir' of that directory.  One day you'll be able to do something neat with this.

	Double-clicking on a directory with the right button brings up an editor window in which you can edit the 'fonts.dir' of that directory.  You can remove files from the list, change names, and so on.  Eventually there'll be functions added to make this more automatic.

	You'll notice two little buttons at the bottom of the window.  These switch between using the regular fonts.dir and using the fonts.alias file of the selected directory.

	Each directory can actually have two index files.  All of them have a file called `fonts.dir'.  Some may also have a file called `fonts.alias', which specifies alternate names for some fonts.  By default, double-clicking shows you the fonts.dir file.  However, if you select the "Aliases" button, the fonts.alias will be used instead.

	If you make any changes using the editor, select "File/Re-read Fonts" to make your X server and TkFont aware of the changes.