[prev in list] [next in list] [prev in thread] [next in thread]
List: freetype-devel
Subject: Re: [ft-devel] Problem with FT_Get_MM_Var
From: Behdad Esfahbod <behdad.esfahbod () gmail ! com>
Date: 2017-09-20 20:26:02
Message-ID: CAF63+7VESd9MO-NHK0rH9FDoZ8t+Zx7c206kP9ijYSRjw6kRSw () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
Just checking. Matthias, you have the latest FreeType, right?
On Tue, Sep 19, 2017 at 4:35 AM, Matthias Clasen <matthias.clasen@gmail.com>
wrote:
> On Tue, Sep 19, 2017 at 5:04 AM, Werner LEMBERG <wl@gnu.org> wrote:
>
>>
>> > The cairo code I see this problem with essentially does:
>> >
>> > FT_New_Face (font_map->ft_library,
>> > unscaled->filename,
>> > unscaled->id,
>> > &face);
>> >
>> > ...
>> >
>> > ret = FT_Get_MM_Var (face, &ft_mm_var);
>> > if (ret != 0) {
>> > printf ("FT_Get_MM_Var failed: %s\n", getErrorMessage (ret));
>> > ret = FT_Get_MM_Var (face, &ft_mm_var);
>> > if (ret == 0)
>> > printf ("Trying again works. Odd\n");
>> > }
>> >
>> > and this is the output I see:
>> >
>> > TESTING font-variations
>> > FT_Get_MM_Var failed: invalid stream operation
>> > Trying again works. Odd
>>
>> Assuming that you have set compile option `FT_DEBUG_LEVEL_ERROR': Can
>> you run the program within a debugger, setting a conditional
>> breakpoint on function `FT_Throw' && error == 85? It would be
>> interesting to see the backtrace.
>>
>
> Can't get it to break there, unfortunately
>
--
behdad
http://behdad.org/
[Attachment #5 (text/html)]
<div dir="ltr">Just checking. Matthias, you have the latest FreeType, \
right?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 19, \
2017 at 4:35 AM, Matthias Clasen <span dir="ltr"><<a \
href="mailto:matthias.clasen@gmail.com" \
target="_blank">matthias.clasen@gmail.com</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr"><span class="">On Tue, Sep 19, 2017 at 5:04 \
AM, Werner LEMBERG <span dir="ltr"><<a href="mailto:wl@gnu.org" \
target="_blank">wl@gnu.org</a>></span> wrote:<br></span><div \
class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><span><br> > The cairo code I see this problem with \
essentially does:<br> ><br>
> FT_New_Face (font_map->ft_library,<br>
> unscaled->filename,<br>
> unscaled->id,<br>
> &face);<br>
><br>
> ...<br>
><br>
> ret = FT_Get_MM_Var (face, &ft_mm_var);<br>
> if (ret != 0) {<br>
> printf ("FT_Get_MM_Var failed: %s\n", getErrorMessage \
(ret));<br> > ret = FT_Get_MM_Var (face, &ft_mm_var);<br>
> if (ret == 0)<br>
> printf ("Trying again works. Odd\n");<br>
> }<br>
><br>
> and this is the output I see:<br>
><br>
> TESTING font-variations<br>
> FT_Get_MM_Var failed: invalid stream operation<br>
> Trying again works. Odd<br>
<br>
</span>Assuming that you have set compile option `FT_DEBUG_LEVEL_ERROR': Can<br>
you run the program within a debugger, setting a conditional<br>
breakpoint on function `FT_Throw' && error == 85? It would be<br>
interesting to see the backtrace.<br>
<span class="m_1056476904789254989HOEnZb"></span></blockquote><div><br></div></span><div>Can't \
get it to break there, unfortunately</div></div></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>
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic