[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

GIMP and TTF without a font server



Hello,

I've been trying to get my TTF fonts into GIMP but haven't been having
much luck. I've followed the instructions on:
	http://www.paulandlesley.org/linux/xfree4_tt.html
(but didn't make aliases) to make the fonts.dir and fonts.scale file. All
of the fonts are listed, but only some are showing up in my applications.
When I ran ttmkfdir I got error messages about the foundry SEAN not being
found. I'm not sure if makes a difference or not, but that was the only
error I got.

I've added the path the to XF86Config-4 file and rebooted the computer.
The fonts still aren't showing up in the GIMP though. Is there something
else I'm supposed to do to get things working?

Any help (including pointers to RTFM URLs) would be appreciated! I've
added my XF86Config-4 file and a partial listing from the fonts.scale
file.

emma

-- 
Emma Jane Hogbin
[[ 416 417 2868 ][ www.xtrinsic.com ]]


### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a dexconf-generated
# XF86Config or XF86Config-4 file?" in /usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
	# sounds like this font server isn't really needed
	# FontPath	"unix/:7100"			# local font server

	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"	# xfonts-base
	FontPath	"/usr/lib/X11/fonts/TrueType"	# msttcorefonts
	FontPath	"/usr/lib/X11/fonts/encodings"	# xfonts-base
	FontPath	"/usr/lib/X11/fonts/encodings/large" #xfonts-base
	FontPath	"/usr/lib/X11/fonts/util"	# xfonts-base
	FontPath	"/usr/lib/X11/fonts/100dpi"	# xfonts-100dpi
	FontPath	"/usr/lib/X11/fonts/75dpi" 	# xfonts-75dpi
	FontPath	"/usr/lib/X11/fonts/cyrillic" # xfonts-cyrillic
	FontPath	"/usr/local/share/fonts/ttfonts" # my fonts
	
	#FontPath	"/usr/lib/X11/fonts/Type1"
	#FontPath	"/usr/lib/X11/fonts/Speedo"
EndSection

Section "Module"
	#Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"PS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "Device"
	Identifier	"NVIDIA GeForce2 Go"
	Driver		"nvidia"
	VideoRam	32768
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	28-49
	VertRefresh	43-72
	#Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"NVIDIA GeForce2 Go"
	Monitor		"Generic Monitor"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Generic Mouse"
EndSection

#Section "DRI"
#	Mode	0666
#EndSection

### END DEBCONF SECTION



# this is the fonts.scale file
702
...

# These fonts do NOT show up
phyllis_.ttf -misc-Phyllis-medium-r-normal--0-0-0-0-p-0-iso8859-1
phyllis_.ttf -misc-Phyllis-medium-r-normal--0-0-0-0-p-0-iso10646-1
phyllis_.ttf -misc-Phyllis-medium-r-normal--0-0-0-0-p-0-iso8859-9
phyllis_.ttf -misc-Phyllis-medium-r-normal--0-0-0-0-p-0-iso8859-15

# these fonts show up:
urwpalla.ttf -misc-URWPalladio-medium-r-normal--0-0-0-0-p-0-iso8859-1
urwpalla.ttf -misc-URWPalladio-medium-r-normal--0-0-0-0-p-0-iso10646-1
urwpalla.ttf -misc-URWPalladio-medium-r-normal--0-0-0-0-p-0-iso8859-9



Reply to: