s/SHAPE_COMPLEX/SHAPER/g

This commit is contained in:
Behdad Esfahbod 2022-06-03 02:54:33 -06:00
parent 6fbb552156
commit 44be1e5dfb
29 changed files with 78 additions and 78 deletions

View File

@ -94,13 +94,13 @@ for h in headers:
print (" * %s" % (l.strip ()))
print (" */")
print ()
print ("#ifndef HB_OT_SHAPE_COMPLEX_ARABIC_JOINING_LIST_HH")
print ("#define HB_OT_SHAPE_COMPLEX_ARABIC_JOINING_LIST_HH")
print ("#ifndef HB_OT_SHAPER_ARABIC_JOINING_LIST_HH")
print ("#define HB_OT_SHAPER_ARABIC_JOINING_LIST_HH")
print ()
print_has_arabic_joining (read (files[1]), read_joining_uu (files[0]))
print ()
print ("#endif /* HB_OT_SHAPE_COMPLEX_ARABIC_JOINING_LIST_HH */")
print ("#endif /* HB_OT_SHAPER_ARABIC_JOINING_LIST_HH */")
print ()
print ("/* == End of generated function == */")

View File

@ -257,8 +257,8 @@ for h in headers:
print (" * %s" % (l.strip()))
print (" */")
print ()
print ("#ifndef HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH")
print ("#define HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH")
print ("#ifndef HB_OT_SHAPER_ARABIC_TABLE_HH")
print ("#define HB_OT_SHAPER_ARABIC_TABLE_HH")
print ()
read_blocks (files[2])
@ -266,6 +266,6 @@ print_joining_table (files[0])
print_shaping_table (files[1])
print ()
print ("#endif /* HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH */")
print ("#endif /* HB_OT_SHAPER_ARABIC_TABLE_HH */")
print ()
print ("/* == End of generated table == */")

View File

@ -412,8 +412,8 @@ for h in headers:
print (" * %s" % (l.strip()))
print (" */")
print ()
print ("#ifndef HB_OT_SHAPE_COMPLEX_USE_TABLE_HH")
print ("#define HB_OT_SHAPE_COMPLEX_USE_TABLE_HH")
print ("#ifndef HB_OT_SHAPER_USE_TABLE_HH")
print ("#define HB_OT_SHAPER_USE_TABLE_HH")
print ()
print ('#include "hb.hh"')
print ()
@ -542,7 +542,7 @@ for k,v in sorted(use_positions.items()):
print ("#undef %s" % tag)
print ()
print ()
print ("#endif /* HB_OT_SHAPE_COMPLEX_USE_TABLE_HH */")
print ("#endif /* HB_OT_SHAPER_USE_TABLE_HH */")
print ("/* == End of generated table == */")
# Maintain at least 50% occupancy in the table */

View File

@ -188,7 +188,7 @@ print ('_hb_preprocess_text_vowel_constraints (const hb_ot_shape_plan_t *plan HB
print ('\t\t\t\t hb_buffer_t *buffer,')
print ('\t\t\t\t hb_font_t *font HB_UNUSED)')
print ('{')
print ('#ifdef HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS')
print ('#ifdef HB_NO_OT_SHAPER_VOWEL_CONSTRAINTS')
print (' return;')
print ('#endif')
print (' if (buffer->flags & HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE)')

View File

@ -145,10 +145,10 @@
#endif
#ifdef HB_NO_OT_SHAPE_FALLBACK
#define HB_NO_OT_SHAPE_COMPLEX_ARABIC_FALLBACK
#define HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK
#define HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK
#define HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS
#define HB_NO_OT_SHAPER_ARABIC_FALLBACK
#define HB_NO_OT_SHAPER_HEBREW_FALLBACK
#define HB_NO_OT_SHAPER_THAI_FALLBACK
#define HB_NO_OT_SHAPER_VOWEL_CONSTRAINTS
#endif
#ifdef NDEBUG

View File

@ -24,8 +24,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_ARABIC_FALLBACK_HH
#define HB_OT_SHAPE_COMPLEX_ARABIC_FALLBACK_HH
#ifndef HB_OT_SHAPER_ARABIC_FALLBACK_HH
#define HB_OT_SHAPER_ARABIC_FALLBACK_HH
#include "hb.hh"
@ -345,4 +345,4 @@ arabic_fallback_plan_shape (arabic_fallback_plan_t *fallback_plan,
}
#endif /* HB_OT_SHAPE_COMPLEX_ARABIC_FALLBACK_HH */
#endif /* HB_OT_SHAPER_ARABIC_FALLBACK_HH */

View File

@ -12,8 +12,8 @@
* # Date: 2021-07-10, 00:35:31 GMT
*/
#ifndef HB_OT_SHAPE_COMPLEX_ARABIC_JOINING_LIST_HH
#define HB_OT_SHAPE_COMPLEX_ARABIC_JOINING_LIST_HH
#ifndef HB_OT_SHAPER_ARABIC_JOINING_LIST_HH
#define HB_OT_SHAPER_ARABIC_JOINING_LIST_HH
static bool
has_arabic_joining (hb_script_t script)
@ -42,6 +42,6 @@ has_arabic_joining (hb_script_t script)
}
#endif /* HB_OT_SHAPE_COMPLEX_ARABIC_JOINING_LIST_HH */
#endif /* HB_OT_SHAPER_ARABIC_JOINING_LIST_HH */
/* == End of generated function == */

View File

@ -13,8 +13,8 @@
* UnicodeData.txt does not have a header.
*/
#ifndef HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH
#define HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH
#ifndef HB_OT_SHAPER_ARABIC_TABLE_HH
#define HB_OT_SHAPER_ARABIC_TABLE_HH
#define A JOINING_GROUP_ALAPH
@ -436,6 +436,6 @@ static const struct ligature_set_t {
};
#endif /* HB_OT_SHAPE_COMPLEX_ARABIC_TABLE_HH */
#endif /* HB_OT_SHAPER_ARABIC_TABLE_HH */
/* == End of generated table == */

View File

@ -24,7 +24,7 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_ARABIC_WIN1256_HH
#ifndef HB_OT_SHAPER_ARABIC_WIN1256_HH
/*
@ -345,5 +345,5 @@ OT_TABLE_END
#include "hb-ot-shape-complex-arabic-win1256.hh"
#endif
#define HB_OT_SHAPE_COMPLEX_ARABIC_WIN1256_HH
#endif /* HB_OT_SHAPE_COMPLEX_ARABIC_WIN1256_HH */
#define HB_OT_SHAPER_ARABIC_WIN1256_HH
#endif /* HB_OT_SHAPER_ARABIC_WIN1256_HH */

View File

@ -405,7 +405,7 @@ arabic_fallback_shape (const hb_ot_shape_plan_t *plan,
hb_font_t *font,
hb_buffer_t *buffer)
{
#ifdef HB_NO_OT_SHAPE_COMPLEX_ARABIC_FALLBACK
#ifdef HB_NO_OT_SHAPER_ARABIC_FALLBACK
return;
#endif

View File

@ -26,8 +26,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_ARABIC_HH
#define HB_OT_SHAPE_COMPLEX_ARABIC_HH
#ifndef HB_OT_SHAPER_ARABIC_HH
#define HB_OT_SHAPER_ARABIC_HH
#include "hb.hh"
@ -47,4 +47,4 @@ setup_masks_arabic_plan (const arabic_shape_plan_t *arabic_plan,
hb_buffer_t *buffer,
hb_script_t script);
#endif /* HB_OT_SHAPE_COMPLEX_ARABIC_HH */
#endif /* HB_OT_SHAPER_ARABIC_HH */

View File

@ -74,7 +74,7 @@ compose_hebrew (const hb_ot_shape_normalize_context_t *c,
bool found = (bool) c->unicode->compose (a, b, ab);
#ifdef HB_NO_OT_SHAPE_COMPLEX_HEBREW_FALLBACK
#ifdef HB_NO_OT_SHAPER_HEBREW_FALLBACK
return found;
#endif

View File

@ -26,8 +26,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_INDIC_MACHINE_HH
#define HB_OT_SHAPE_COMPLEX_INDIC_MACHINE_HH
#ifndef HB_OT_SHAPER_INDIC_MACHINE_HH
#define HB_OT_SHAPER_INDIC_MACHINE_HH
#include "hb.hh"
@ -600,4 +600,4 @@ _again:
#undef found_syllable
#endif /* HB_OT_SHAPE_COMPLEX_INDIC_MACHINE_HH */
#endif /* HB_OT_SHAPER_INDIC_MACHINE_HH */

View File

@ -24,8 +24,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_INDIC_MACHINE_HH
#define HB_OT_SHAPE_COMPLEX_INDIC_MACHINE_HH
#ifndef HB_OT_SHAPER_INDIC_MACHINE_HH
#define HB_OT_SHAPER_INDIC_MACHINE_HH
#include "hb.hh"
@ -132,4 +132,4 @@ find_syllables_indic (hb_buffer_t *buffer)
#undef found_syllable
#endif /* HB_OT_SHAPE_COMPLEX_INDIC_MACHINE_HH */
#endif /* HB_OT_SHAPER_INDIC_MACHINE_HH */

View File

@ -24,8 +24,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_INDIC_HH
#define HB_OT_SHAPE_COMPLEX_INDIC_HH
#ifndef HB_OT_SHAPER_INDIC_HH
#define HB_OT_SHAPER_INDIC_HH
#include "hb.hh"
@ -428,4 +428,4 @@ struct hb_indic_would_substitute_feature_t
};
#endif /* HB_OT_SHAPE_COMPLEX_INDIC_HH */
#endif /* HB_OT_SHAPER_INDIC_HH */

View File

@ -26,8 +26,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_KHMER_MACHINE_HH
#define HB_OT_SHAPE_COMPLEX_KHMER_MACHINE_HH
#ifndef HB_OT_SHAPER_KHMER_MACHINE_HH
#define HB_OT_SHAPER_KHMER_MACHINE_HH
#include "hb.hh"
@ -393,4 +393,4 @@ _again:
#undef found_syllable
#endif /* HB_OT_SHAPE_COMPLEX_KHMER_MACHINE_HH */
#endif /* HB_OT_SHAPER_KHMER_MACHINE_HH */

View File

@ -24,8 +24,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_KHMER_MACHINE_HH
#define HB_OT_SHAPE_COMPLEX_KHMER_MACHINE_HH
#ifndef HB_OT_SHAPER_KHMER_MACHINE_HH
#define HB_OT_SHAPER_KHMER_MACHINE_HH
#include "hb.hh"
@ -116,4 +116,4 @@ find_syllables_khmer (hb_buffer_t *buffer)
#undef found_syllable
#endif /* HB_OT_SHAPE_COMPLEX_KHMER_MACHINE_HH */
#endif /* HB_OT_SHAPER_KHMER_MACHINE_HH */

View File

@ -24,8 +24,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_KHMER_HH
#define HB_OT_SHAPE_COMPLEX_KHMER_HH
#ifndef HB_OT_SHAPER_KHMER_HH
#define HB_OT_SHAPER_KHMER_HH
#include "hb.hh"
@ -112,4 +112,4 @@ set_khmer_properties (hb_glyph_info_t &info)
}
#endif /* HB_OT_SHAPE_COMPLEX_KHMER_HH */
#endif /* HB_OT_SHAPER_KHMER_HH */

View File

@ -26,8 +26,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_MYANMAR_MACHINE_HH
#define HB_OT_SHAPE_COMPLEX_MYANMAR_MACHINE_HH
#ifndef HB_OT_SHAPER_MYANMAR_MACHINE_HH
#define HB_OT_SHAPER_MYANMAR_MACHINE_HH
#include "hb.hh"
@ -489,4 +489,4 @@ _again:
#undef found_syllable
#endif /* HB_OT_SHAPE_COMPLEX_MYANMAR_MACHINE_HH */
#endif /* HB_OT_SHAPER_MYANMAR_MACHINE_HH */

View File

@ -24,8 +24,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_MYANMAR_MACHINE_HH
#define HB_OT_SHAPE_COMPLEX_MYANMAR_MACHINE_HH
#ifndef HB_OT_SHAPER_MYANMAR_MACHINE_HH
#define HB_OT_SHAPER_MYANMAR_MACHINE_HH
#include "hb.hh"
@ -132,4 +132,4 @@ find_syllables_myanmar (hb_buffer_t *buffer)
#undef found_syllable
#endif /* HB_OT_SHAPE_COMPLEX_MYANMAR_MACHINE_HH */
#endif /* HB_OT_SHAPER_MYANMAR_MACHINE_HH */

View File

@ -24,8 +24,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_MYANMAR_HH
#define HB_OT_SHAPE_COMPLEX_MYANMAR_HH
#ifndef HB_OT_SHAPER_MYANMAR_HH
#define HB_OT_SHAPER_MYANMAR_HH
#include "hb.hh"
@ -174,4 +174,4 @@ set_myanmar_properties (hb_glyph_info_t &info)
}
#endif /* HB_OT_SHAPE_COMPLEX_MYANMAR_HH */
#endif /* HB_OT_SHAPER_MYANMAR_HH */

View File

