[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] OpenType font variations and cairo
From:       Behdad Esfahbod <behdad.esfahbod () gmail ! com>
Date:       2017-09-28 23:58:36
Message-ID: CAF63+7XN=O-fAmonRN+vOSW-B3mUNGP6BiknJf_m4e1-_e9HmA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Thu, Sep 28, 2017 at 7:53 PM, Adrian Johnson <ajohnson@redneon.com>
wrote:

> On 29/09/17 09:02, Behdad Esfahbod wrote:
> > On Thu, Sep 28, 2017 at 7:29 PM, Adrian Johnson <ajohnson@redneon.com
> >     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/

[Attachment #5 (text/html)]

<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Sep 28, 2017 \
at 7:53 PM, Adrian Johnson <span dir="ltr">&lt;<a href="mailto:ajohnson@redneon.com" \
target="_blank">ajohnson@redneon.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span class="">On 29/09/17 09:02, Behdad Esfahbod wrote:<br> \
&gt; On Thu, Sep 28, 2017 at 7:29 PM, Adrian Johnson &lt;<a \
href="mailto:ajohnson@redneon.com">ajohnson@redneon.com</a><br> </span><span \
class="">&gt;        I looked into it and it seems to be the same problem Matthias \
fixed in<br> &gt;        a827d7e515c7c. I applied a similar patch to fontconfig (see \
attached)<br> &gt;        and fc-cache and fc-query now work.<br>
&gt;<br>
&gt; Yeah, bad bad FreeType. Humm.   Not sure if I like to take that patch.   I<br>
&gt; prefer to bump required FreeType version to 2.8.1.   Suggest we do the<br>
&gt; same to cairo and clean up all old #ifdef&#39;s.<br>
<br>
</span>I don&#39;t think we should bump the FT requirement to 2.8.1 until that<br>
version or later is widely available in distros. Otherwise it creates an<br>
extra burden for anyone who wants to build cairo and doesn&#39;t need to use<br>
variable fonts.<br></blockquote><div><br></div><div>Yeah, but who builds cairo \
manually anyway...<br></div><div>  </div><blockquote class="gmail_quote" \
style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> I suggest we \
disable variations internally in cairo for FT &lt; 2.8.1 and<br> print a warning \
during configure that font variations needs FT &gt;= 2.8.1<br> <br>
I do agree we could move the FT minimum to something more recent and<br>
drop all the old FT #ifdefs.<br>
</blockquote></div><br></div><div class="gmail_extra">Sure, if that&#39;s what you \
prefer.   Give me a minimum version and I&#39;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).<br></div><div class="gmail_extra"><br clear="all"><br>-- <br><div \
class="gmail_signature" data-smartmail="gmail_signature">behdad<br><a \
href="http://behdad.org/" target="_blank">http://behdad.org/</a></div> </div></div>


[Attachment #6 (text/plain)]

-- 
cairo mailing list
cairo@cairographics.org
https://lists.cairographics.org/mailman/listinfo/cairo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic