[HarfBuzz] Compile error (using harfbuzz-20120730.tar.bz2 on osx)

Rolf Langenhuijzen rolf.langenhuijzen at xs4all.nl
Mon Jul 30 13:25:50 PDT 2012


I tried installing the latest version. 
./configure runs without problems.
when I do "make" it stops:
-----------
…
CXX    libharfbuzz_la-hb-ot-layout.lo
In file included from hb-ot-layout.cc:34:
hb-ot-layout-gsub-table.hh: In member function ‘bool Ligature::apply(hb_apply_context_t*) const’:
hb-ot-layout-gsub-table.hh:588: error: no matching function for call to ‘MAX(unsigned int, int)’
hb-ot-layout-gsub-table.hh:607: error: no matching function for call to ‘MAX(unsigned int, int)’
make[4]: *** [libharfbuzz_la-hb-ot-layout.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
(quits)
-----------

Any idea why this is?

I'm not skilled in C or configure/make/compiling this stuff, so all I can do is follow basic commands :) but last time it went OK with v0.6

Thanks,
Rolf


On Jul 30, 2012, at 4:36 PM, Behdad Esfahbod wrote:

> http://www.freedesktop.org/software/harfbuzz/release/
> 
> On 07/30/2012 05:32 AM, Rolf Langenhuijzen wrote:
>> Thanks Behdad, I have to upgrade my local installation.. jeez...! :)
>> 
>> Can you maybe upload/update the tarball for the latest July release? I
>> need that one for my home installation.. Thanks!
>> 
>> Rolf
>> 
>>> On 07/29/2012 06:18 PM, Rolf Langenhuijzen wrote:
>>>> Is it possible to output pngs with a transparent background?
>>>> I know Cairo supports it and I was looking at the source of hb-view and
>>>> saw there was no option/argument for the alpha channel (for fore or
>>>> back).
>>> 
>>> behdad:util 0$ ./hb-view --help-view
>>> Usage:
>>>  lt-hb-view [OPTION...] [FONT-FILE] [TEXT]
>>> 
>>> View options:
>>>  --annotate                           Annotate output rendering
>>>  --background=red/#rrggbb/#rrggbbaa   Set background color (default:
>>> #FFFFFF)
>>>  --foreground=red/#rrggbb/#rrggbbaa   Set foreground color (default:
>>> #000000)
>>>  --line-space=units                   Set space between lines (default:
>>> 0)
>>>  --margin=one to four numbers         Margin around output (default: 16)
>>>  --font-size=size                     Font size (default: 256)
>>> 
>>> 
>>> 
>>>> Would be nice!
>>>> 
>>>> Kudos,
>>>> Rolf
>>> 
>> 
>> 
>> 




More information about the HarfBuzz mailing list