Help with TrueType fonts.

Help with TrueType fonts.

Post by johnv.. » Thu, 25 Nov 1999 04:00:00



Hi,

 I am having a lot of trouble setting TrueType fonts. I uploaded all of
my TrueType fonts (located in \Windows\Fonts on my Windows machine) to
my Linux machine. I followed the instructions on:
http://customer.support.redhat.com/rhoaprod/plsql/xxrh_know_pkg.srch2...
Very carefully, but it simply doesn't work. Here's EXACTLY what I did
(all of this was done as root):

1) I made a dir (/usr/X11R6/lib/X11/fonts/ttf) for my TrueType fonts -
all went well.
2) I copied all the .ttf files from my windows machine into the newly
created directory - all went well.
3) I edited my /etc/X11/fs/config file so it looks like this:

<BEGIN FILE>

#
# Default font server configuration file for Red Hat Linux 6.0
#

# allow a max of 4 clients to connect to this font server
client-limit = 4

# when a font server reaches its limit, start up a new one
clone-self = off

# alternate font servers for clients to use
#alternate-servers = foo:7101,bar:7102

# where to look for fonts
# Some of these are commented out, i.e. the TrueType and Type1
# directories in /usr/share, because they aren't forced to be
# installed alongside X.
#
catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
        /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
        /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
        /usr/X11R6/lib/X11/fonts/misc,
        /usr/X11R6/lib/X11/fonts/Type1,
        /usr/X11R6/lib/X11/fonts/Speedo,
        /usr/X11R6/lib/X11/fonts/100dpi,
        /usr/X11R6/lib/X11/fonts/ttf,   # <-- !my new directory!
        /usr/share/fonts/ISO8859-2/misc,
        /usr/share/fonts/ISO8859-2/100dpi,
        /usr/share/fonts/ISO8859-2/75dpi,
        /usr/share/fonts/ISO8859-2/Type1,
        /usr/share/fonts/ISO8859-7/misc,
        /usr/share/fonts/ISO8859-7/100dpi,
        /usr/share/fonts/ISO8859-7/75dpi,
        /usr/share/fonts/ISO8859-7/Type1,
        /usr/share/fonts/ISO8859-9/misc,
        /usr/share/fonts/ISO8859-9/100dpi,
        /usr/share/fonts/ISO8859-9/75dpi,
        /usr/X11R6/lib/X11/fonts/cyrillic,
        /usr/share/fonts/default/Type1

# in 12 points, decipoints
default-point-size = 120

# 100 x 100 and 75 x 75
default-resolutions = 75,75,100,100

# how to log errors
use-syslog = on

</END FILE>

4) I changed directories to /usr/X11R6/lib/X11/fonts/ttf and typed this EXACT
command (as it says in
http://customer.support.redhat.com/rhoaprod/plsql/xxrh_know_pkg.srch2...
5) here's the exact log:

<BEGIN LOG>

# cd /usr/X11R6/lib/X11/fonts/ttf
# ttmakefontdir >fonts.dir
bash: ttmakefontdir: command not found
# ttmakefdir >fonts.dir  (NOTE: here I was just guessing thinking maybe
there was a mistake in the Red Hat manual)
# bash: ttmakefdir: command not found
# ttmkfdir >fonts.dir (NOTE: here I was just guessting as well for the
same reason as above)
# TT_Open_Face failed with 512 for file ./ARIALBD.TTF
font ./MILES.TTF: known usWeightClass 5

<END LOG>

By the way, here's the exact listing for the
/usr/X11R6/lib/X11/fonts/ttf/ directory:

<BEGIN DIR LISTING>

.
..
8514FIX.FON
8514OEM.FON
8514SYS.FON
ABALC.TTF
ANTQUAB.TTF
ANTQUABI.TTF
ANTQUAI.TTF
ARBLI___.TTF
ARIAL.TTF
ARIALBD.TTF
ARIALBI.TTF
ARIALI.TTF
ARIALN.TTF
ARIALNB.TTF
ARIALNBI.TTF
ARIALNI.TTF
ARIBL0.ttf
ARIBLK.TTF
BEFRISKY.ttf
BKANT.TTF
BOOKOS.TTF
BOOKOSB.TTF
BOOKOSBI.TTF
BOOKOSI.TTF
BRADHITC.TTF
Beesknee.ttf
CALIST.TTF
CALISTB.TTF
CALISTI.TTF
CGPOSTER.ttf
COMIC.TTF
COMICBD.TTF
COPRGTB.TTF
COPRGTL.TTF
COUR.TTF
COURBD.TTF
COURBI.TTF
COURE.FON
COURF.FON
COURI.TTF
CURLZ___.TTF
DESKTOP.INI
DOSAPP.FON
ELEPHNT.TTF
ELEPHNTI.TTF
ERASBD.TTF
ERASDEMI.TTF
ERASLGHT.TTF
ERASMD.TTF
ERASULT.TTF
GARA.TTF
GARABD.TTF
GARAIT.TTF
GILSHAD.ttf
GOTHIC.TTF
GOTHICB.TTF
GOTHICBI.TTF
GOTHICI.TTF
GOUDY.ttf
GOUDYB.ttf
GOUDYI.ttf
GRAPHLT.ttf
GRAPHLTN.ttf
HATTEN.TTF
IMPACT.TTF
LATINWD.TTF
LHANDW.TTF
LSANSI.TTF
LSANSUNI.TTF
LUCASIT.ttf
LUCASR.ttf
LUCON.TTF
MARLETT.TTF
MATISSE_.TTF
MILES.ttf
MODERN.FON
MTCORSVA.TTF
NWGTHC.TTF
NWGTHCB.TTF
NWGTHCI.TTF
OCRAEXT.TTF
OUTLOOK.TTF
PHYLLIS.ttf
ROCK.TTF
ROCKB.TTF
ROCKEB.TTF
ROCKI.TTF
SERIFE.FON
SERIFF.FON
SIGNETRO.ttf
SMALLE.FON
SMALLF.FON
SSERIFE.FON
SSERIFF.FON
SYMBOL.TTF
SYMBOLE.FON
SYMBOLF.FON
TAHOMA.TTF
TAHOMABD.TTF
TEMPSITC.TTF
TIMES.TTF
TIMESBD.TTF
TIMESBI.TTF
TIMESI.TTF
TREBUC.TTF
TREBUCBD.TTF
TREBUCBI.TTF
TREBUCIT.TTF
VERDANA.TTF
VERDANAB.TTF
VERDANAI.TTF
VERDANAZ.TTF
VGA850.FON
VGAFIX.FON
VGAOEM.FON
VGASYS.FON
VINERITC.TTF
WEBDINGS.TTF
WESTM.TTF
WINGDING.TTF
WINGDNG2.TTF
WINGDNG3.TTF
fonts.dir

<END DIR LISTING>

I am running Red Hat 6.1 out of the box using GNOME. Please help me in
terms I can understand. I've only been using Linux for a few weeks. I
tried to be as specific as possible in my post.

Thanks,
 -- John

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Help with TrueType fonts.

Post by Hal Burgi » Thu, 25 Nov 1999 04:00:00




> I am having a lot of trouble setting TrueType fonts. I uploaded all of
>my TrueType fonts (located in \Windows\Fonts on my Windows machine) to
>my Linux machine. I followed the instructions on:
>http://customer.support.redhat.com/rhoaprod/plsql/xxrh_know_pkg.srch2...
>Very carefully, but it simply doesn't work. Here's EXACTLY what I did
>(all of this was done as root):

>1) I made a dir (/usr/X11R6/lib/X11/fonts/ttf) for my TrueType fonts -
>all went well.
>2) I copied all the .ttf files from my windows machine into the newly
>created directory - all went well.  
>3) I edited my /etc/X11/fs/configfile so it looks like this:

><BEGIN FILE>

This is all OK.

[...]

Quote:></END FILE>

>4) I changed directories to /usr/X11R6/lib/X11/fonts/ttf and typed this
>EXACT command (as it says in
>http://customer.support.redhat.com/rhoaprod/plsql/xxrh_know_pkg.srch2...
>5) here's the exact log:

><BEGIN LOG>

># cd /usr/X11R6/lib/X11/fonts/ttf
># ttmakefontdir >fonts.dir
>bash: ttmakefontdir: command not found
># ttmakefdir >fonts.dir  (NOTE: here I was just guessing thinking maybe
>there was a mistake in the Red Hat manual)
># bash: ttmakefdir: command not found
># ttmkfdir >fonts.dir (NOTE: here I was just guessting as well for the
>same reason as above)

This is the correct spelling. The other is a typo.

Try using ttmkfdir with the '-m' option:

 ttmkfdir -m 100

This allows for 100 errors in font file. May try experimenting with
this.

Quote:># TT_Open_Face failed with 512 for file ./ARIALBD.TTF
>font ./MILES.TTF: known usWeightClass 5

Above fonts look to have problems. Worse comes to worse, delete them.
You seem to have plenty of others.

Quote:><END LOG>

>By the way, here's the exact listing for the
>/usr/X11R6/lib/X11/fonts/ttf/ directory:

><BEGIN DIR LISTING>

>.
>..
>8514FIX.FON
>8514OEM.FON
>8514SYS.FON

^^^ These aren't TT, are they? (I think they are VGA fonts.)

Quote:>ABALC.TTF

[...]

Quote:>WINGDNG3.TTF
>fonts.dir

><END DIR LISTING>

>I am running Red Hat 6.1 out of the box using GNOME. Please help me in
>terms I can understand. I've only been using Linux for a few weeks. I
>tried to be as specific as possible in my post.

HTH

--
Hal B

--
            Linux helps those who help themselves

 
 
 

Help with TrueType fonts.

Post by Eugene Gro » Thu, 25 Nov 1999 04:00:00


Somewhere it was said that the font-names in your fontdirectory MUST by
all small caps and in the 8.3 format (complete it with ___)? I have read
that a while,  ago but dont remember the exaxt reference. Anyway, that's
the way I did it !
hope this helps
Eugene

> Hi,

>  I am having a lot of trouble setting TrueType fonts. I uploaded all of
> my TrueType fonts (located in \Windows\Fonts on my Windows machine) to
> my Linux machine. I followed the instructions on:
> http://customer.support.redhat.com/rhoaprod/plsql/xxrh_know_pkg.srch2...
> Very carefully, but it simply doesn't work. Here's EXACTLY what I did
> (all of this was done as root):

> 1) I made a dir (/usr/X11R6/lib/X11/fonts/ttf) for my TrueType fonts -
> all went well.
> 2) I copied all the .ttf files from my windows machine into the newly
> created directory - all went well.
> 3) I edited my /etc/X11/fs/config file so it looks like this:

> <BEGIN FILE>

> #
> # Default font server configuration file for Red Hat Linux 6.0
> #

> # allow a max of 4 clients to connect to this font server
> client-limit = 4

> # when a font server reaches its limit, start up a new one
> clone-self = off

> # alternate font servers for clients to use
> #alternate-servers = foo:7101,bar:7102

> # where to look for fonts
> # Some of these are commented out, i.e. the TrueType and Type1
> # directories in /usr/share, because they aren't forced to be
> # installed alongside X.
> #
> catalogue = /usr/X11R6/lib/X11/fonts/misc:unscaled,
>         /usr/X11R6/lib/X11/fonts/75dpi:unscaled,
>         /usr/X11R6/lib/X11/fonts/100dpi:unscaled,
>         /usr/X11R6/lib/X11/fonts/misc,
>         /usr/X11R6/lib/X11/fonts/Type1,
>         /usr/X11R6/lib/X11/fonts/Speedo,
>         /usr/X11R6/lib/X11/fonts/100dpi,
>         /usr/X11R6/lib/X11/fonts/ttf,   # <-- !my new directory!
>         /usr/share/fonts/ISO8859-2/misc,
>         /usr/share/fonts/ISO8859-2/100dpi,
>         /usr/share/fonts/ISO8859-2/75dpi,
>         /usr/share/fonts/ISO8859-2/Type1,
>         /usr/share/fonts/ISO8859-7/misc,
>         /usr/share/fonts/ISO8859-7/100dpi,
>         /usr/share/fonts/ISO8859-7/75dpi,
>         /usr/share/fonts/ISO8859-7/Type1,
>         /usr/share/fonts/ISO8859-9/misc,
>         /usr/share/fonts/ISO8859-9/100dpi,
>         /usr/share/fonts/ISO8859-9/75dpi,
>         /usr/X11R6/lib/X11/fonts/cyrillic,
>         /usr/share/fonts/default/Type1

> # in 12 points, decipoints
> default-point-size = 120

> # 100 x 100 and 75 x 75
> default-resolutions = 75,75,100,100

> # how to log errors
> use-syslog = on

> </END FILE>

> 4) I changed directories to /usr/X11R6/lib/X11/fonts/ttf and typed this EXACT
> command (as it says in
> http://customer.support.redhat.com/rhoaprod/plsql/xxrh_know_pkg.srch2...
> 5) here's the exact log:

> <BEGIN LOG>

> # cd /usr/X11R6/lib/X11/fonts/ttf
> # ttmakefontdir >fonts.dir
> bash: ttmakefontdir: command not found
> # ttmakefdir >fonts.dir  (NOTE: here I was just guessing thinking maybe
> there was a mistake in the Red Hat manual)
> # bash: ttmakefdir: command not found
> # ttmkfdir >fonts.dir (NOTE: here I was just guessting as well for the
> same reason as above)
> # TT_Open_Face failed with 512 for file ./ARIALBD.TTF
> font ./MILES.TTF: known usWeightClass 5

> <END LOG>

> By the way, here's the exact listing for the
> /usr/X11R6/lib/X11/fonts/ttf/ directory:

> <BEGIN DIR LISTING>

> .
> ..
> 8514FIX.FON
> 8514OEM.FON
> 8514SYS.FON
> ABALC.TTF
> ANTQUAB.TTF
> ANTQUABI.TTF
> ANTQUAI.TTF
> ARBLI___.TTF
> ARIAL.TTF
> ARIALBD.TTF
> ARIALBI.TTF
> ARIALI.TTF
> ARIALN.TTF
> ARIALNB.TTF
> ARIALNBI.TTF
> ARIALNI.TTF
> ARIBL0.ttf
> ARIBLK.TTF
> BEFRISKY.ttf
> BKANT.TTF
> BOOKOS.TTF
> BOOKOSB.TTF
> BOOKOSBI.TTF
> BOOKOSI.TTF
> BRADHITC.TTF
> Beesknee.ttf
> CALIST.TTF
> CALISTB.TTF
> CALISTI.TTF
> CGPOSTER.ttf
> COMIC.TTF
> COMICBD.TTF
> COPRGTB.TTF
> COPRGTL.TTF
> COUR.TTF
> COURBD.TTF
> COURBI.TTF
> COURE.FON
> COURF.FON
> COURI.TTF
> CURLZ___.TTF
> DESKTOP.INI
> DOSAPP.FON
> ELEPHNT.TTF
> ELEPHNTI.TTF
> ERASBD.TTF
> ERASDEMI.TTF
> ERASLGHT.TTF
> ERASMD.TTF
> ERASULT.TTF
> GARA.TTF
> GARABD.TTF
> GARAIT.TTF
> GILSHAD.ttf
> GOTHIC.TTF
> GOTHICB.TTF
> GOTHICBI.TTF
> GOTHICI.TTF
> GOUDY.ttf
> GOUDYB.ttf
> GOUDYI.ttf
> GRAPHLT.ttf
> GRAPHLTN.ttf
> HATTEN.TTF
> IMPACT.TTF
> LATINWD.TTF
> LHANDW.TTF
> LSANSI.TTF
> LSANSUNI.TTF
> LUCASIT.ttf
> LUCASR.ttf
> LUCON.TTF
> MARLETT.TTF
> MATISSE_.TTF
> MILES.ttf
> MODERN.FON
> MTCORSVA.TTF
> NWGTHC.TTF
> NWGTHCB.TTF
> NWGTHCI.TTF
> OCRAEXT.TTF
> OUTLOOK.TTF
> PHYLLIS.ttf
> ROCK.TTF
> ROCKB.TTF
> ROCKEB.TTF
> ROCKI.TTF
> SERIFE.FON
> SERIFF.FON
> SIGNETRO.ttf
> SMALLE.FON
> SMALLF.FON
> SSERIFE.FON
> SSERIFF.FON
> SYMBOL.TTF
> SYMBOLE.FON
> SYMBOLF.FON
> TAHOMA.TTF
> TAHOMABD.TTF
> TEMPSITC.TTF
> TIMES.TTF
> TIMESBD.TTF
> TIMESBI.TTF
> TIMESI.TTF
> TREBUC.TTF
> TREBUCBD.TTF
> TREBUCBI.TTF
> TREBUCIT.TTF
> VERDANA.TTF
> VERDANAB.TTF
> VERDANAI.TTF
> VERDANAZ.TTF
> VGA850.FON
> VGAFIX.FON
> VGAOEM.FON
> VGASYS.FON
> VINERITC.TTF
> WEBDINGS.TTF
> WESTM.TTF
> WINGDING.TTF
> WINGDNG2.TTF
> WINGDNG3.TTF
> fonts.dir

> <END DIR LISTING>

> I am running Red Hat 6.1 out of the box using GNOME. Please help me in
> terms I can understand. I've only been using Linux for a few weeks. I
> tried to be as specific as possible in my post.

> Thanks,
>  -- John

> Sent via Deja.com http://www.deja.com/
> Before you buy.

 
 
 

Help with TrueType fonts.

Post by Hal Burgi » Thu, 25 Nov 1999 04:00:00




Quote:>Somewhere it was said that the font-names in your fontdirectory MUST by
>all small caps and in the 8.3 format (complete it with ___)? I have
>read that a while,  ago but dont remember the exaxt reference. Anyway,
>that's the way I did it !  hope this helps
>Eugene

I don't know about the 8.3, but you are right on about being lowercase.
There are a couple of ways to do this described at

 http://www.frii.com/~meldroc/Font-Deuglification.html

--
Hal B

--
            Linux helps those who help themselves

 
 
 

Help with TrueType fonts.

Post by johnv.. » Thu, 25 Nov 1999 04:00:00


Thanks to Hal Burgiss, my True Type fonts now work. However, most True
Type fonts are not viewable in a size other than (or bigger than) 12
point. For example, in Netscape and in NEdit I can view Times New Roman
and Courier New only in 12pt, and now 14pt. How can I fix this?

Thanks,
 -- John

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Help with TrueType fonts.

Post by Hal Burgi » Thu, 25 Nov 1999 04:00:00




>Thanks to Hal Burgiss, my True Type fonts now work. However, most True
>Type fonts are not viewable in a size other than (or bigger than) 12
>point. For example, in Netscape and in NEdit I can view Times New Roman
>and Courier New only in 12pt, and now 14pt. How can I fix this?

OK, go with NS go into edit-preferences->fonts. Over to the right is a
checkbox for 'Allow Scaling', then enter whatever size you want in the
box next to it. This works fine for me. The only downside is that NS
will not remember this setting, you have to reenter it each time you
fire up NS. If anyone knows why this is, I am curious. Using 4.7. (I've
never used Nedit.)

--
Hal B

--
            Linux helps those who help themselves

 
 
 

Help with TrueType fonts.

Post by johnv.. » Fri, 26 Nov 1999 04:00:00


I'm still listening, Hal. I read the linux.html#fuzzy page, but I don't
understand some of the stuff written there. It says:

`` This fix assumes RH6* xfs
[John] I have xfs installed and Red Hat 6.1 [/John]
(or xfsft) correct set up and working already. Furthermore TT fonts in
/usr/X11R6/lib/X11/fonts/TrueType and ISO8859-1 character set. (All
easily adjustable
to other dir's / character sets.)
[John] I have TTF in /usr/X11R6/lib/X11/fonts/ttf/ and ISO8859-1
character set is chosen in Netscape, so I think I answer these
requirements [/John]
If you haven't got a file there called fonts.alias: make it
[John] I don't have such file. I have fonts.dir in
/etc/X11R6/lib/X11/fonts/ttf/ and I don't know how to make a .alias
[/John]
(must be saved as user root). Use the contents below. This will give you
size 14 as an option under preferences/fonts in
Netscape. After the file is created, to rehash xfs you can write
  /usr/sbin/chkfontpath --remove /usr/X11R6/lib/X11/fonts/TrueType
  /usr/sbin/chkfontpath --add /usr/X11R6/lib/X11/fonts/TrueType ''
[John] I don't know what the above commands do so I don't want to
execute them. But AFAIK, to rehash the xfs I can just do:
$ xset fp rehash
is that and the above equivalent? I don't want to try the above because
of what it says later in this text about X not starting. [/John]

Thanks again,
  -- John

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Help with TrueType fonts.

Post by johnv.. » Fri, 26 Nov 1999 04:00:00


R.A.Ka,

 I did exactly as you said.

1) I 'su root' in console window, made fonts.alias using nedit and
copied the contents from the linux.html#fuzzy page.
2) saved fonts.alias to /usr/X11R6/lib/X11/fonts/ttf/fonts.alias
3) did 'xset fp rehash' both in normal user console window, and in root
console window.
4) reloaded netscape. went to Edit > Preferences > Chose 'Times New
Roman (Monotype)' as my variable width font (it's a true type font as
well), click ``Allow Scaling'' and put in 14 in the box, and clicked OK.
Then I went back into Edit > Preferences and noticed that as before,
netscape erased my entry from the ``Allow Scaling'' textbox, but left
``Allow Scaling'' checked.
5) I tried doing step 4) with Arial, but the same thing happened. Arial
is bigger than Times New Roman so it's readable without the ``Allow
Scaling'' option, but I want Times New Roman. Besides, in other apps,
such as NEdit, I can't set Times New Roman or Courier New and some other
cool True Type fonts to something other than 0pt or 12pt. I'd really
like to fix that.

Another interesting detail is that even though I can't set true type
fonts to something other than 0pt or 12pt in size, I *am* able to do it
in `gfontsel' which is (a gnome specific I believe) font selection
program. And the fonts appear prefectly in gfontsel. It's just that I
cannot use it in other apps.

Thanks,
 -- John

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Help with TrueType fonts.

Post by johnv.. » Fri, 26 Nov 1999 04:00:00


Hal,
 The only choices I have in the drop down box are 0 and 12, however, if
I click 'Allow Scaling' and put in a size like 14, it erases it but it
does apply the size. It also remembers the size after I close netscape
and reopen it. And this is true even if I delete fonts.alias ...

 -- John

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

Help with TrueType fonts.

Post by R.K.A » Fri, 26 Nov 1999 04:00:00



> OK, go with NS go into edit-preferences->fonts. Over to the right is a
> checkbox for 'Allow Scaling', then enter whatever size you want in the
> box next to it. This works fine for me. The only downside is that NS
> will not remember this setting, you have to reenter it each time you
> fire up NS. If anyone knows why this is, I am curious. Using 4.7. (I've
> never used Nedit.)

Umm.. Hal? ;)
Check out... http://home.powertech.no/rkaa/linux.html#fuzzy
Cut & paste - it DOES work.

K.
(With an awfully long new signature line hmm...must rewrite...must..)

--
Copyright ?1999 R.K.Aa. Publishing this material on the World Wide Web
implies agreeing to a consultancy fee of US$ 150 per posting. You must
seek a written permit before you publish. Your payment must have been
registered before the time of publishing. Violators are subject to civil
prosecution for Copyright Infringement as applicable in the state,
country or territory they reside. Please direct your initial request by
email.

 
 
 

Help with TrueType fonts.

Post by Hal Burgi » Fri, 26 Nov 1999 04:00:00




>> OK, go with NS go into edit-preferences->fonts. Over to the right is a
>> checkbox for 'Allow Scaling', then enter whatever size you want in the
>> box next to it. This works fine for me. The only downside is that NS
>> will not remember this setting, you have to reenter it each time you
>> fire up NS. If anyone knows why this is, I am curious. Using 4.7. (I've
>> never used Nedit.)

>Umm.. Hal? ;)
>Check out... http://home.powertech.no/rkaa/linux.html#fuzzy
>Cut & paste - it DOES work.

Yes it does! Did it with georgia.ttf as well. I have to quit speed
reading. ;) Didn't realize this would fix the 'NS does not remember
thing'. Hope John is still listening.

Quote:>K.
>(With an awfully long new signature line hmm...must rewrite...must..)

[...] ;)

--
Hal B

--
            Linux helps those who help themselves

 
 
 

Help with TrueType fonts.

Post by R.K.A » Fri, 26 Nov 1999 04:00:00



> `` This fix assumes RH6* xfs
> [John] I have xfs installed and Red Hat 6.1 [/John]

That would fit

Quote:> [John] I have TTF in /usr/X11R6/lib/X11/fonts/ttf/ and ISO8859-1
> character set is chosen in Netscape, so I think I answer these

Seems so yes :)

Quote:> requirements [/John]
> If you haven't got a file there called fonts.alias: make it
> [John] I don't have such file. I have fonts.dir in
> /etc/X11R6/lib/X11/fonts/ttf/ and I don't know how to make a .alias
> [/John]

You use an editor of sorts. pico from consolemode or any GUI based text
editor. Paste in the contents - save in the dir where your tt fonts are
- OR - move it there later.
The filename you save it to must be fonts.alias
To save in that dir you must be user root.

Quote:> (must be saved as user root). Use the contents below. This will give you
> size 14 as an option under preferences/fonts in
> Netscape. After the file is created, to rehash xfs you can write
>   /usr/sbin/chkfontpath --remove /usr/X11R6/lib/X11/fonts/TrueType
>   /usr/sbin/chkfontpath --add /usr/X11R6/lib/X11/fonts/TrueType ''
> [John] I don't know what the above commands do so I don't want to
> execute them. But AFAIK, to rehash the xfs I can just do:
> $ xset fp rehash
> is that and the above equivalent? I don't want to try the above because
> of what it says later in this text about X not starting. [/John]

Same thing. If you are uncertain about what chkfontpath does - see the
manpage. (man chkfontpath)

K.

--

Copyright ?1999 R.K.Aa. Publishing this material on the World Wide Web
implies agreeing to a consultancy fee of US$ 150 per posting. You must
seek a written permit before you publish. Your payment must have been
registered before the time of publishing. Violators are subject to civil
prosecution for Copyright Infringement as applicable in the state,
country or territory they reside. Please direct your initial request by
email.

 
 
 

1. Fonts still not working (was: Help with TrueType fonts)

Hi,

Hal, I tried everything you suggested but it doesn't work. I want times
new roman as my default variable width font, so should I use the stuff
from the link you gave me only replace "arial" with "times new roman" or
will doing it with one font fix the others too? Maybe if I do that it'll
work, although I doubt it because even when I add it only for arial and
make arial my default variable width font in Netscape the only point
sizes available to me are still 0 and 12.

Thanks,
 -- John

Sent via Deja.com http://www.deja.com/
Before you buy.

2. tcopy and LEOT (logical end of tape)

3. help with truetype fonts in rh5.2 and rpms

4. Commercial ssh Client

5. Is there TrueType fonts or "vector fonts" for linux?

6. DHCP on seconf net. card

7. - NCR SCSI card problem

8. TrueType Font -> PS-Font ?

9. Problems using fonts.alias to replace Type1 fonts with Truetype

10. Tools for converting TrueType or Type 1 fonts to common X font formats

11. get X winodw font from truetype fonts?