[autofit] Typos.
* src/autofit/afshaper.c (af_shaper_buf_create, af_shaper_get_elem) [!FT_CONFIG_OPTION_USE_HARFBUZZ]: Make it compile.
This commit is contained in:
parent
facb79abdc
commit
b38ca3cbeb
|
@ -1,3 +1,10 @@
|
||||||
|
2015-12-06 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
|
[autofit] Typos.
|
||||||
|
|
||||||
|
* src/autofit/afshaper.c (af_shaper_buf_create, af_shaper_get_elem)
|
||||||
|
[!FT_CONFIG_OPTION_USE_HARFBUZZ]: Make it compile.
|
||||||
|
|
||||||
2015-12-06 Werner Lemberg <wl@gnu.org>
|
2015-12-06 Werner Lemberg <wl@gnu.org>
|
||||||
|
|
||||||
[autofit] Add support for Khmer script.
|
[autofit] Add support for Khmer script.
|
||||||
|
|
|
@ -544,11 +544,12 @@
|
||||||
void*
|
void*
|
||||||
af_shaper_buf_create( FT_Face face )
|
af_shaper_buf_create( FT_Face face )
|
||||||
{
|
{
|
||||||
|
FT_Error error;
|
||||||
FT_Memory memory = face->memory;
|
FT_Memory memory = face->memory;
|
||||||
FT_ULong* buf;
|
FT_ULong* buf;
|
||||||
|
|
||||||
|
|
||||||
FT_ALLOC( buf, sizeof ( FT_ULong ) );
|
FT_MEM_ALLOC( buf, sizeof ( FT_ULong ) );
|
||||||
|
|
||||||
return (void*)buf;
|
return (void*)buf;
|
||||||
}
|
}
|
||||||
|
@ -620,7 +621,7 @@
|
||||||
FT_LOAD_NO_SCALE |
|
FT_LOAD_NO_SCALE |
|
||||||
FT_LOAD_NO_HINTING |
|
FT_LOAD_NO_HINTING |
|
||||||
FT_LOAD_IGNORE_TRANSFORM,
|
FT_LOAD_IGNORE_TRANSFORM,
|
||||||
advance ) )
|
advance );
|
||||||
|
|
||||||
if ( y_offset )
|
if ( y_offset )
|
||||||
*y_offset = 0;
|
*y_offset = 0;
|
||||||
|
|
Loading…
Reference in New Issue