--------------------------------------------
On Mon, 15/5/17, Werner LEMBERG <[email protected]> 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


 

_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to