@ -22,8 +22,8 @@
* PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
*/
#ifndef HB_OT_SHAPE_COMPLEX_SYLLABIC_HH
#define HB_OT_SHAPE_COMPLEX_SYLLABIC_HH
#ifndef HB_OT_SHAPER_SYLLABIC_HH
#define HB_OT_SHAPER_SYLLABIC_HH
#include "hb.hh"
@ -39,4 +39,4 @@ hb_syllabic_insert_dotted_circles (hb_font_t *font,
int dottedcircle_position = -1);
#endif /* HB_OT_SHAPE_COMPLEX_SYLLABIC_HH */
#endif /* HB_OT_SHAPER_SYLLABIC_HH */

View File

@ -222,7 +222,7 @@ do_thai_pua_shaping (const hb_ot_shape_plan_t *plan HB_UNUSED,
hb_buffer_t *buffer,
hb_font_t *font)
{
#ifdef HB_NO_OT_SHAPE_COMPLEX_THAI_FALLBACK
#ifdef HB_NO_OT_SHAPER_THAI_FALLBACK
return;
#endif

View File

@ -28,8 +28,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_USE_MACHINE_HH
#define HB_OT_SHAPE_COMPLEX_USE_MACHINE_HH
#ifndef HB_OT_SHAPER_USE_MACHINE_HH
#define HB_OT_SHAPER_USE_MACHINE_HH
#include "hb.hh"
@ -846,4 +846,4 @@ _again:
#undef found_syllable
#endif /* HB_OT_SHAPE_COMPLEX_USE_MACHINE_HH */
#endif /* HB_OT_SHAPER_USE_MACHINE_HH */

View File

@ -26,8 +26,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_USE_MACHINE_HH
#define HB_OT_SHAPE_COMPLEX_USE_MACHINE_HH
#ifndef HB_OT_SHAPER_USE_MACHINE_HH
#define HB_OT_SHAPER_USE_MACHINE_HH
#include "hb.hh"
@ -288,4 +288,4 @@ find_syllables_use (hb_buffer_t *buffer)
#undef found_syllable
#endif /* HB_OT_SHAPE_COMPLEX_USE_MACHINE_HH */
#endif /* HB_OT_SHAPER_USE_MACHINE_HH */

View File

@ -37,8 +37,8 @@
* UnicodeData.txt does not have a header.
*/
#ifndef HB_OT_SHAPE_COMPLEX_USE_TABLE_HH
#define HB_OT_SHAPE_COMPLEX_USE_TABLE_HH
#ifndef HB_OT_SHAPER_USE_TABLE_HH
#define HB_OT_SHAPER_USE_TABLE_HH
#include "hb.hh"
@ -1566,5 +1566,5 @@ hb_use_get_category (hb_glyph_info_t info)
#undef VMPre
#endif /* HB_OT_SHAPE_COMPLEX_USE_TABLE_HH */
#endif /* HB_OT_SHAPER_USE_TABLE_HH */
/* == End of generated table == */

View File

@ -39,7 +39,7 @@ _hb_preprocess_text_vowel_constraints (const hb_ot_shape_plan_t *plan HB_UNUSED,
hb_buffer_t *buffer,
hb_font_t *font HB_UNUSED)
{
#ifdef HB_NO_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS
#ifdef HB_NO_OT_SHAPER_VOWEL_CONSTRAINTS
return;
#endif
if (buffer->flags & HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE)

View File

@ -24,8 +24,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS_HH
#define HB_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS_HH
#ifndef HB_OT_SHAPER_VOWEL_CONSTRAINTS_HH
#define HB_OT_SHAPER_VOWEL_CONSTRAINTS_HH
#include "hb.hh"
@ -36,4 +36,4 @@ _hb_preprocess_text_vowel_constraints (const hb_ot_shape_plan_t *plan,
hb_buffer_t *buffer,
hb_font_t *font);
#endif /* HB_OT_SHAPE_COMPLEX_VOWEL_CONSTRAINTS_HH */
#endif /* HB_OT_SHAPER_VOWEL_CONSTRAINTS_HH */

View File

@ -24,8 +24,8 @@
* Google Author(s): Behdad Esfahbod
*/
#ifndef HB_OT_SHAPE_COMPLEX_HH
#define HB_OT_SHAPE_COMPLEX_HH
#ifndef HB_OT_SHAPER_HH
#define HB_OT_SHAPER_HH
#include "hb.hh"
@ -397,4 +397,4 @@ hb_ot_shaper_categorize (const hb_ot_shape_planner_t *planner)
}
#endif /* HB_OT_SHAPE_COMPLEX_HH */
#endif /* HB_OT_SHAPER_HH */