Re: Using defoma for building package ?

2006-05-04 Thread Marcus Better
Josselin Mouette wrote: Is there a way to use fc-match to locate a Type1 font (pfb) and also its associated font metrics (the afm file)? I may be wrong, but as fontconfig was designed for Xft which doesn't make use of the .afm file but only uses the .pfb directly, I think fontconfig cannot

Re: Using defoma for building package ?

2006-05-03 Thread Ionut Georgescu
Hi, if your program uses fontconfig to find the fonts, then you don't need defoma. Otherwise, install defoma-doc and have a look at /usr/share/doc/defoma-doc/defoma-script.html/ch2.html about how to get a list of the installed fonts and how to write your configuration file. In both cases you

Re: Using defoma for building package ?

2006-05-02 Thread artefact
Le 30.04.2006 22:43, Marcus Better a écrit : Josselin Mouette wrote: How about using fontconfig ? Even without using the API you can use it to look for a font: $ fc-match --verbose sans | awk '$1==file:' file: /var/lib/defoma/fontconfig.d/D/DejaVu-Sans.ttf(s) Is there a way to

Re: Using defoma for building package ?

2006-05-02 Thread Josselin Mouette
Le dimanche 30 avril 2006 à 22:43 +0200, Marcus Better a écrit : Is there a way to use fc-match to locate a Type1 font (pfb) and also its associated font metrics (the afm file)? I may be wrong, but as fontconfig was designed for Xft which doesn't make use of the .afm file but only uses the .pfb

Re: Using defoma for building package ?

2006-04-30 Thread Marcus Better
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Josselin Mouette wrote: How about using fontconfig ? Even without using the API you can use it to look for a font: $ fc-match --verbose sans | awk '$1==file:' file: /var/lib/defoma/fontconfig.d/D/DejaVu-Sans.ttf(s) Is there a way to use

Using defoma for building package ?

2006-04-28 Thread artefact
Hi, I am packaging a game, Wormux. This game use the font DejaVuSans which is already a Debian package. How can I use Defoma (I think this is the tool to use for this) to get this font path when building my package so that it could depend on the DejaVuSans package rather than including the font in

Re: Using defoma for building package ?

2006-04-28 Thread Pierre Habouzit
Le Ven 28 Avril 2006 11:06, artefact a écrit : Hi, I am packaging a game, Wormux. This game use the font DejaVuSans which is already a Debian package. How can I use Defoma (I think this is the tool to use for this) to get this font path when building my package so that it could depend on the

Re: Using defoma for building package ?

2006-04-28 Thread artefact
Le 28.04.2006 11:42, Pierre Habouzit a écrit : Le Ven 28 Avril 2006 11:06, artefact a écrit : Hi, I am packaging a game, Wormux. This game use the font DejaVuSans which is already a Debian package. How can I use Defoma (I think this is the tool to use for this) to get this font path when

Re: Using defoma for building package ?

2006-04-28 Thread Stepan Golosunov
On Fri, Apr 28, 2006 at 11:53:52AM +0200, artefact wrote: Le 28.04.2006 11:42, Pierre Habouzit a écrit : Le Ven 28 Avril 2006 11:06, artefact a écrit : Hi, I am packaging a game, Wormux. This game use the font DejaVuSans which is already a Debian package. How can I use Defoma (I think

Re: Using defoma for building package ?

2006-04-28 Thread Alexander Schmehl
Hi! * artefact [EMAIL PROTECTED] [060428 11:06]: I am packaging a game, Wormux. This game use the font DejaVuSans which is already a Debian package. How can I use Defoma (I think this is the tool to use for this) to get this font path when building my package so that it could depend on the

Re: Using defoma for building package ?

2006-04-28 Thread Josselin Mouette
Le vendredi 28 avril 2006 à 11:06 +0200, artefact a écrit : Hi, I am packaging a game, Wormux. This game use the font DejaVuSans which is already a Debian package. How can I use Defoma (I think this is the tool to use for this) to get this font path when building my package so that it could