Split off ChangeLog.24.

2.6.5
Werner Lemberg 11 years ago
parent 1924134710
commit c7b55a3473
  1. 6346
      ChangeLog
  2. 6360
      ChangeLog.24
  3. 39
      src/autofit/afglobal.c

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -161,31 +161,34 @@
* Scan all Unicode points in the range and set the corresponding
* glyph style index.
*/
for ( range = script_class->script_uni_ranges;
range->first != 0;
range++ )
if ( style_class->coverage == AF_COVERAGE_DEFAULT )
{
FT_ULong charcode = range->first;
FT_UInt gindex;
for ( range = script_class->script_uni_ranges;
range->first != 0;
range++ )
{
FT_ULong charcode = range->first;
FT_UInt gindex;
gindex = FT_Get_Char_Index( face, charcode );
gindex = FT_Get_Char_Index( face, charcode );
if ( gindex != 0 &&
gindex < (FT_ULong)globals->glyph_count &&
gstyles[gindex] == AF_STYLE_UNASSIGNED )
gstyles[gindex] = (FT_Byte)ss;
if ( gindex != 0 &&
gindex < (FT_ULong)globals->glyph_count &&
gstyles[gindex] == AF_STYLE_UNASSIGNED )
gstyles[gindex] = (FT_Byte)ss;
for (;;)
{
charcode = FT_Get_Next_Char( face, charcode, &gindex );
for (;;)
{
charcode = FT_Get_Next_Char( face, charcode, &gindex );
if ( gindex == 0 || charcode > range->last )
break;
if ( gindex == 0 || charcode > range->last )
break;
if ( gindex < (FT_ULong)globals->glyph_count &&
gstyles[gindex] == AF_STYLE_UNASSIGNED )
gstyles[gindex] = (FT_Byte)ss;
if ( gindex < (FT_ULong)globals->glyph_count &&
gstyles[gindex] == AF_STYLE_UNASSIGNED )
gstyles[gindex] = (FT_Byte)ss;
}
}
}

Loading…
Cancel
Save