|
From: | Jimmy\(EG\) |
Subject: | [ft-devel] Freetype 2.3.11 Bug, All Type 42 download font FT_Load_Glyph() report error |
Date: | Fri, 25 Dec 2009 10:27:14 +0800 |
Hi Freetype Develop Team: We find
a bug when use Freetype But Freetype
if ( loader->byte_len > 0 ) { #if 1 /* Jimmy, if ((!loader->glyf_offset
)&&(face->root.internal->incremental_interface == NULL)) #else if ( !loader->glyf_offset ) #endif { FT_TRACE2((
"no `glyf' table but non-zero `loca' entry\n" )); error =
TT_Err_Invalid_Table; goto Exit; } When (face->root.internal->incremental_interface
!= NULL) (type 42 soft font), loader->byte_len will > 0, and loader->glyf_offset
maybe be 0, it is valid case, should not report error. We give our
fixed code for your reference. Best Regards Jimmy |
[Prev in Thread] | Current Thread | [Next in Thread] |