[Top][All Lists]

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

Looking for an installed font

From: Andreas Röver
Subject: Looking for an installed font
Date: Mon, 22 Apr 2013 19:58:30 +0200


I've written a game that uses FreeSans as the font for displaying its

I do not want to include that font in the distribution of the game but
rather use a the font file normally installed on the system. For that I
want to check in configure whether the font file is available in the
system and display an error message or warning if it is missing.

How could I do that? Is there anything provided in autoconf for that
problem? I think it might be good enough to see if the file is on the
filesystem but the problem is that the position is not standardized. Is
there any nice way to use 'find' or anything else to look into the
subdirectories of /usr/share/fonts for this?

Or do you have any other ideas how to do this?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]