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

List:       kde-core-devel
Subject:    Re: Fonts in a KDE application
From:       David Faure <faure () kde ! org>
Date:       2005-04-06 20:37:34
Message-ID: 200504062237.34870.faure () kde ! org
[Download RAW message or body]

On Wednesday 06 April 2005 22:17, Anne-Marie Mahfouf wrote:
> so what we intend to do is 
> 1) during app startup, use QFont to try to load the font
> 2) if it fails, install the font over using kfmclient and kfontinst (all in 
> the code, nothing required from user, nothing in compile time that requires a 
> X server) in fonts:/Personal

Note that there's no point in launching kfmclient from C++ code, just 
use KIO::file_copy() (asynchronous) 
or KIO::NetAccess::copy()/file_copy() (synchronous).

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread] 

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