[cairo] Request: Separate FreeType and Fontconfig

Surith cairo at surith.net
Fri Mar 6 12:16:01 PST 2009


David Turner's patches are here
http://david.freetype.org/cairo/

I think there are some issues with synchronization when fontconfig is
completely removed.

On Fri, Mar 6, 2009 at 10:58 AM, Bobby Salazar <bobby8934 at inbox.com> wrote:
>
> I have no idea why these two things haven't been separated yet. After all, it's really quite easy to do. I build Cairo on Windows and use FreeType but have no need for fontconfig. So every time I download an updated version of Cairo, I hack out the fontconfig stuff. It takes about 10 minutes of time to go through and comment out every function that uses fontconfig. It's as simple as that, just comment it out and everything works flawlessly. I don't see why it hasn't been moved to a separate file by now, with it's own cairo feature #define.
>
> I would be willing to send a patch for this, but the impression I get from this mailing list is that if the patch doesn't fix an urgent bug (as opposed to adding useful new features), then it doesn't seem to get much attention.
>
>> -----Original Message-----
>> From: britten at caris.com
>> Sent: Fri, 06 Mar 2009 11:21:39 -0400
>> To: cairo at cairographics.org
>> Subject: [cairo] Request: Separate FreeType and Fontconfig
>>
>> Hi all,
>> Would it be possible to separate the existing FreeType/Fontconfig
>> dependencies into two distinct dependencies, with the goal of being
>> able to use FreeType with Cairo, but not requiring Fontconfig?
>>
>> I'm trying to help a coworker get Cairo built on Windows, and have
>> run into this issue.  For our own usage, we definitely need FT, and
>> thus have turned on CAIRO_HAS_FT_FONT.  Unfortunately, this also
>> triggers a requirement of Fontconfig, for which we haven't figured
>> out how to build it on Windows (If it even can be....)
>>
>>  From some previous posts, it seems I'm not the only one that might be
>> happy to see this:
>> http://lists.cairographics.org/archives/cairo/2008-November/015637.html
>> http://lists.cairographics.org/archives/cairo/2008-October/015466.html
>>
>> In the meantime, can anyone provide any insight as to how to best
>> proceed?
>>    - Try to get Fontconfig built on Windows?  (If possible?)
>>    - Hack apart every version of Cairo we download, to strip the
>>      Fontconfig stuff out?
>>    - Other?
>>
>> Many thanks for any info, suggestions, etc!
>> Ian
>> _______________________________________________
>> cairo mailing list
>> cairo at cairographics.org
>> http://lists.cairographics.org/mailman/listinfo/cairo
>
> ____________________________________________________________
> FREE 3D EARTH SCREENSAVER - Watch the Earth right on your desktop!
> Check it out at http://www.inbox.com/earth
> _______________________________________________
> cairo mailing list
> cairo at cairographics.org
> http://lists.cairographics.org/mailman/listinfo/cairo
>


More information about the cairo mailing list