зеркало из https://github.com/stride3d/freetype.git
Fix Savannah bug #30108.
* src/autofit/afglobal.c (af_face_globals_compute_script_coverage): Properly mask AF_DIGIT bit in comparison.
This commit is contained in:
Родитель
8d22746c9e
Коммит
5d86cdce7e
|
@ -1,3 +1,10 @@
|
|||
2010-06-15 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix Savannah bug #30108.
|
||||
|
||||
* src/autofit/afglobal.c (af_face_globals_compute_script_coverage):
|
||||
Properly mask AF_DIGIT bit in comparison.
|
||||
|
||||
2010-06-11 Werner Lemberg <wl@gnu.org>
|
||||
|
||||
Fix Savannah bug #30106.
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
/* */
|
||||
/* Auto-fitter routines to compute global hinting values (body). */
|
||||
/* */
|
||||
/* Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009 by */
|
||||
/* Copyright 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 by */
|
||||
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
|
||||
/* */
|
||||
/* This file is part of the FreeType project, and may only be used, */
|
||||
|
@ -167,8 +167,11 @@
|
|||
|
||||
for ( nn = 0; nn < globals->glyph_count; nn++ )
|
||||
{
|
||||
if ( gscripts[nn] == AF_SCRIPT_LIST_NONE )
|
||||
gscripts[nn] = AF_SCRIPT_LIST_DEFAULT;
|
||||
if ( ( gscripts[nn] & ~AF_DIGIT ) == AF_SCRIPT_LIST_NONE )
|
||||
{
|
||||
gscripts[nn] &= ~AF_SCRIPT_LIST_NONE;
|
||||
gscripts[nn] |= AF_SCRIPT_LIST_DEFAULT;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче