From 0950f3a50e8a91dfb9d6b3f0dd7e12ac865a3bf8 Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Wed, 1 Jan 2014 07:48:20 +0100 Subject: [PATCH] * src/autofit/hbshim.c: s/{lookups,glyphs}/gsub_{lookups,glyphs}/. --- ChangeLog | 4 ++++ src/autofit/hbshim.c | 22 +++++++++++----------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index a6f33909d..3ecde6e26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-01-01 Werner Lemberg + + * src/autofit/hbshim.c: s/{lookups,glyphs}/gsub_{lookups,glyphs}/. + 2014-01-01 Werner Lemberg [autofit] Implement and use `af_get_char_index' with HarfBuzz. diff --git a/src/autofit/hbshim.c b/src/autofit/hbshim.c index 7dae08fbc..c8077ba0c 100644 --- a/src/autofit/hbshim.c +++ b/src/autofit/hbshim.c @@ -100,8 +100,8 @@ { hb_face_t* face; - hb_set_t* lookups; /* lookups for a given script */ - hb_set_t* glyphs; /* glyphs covered by lookups */ + hb_set_t* gsub_lookups; /* GSUB lookups for a given script */ + hb_set_t* gsub_glyphs; /* glyphs covered by GSUB lookups */ hb_tag_t script; const hb_tag_t* coverage_tags; @@ -121,8 +121,8 @@ face = hb_font_get_face( globals->hb_font ); - lookups = hb_set_create(); - glyphs = hb_set_create(); + gsub_lookups = hb_set_create(); + gsub_glyphs = hb_set_create(); coverage_tags = coverages[style_class->coverage]; script = scripts[style_class->script]; @@ -161,9 +161,9 @@ script_tags, NULL, coverage_tags, - lookups ); + gsub_lookups ); - FT_TRACE4(( "lookups (style `%s'):\n" + FT_TRACE4(( "GSUB lookups (style `%s'):\n" " ", af_style_names[style_class->style] )); @@ -171,7 +171,7 @@ count = 0; #endif - for ( idx = -1; hb_set_next( lookups, &idx ); ) + for ( idx = -1; hb_set_next( gsub_lookups, &idx ); ) { #ifdef FT_DEBUG_LEVEL_TRACE FT_TRACE4(( " %d", idx )); @@ -184,7 +184,7 @@ NULL, NULL, NULL, - glyphs ); + gsub_glyphs ); } #ifdef FT_DEBUG_LEVEL_TRACE @@ -197,7 +197,7 @@ count = 0; #endif - for ( idx = -1; hb_set_next( glyphs, &idx ); ) + for ( idx = -1; hb_set_next( gsub_glyphs, &idx ); ) { #ifdef FT_DEBUG_LEVEL_TRACE if ( !( count % 10 ) ) @@ -223,8 +223,8 @@ FT_TRACE4(( "\n\n" )); #endif - hb_set_destroy( lookups ); - hb_set_destroy( glyphs ); + hb_set_destroy( gsub_lookups ); + hb_set_destroy( gsub_glyphs ); return FT_Err_Ok; }