Projects/Edu/Using Custom Fonts: Difference between revisions

    From KDE TechBase
    < Projects‎ | Edu
    m (a $ more)
    ({{file}} -> {{path}})
     
    Line 11: Line 11:


    == Install them in a KDE-Edu ==
    == Install them in a KDE-Edu ==
    ''Proposal'': we install the fonts like a PNG to {{path|$appdata/fonts}} through the {{file|Makefile.am}} and the program prompts a dialog "You need to install font foo, do you agree?" (might be added as a Setting in case the user does not want it at first run but after).
    ''Proposal'': we install the fonts like a PNG to {{path|$appdata/fonts}} through the {{path|Makefile.am}} and the program prompts a dialog "You need to install font foo, do you agree?" (might be added as a Setting in case the user does not want it at first run but after).


    if the user clicks yes, the program code calls ''kfmclient copy'' ...and the font installer pops up.
    if the user clicks yes, the program code calls ''kfmclient copy'' ...and the font installer pops up.

    Latest revision as of 00:00, 29 May 2007

    Why using custom fonts?

    Warning
    This section needs improvements: Please help us to

    cleanup confusing sections and fix sections which contain a todo


    What are free fonts?

    You might want to use in your KDE program some fancy fonts that are not usually shipped in Linux distros. In order to do so, you will need GPL fonts: the license will usually be on a text file and also mention of the license should be found in the Font Info dialog when the TTF file is edited with FontForge.

    If you want to create free fonts and release them under the GPL, you can look at the following form the Free Sofware Foundation: http://www.fsf.org/licensing/licenses/gpl-faq.html#FontException.

    Getting free fonts

    Warning
    This section needs improvements: Please help us to

    cleanup confusing sections and fix sections which contain a todo


    Install them in a KDE-Edu

    Proposal: we install the fonts like a PNG to $appdata/fonts through the Makefile.am and the program prompts a dialog "You need to install font foo, do you agree?" (might be added as a Setting in case the user does not want it at first run but after).

    if the user clicks yes, the program code calls kfmclient copy ...and the font installer pops up.