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

Re: True Type fonts



On Tue, Feb 13, 2001 at 04:02:55PM -0600, John Foster wrote:
> Hall Stevenson wrote:
> 
> > You can only load one or the other of those two modules, not both. When
> > you uncomment the "xtt" line, do you comment out the "freetype" entry ??
> > 
> > Hall
> -------------------------------------------------------------
> OK I did that & also found out that all of the other modules do load
> except the freetype module. The xserver now starts and gdm runs OK. I
> still see no ttf fonts listed in Netscape or gfontsel. Other ideas? Do I
> NEED an xfont server> xfs, xfstt, or xfs-xtt?

Both freetype and xtt deal with ttf fonts, so it's perfectly reasonable
to expect only one to work at a time. You can choose which based on
your preferences, but running both makes no more sense than, say running
xfstt and xfs-xtt to serve the same set of fonts.

You shouldn't need an external font server. I'm attaching my configuration
file, if it's any help. It works either way, with freetype or xtt. It
was generated by dexter, but I've had success with the config files
generated by dpkg-reconfigure xserver-xfree86 on other machines as well.

HTH.

-- 
-----------------------------------+-------------------------
Change is inevitable.              |  A n d r e j M a r j a n
Progress is not.                   |     amarjan@pobox.com
-----------------------------------+-------------------------
# XF86Config-4 (XFree86 server configuration file) generated by Dexter, the
# Debian X Configuration tool.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)

Section "Files"
#	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"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/Speedo"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
	FontPath        "/usr/share/fonts/truetype"
EndSection

Section "ServerFlags"
EndSection

Section "Module"
	Load	"ddc"
	Load	"GLcore"
	Load	"dbe"
	Load	"dri"
	Load	"extmod"
	Load	"glx"
	Load	"pex5"
	Load	"record"
	Load	"xie"
	Load	"bitmap"
#	Load	"freetype"
	Load	"xtt"
	Load	"speedo"
	Load	"type1"
	Load	"vbe"
	Load	"int10"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xfree86"
	Option		"XkbModel"	"pc104"
	#Option		"XkbLayout"	"us"
	Option          "XkbOptions"    "ctrl:swapcaps"
EndSection

Section "InputDevice"
	Identifier	"Generic Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Protocol"		"PS/2"
	Option		"Device"		"/dev/psaux"
	Option		"Emulate3Buttons"	"false"
EndSection

Section "Device"
	Identifier	"Generic Graphics Device"
	Driver "nv"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	HorizSync	30-95
	VertRefresh	50-180
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device		"Generic Graphics Device"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1600x1200" "1280x960" "1152x864" "1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1600x1200" "1280x960" "1152x864" "1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1600x1200" "1280x960" "1152x864" "1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1600x1200" "1280x960" "1152x864" "1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1600x1200" "1280x960" "1152x864" "1024x768" "800x600" "640x480" 
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480" 
	EndSubSection
EndSection

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

Section "DRI"
	Mode	0666
EndSection

# end of XF86Config

Reply to: