How can I use TrueType fonts with Dillo browser?

How can I use TrueType fonts with Dillo browser?

Post by sdiesel » Mon, 07 Apr 2003 05:27:47



Hi

I have some good TrueType fonts and I want to use them with Dillo
browser. How can I do it?

 
 
 

How can I use TrueType fonts with Dillo browser?

Post by Rod Smi » Mon, 07 Apr 2003 08:24:01




Quote:> Hi

> I have some good TrueType fonts and I want to use them with Dillo
> browser. How can I do it?

I just downloaded and tried Dillo. It looks like it uses standard core X
fonts, and you set the fonts you want to use in the /etc/dillorc file:

vw_fontname=verdana
fw_fontname=courier

The vw_fontname sets the variable width font name (used for most text),
and fw_fontname sets the fixed width font name. In both cases, you set
the main name of the font you want to use, as specified in the fonts.dir
file in the font's installation directory. As far as I can tell, Dillo
doesn't support changing fonts on the fly; you'll have to quit from the
program, edit the configuration file, and restart the program to use a
new font.

This means that you must install the fonts you want to use. Describing
how to do that is a bit much for one newsgroup posting, so I'll point you
to this HOWTO:

http://en.tldp.org/HOWTO/Font-HOWTO/index.html

Pay particular attention to the "Making Fonts Available to X" section.

--

http://www.rodsbooks.com
Author of books on Linux, networking, & multi-OS configuration

 
 
 

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

Hello, I've been having some problems using fonts.alias to replace fonts.
My current goal is to rid myself of as many Type1 fonts as possible, using
similar TrueType fonts instead.  I'm using XFree86 4.0.2, and the beginning
of my XF86Config file looks like this:

Section "Files"
        FontPath        "/usr/share/fonts/truetype"
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/75dpi:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

The fonts.alias file in /usr/lib/X11/fonts/Type1 includes the following
lines (linebreaks added for readability):

-adobe-helvetica-medium-r-normal--0-0-0-0-p-0-iso8859-1 \
        -monotype-arial-medium-r-normal--0-0-0-0-p-0-iso8859-1
-adobe-helvetica-medium-o-normal--0-0-0-0-p-0-iso8859-1 \
        -monotype-arial-medium-i-normal--0-0-0-0-p-0-iso8859-1
-adobe-helvetica-medium-i-normal--0-0-0-0-p-0-iso8859-1 \
        -monotype-arial-medium-i-normal--0-0-0-0-p-0-iso8859-1
-adobe-helvetica-bold-r-normal--0-0-0-0-p-0-iso8859-1 \
        -monotype-arial-bold-r-normal--0-0-0-0-p-0-iso8859-1
-adobe-helvetica-bold-o-normal--0-0-0-0-p-0-iso8859-1 \
        -monotype-arial-bold-i-normal--0-0-0-0-p-0-iso8859-1
-adobe-helvetica-bold-i-normal--0-0-0-0-p-0-iso8859-1 \
        -monotype-arial-bold-i-normal--0-0-0-0-p-0-iso8859-1
-adobe-helvetica-medium-r-narrow--0-0-0-0-p-0-iso8859-1 \
        -monotype-arial-medium-r-normal--0-0-0-0-p-0-iso8859-1
-adobe-helvetica-medium-o-narrow--0-0-0-0-p-0-iso8859-1 \
        -monotype-arial-medium-r-normal--0-0-0-0-p-0-iso8859-1
-adobe-helvetica-bold-r-narrow--0-0-0-0-p-0-iso8859-1 \
        -monotype-arial-bold-r-normal--0-0-0-0-p-0-iso8859-1
-adobe-helvetica-bold-o-narrow--0-0-0-0-p-0-iso8859-1 \
        -monotype-arial-bold-i-normal--0-0-0-0-p-0-iso8859-1

When I use gfontsel to make sure that this is working, I find that Arial is
being used for most, but not all, sizes of Helvetica.  Helvetica is still
used for 8, 10, 12, 14, 18, and 24 point fonts.  For example, a request for
the font:

        -adobe-helvetica-medium-r-normal-*-12-*-*-*-p-*-iso8859-1

returns:

        -Adobe-Helvetica-Medium-R-Normal--12-120-75-75-P-67-ISO8859-1

rather than:

        -monotype-arial-medium-r-normal--12-116-75-75-p-53-iso8859-1

I'm also having the same problem with the Times font -- at certain sizes,
Times is still being used instead of Times New Roman.  Thanks in advance to
anyone who can give me any assistance,

Daniel Erat

2. Where to get NCR810 SCSI cards

3. Using TrueType Fonts

4. axppci33 srm error

5. "dillo browser" hotkey list

6. olicom token ring card

7. The Dillo browser

8. Linux vs. Windows NT?

9. Konqueror stops using truetype fonts corrrecty

10. Dillo is a nice browser

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