Re: How to setup X fonts on Debian GNU/Linux Squeeze?
Javier Vasquez <j.e.vasquez.v@gmail.com> writes:
> On 9/9/10, Csanyi Pal <csanyipal@gmail.com> wrote:
>> ttf-dejavu
>> ttf-dejavu-core
>> ttf-dejavu-extra
>> In Xorg.0.log i can find only following fonts loaded:
>> (==) FontPath set to:
>> /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,
>> built-ins
>>
>> On Squeeze there doesn't any xorg.conf needed and I want not use it, so
>> how can I setup font paths for installed fonts?
>
> How do you know you're missing fonts? I think /usr/share
> fonts/X11/misc, should include most othe ones non 100* and 75*, while
> most of the true type ones should be included under the defoma path.
> Could you run "xlsfonts" under X, and see if you're missing any?
http://pastebin.com/wH4Ezzqn
> Other than that it depends, on debian I have no problems with fonts at
> all, but on RH virtual machines at work, where I don't have root
> access, and want terminus for example, I have in my .xinitrc:
>
> fc-cache -fv
> xset fp+ "/h/vasqueja/share/fonts/terminus"
> xset fp+ "/h/vasqueja/share/fonts/artwiz"
> xset fp rehash
> fc-cache
When I try to run command
xset fp+ "/usr/share/fonts/opentype/freefont"
then I get:
xset: bad font path element (#23), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
so I must to run:
sudo mkfontdir /usr/share/fonts/opentype/freefont
first and then to run again
xset fp+ "/usr/share/fonts/opentype/freefont"
Why? Is the installation of this font not enough?
--
Regards, Paul Chany
http://www.debian.org
http://wiki.debian.org/DebianEdu
http://csanyi-pal.info
Reply to: