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

List:       cairo
Subject:    Re: [cairo] Color fonts
From:       Matthias Clasen <matthias.clasen () gmail ! com>
Date:       2017-08-15 0:01:12
Message-ID: CAFwd_vAjzBpV9SaQt_stKDA5xF7=MsyvrDQ1Oze_ZFtmtnnvSQ () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On Sun, Aug 13, 2017 at 5:59 PM, Behdad Esfahbod <behdad@behdad.org> wrote:

>
>
>
>> Also, the current implementation has a regression. If a font contains
>> any color glyphs, every glyph in the font will be rendered as an image
>> instead of show_glyphs.
>>
>
> Does it?  It's not supposed to be that way.
>
>
The code is certainly trying to do the right thing: composite_color_glyphs
is skipping clusters and glyphs
which dont't have  CAIRO_SCALED_GLYPH_INFO_COLOR_SURFACE set, and falls
through to the
show_glyphs codepath in that case.

[Attachment #5 (text/html)]

<div dir="ltr">On Sun, Aug 13, 2017 at 5:59 PM, Behdad Esfahbod <span \
dir="ltr">&lt;<a href="mailto:behdad@behdad.org" \
target="_blank">behdad@behdad.org</a>&gt;</span> wrote:<br><div \
class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" \
style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div \
class="gmail_quote"><span class="gmail-"></span><br><div>  <br></div><span \
class="gmail-"><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Also, the current \
implementation has a regression. If a font contains<br> any color glyphs, every glyph \
in the font will be rendered as an image<br> instead of show_glyphs.<br>
</blockquote></span></div><br></div><div class="gmail_extra">Does it?   It&#39;s not \
supposed to be that way.<span class="gmail-HOEnZb"><font \
color="#888888"><br></font></span></div><span class="gmail-HOEnZb"><font \
color="#888888"><div \
class="gmail_extra"><br></div></font></span></div></blockquote><div><br></div><div>The \
code is certainly trying to do the right thing: composite_color_glyphs is skipping \
clusters and glyphs<br></div><div>which dont&#39;t have   \
CAIRO_SCALED_GLYPH_INFO_COLOR_SURFACE set, and falls through to the \
<br></div><div>show_glyphs codepath in that case.<br></div></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