[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Fonts in a KDE application
From:       Craig Drummond <craig () kde ! org>
Date:       2005-04-06 20:44:44
Message-ID: 200504062144.44181.craig () kde ! org
[Download RAW message or body]

> in Konsole fonts Makefile.am there are the following lines (which I did not
> notice before, my bad):
> # This uses -hook instead of -local so that it is run after fonts are
> installed
> install-data-hook:
> 	-mkfontdir $(DESTDIR)$(fontdir)
>
> what does that do exactly?
> Or is James approach better? (KFontIns being updated)?
>
> Anne-Marie

You cold try the following:

    cp <font> <destination>
    kfontinst -xgfa <destination>

The kfontinst command will configure regular X (creating fonts.dir, etc), 
create an entry in Fontmap (remove the 'g' if this is not required), add the 
folder to fontconfig's config file and to X's config file.

If its a TTF, or Type1, font file then some system's mkfontdir will not handle 
it.

Craig.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic