Re: distribute font with application

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


On 7/30/07, Peter Shinners <peters@xxxxxxxxxxxxxx> wrote:
> How can an application add extra "font" directories at startup? Is there
> an environment variable that allows adding directories to the fontconfig
> search path?
> We have a few .ttf files we would like to distribute internally with an
> application. This is using Qt4 built with fontconfig support. Adding the
> fonts to all user's or all system's font directories is not a good option.
> These are systems running CentOS4, fontconfig version 2.2.3.

What you can do is place the fonts in something like
when the administrator installs the application.
Then, when the user runs the application for the first time, you put a
copy of the fonts into ~/.fonts/myapplication/

Per user fonts are located by default in ~/.fonts/. The fonts are
discovered even if they are in subdirectories.

Fontconfig mailing list

[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux