[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] Apple Color Emoji Invalid size handle revisited.
From: |
Werner LEMBERG |
Subject: |
Re: [ft-devel] Apple Color Emoji Invalid size handle revisited. |
Date: |
Mon, 15 May 2017 21:27:30 +0200 (CEST) |
> 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.
> for valid glyph id, TT_Load_Glyph() runs load_sbit_image()
> (src/truetype/ttgload.c line 2625 or there abouts) which returns
> success, so 'return FT_Err_Ok;' happens around line 2650.
>
> 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!
Werner