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

Re: Issues with PCF and BDF Fonts after regular lenny updates



> 
> It should not be necessary to refer to ~/.fonts explicitly in
> ~/.fonts.conf. This directory is included in the font path by default.
> (You can check this with "xset q"; /home/$USER/.fonts should be listed
> at the end of the font path.)
> 

Ok, there's the first problem. When I do xset q /home/$USER/.fonts is
not listed:

Font Path:
  /usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,/usr/share/fonts/artwiz,/usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/usr/share/fonts/X11/100dpi/:unscaled,/usr/share/fonts/X11/75dpi/:unscaled,/usr/share/fonts/X11/Type1,/usr/share/fonts/X11/100dpi,/usr/share/fonts/X11/75dpi,/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType


> All that you should have to do is copy the fonts to ~/.fonts and run
> "mkfontdir ~/.fonts". I do not know where to find the Dina font, but I
> tested this with the snap font that you mentioned in your earlier mail:
> 
> $ fc-match snap
> snap.pcf.gz: "snap" "Regular"
> 

The above did not work initially, so I reinstalled using aptitude
'fontconfig' and 'fontconfig-config', now the above works.

> If this does not work then you have to check if bitmap fonts are enabled
> on your system. Run "dpkg-reconfigure fontconfig-config" and make sure
> that you answer "Yes" to the third question. You need to restart X to
> see the effect of changes in the fontconfig settings.
> 

I tried this but no luck with the Dina font.

$ fc-match Dina
Vera.ttf: "Bitstream Vera Sans" "Roman"

$ ls -al ~/.fonts

-rw-r--r--  1 amitu amitu  38603 Jul 13 19:28 Dina_i400-10.bdf
-rw-r--r--  1 amitu amitu  36296 Jul 13 19:28 Dina_i400-8.bdf
-rw-r--r--  1 amitu amitu  37832 Jul 13 19:29 Dina_i400-9.bdf
-rw-r--r--  1 amitu amitu  38599 Jul 13 19:29 Dina_i700-10.bdf
-rw-r--r--  1 amitu amitu  36292 Jul 13 19:29 Dina_i700-8.bdf
-rw-r--r--  1 amitu amitu  37828 Jul 13 19:29 Dina_i700-9.bdf
-rw-r--r--  1 amitu amitu  38603 Jul 13 19:29 Dina_r400-10.bdf
-rw-r--r--  1 amitu amitu  36296 Jul 13 19:29 Dina_r400-8.bdf
-rw-r--r--  1 amitu amitu  37832 Jul 13 19:29 Dina_r400-9.bdf
-rw-r--r--  1 amitu amitu  38599 Jul 13 19:29 Dina_r700-10.bdf
-rw-r--r--  1 amitu amitu  36292 Jul 13 19:29 Dina_r700-8.bdf
-rw-r--r--  1 amitu amitu  37828 Jul 13 19:29 Dina_r700-9.bdf

Again, I guess I'm not sure why xset q doesn't list my fonts dir.

> Regards,            | http://users.icfo.es/Florian.Kulzer
>           Florian   |
> 
> 

Thank you for helping.


Reply to: