- avoid dead code in i_ft2_glyph_name(), which is the implementation
of glyph_names() for FT2. CID 185342.
+ - avoid an unneeded EXTEND() call when the FT2 has_chars()
+ implementation returns 0. CID 185292.
+
Imager 1.008 - 31 Dec 2018
============
- avoid dead code in i_ft2_glyph_name(), which is the implementation
of glyph_names(). CID 185342.
+ - avoid an unneeded EXTEND() call when the FT2 has_chars()
+ implementation returns 0. CID 185292.
+
Imager-Font-FT2 0.94
====================
work = mymalloc(len);
count = i_ft2_has_chars(handle, text, len, utf8, work);
if (GIMME_V == G_ARRAY) {
- EXTEND(SP, count);
- for (i = 0; i < count; ++i) {
- PUSHs(boolSV(work[i]));
- }
+ if (count) {
+ EXTEND(SP, count);
+ for (i = 0; i < count; ++i) {
+ PUSHs(boolSV(work[i]));
+ }
+ }
}
else {
EXTEND(SP, 1);