This commit is contained in:
gferg 2001-03-22 14:44:04 +00:00
parent 57eac20792
commit be5e8e5f26
3 changed files with 144 additions and 70 deletions

View File

@ -8,17 +8,7 @@
<AuthorGroup>
<Author>
<Firstname>Doug</Firstname>
<Surname>Holland</Surname>
<Affiliation>
<Address>
<Email>meldroc@frii.com</Email>
</Address>
</Affiliation>
</Author>
<Author>
<Firstname>Updated by: Hal</Firstname>
<Firstname>Maintained by: Hal</Firstname>
<Surname>Burgiss</Surname>
<Affiliation>
<Address>
@ -27,9 +17,19 @@
</Affiliation>
</Author>
<Author>
<Firstname>Original Author: Doug</Firstname>
<Surname>Holland</Surname>
<Affiliation>
<Address>
<Email>meldroc@frii.com</Email>
</Address>
</Affiliation>
</Author>
</AuthorGroup>
<PubDate>v1.55, 11 Oct 2000</PubDate>
<PubDate>v1.60e, 21 March 2001</PubDate>
<!--
<RevHistory>
@ -136,12 +136,44 @@
<Para>
<Comment>
Remove my xfs!!!!!!!!!!!!!!
Changes:
Changed feenix.eyep.net Wed 03/21/01 09:54:43 PM
ttmkfdir name is different on Debian. UPDATE. They are not the same.
clarified some things based on suggestions from Uwe Dippel udippel@yahoo.com
Added Chinese Translation.
Added reference to Anti-aliasing.
ttmkfdir name is different on Debian. UPDATE. They are not the same.
ToDo:
Remove xfs help page !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
anti-aliasing fonts with 4.02.
www.xfree86.org/~keithp/render
startx -- -dpi 100 -depth 16 -bestRefresh
:0 local /usr/X11R6/bin/X -dpi 90 -nolisten tcp
add Translation section.
mail: Yu-Chia Chang (joezhang at ms10.hinet.net) Chinese translation.
http://www.linux.org.tw/CLDP/mini/FDU.html
submitted: Wed 10/11/00 01:36:55 PM
For next version:
Hi. You might add the following info to the HOWTO.
The "ttmkfdir" utility is called "mkttfdir" in Debian.
It can be found in the "fttools" Debian package.
Thomas Hood
anti-aliasing
http://www.xfree86.org/~keithp/render/
</Comment>
</Para>
@ -327,6 +359,16 @@ http://www.xfree86.org/~keithp/render/
</Para>
</ListItem>
<ListItem>
<Para>
1.60e: March 21, 2001:
A few very minor changes. Most notable news is anti-aliasing support now
in XFree 4.02 (referenced in the Notes section only). Chinese translation
URL added.
</Para>
</ListItem>
</ItemizedList>
</Para>
@ -342,6 +384,13 @@ http://www.xfree86.org/~keithp/render/
<Sect2>
<Title>New Versions</Title>
<Para>
Version 1.60x, is a pre-release version of this document. Nothing
substantially new. Anti-aliasing support in XFree86 4.02 is the
biggest news. I haven't had a chance to dig into this yet.
</Para>
<Para>
Version 1.55 adds additional information relating to XFree86 4.x, and
in particular what is new with Redhat 7.0. Also adding a neglected credit to
@ -359,7 +408,7 @@ http://www.xfree86.org/~keithp/render/
<Para>
The latest version of this document can be found at
<Ulink URL="http://feenix.eyep.net/ldp/fdu/index.html">http://feenix.eyep.net/ldp/fdu/index.html</Ulink>.
<Ulink URL="http://feenix.dyndns.org/ldp/fdu/index.html">http://feenix.dyndns.org/ldp/fdu/index.html</Ulink>.
</Para>
@ -440,7 +489,7 @@ http://www.xfree86.org/~keithp/render/
<LiteralLayout>
Updated by Hal Burgiss.
Email: <ULink URL="mailto:hal@foobox.net">hal@foobox.net</ULink>
WWW: <Ulink URL="http://feenix.eyep.net/ldp/fdu">http://feenix.eyep.net/</ULink>
WWW: <Ulink URL="http://feenix.dyndns.org/ldp/fdu">http://feenix.dyndns.org/</ULink>
</LiteralLayout>
</MSGText>
</Para>
@ -498,6 +547,27 @@ Special thanks go to:
</Sect2>
<!-- ~ End Section ~ -->
<!-- ~~~~~ New Section ~~~~~ -->
<Sect2>
<Title>Translations</Title>
<!--
mail: Yu-Chia Chang (joezhang at ms10.hinet.net) Chinese translation.
http://www.linux.org.tw/CLDP/mini/FDU.html
-->
<Para>
Chinese: <Ulink URL="http://www.linux.org.tw/CLDP/mini/FDU.html">http://www.linux.org.tw/CLDP/mini/FDU.html</Ulink> by Yu-Chia Chang.
</Para>
</Sect2>
</Sect1>
<!-- ~ End Section ~ -->
@ -568,16 +638,17 @@ FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
font that is used. The X server then goes through the
<Literal>FontPath</Literal> and grabs the first font it sees that matches the
X client's criteria, and then renders. Note that Redhat's xfs for versions 6.x
has a different way of setting the <Literal>FontPath</Literal>. See the
<xref LinkEnd="xfs"> below for more on xfs.
and later has a different way of setting the <Literal>FontPath</Literal>. See
the <xref LinkEnd="xfs"> below for more on xfs.
</Para>
<Para>
Default installations typically put 75dpi fonts before the 100dpi fonts. If
you have a high resolution display, this means very tiny fonts. If this is the
case, the first tweak you'll use is to switch the 75dpi and 100dpi FontPath
lines:
If the 100dpi fonts are not listed, they probably did not get installed for
whatever reason, so you may want install them now. Default installations
typically put 75dpi fonts before the 100dpi fonts. If you have a high
resolution display, this means very tiny fonts. If this is the case, the
first tweak you'll use is to switch the 75dpi and 100dpi FontPath lines:
</Para>
<BlockQuote>
@ -1074,7 +1145,8 @@ FontPath "unix/:7101"
<Para>
The default Redhat installation of xfs serves fonts via a Unix Domain Socket.
We'll need to tell the X server where to look for xfs, and thus fonts. The
FontPath in <FileName>/etc/X11/XF86Config</FileName> must include:
FontPath in <FileName>/etc/X11/XF86Config</FileName> must include for Redhat
6.x:
</Para>
<BlockQuote>
@ -1090,7 +1162,7 @@ FontPath "unix/:7101"
</BlockQuote>
<Para>
for Redhat 6.x, or for Redhat 7.x:
This is changed for Redhat 7.x to:
</Para>
@ -1129,7 +1201,7 @@ FontPath "unix/:7101"
<Para>
<Literal>
# chkfontpath --add /usr/local/share/fonts/ttfonts
# chkfontpath --add /new/font/path
</Literal>
</Para>
@ -1153,7 +1225,7 @@ catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
/usr/X11R6/lib/X11/fonts/misc,
/usr/X11R6/lib/X11/fonts/100dpi,
/usr/X11R6/lib/X11/fonts/75dpi,
/usr/local/share/fonts/ttfonts
/new/font/path
</LiteralLayout>
</MSGText>
@ -1161,6 +1233,12 @@ catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
</Para>
</BlockQuote>
<Para>
When adding a new FontPath for TrueType fonts, you will want to do this
step after installing and preparing the fonts. See the next section.
</Para>
</Sect4>
<!-- ~ End Section ~ -->
@ -1176,8 +1254,8 @@ catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
<Para>
We still have a bit of work to do before we can actually use any TrueType
fonts. xfs requires a few things to be in order. First, all font files must
have lower case names. Secondly, they shouldn't have embedded spaces. And then,
we will need to create a couple of files to make things go.
have lower case names for xfs. Secondly, they shouldn't have embedded spaces.
And then, we will need to create a couple of files to make things go.
</Para>
<Para>
@ -1226,27 +1304,6 @@ catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
</Literal>
</Para>
<!--
<ProgramListing>
#!/bin/sh
#
## ~~~~~~~ convert upper to lower case ~~~~~~~~~
ls * | while read f
do
if [ -f $f ]; then
if [ "$f" != "`echo \"$f\" | tr A-Z a-z`" ]; then
#Note that 'This' will overwrite 'this'!
mv -iv "$f" "`echo \"$f\" | tr A-Z a-z`"
fi
fi
done
#- eof
</ProgramListing>
-->
<Para>
Note the punctuation -- the backquotes are important! Remove any spaces from
@ -1273,8 +1330,12 @@ catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
<FileName>fonts.scale</FileName> files in your TrueType font
directory. <Command>ttmkfdir</Command> is in the
<FileName>Freetype</FileName> RPM, and must be run
before <Command>mkfontdir</Command>. These commands don't seem to always
report errors, so verify that they were created and are not empty files:
before <Command>mkfontdir</Command>. With Debian based distros, there
is a similar utility called <Command>mkttfdir</Command>, and is in the
<Filename>fttools</FileName> Deb package. Though this apparently does not
generate as many encodings as <Command>ttmkfdir</Command>. These commands
may not always report errors, so verify that they were created and are not
empty files:
</Para>
@ -1319,26 +1380,27 @@ catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
</Para>
<Para>
Next, update xfs and your X server's FontPath:
Next, update the FontPath and xfs:
</Para>
<Para>
<Literal>
<MSGText>
<LiteralLayout>
# chkfontpath --add /usr/local/share/fonts/ttfonts
# /etc/rc.d/init.d/xfs restart
$ xset +fp /usr/local/share/fonts/ttfonts
$ xset fp rehash
</LiteralLayout>
</MSGText>
</Literal>
</Para>
<!--
<Para>
Rerun the first and last of these commands anytime your add or remove fonts.
<Command>xset +fp</Command> only needs to be run when adding a new font
directory to an existing Fontpath.
</Para>
-->
<Para>
You should now be in business. You can check which fonts are available to X:
@ -1400,7 +1462,10 @@ catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
you can get it here: <ulink
url="http://www.joerg-pommnitz.de/TrueType/ttmkfdir.tar.gz">http://www.joerg-pommnitz.de/TrueType/ttmkfdir.tar.gz</ulink>,
or probably on many Linux archives sites too. Redhat has this as part of the
<FileName>Freetype</FileName> RPM.
<FileName>Freetype</FileName> RPM. And for Debian it is called
<Command>mkttfdir </Command> and is in the <Filename>fttools</FileName>
package.
</Para>
@ -1686,6 +1751,7 @@ default-resolutions = 100,100,75,75
Load "freetype"
Load "speedo"
Load "type1"
&lt;load other modules....&gt;
EndSection
</LiteralLayout>
</MSGText>
@ -1693,6 +1759,11 @@ default-resolutions = 100,100,75,75
</Para>
</BlockQuote>
<Para>
Note that there can be only one 'Module' section, so include any other
modules here as well.
</Para>
<Para>
You also must to create <FileName>fonts.scale</FileName> and
<FileName>fonts.dir</FileName> file for each TrueType font directory, just like
@ -1985,7 +2056,10 @@ default-resolutions = 100,100,75,75
<ListItem>
<Para>
Anti-aliasing is not supported by any version of XFree86.
Anti-aliasing is only supported by XFree86 4.02. This is something
hot out of the oven. See
<Ulink URL="http://www.xfree86.org/~keithp/render">http://www.xfree86.org/~keithp/render</Ulink>
for details. This is a very recent development, and great news!
</Para>
</ListItem>
@ -2029,20 +2103,20 @@ default-resolutions = 100,100,75,75
Applixware, Wordperfect, Ghostscript, TeX/LaTeX.
</Para>
</ListItem>
<!--
<ListItem>
<Para>
A <Ulink URL="http://www.moisty.org/~brion/linux/TrueType-HOWTO.html">TrueType HOWTO</Ulink>, good tips for printing, and a few application specific tips.
</Para>
</ListItem>
-->
<ListItem>
<Para>
<Ulink URL="http://www.dcs.ed.ac.uk/home/jec/programs/xfsft/">xfsft Homepage</Ulink>,
TrueType font support for X. This is the origin of the "freetype" font module
for XFree86 4.x, and Redhat's xfs. Good site, and links to other information
related to fonts and TrueType.
for XFree86 4.x, and Redhat's xfs. Good site, and good links to other
information related to fonts and TrueType.
</Para>
</ListItem>
@ -2125,16 +2199,16 @@ default-resolutions = 100,100,75,75
Geometric Slabserif</Ulink> TrueType Font.
</Para>
</ListItem>
<!--
<ListItem>
<Para>
I also maintain a
<Ulink URL="http://http://feenix.eyep.net/xstuff/xfs.html">help and
<Ulink URL="http://http://feenix.dyndns.org/xstuff/xfs.html">help and
troubleshooting page</Ulink> on Redhat's xfs. There is also an RPM there
with the MS TrueType fonts, and working fonts.scale and fonts.dir in the package.
</Para>
</ListItem>
-->
</ItemizedList>

