Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 09-18-2005, 03:51 AM   #1
Registered: Jan 2005
Location: Innsbruck, Austria
Distribution: Debian GNU/Linux Lenny
Posts: 68

Rep: Reputation: 15
Bitmap fonts, but not Helvetica

Hi everybody, I have a little Debian font problem. I am using 3.1 (»Sarge«) with fontconfig/defoma/pango, and I wanted to get a bitmap font in KDE's Konsole. I created /etc/fonts/local.conf and added the following lines to force the use of bitmap fonts:
     <patelt name="scalable"><bool>false</bool></patelt>
Ok, now I can use the Terminus font. But: Many websites use Helvetica (LQ too), and it's a really ugly bitmap font. I want to
(1) substitute Helvetica with Nimbus Sans L (which looks the same, but is scalable), or
(2) only allow Terminus, and disable other bitmap fonts, or
(3) only allow fixed-width bitmap fonts,
whatever works best. I've tried for a long time now, but I couldn't get a solution. Please help me.

Thanks in advance,
Old 09-18-2005, 07:36 AM   #2
Dead Parrot
Senior Member
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Could it be possible that you're making things more complicated than necessary? Have you tried setting up your fonts with the available Debian tools? I'm not much of a fonts expert but here's what I usually do to set up fonts in Debian (and so far I've been happy with the results ):

(1) Install msttcorefonts (needs contrib enabled in /etc/apt/sources.list)

(2) Rearrange the "Files" section in /etc/X11/XF86Config-4 (or /etc/X11/xorg.conf) to look something like this (for larger screen resolutions you might prefer 100dpi fonts to come before 75dpi):

FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/usr/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/lib/X11/fonts/75dpi"
FontPath "/usr/lib/X11/fonts/100dpi"
FontPath "/usr/lib/X11/fonts/Type1"

(3) Run "dpkg-reconfigure libpango1.0-common" (as root)
--> Entrust font management to defoma

(4) Run "dpkg-reconfigure fontconfig" (as root)
--> Turn on Autohinter
--> Enable bitmapped fonts

(5) Run "fc-cache -fv" (as root)

(6) Restart X server (by hitting Control-Alt-BackSpace)

As I said, I'm not much of a fonts expert, but I think rearranging the "Files" section in (2) to look for truetype fonts first makes Firefox to show LQ with antialiased fonts although I made bitmapped fonts available in (4). Anyway, this seems to work for me.
Old 09-18-2005, 11:41 AM   #3
Registered: Jan 2005
Location: Innsbruck, Austria
Distribution: Debian GNU/Linux Lenny
Posts: 68

Original Poster
Rep: Reputation: 15
Now the fonts look completely different, and Konqueror still uses Helvetica... But thank you, anyway. (The reason could be that I did not, and do not want to, install the Microsoft fonts )

So, I am still assured that a 'Helvetica -> Nimbus Sans L' mapping would be the best way.

-- mschutte


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
fontconfig and Helvetica? comex Linux - General 2 09-14-2005 03:26 PM
Installing bitmap fonts on wine 20050725 ekolis Linux - Software 0 08-22-2005 11:39 AM
Helvetica and Antialiasing fransemail Linux - Software 4 02-09-2005 09:46 AM
Problems installing bitmap (Artwiz) fonts in 9.1 for use with Fluxbox melquiades Slackware 3 03-14-2004 09:25 AM
no Helvetica font (and others) in KDE 3.1.4 Windy Debian 3 02-08-2004 03:04 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 01:18 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration