<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Sep 28, 2017 at 7:29 PM, Adrian Johnson <span dir="ltr"><<a href="mailto:ajohnson@redneon.com" target="_blank">ajohnson@redneon.com</a>></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 08:31, Behdad Esfahbod wrote:<br>
> On Thu, Sep 28, 2017 at 6:09 PM, Adrian Johnson <<a href="mailto:ajohnson@redneon.com">ajohnson@redneon.com</a><br>
</span><div><div class="h5">> <mailto:<a href="mailto:ajohnson@redneon.com">ajohnson@redneon.com</a>>> wrote:<br>
><br>
> On 29/09/17 06:06, Matthias Clasen wrote:<br>
> I pulled your latest changes and tested with various combinations of<br>
> freetype and fontconfig - see below. All good on the cairo side, except<br>
> for the build fail with FT 2.6.3 but I mentioned that needs fixing in my<br>
> review comments.<br>
><br>
> There appears to be a bug in fontconfig master when using freetype 2.8.<br>
><br>
> If you cleanup and rebase your commits to master with all review<br>
> comments addressed, I'll do a final check and then it should be good to<br>
> commit.<br>
><br>
><br>
> Thanks Adrian for all the help.<br>
><br>
> freetype 2.6.3: build failed - FT_Get_Var_Design_Coordinates not found<br>
><br>
> freetype 2.8, fontconfig 2.11.0 : pass<br>
><br>
> freetype 2.8, fontconfig 2.12.5 : pass<br>
><br>
> freetype 2.8, fontconfig master :<br>
><br>
> When running the fc-cache built from master I get:<br>
> fc-cache: fcfreetype.c:2143: IA__FcFreeTypeQueryAll: Assertion<br>
> `mm_var' failed.<br>
><br>
> fc-cache succeeds after removing AdobeVFPrototype.ttf from ~/.fonts<br>
><br>
> I tried again with AdobeVFPrototype.otf. fc-cache ran successfully and<br>
> the cairo test passed.<br>
><br>
><br>
> Humm. This sounds very much like what might happen with old FreeType .<br>
> If not, can you elaborate what happens again? Can you reproduce? What<br>
> FreeType exactly? Does `fc-query AdobeVFPrototype.ttf` work?<br>
<br>
</div></div>FreeType 2.8.0. I can reproduce. fc-query AdobeVFPrototype.ttf also<br>
produces the same error.<br>
<br>
I looked into it and it seems to be the same problem Matthias fixed in<br>
a827d7e515c7c. I applied a similar patch to fontconfig (see attached)<br>
and fc-cache and fc-query now work.<br><div class="HOEnZb"><div class="h5"></div></div></blockquote><div><br></div><div>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.<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
<br>
><br>
> I can probably replace assert with a less harsh mode of failure.<br>
><br>
> <br>
><br>
> freetype 2.8.1, fontconfig 2.11.0 : pass<br>
><br>
> freetype 2.8.1, fontconfig 2.12.5 : pass<br>
><br>
> freetype 2.8.1, fontconfig master : pass<br>
><br>
> freetype master, fontconfig master : pass<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> --<br>
> behdad<br>
> <a href="http://behdad.org/" rel="noreferrer" target="_blank">http://behdad.org/</a><br>
><br>
><br>
<br>
</div></div></blockquote></div><br><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>