Fontconfig and liblqr?

Questions and postings pertaining to the development of ImageMagick, feature enhancements, and ImageMagick internals. ImageMagick source code and algorithms are discussed here. Usage questions which are too arcane for the normal user list should also be posted here.
Post Reply
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Fontconfig and liblqr?

Post by rmagick »

Does the configure script for 6.4.2 actually check for fontconfig and liblqr? I have both of these installed (on Ubuntu Gutsy) and I specify the --with-lqr and --with-fontconfig options, but the result is always "no" and I don't see any tests or test results in config.log. I know that at one point IM was using liblqr because I reported a bug in the LiquidRescaleImage method.

Here's what I have in config.log for LQR

Code: Select all

configure:38983: checking for LQR
configure:39048: result:
Here's what I have for Freetype

Code: Select all

configure:36111: checking for FONTCONFIG
configure:36176: result:
Here's the relevant part of the configure output

Code: Select all

FlashPIX          --with-fpx=yes                no
FontConfig        --with-fontconfig=yes         no
FreeType          --with-freetype=yes           yes
GhostPCL          None                          pcl6 (unknown)
GhostXPS          None                          gxps (unknown)
Ghostscript       None                          gs (8.61)
result_ghostscript_font_dir='none'
Ghostscript fonts --with-gs-font-dir=/usr/share/fonts/type1/gsfonts
Ghostscript lib   --with-gslib=yes              yes
Graphviz          --with-gvc=yes                no
JBIG              --with-jbig=          no
JPEG v1           --with-jpeg=yes               yes
JPEG-2000         --with-jp2=yes                no
LCMS              --with-lcms=yes               yes
LQR               --with-lqr=yes                no
Magick++          --with-magick-plus-plus=no    no
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Fontconfig and liblqr?

Post by magick »

Both these delegate libraries are validated with the autoconf / automake PKG_CHECK_MODULES() macro which requires a fontconfig.pc and lqr-1.pc package file. In addition you must have the development RPMS installed.
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Re: Fontconfig and liblqr?

Post by rmagick »

Thanks for the tip. For the record, liblqr was not properly installed so there was no lqr-1.pc file. Fontconfig was, and fontconfig.pc exists in the expected directory, but I needed to specify

export PKG_CONFIG=/usr/bin/pkg-config

before the configure script would use pkg-config.
Post Reply