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

Re: true-type and wine



Douglas Orchard wrote:
 do> Has anybody written a Howto or tutorial on setting up the truetype

In addition to wine and my windoze games I need truetype in Abiword and The Gimp


See http://www.linuxdocs.org/HOWTOs/mini/TT-Debian-3.html

In previous posts, some have said that you do not need to install xfstt fontserver. However, no one has said that they have been successful with this approach. I know that xfstt works for me in the Gimp, OpenOffice.org, etc. (I am not running Wine, though I don't see why it should not work here too.)

Briefly:

1. Install xfs and xfstt using apt-get.

2. Configure xfs:
a. Modify /etc/X11/fs/config if nessary and restart the xfs server ('/etc/init.d/xfs restart').

b. Verify that xfs is working ('falsfonts -server unix/:7100').

3. Modify /etc/X11/XF86Config-4 to include the non-ttf fonts on port 7100:

Section "Files"
	FontPath	"unix/:7100"	# local font server
#	FontPath	"unix/:7110"	# 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"
EndSection

4. Verify that xfs fonts are visible:
Restart X and run the command 'xlsfonts'.

5. Copy your ttf font files to /usr/share/fonts/truetype/ and set permissions to 0444 (user read, group read, other read).

6. Configure xfstt:
a. Restart the xfstt ttf font server ('/etc/init.d/xfstt force-reload').

b. Modify /etc/X11/XF86Config-4 to include the ttf fonts on port 7101:

Section "Files"
	FontPath	"unix/:7101"            # ttf fonts preferred
	FontPath	"unix/:7100"		# local font server
#	FontPath	"unix/:7110"		# 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

6. Verify that the xfstt fonts are visible:
Restart X and run the command 'xlsfonts | grep ttf'.

7. Install further ttf fonts by copying the .ttf files to /usr/share/fonts/truetype/ and setting permissions to 0444 (user read, group read, other read). Then run '/etc/init.d/xfstt restart' or '/etc/init.d/xfstt force-reload' to make them available.
--------------------------------------------------------------------

ttf fonts in OpenOffice.org:

The Gimp sees the ttf fonts immediately, but OO.o needs to be told which ttf fonts to use and what the font path is using 'OpenOffice.org Printing Administration' which is part of the suite:

1. Run 'OpenOffice.org Printing Administration' from the desktop menu.
2. Click on <Fonts...>.
3. Click on <Add...>.
4. Type the ttf font path (eg '/usr/share/fonts/truetype') in the 'Source dirctory' box. After a second or two the fonts will appear in the list box.
5. Click on <Select All>.
6. Click on <OK>.
7. Click on <Close>.
8. Click on <Close>.
---------------------------------------------------------------------

Please reply to the list if you get ttf font available in Wine.

Cheers,

Chris.

--
 ___   Chris Lale   <ctlale@coolscience.co.uk>
/   \
| <_/  My PC runs Debian GNU/Linux 3.0.
\      Robust, secure and free operating system + applications.
 \     Available at http://www.debian.org



Reply to: