[Pkg-fonts-devel] [imagemagick] RFH imaemagick
pabs at debian.org
Mon Jan 4 10:48:42 UTC 2010
On Mon, Jan 4, 2010 at 6:18 PM, Bastien ROUCARIES
<roucaries.bastien at gmail.com> wrote:
> Imagemagick does use a static list of police. This could lead to problem and
> user have already send bug report (396420). We (imagemagick
> maintainers) have not the
> required skills to use fontconfig.
> Could we get some help ?
> Font are enumerated by imagemagick using
> How can we create this file automatically ?
I'd suggest searching fontconfig's index at runtime using
libfontconfig instead of generating that file automatically. You can
check the source code for fc-match and fc-list for examples of how to
do this. If you go this route, please get the patch applied upstream.
If you really need to generate a file or don't have time for the first
option, do the following:
First put the file in /var/lib since it is generated.
Second, check out the discussion in #542334 and the implementation in
the gnustep-back package, which now generates its font list using the
output from fc-list.
Third, check out what other distros are doing for font configuration
with ImageMagick, you might find some helpful patches or scripts,
especially Fedora or Gentoo might have fixes. Use 'whohas imagemagick'
and Google to get some URLs to source packages.
More information about the Pkg-fonts-devel