site  contact  subhomenews

Eliminate Type1 and most bitmap fonts?

November 24, 2009 — BarryK
I think that ttuuxxx and kirk have both been down this track. That is, replace most of the Type1 and bitmap fonts with TTF fonts. Objectives: better looking and save space.

I have just done a bit of a search on the forum and can't find this documented. Guys, have you posted anything about this anywhere?
I have a vague memory that ttuuxx sent me something awhile back.

The T2 build has Xorg 7.5, which is working fine. Now, 7.5 is much more TTF-capable, so opportunity is definitely there to remove the older fonts.

The only reservation I have is Ghostscript, that may have some need for Type1 fonts to render some .ps and .eps files.

Comments

fonts
Username: lobster
font info http://www.murga-linux.com/puppy/viewtopic.php?p=60924#60924 font info http://www.murga-linux.com/puppy/viewtopic.php?p=267092#267092 search http://www.wellminded.com/puppy/pupsearch.html

Fonts
Username: kirk
"The only type1 fonts that I needed were: 7x14B-ISO8859-1.pcf 7x14-ISO8859-1.pcf I had those type1 fonts in /usr/X11R7/lib/x11/fonts/misc with fonts.alias and fonts.dir. I think I edited fonts.alias by hand, here's the contents: [code]! $Xorg: fonts.alias,v 1.3 2000/08/21 16:42:31 coskrey Exp $ 7x14B -misc-fixed-bold-r-normal--14-130-75-75-c-70-iso8859-1 7x14 -misc-fixed-medium-r-normal--14-130-75-75-c-70-iso8859-1[/code] The TTF fonts where in /usr/share/fonts/default/TTF symlinked to /usr/X11R7/lib/x11/fonts/TTF and symlinked to /root/fonts. I made a little script called update-fonts: [code]#!/bin/sh cd /usr/share/fonts/default/TTF mkfontdir mkfontscale[/code] And put a ReadMe file that instructs users to drop any additional TTF fonts in this folder and to click on update-fonts. Those two type1 fonts are needed by rxvt. I didn't notice any printing problems, but I didn't use Xorg 7.4 for long before I went back to 7.3. Xorg should automatically find and use the fonts in those locations. I think Xorg 7.5 is probably the right choice. You'll want to grab 2.6.32 when it comes out, it has the kms stuff for ATI, though that might not matter for your cut-down Xorg. The scheduler gets some problems fixed too.

Type1 fonts
Username: BarryK
"kirk, Thanks very much for the info! One note: those are not the Type1 fonts, they are bitmap (non-scalable) fonts. The Type1 fonts are at: /usr/share/fonts/default/Type1 and also symlinked from: /usr/X11R7/lib/X11/fonts/Type1

Minimum pcf fonts
Username: BarryK
"It looks like this is the minimum that I can cut the 'misc' folder down to: 7x14B-ISO8859-1.pcf 7x14-ISO8859-1.pcf #default for xlib, set in root/.Xresources cursor.pcf 8x16.pcf #used by yaf-splash, ex usr/sbin/pmount 9x15B-ISO8859-1.pcf #used by yaf-splash in usr/sbin/delayedrun symb12.pcf #used by xcalc, see etc/X11/app-defaults/Xcalc helvB12-ISO8859-1.pcf #used by Xclipboard courR12-ISO8859-1.pcf # " helvR24-ISO8859-1.pcf #used by Xlock courB12-ISO8859-1.pcf #'fixed' font that some xlib apps use. helvR12-ISO8859-1.pcf #'variable' font that some xlib apps use.

Minimum pcf fonts
Username: kirk
"Sorry, Yes pcf fonts. Didn't use any type1 fonts. The list of fonts you have looks like what I used with xorg 7.3. With 7.4 I only needed the the two I listed, though I don't remember if I tested all of the little xlib apps. With Xorg 7.4 I was letting it auto configure everything except mouse and keyboard.

Fonts
Username: ttuuxxx
"Hi Barry the best fonts to use is Liberation fonts, they should replace all your ttf and most of your pcf fonts, The sources are alsways located at https://fedorahosted.org/liberation-fonts/ They replace "There are three sets: Sans (a substitute for Arial, Albany, Helvetica, Nimbus Sans L, and Bitstream Vera Sans), Serif (a substitute for Times New Roman, Thorndale, Nimbus Roman, and Bitstream Vera Serif) and Mono (a substitute for Courier New, Cumberland, Courier, Nimbus Mono L, and Bitstream Vera Sans Mono). " Those fonts SLackware and many others used to fix the Abiword font issue. ttuuxxx and this is where we talked about it before :) http://bkhome.org/archive/blog2/200908/43beta2-coming-soon.html


Tags: woof