Re: OpenType font variations and cairo

Behdad Esfahbod <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <CAF63+7XN=O-fAmonRN+vOSW-B3mUNGP6BiknJf_m4e1-_e9HmA@mail.gmail.com>
On Thu, Sep 28, 2017 at 7:53 PM, Adrian Johnson <[email protected]>
wrote:

> On 29/09/17 09:02, Behdad Esfahbod wrote:
> > On Thu, Sep 28, 2017 at 7:29 PM, Adrian Johnson <[email protected]
> >     I looked into it and it seems to be the same problem Matthias fixed
> in
> >     a827d7e515c7c. I applied a similar patch to fontconfig (see attached)
> >     and fc-cache and fc-query now work.
> >
> > Yeah, bad bad FreeType. Humm.  Not sure if I like to take that patch.  I
> > prefer to bump required FreeType version to 2.8.1.  Suggest we do the
> > same to cairo and clean up all old #ifdef's.
>
> I don't think we should bump the FT requirement to 2.8.1 until that
> version or later is widely available in distros. Otherwise it creates an
> extra burden for anyone who wants to build cairo and doesn't need to use
> variable fonts.
>

Yeah, but who builds cairo manually anyway...


> I suggest we disable variations internally in cairo for FT < 2.8.1 and
> print a warning during configure that font variations needs FT >= 2.8.1
>
> I do agree we could move the FT minimum to something more recent and
> drop all the old FT #ifdefs.
>

Sure, if that's what you prefer.  Give me a minimum version and I'll do the
patch.  That said, I just bumped fontconfig requirement to 2.8.1.  So
distros, etc, will have to carry forward (which is good).


-- 
behdad
http://behdad.org/

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.