[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: building with libotf
From: |
Neal Becker |
Subject: |
Re: building with libotf |
Date: |
Fri, 08 Aug 2008 15:26:26 -0400 |
User-agent: |
KNode/0.99.01 |
Frederik Hohlfeld wrote:
> Kenichi Handa <handa <at> m17n.org> writes:
>
>> > This version doesn't have a pkg-config file, and Emacs uses the usual
>> > PKG_CHECK_MODULES macro for this detection.
>>
>> > There is a Debian bug about this, see http://bugs.debian.org/466815.
>>
>> Yes. libotf started to provide libotf.pc for pkgconfig from
>> version 0.9.5. I recommend to use the latest version 0.9.8
>> because some fonts distributed with the latest
>> ttf-devanagari-fonts package have incorrect OTF data which
>> causes the old version of libotf segfault.
>
> I don't care too much about Devanagari and am not very eager to compile
> libotf myself.
>
> Is there an easy workaround, so that Emacs recognizes libotf and builds
> against it nevertheless?
>
> Thanks for reading
> Frederik Hohlfeld
On fedora I use this:
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib64
includedir=/usr/include
Name: libotf
Description: OpenType font library
Version: 0.9.8
Requires: freetype2
Libs: -lfreetype -L${libdir} -lotf
Cflags: -I/usr/include/freetype2 -I${includedir}