freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] Apple Color Emoji Invalid size handle revisited.


From: Hin-Tak Leung
Subject: Re: [ft-devel] Apple Color Emoji Invalid size handle revisited.
Date: Wed, 17 May 2017 00:06:36 +0000 (UTC)

--------------------------------------------
On Mon, 15/5/17, Werner LEMBERG <address@hidden> wrote:
 
> > I think the
 size handle is invalid (with both x scale/y scale zero):
 > 
 > ===
 > FT_Request_Size (font driver's
 `request_size'):
 >   x scale: 0
 (0.000000)
 >   y scale: 0 (0.000000)
 >   ascender: 160.000000
 >   descender: -50.000000
 >   height: 210.000000
 >   max advance: 160.000000
 >   x ppem: 160
 >   y
 ppem: 160
 > ===
 
> Fixed in git.

Thanks! Now the values are more sensible:

FT_Request_Size (font driver's `request_size'):
  x scale: 838861 (12.800003)
  y scale: 838861 (12.800003)
  ascender: 160.000000
  descender: -50.000000
  height: 210.000000
  max advance: 160.000000
  x ppem: 160
  y ppem: 160


> > but for glyph id 0,
 load_sbit_image() returns failure, so it drops
 > down to the next part: [...]
 
> Fixed also in git.
 
> Thanks for the report, and
 please test!


Yes, this is much better - now loading a non-existent glyph gives invalid 
argument error.

Hin-Tak


 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]