[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SOLVED: courier fonts



On Fri, 2007-06-22 at 12:47 +0100, michael wrote:
> On Fri, 2007-06-22 at 12:41 +0100, michael wrote:
> > Folks, my fonts got a little skewed when I upgraded from sarge to etch.
> > Apart from a minor problem with emacs no problems until today when my
> > application gives the following error
> > 
> > font "*-Courier-Bold-R-Normal-*-100-*" doesn't exist
> >     (default value for "xFont" in widget ".graph")
> >     invoked from within
> > "blt_graph $graph"
> >     (file "./Linux2_x86/bin/OPTIMIZE/public_domain/blt/graph2d.blt" line
> > 33)
> >     invoked from within
> > "source ./Linux2_x86/bin/OPTIMIZE/public_domain/blt/graph2d.blt"
> > 
> > 
> > Any ideas on when this font should be and how to install it?
> > 
> > Thanks, Michael
> > 
> > 
> 
> Here's a tad more info:
> 
> michael@ratty:~$ sudo aptitude install xfonts-100dpi
> Reading package lists... Done
> Building dependency tree... Done
> Reading extended state information
> Initializing package states... Done
> Writing extended state information... Done
> Reading task descriptions... Done
> Building tag database... Done
> The following packages have been kept back:
>   emacs emacs21 emacs21-bin-common emacs21-common emacs21-el libdv4
> libexif12 libfreetype6
>   libfreetype6-dev libgimp2.0 libmozjs0d libnspr4-0d libnss3-0d libpq4
> libsmbclient libxul-common
>   libxul0d openoffice.org openoffice.org-base openoffice.org-calc
> openoffice.org-common
>   openoffice.org-core openoffice.org-draw openoffice.org-help-en
> openoffice.org-help-en-us
>   openoffice.org-impress openoffice.org-java-common openoffice.org-math
> openoffice.org-writer python-uno
>   quanta-data samba-common smbclient ttf-opensymbol
> xulrunner-gnome-support
> The following NEW packages will be installed:
>   xfonts-100dpi
> 0 packages upgraded, 1 newly installed, 0 to remove and 35 not upgraded.
> Need to get 3907kB of archives. After unpacking 5014kB will be used.
> Writing extended state information... Done
> Get:1 http://ftp.uk.debian.org etch/main xfonts-100dpi 1:1.0.0-3
> [3907kB]
> Fetched 3907kB in 0s (5135kB/s)
> Reading package fields... Done
> Reading package status... Done
> Retrieving bug reports... Done
> Parsing Found/Fixed information... Done
> Selecting previously deselected package xfonts-100dpi.
> (Reading database ... 149495 files and directories currently installed.)
> Unpacking xfonts-100dpi (from .../xfonts-100dpi_1%3a1.0.0-3_all.deb) ...
> dpkg: warning - unable to delete old directory
> `/usr/X11R6/lib/X11/fonts/100dpi': Directory not empty
> Setting up xfonts-100dpi (1.0.0-3) ...
> 
> 
> michael@ratty:~$ ls -lt /usr/X11R6/lib/X11/fonts/
> total 80
> drwxr-xr-x 2 root root 28672 Jun 22 12:44 100dpi/
> drwxr-xr-x 2 root root  4096 Jun 14 14:44 Type1/
> drwxr-xr-x 2 root root 28672 May 24 21:21 75dpi/
> drwxr-xr-x 3 root root  4096 May 24 21:21 encodings/
> drwxr-xr-x 2 root root 12288 May 24 21:21 misc/
> drwxr-xr-x 2 root root  4096 May 24 21:21 Speedo/
> 
> michael@ratty:~$ ls -lt /usr/X11R6/lib/X11/fonts/100dpi/
> total 4
> -rw-r--r-- 1 root root 3302 Jun 22 12:44 fonts.alias
> 
> michael@ratty:~$ dpkg -l|grep -i xfonts
> ii  xfonts-100dpi                    1.0.0-3
> 100 dpi fonts for X
> rc  xfonts-75dpi                     4.3.0.dfsg.1-14sarge4            75
> dpi fonts for X
> ii  xfonts-base                      1.0.0-4
> standard fonts for X
> ii  xfonts-encodings                 1.0.0-6
> Encodings for X.Org fonts
> rc  xfonts-scalable                  4.3.0.dfsg.1-14sarge4
> scalable fonts for X
> ii  xfonts-utils                     1.0.1-1                          X
> Window System font utility programs
> 
> 

SOLVED by 
1) installing 
msttcorefonts x-ttcidfont-conf

2) runnning
 sudo dpkg-reconfigure x-ttcidfont-conf

3) adding to xorg.conf:
  FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
  FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"

4) restarting X

> 



Reply to: