[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] using pkg-config
From: |
Behdad Esfahbod |
Subject: |
Re: [ft-devel] using pkg-config |
Date: |
Tue, 17 Sep 2013 12:22:49 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130804 Thunderbird/17.0.8 |
On 13-09-17 07:14 AM, Khaled Hosny wrote:
> On Tue, Sep 17, 2013 at 07:58:27AM +0200, Werner LEMBERG wrote:
>>
>>>> I will soon need the HarfBuzz library which doesn't provide a
>>>> `harfbuzz-config' script.
>>>
>>> That would be for GSUB closure I assume?
>>
>> Yep.
>>
>>> This will be tricky since it will cause a circular dependency
>>> between harfbuzz and freetype. Let me think about it a bit.
>>
>> Uh, oh. I currently see only two solutions:
>>
>> (1) split HarfBuzz into two libraries
>> (2) copy the GSUB closure stuff into FreeType
>>
>> Solution (1) means a lot of work for you, making HarfBuzz probably
>> more difficult to maintain, and (2) would be a nasty hack, with the
>> additional complication that HarfBuzz is written in C++...
>
> I think harfbuzz-ft part can be split just like harfbuzz-icu, then
> freetype would only depend on the plain harfbuzz, but its will have to
> maintain its own harfbuzz font functions implementation (you probably do
> not even need most of them).
FreeType itself doesn't need harfbuzz-ft. I can split, but this time it has
to be split into separate tarballs such that distros can build harfbuzz, then
freetype, then harfbuzz-ft. But then hb-view and hb-shape depend on
harfbuzz-ft currently...
Let me think about it a bit.
> Regards,
> Khaled
>
--
behdad
http://behdad.org/
- Re: [ft-devel] using pkg-config, (continued)
Re: [ft-devel] using pkg-config, Behdad Esfahbod, 2013/09/16