* src/base/ftobjs.c (FT_Get_Next_Char): updated to new FT_CMap
definitions
This commit is contained in:
parent
5a83a00d11
commit
e2f4e52ac8
|
@ -1507,9 +1507,8 @@
|
||||||
#ifdef FT_CONFIG_OPTION_USE_CMAPS
|
#ifdef FT_CONFIG_OPTION_USE_CMAPS
|
||||||
FT_CMap cmap = FT_CMAP( face->charmap );
|
FT_CMap cmap = FT_CMAP( face->charmap );
|
||||||
|
|
||||||
result = cmap->clazz->char_next( cmap, charcode, &gindex );
|
gindex = cmap->clazz->char_next( cmap, &charcode );
|
||||||
if ( gindex == 0 )
|
result = ( gindex == 0 ) ? 0 : charcode;
|
||||||
result = 0;
|
|
||||||
#else /* !FT_CONFIG_OPTION_USE_CMAPS */
|
#else /* !FT_CONFIG_OPTION_USE_CMAPS */
|
||||||
driver = face->driver;
|
driver = face->driver;
|
||||||
result = driver->clazz->get_next_char( face->charmap, charcode );
|
result = driver->clazz->get_next_char( face->charmap, charcode );
|
||||||
|
|
Loading…
Reference in New Issue