diff --git a/src/Makefile.sources b/src/Makefile.sources index 8bb291206..0b2dda43a 100644 --- a/src/Makefile.sources +++ b/src/Makefile.sources @@ -120,6 +120,8 @@ HB_BASE_sources = \ hb-ot-shape-complex-khmer.hh \ hb-ot-shape-complex-myanmar.cc \ hb-ot-shape-complex-myanmar.hh \ + hb-ot-shape-complex-syllabic.cc \ + hb-ot-shape-complex-syllabic.hh \ hb-ot-shape-complex-thai.cc \ hb-ot-shape-complex-use-table.cc \ hb-ot-shape-complex-use.cc \ diff --git a/src/harfbuzz.cc b/src/harfbuzz.cc index 226d013d2..cc0dcb937 100644 --- a/src/harfbuzz.cc +++ b/src/harfbuzz.cc @@ -29,6 +29,7 @@ #include "hb-ot-shape-complex-indic.cc" #include "hb-ot-shape-complex-khmer.cc" #include "hb-ot-shape-complex-myanmar.cc" +#include "hb-ot-shape-complex-syllabic.cc" #include "hb-ot-shape-complex-thai.cc" #include "hb-ot-shape-complex-use-table.cc" #include "hb-ot-shape-complex-use.cc" diff --git a/src/hb-ot-shape-complex-indic.hh b/src/hb-ot-shape-complex-indic.hh index 335660c3b..95da06887 100644 --- a/src/hb-ot-shape-complex-indic.hh +++ b/src/hb-ot-shape-complex-indic.hh @@ -29,7 +29,7 @@ #include "hb.hh" -#include "hb-ot-shape-complex.hh" +#include "hb-ot-shape-complex-syllabic.hh" /* buffer var allocations */ diff --git a/src/hb-ot-shape-complex-syllabic.cc b/src/hb-ot-shape-complex-syllabic.cc new file mode 100644 index 000000000..c03477ba9 --- /dev/null +++ b/src/hb-ot-shape-complex-syllabic.cc @@ -0,0 +1,33 @@ +/* + * Copyright © 2021 Behdad Esfahbod. + * + * This is part of HarfBuzz, a text shaping library. + * + * Permission is hereby granted, without written agreement and without + * license or royalty fees, to use, copy, modify, and distribute this + * software and its documentation for any purpose, provided that the + * above copyright notice and the following two paragraphs appear in + * all copies of this software. + * + * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES + * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN + * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH + * DAMAGE. + * + * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS + * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + */ + +#include "hb.hh" + +#ifndef HB_NO_OT_SHAPE + +#include "hb-ot-shape-complex-syllabic.hh" + + + +#endif diff --git a/src/hb-ot-shape-complex-syllabic.hh b/src/hb-ot-shape-complex-syllabic.hh new file mode 100644 index 000000000..621f37e57 --- /dev/null +++ b/src/hb-ot-shape-complex-syllabic.hh @@ -0,0 +1,33 @@ +/* + * Copyright © 2021 Behdad Esfahbod. + * + * This is part of HarfBuzz, a text shaping library. + * + * Permission is hereby granted, without written agreement and without + * license or royalty fees, to use, copy, modify, and distribute this + * software and its documentation for any purpose, provided that the + * above copyright notice and the following two paragraphs appear in + * all copies of this software. + * + * IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE TO ANY PARTY FOR + * DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES + * ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN + * IF THE COPYRIGHT HOLDER HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH + * DAMAGE. + * + * THE COPYRIGHT HOLDER SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, + * BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND + * FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS + * ON AN "AS IS" BASIS, AND THE COPYRIGHT HOLDER HAS NO OBLIGATION TO + * PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + */ + +#ifndef HB_OT_SHAPE_COMPLEX_SYLLABIC_HH +#define HB_OT_SHAPE_COMPLEX_SYLLABIC_HH + +#include "hb.hh" + +#include "hb-ot-shape-complex.hh" + + +#endif /* HB_OT_SHAPE_COMPLEX_SYLLABIC_HH */ diff --git a/src/hb-ot-shape-complex-use.hh b/src/hb-ot-shape-complex-use.hh index 08bcfd47d..063a3dfaf 100644 --- a/src/hb-ot-shape-complex-use.hh +++ b/src/hb-ot-shape-complex-use.hh @@ -31,8 +31,7 @@ #include "hb.hh" - -#include "hb-ot-shape-complex.hh" +#include "hb-ot-shape-complex-syllabic.hh" #define USE_TABLE_ELEMENT_TYPE uint8_t diff --git a/src/meson.build b/src/meson.build index 8bfbd97b8..52cd00e4f 100644 --- a/src/meson.build +++ b/src/meson.build @@ -126,6 +126,8 @@ hb_base_sources = files( 'hb-ot-shape-complex-khmer.hh', 'hb-ot-shape-complex-myanmar.cc', 'hb-ot-shape-complex-myanmar.hh', + 'hb-ot-shape-complex-syllabic.cc', + 'hb-ot-shape-complex-syllabic.hh', 'hb-ot-shape-complex-thai.cc', 'hb-ot-shape-complex-use-table.cc', 'hb-ot-shape-complex-use.cc',