View File

@ -867,11 +867,11 @@ on the console and on X. </Para>
<ListItem>
<Para>
<ULINK URL="../mini/FDU/index.html">
Font-Deuglification-mini-HOWTO</ULink>, <CiteTitle>
FDU</ULink>, <CiteTitle>
XFree86 Font Deuglification Mini HOWTO</CiteTitle>
</Para><Para>
<CiteTitle>
Updated: October 2000</CiteTitle>.
Updated: March 2001</CiteTitle>.
How to fix ugly and unreadable X Window fonts. </Para>
</ListItem>
@ -1068,11 +1068,11 @@ Window System. </Para>
<ListItem>
<Para>
<ULINK URL="../mini/FDU/index.html">
Font-Deuglification-mini-HOWTO</ULink>, <CiteTitle>
FDU</ULink>, <CiteTitle>
XFree86 Font Deuglification Mini HOWTO</CiteTitle>
</Para><Para>
<CiteTitle>
Updated: July 2000</CiteTitle>.
Updated: March 2001</CiteTitle>.
How to fix ugly and unreadable X Window fonts. </Para>
</ListItem>

View File

@ -409,11 +409,11 @@ transparently through an Internet firewall. </Para>
<ListItem>
<Para>
<ULINK URL="../mini/FDU/index.html">
Font-Deuglification-mini-HOWTO</ULink>, <CiteTitle>
FDU</ULink>, <CiteTitle>
XFree86 Font Deuglification Mini HOWTO</CiteTitle>
</Para><Para>
<CiteTitle>
Updated: October 2000</CiteTitle>.
Updated: March 2001</CiteTitle>.
How to fix ugly and unreadable X Window fonts. </Para>
</ListItem>