diff --git a/RELEASING.md b/RELEASING.md index 1fd8365453d4d666870c7a1ecbe57373c0312c75..5dcce58847ccc9e3ead058500794d6e1b6c56df7 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -33,13 +33,14 @@ HarfBuzz release walk-through checklist: That's what happened to 2.0.0 going out with 1.8.0 hb-version.h... So, that's a clue. -7. "make release-files". Enter your GPG password. This creates a sha256 hash - and signs it. - -8. Now that you have release files, commit NEWS, configure.ac, and src/hb-version.h, +7. Now that you have release files, commit NEWS, configure.ac, and src/hb-version.h, as well as any REPLACEME changes you made. The commit message is simply the release number. Eg. "1.4.7" +8. "make dist" again to get a tarball with your new commit in the ChangeLog. Then + "make release-files". Enter your GPG password. This creates a sha256 hash + and signs it. Check the size of the three resulting files. + 9. Tag the release and sign it: Eg. "git tag -s 1.4.7 -m 1.4.7". Enter your GPG password again. diff --git a/docs/harfbuzz-docs.xml b/docs/harfbuzz-docs.xml index 0c462f38ae3c4c9e54d1e2def826588f9f243a10..f4ad134ea186f164c8807986e023cec18f09b1a3 100644 --- a/docs/harfbuzz-docs.xml +++ b/docs/harfbuzz-docs.xml @@ -150,7 +150,6 @@ Index of new symbols in 1.5.0 Index of new symbols in 1.4.3 Index of new symbols in 1.4.2 - Index of new symbols in 1.4.0 Index of new symbols in 1.3.3 Index of new symbols in 1.2.3 Index of new symbols in 1.1.3 diff --git a/docs/harfbuzz-sections.txt b/docs/harfbuzz-sections.txt index 27dc1e2d35ba54f85902eb73e2f7ce3653e5f4eb..f97902f7ffc78ad8d65268389e30af8b665c24c5 100644 --- a/docs/harfbuzz-sections.txt +++ b/docs/harfbuzz-sections.txt @@ -216,6 +216,14 @@ hb_coretext_face_get_cg_font hb_coretext_font_get_ct_font +
+hb-directwrite +hb_directwrite_face_create +hb_directwrite_face_get_font_face + +hb_directwrite_shape_experimental_width +
+
hb-face hb_face_count @@ -715,8 +723,6 @@ hb_unicode_script_func_t hb-uniscribe hb_uniscribe_font_get_hfont hb_uniscribe_font_get_logfontw - -hb_directwrite_shape_experimental_width
diff --git a/src/hb-common.h b/src/hb-common.h index fbabd71c8c7fb7774904348161569bd24011d775..371b2bfc9c79c370fd625b7aeddf89dc1c8e1df1 100644 --- a/src/hb-common.h +++ b/src/hb-common.h @@ -358,7 +358,7 @@ typedef enum /*11.0*/HB_SCRIPT_SOGDIAN = HB_TAG ('S','o','g','d'), /* - * Since REPLACEME + * Since 2.4.0 */ /*12.0*/HB_SCRIPT_ELYMAIC = HB_TAG ('E','l','y','m'), /*12.0*/HB_SCRIPT_NANDINAGARI = HB_TAG ('N','a','n','d'), diff --git a/src/hb-directwrite.cc b/src/hb-directwrite.cc index 137cd56c868ed583fc10a5f8f14c13a616e4805a..d8076c92213722d690d1374ee81a3ff567da5f74 100644 --- a/src/hb-directwrite.cc +++ b/src/hb-directwrite.cc @@ -846,10 +846,23 @@ _hb_directwrite_shape (hb_shape_plan_t *shape_plan, features, num_features, 0); } -/* - * Public [experimental] API - */ - +/** + * hb_directwrite_shape_experimental_width: + * Experimental API to test DirectWrite's justification algorithm. + * + * It inserts Kashida at wrong order so don't use the API ever. + * + * It doesn't work with cygwin/msys due to header bugs so one + * should use MSVC toolchain in order to use it for now. + * + * @font: + * @buffer: + * @features: + * @num_features: + * @width: + * + * Since: 1.4.2 + **/ hb_bool_t hb_directwrite_shape_experimental_width (hb_font_t *font, hb_buffer_t *buffer, @@ -918,7 +931,8 @@ _hb_directwrite_font_release (void *data) /** * hb_directwrite_face_create: * @font_face: - * Since: REPLACEME + * + * Since: 2.4.0 **/ hb_face_t * hb_directwrite_face_create (IDWriteFontFace *font_face) @@ -928,3 +942,15 @@ hb_directwrite_face_create (IDWriteFontFace *font_face) return hb_face_create_for_tables (reference_table, font_face, _hb_directwrite_font_release); } + +/** +* hb_directwrite_face_get_font_face: +* @face: +* +* Since: REPLACEME +**/ +IDWriteFontFace * +hb_directwrite_face_get_font_face (hb_face_t *face) +{ + return face->data.directwrite->fontFace; +} diff --git a/src/hb-directwrite.h b/src/hb-directwrite.h index 09776fd09a3087a915cb028bd172561f346fe721..de813d069f22d55171757c9c58f4786ce81a6be9 100644 --- a/src/hb-directwrite.h +++ b/src/hb-directwrite.h @@ -37,6 +37,9 @@ hb_directwrite_shape_experimental_width (hb_font_t *font, hb_buffer_t *buffer, HB_EXTERN hb_face_t * hb_directwrite_face_create (IDWriteFontFace *font_face); +HB_EXTERN IDWriteFontFace * +hb_directwrite_face_get_font_face (hb_face_t *face); + HB_END_DECLS #endif /* HB_DIRECTWRITE_H */ diff --git a/src/hb-subset-input.cc b/src/hb-subset-input.cc index 693c9c21ee9767df0eea961f8b73d8d58cb4c0af..4d203b545dcfa5cdedc07d29c911377df464a7f2 100644 --- a/src/hb-subset-input.cc +++ b/src/hb-subset-input.cc @@ -152,7 +152,7 @@ hb_subset_input_get_desubroutinize (hb_subset_input_t *subset_input) * hb_subset_input_set_retain_gids: * @subset_input: a subset_input. * @retain_gids: If true the subsetter will not renumber glyph ids. - * Since: REPLACEME + * Since: 2.4.0 **/ HB_EXTERN void hb_subset_input_set_retain_gids (hb_subset_input_t *subset_input, @@ -164,7 +164,7 @@ hb_subset_input_set_retain_gids (hb_subset_input_t *subset_input, /** * hb_subset_input_get_retain_gids: * Returns: value of retain_gids. - * Since: REPLACEME + * Since: 2.4.0 **/ HB_EXTERN hb_bool_t hb_subset_input_get_retain_gids (hb_subset_input_t *subset_input)