Split off ChangeLog.24.
This commit is contained in:
parent
1924134710
commit
c7b55a3473
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
|
* Scan all Unicode points in the range and set the corresponding
|
||||||
* glyph style index.
|
* glyph style index.
|
||||||
*/
|
*/
|
||||||
for ( range = script_class->script_uni_ranges;
|
if ( style_class->coverage == AF_COVERAGE_DEFAULT )
|
||||||
range->first != 0;
|
|
||||||
range++ )
|
|
||||||
{
|
{
|
||||||
FT_ULong charcode = range->first;
|
for ( range = script_class->script_uni_ranges;
|
||||||
FT_UInt gindex;
|
range->first != 0;
|
||||||
|
range++ )
|
||||||
|
|
||||||
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;
|
|
||||||
|
|
||||||
for (;;)
|
|
||||||
{
|
{
|
||||||
charcode = FT_Get_Next_Char( face, charcode, &gindex );
|
FT_ULong charcode = range->first;
|
||||||
|
FT_UInt gindex;
|
||||||
|
|
||||||
if ( gindex == 0 || charcode > range->last )
|
|
||||||
break;
|
|
||||||
|
|
||||||
if ( gindex < (FT_ULong)globals->glyph_count &&
|
gindex = FT_Get_Char_Index( face, charcode );
|
||||||
|
|
||||||
|
if ( gindex != 0 &&
|
||||||
|
gindex < (FT_ULong)globals->glyph_count &&
|
||||||
gstyles[gindex] == AF_STYLE_UNASSIGNED )
|
gstyles[gindex] == AF_STYLE_UNASSIGNED )
|
||||||
gstyles[gindex] = (FT_Byte)ss;
|
gstyles[gindex] = (FT_Byte)ss;
|
||||||
|
|
||||||
|
for (;;)
|
||||||
|
{
|
||||||
|
charcode = FT_Get_Next_Char( face, charcode, &gindex );
|
||||||
|
|
||||||
|
if ( gindex == 0 || charcode > range->last )
|
||||||
|
break;
|
||||||
|
|
||||||
|
if ( gindex < (FT_ULong)globals->glyph_count &&
|
||||||
|
gstyles[gindex] == AF_STYLE_UNASSIGNED )
|
||||||
|
gstyles[gindex] = (FT_Byte)ss;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue