1 Overview of changes leading to 0.9.32
2 Thursday, July 17, 2014
3 =====================================
5 - Apply Arabic shaping features in spec order exactly.
6 - Another fix for Mongolian free variation selectors.
7 - For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt'
9 - Minor adjustment to U+FFFD logic.
10 - Fix hb-coretext build.
13 Overview of changes leading to 0.9.31
14 Wednesday, July 16, 2014
15 =====================================
17 - Only accept valid UTF-8/16/32; we missed many cases before.
18 - Better shaping of invalid UTF-8/16/32. Falls back to
19 U+FFFD REPLACEMENT CHARACTER now.
20 - With all changes in this release, the buffer will contain fully
21 valid Unicode after hb_buffer_add_utf8/16/32 no matter how
22 broken the input is. This can be overriden though. See below.
23 - Fix Mongolian Variation Selectors for fonts without GDEF.
24 - Fix minor invalid buffer access.
25 - Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language()
26 now uses these instead of private tags.
29 * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32()
30 used to do, ie. no validity check on the input at all. add_utf32
31 now replaces invalid Unicode codepoints with the replacement
32 character (see below).
33 * hb_buffer_set_replacement_codepoint()
34 * hb_buffer_get_replacement_codepoint()
35 Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when
36 we detected broken input, we replaced that with (hb_codepoint_t)-1.
37 This has changed to use U+FFFD now, but can be changed using these
41 Overview of changes leading to 0.9.30
42 Wednesday, July 9, 2014
43 =====================================
45 - Update to Unicode 7.0.0:
46 * New scripts Manichaean and Psalter Pahlavi are shaped using
48 * All the other new scripts to through the generic shaper for
50 - Minor Indic improvements.
51 - Fix graphite2 backend cluster mapping [crasher!]
53 * New HB_SCRIPT_* values for Unicode 7.0 scripts.
54 * New function hb_ot_layout_language_get_required_feature().
58 Overview of changes leading to 0.9.29
59 Thursday, May 29, 2014
60 =====================================
62 - Implement cmap in hb-ot-font.h. No variation-selectors yet.
63 - Myanmar: Allow MedialYa+Asat.
64 - Various Indic fixes:
65 * Support most characters in Extended Devanagary and Vedic
67 * Allow digits and a some punctuation as consonant placeholders.
71 Overview of changes leading to 0.9.28
72 Monday, April 28, 2014
73 =====================================
75 - Unbreak old-spec Indic shaping. (bug 76705)
76 - Fix shaping of U+17DD and U+0FC6.
77 - Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default
78 for shipping libraries. It's an option for further experimentation
79 right now. When we are sure how to do it properly, we will add
80 public run-time API for the functionality.
84 Overview of changes leading to 0.9.27
85 Tuesday, March 18, 2014
86 =====================================
88 - Don't use "register" storage class specifier
89 - Wrap definition of free_langs() with HAVE_ATEXIT
90 - Add coretext_aat shaper and hb_coretext_face_create() constructor
91 - If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
92 - Add Myanmar test case from OpenType Myanmar spec
93 - Only do fallback Hebrew composition if no GPOS 'mark' available
94 - Allow bootstrapping without gtk-doc
95 - Use AM_MISSING_PROG for ragel and git
96 - Typo in ucdn's Makefile.am
97 - Improve MemoryBarrier() implementation
100 Overview of changes leading to 0.9.26
101 Thursday, January 30, 2014
102 =====================================
105 - Fix application of 'rtlm' feature.
106 - Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH.
107 - New header: hb-ot-shape.h
108 - Uniscribe: fix scratch-buffer accounting.
109 - Reorder Tai Tham SAKOT to after tone-marks.
112 hb-ot-shape-complex-hangul.cc
113 hb-ot-shape-complex-hebrew.cc
114 hb-ot-shape-complex-tibetan.cc
115 - Disable 'cswh' feature in Arabic shaper.
116 - Coretext: better handle surrogate pairs.
117 - Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE.
120 Overview of changes leading to 0.9.25
121 Wednesday, December 4, 2013
122 =====================================
124 - Myanmar shaper improvements.
125 - Avoid font fallback in CoreText backend.
126 - Additional OpenType language tag mappiongs.
127 - More aggressive shape-plan caching.
128 - Build with / require automake 1.13.
129 - Build with libtool 2.4.2.418 alpha to support ppc64le.
132 Overview of changes leading to 0.9.24
133 Tuesday, November 13, 2013
134 =====================================
136 - Misc compiler warning fixes with clang.
137 - No functional changes.
140 Overview of changes leading to 0.9.23
141 Monday, October 28, 2013
142 =====================================
144 - "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
145 - Fix (Chain)Context recursion with non-monotone lookup positions.
146 - Misc Indic bug fixes.
147 - New Javanese / Buginese shaping, similar to Windows 8.1.
150 Overview of changes leading to 0.9.22
151 Thursday, October 3, 2013
152 =====================================
154 - Fix use-after-end-of-scope in hb_language_from_string().
155 - Fix hiding of default_ignorables if font doesn't have space glyph.
156 - Protect against out-of-range lookup indices.
160 * Added hb_ot_layout_table_get_lookup_count()
163 Overview of changes leading to 0.9.21
164 Monday, September 16, 2013
165 =====================================
167 - Rename gobject-introspection library name from harfbuzz to HarfBuzz.
168 - Remove (long disabled) hb-old and hb-icu-le test shapers.
169 - Misc gtk-doc and gobject-introspection annotations.
173 * Add HB_SET_VALUE_INVALID
175 Overview of changes leading to 0.9.20
176 Thursday, August 29, 2013
177 =====================================
180 - Misc substitute_closure() fixes.
184 - gtk-doc boilerplate integrated. Docs are built now, but
185 contain no contents. By next release hopefully we have
186 some content in. Enable using --enable-gtk-doc.
188 GObject and Introspection:
189 - Added harfbuzz-gobject library (hb-gobject.h) that has type
190 bindings for all HarfBuzz objects and enums. Enable using
192 - Added gobject-introspection boilerplate. Nothing useful
193 right now. Work in progress. Gets enabled automatically if
194 --with-gobject is used. Override with --disable-introspection.
197 - Apply 'mark' in Myanmar shaper.
198 - Don't apply 'dlig' by default.
201 - Support user features.
202 - Fix loading of fonts that are also installed on the system.
203 - Fix shaping of Arabic Presentation Forms.
204 - Fix build with wide chars.
207 - Support user features.
210 - hb_face_t code moved to hb-face.h / hb-face.cc.
211 - Added hb-deprecated.h.
214 - Added HB_DISABLE_DEPRECATED.
215 - Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
216 HB_SCRIPT_CANADIAN_SYLLABICS.
217 - Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
218 HB_BUFFER_FLAG_DEFAULT.
219 - Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
220 HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
223 Overview of changes leading to 0.9.19
224 Tuesday, July 16, 2013
225 =====================================
228 - Better handling of multiple variation selectors in a row.
229 - Pass on variation selector to GSUB if not consumed by cmap.
230 - Fix undefined memory access.
231 - Add Javanese config to Indic shaper.
234 Overview of changes leading to 0.9.18
235 Tuesday, May 28, 2013
236 =====================================
240 - All unneeded code is all disabled by default,
242 - Uniscribe and CoreText shapers can be enabled with their --with options,
244 - icu_le and old shapers cannot be enabled for now,
246 - glib, freetype, and cairo will be detected automatically.
247 They can be force on/off'ed with their --with options,
249 - icu and graphite2 are default off, can be enabled with their --with
252 Moreover, ICU support is now build into a separate library:
253 libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
254 Distros can enable ICU now without every application on earth
255 getting linked to via libharfbuzz.so.
257 For distros I recommend that they make sure they are building --with-glib
258 --with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
259 And package harfbuzz and harfbuzz-icu separately.
262 Overview of changes leading to 0.9.17
264 =====================================
267 - Fix bug in hb_set_get_min().
268 - Fix regression with Arabic mark positioning / width-zeroing.
270 Overview of changes leading to 0.9.16
271 Friday, April 19, 2013
272 =====================================
274 - Major speedup in OpenType lookup processing. With the Amiri
275 Arabic font, this release is over 3x faster than previous
276 release. All scripts / languages should see this speedup.
278 - New --num-iterations option for hb-shape / hb-view; useful for
281 Overview of changes leading to 0.9.15
282 Friday, April 05, 2013
283 =====================================
286 - Fix crasher in graphite2 shaper.
287 - Fix Arabic mark width zeroing regression.
288 - Don't compose Hangul jamo into Unicode syllables.
291 Overview of changes leading to 0.9.14
292 Thursday, March 21, 2013
293 =====================================
296 - Fix time-consuming sanitize with malicious fonts.
297 - Implement hb_buffer_deserialize_glyphs() for both json and text.
298 - Do not ignore Hangul filler characters.
300 * Fix Malayalam pre-base reordering interaction with post-forms.
301 * Further adjust ZWJ handling. Should fix known regressions from
305 Overview of changes leading to 0.9.13
306 Thursday, February 25, 2013
307 =====================================
310 - Ngapi HarfBuzz Hackfest in London (February 2013):
311 * Fixed all known Indic bugs,
312 * New Win8-style Myanmar shaper,
313 * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
314 * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
315 matching GSUB/GPOS lookups,
316 * Fix 'Phags-Pa U+A872 shaping,
317 * Fix partial disabling of default-on features,
318 * Allow disabling of TrueType kerning.
319 - Fix possible crasher with broken fonts with overlapping tables.
320 - Removed generated files from git again. So, one needs ragel to
321 bootstrap from the git tree.
324 - hb_shape() and related APIs now abort if buffer direction is
325 HB_DIRECTION_INVALID. Previously, hb_shape() was calling
326 hb_buffer_guess_segment_properties() on the buffer before
327 shaping. The heuristics in that function are fragile. If the
328 user really wants the old behvaior, they can call that function
329 right before calling hb_shape() to get the old behavior.
330 - hb_blob_create_sub_blob() always creates sub-blob with
331 HB_MEMORY_MODE_READONLY. See comments for the reason.
334 Overview of changes leading to 0.9.12
335 Thursday, January 18, 2013
336 =====================================
338 - Build fixes for Sun compiler.
341 Overview of changes leading to 0.9.11
342 Thursday, January 10, 2013
343 =====================================
346 - Fix GPOS mark attachment with null Anchor offsets.
347 - [Indic] Fix old-spec reordering of viramas if sequence ends in one.
348 - Fix multi-threaded shaper data creation crash.
349 - Add atomic ops for Solaris.
352 - Rename hb_buffer_clear() to hb_buffer_clear_contents().
355 Overview of changes leading to 0.9.10
356 Thursday, January 3, 2013
357 =====================================
359 - [Indic] Fixed rendering of Malayalam dot-reph
360 - Updated OT language tags.
361 - Updated graphite2 backend.
362 - Improved hb_ot_layout_get_size_params() logic.
363 - Improve hb-shape/hb-view help output.
364 - Fixed hb-set.h implementation to not crash.
365 - Fixed various issues with hb_ot_layout_collect_lookups().
366 - Various build fixes.
370 hb_graphite2_face_get_gr_face()
371 hb_graphite2_font_get_gr_font()
372 hb_coretext_face_get_cg_font()
376 hb_ot_layout_get_size_params()
379 Overview of changes leading to 0.9.9
380 Wednesday, December 5, 2012
381 ====================================
383 - Fix build on Windows.
384 - Minor improvements.
387 Overview of changes leading to 0.9.8
388 Tuesday, December 4, 2012
389 ====================================
392 - Actually implement hb_shape_plan_get_shaper ().
393 - Make UCDB data tables const.
394 - Lots of internal refactoring in OTLayout tables.
395 - Flesh out hb_ot_layout_lookup_collect_glyphs().
399 hb_ot_layout_collect_lookups()
400 hb_ot_layout_get_size_params()
403 Overview of changes leading to 0.9.7
404 Sunday, November 21, 2012
405 ====================================
408 HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
410 - Fix Arabic contextual joining using pre-context text.
411 - Fix Sinhala "split matra" mess.
412 - Fix Khmer shaping with broken fonts.
413 - Implement Thai "PUA" shaping for old fonts.
414 - Do NOT route Kharoshthi script through the Indic shaper.
415 - Disable fallback positioning for Indic and Thai shapers.
419 hb-shape / hb-view changes:
421 - Add --text-before and --text-after
422 - Add --bot / --eot / --preserve-default-ignorables
423 - hb-shape --output-format=json
432 HB_BUFFER_FLAGS_DEFAULT
435 HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
437 hb_buffer_set_flags()
438 hb_buffer_get_flags()
440 HB_BUFFER_SERIALIZE_FLAGS
441 hb_buffer_serialize_glyphs()
442 hb_buffer_deserialize_glyphs()
443 hb_buffer_serialize_list_formats()
447 hb_set_get_population()
450 hb_face_[sg]et_glyph_count()
452 hb_segment_properties_t
453 HB_SEGMENT_PROPERTIES_DEFAULT
454 hb_segment_properties_equal()
455 hb_segment_properties_hash()
457 hb_buffer_set_segment_properties()
458 hb_buffer_get_segment_properties()
460 hb_ot_layout_glyph_class_t
461 hb_ot_layout_get_glyph_class()
462 hb_ot_layout_get_glyphs_in_class()
465 hb_shape_plan_create()
466 hb_shape_plan_create_cached()
467 hb_shape_plan_get_empty()
468 hb_shape_plan_reference()
469 hb_shape_plan_destroy()
470 hb_shape_plan_set_user_data()
471 hb_shape_plan_get_user_data()
472 hb_shape_plan_execute()
473 hb_shape_plan_get_shaper()
475 hb_ot_shape_plan_collect_lookups()
480 - Remove "mask" parameter from hb_buffer_add().
481 - Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
482 - hb-set.h API const correction.
483 - Renamed hb_set_min/max() to hb_set_get_min/max().
484 - Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
485 - Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
489 Overview of changes leading to 0.9.6
490 Sunday, November 13, 2012
491 ====================================
493 - Don't clear pre-context text if no new context is provided.
494 - Fix ReverseChainingSubstLookup, which was totally borked.
495 - Adjust output format of hb-shape a bit.
496 - Include config.h.in in-tree. Makes it easier for alternate build systems.
497 - Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
498 - Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
499 - Drop glyphs for all of Unicode Default_Ignorable characters.
503 - Enable 'dlig' and 'mset' features in Arabic shaper.
504 - Implement 'Phags-pa shaping, improve Mongolian.
507 - Decompose Sinhala split matras the way old HarfBuzz / Pango did.
508 - Initial support for Consonant Medials.
509 - Start adding new-style Myanmar shaping.
510 - Make reph and 'pref' logic introspect the font.
511 - Route Meetei-Mayek through the Indic shaper.
512 - Don't apply 'liga' in Indic shaper.
513 - Improve Malayalam pre-base reordering Ra interaction with Chillus.
517 Overview of changes leading to 0.9.5
518 Sunday, October 14, 2012
519 ====================================
521 - Synthetic-GSUB Arabic fallback shaping.
523 - Misc Indic improvements.
525 - Add build system support for pthread.
527 - Imported UCDN for in-tree Unicode callbacks implementation.
529 - Context-aware Arabic joining.
535 hb_feature_to/from-string()
536 hb_buffer_[sg]et_content_type()
540 Overview of changes leading to 0.9.4
541 Tuesday, Sep 03, 2012
542 ====================================
544 - Indic improvements with old-spec Malayalam.
546 - Better fallback glyph positioning, specially with Thai / Lao marks.
548 - Implement dotted-circle insertion.
550 - Better Arabic fallback shaping / ligation.
552 - Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
558 Overview of changes leading to 0.9.3
560 ====================================
562 - Fixed fallback mark positioning for left-to-right text.
564 - Improve mark positioning for the remaining combining classes.
566 - Unbreak Thai and fallback Arabic shaping.
568 - Port Arabic shaper to shape-plan caching.
570 - Use new ICU normalizer functions.
574 Overview of changes leading to 0.9.2
576 ====================================
578 - Over a thousand commits! This is the first major release of HarfBuzz.
580 - HarfBuzz is feature-complete now! It should be in par, or better, than
581 both Pango's shapers and old HarfBuzz / Qt shapers.
583 - New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
585 - Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
586 Sinhala, N'ko, Mongolian, and Mandaic.
588 - New Thai / Lao shaper.
590 - Tibetan / Hangul support in the generic shaper.
592 - Synthetic GDEF support for fonts without a GDEF table.
594 - Fallback mark positioning for fonts without a GPOS table.
596 - Unicode normalization shaping heuristic during glyph mapping.
598 - New experimental Graphite2 backend.
600 - New Uniscribe backend (primarily for testing).
602 - New CoreText backend (primarily for testing).
604 - Major optimization and speedup.
606 - Test suites and testing infrastructure (work in progress).
608 - Greatly improved hb-view cmdline tool.
610 - hb-shape cmdline tool.
612 - Unicode 6.1 support.
614 Summary of API changes:
618 - Users are expected to only include main header files now (ie. hb.h,
619 hb-glib.h, hb-ft.h, ...)
621 - All struct tag names had their initial underscore removed.
622 Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
624 - All set_user_data() functions now take a "replace" boolean parameter.
626 - hb_buffer_create() takes zero arguments now.
627 Use hb_buffer_pre_allocate() to pre-allocate.
629 - hb_buffer_add_utf*() now accept -1 for length parameteres,
630 meaning "nul-terminated".
632 - hb_direction_t enum values changed.
634 - All *_from_string() APIs now take a length parameter to allow for
635 non-nul-terminated strings. A -1 length means "nul-terminated".
637 - Typedef for hb_language_t changed.
639 - hb_get_table_func_t renamed to hb_reference_table_func_t.
641 - hb_ot_layout_table_choose_script()
643 - Various renames in hb-unicode.h.
647 - hb_buffer_guess_properties()
648 Automatically called by hb_shape().
650 - hb_buffer_normalize_glyphs()
652 - hb_tag_from_string()
658 - hb_face_reference_blob()
659 - hb_face_[sg]et_index()
662 - hb_font_get_glyph_name_func_t
663 hb_font_get_glyph_from_name_func_t
664 hb_font_funcs_set_glyph_name_func()
665 hb_font_funcs_set_glyph_from_name_func()
666 hb_font_get_glyph_name()
667 hb_font_get_glyph_from_name()
668 hb_font_glyph_to_string()
669 hb_font_glyph_from_string()
671 - hb_font_set_funcs_data()
673 - hb_ft_font_set_funcs()
674 - hb_ft_font_get_face()
676 - hb-gobject.h (work in progress)
678 - hb_ot_shape_glyphs_closure()
679 hb_ot_layout_substitute_closure_lookup()
685 - hb_unicode_combining_class_t
687 - hb_unicode_compose_func_t
688 hb_unicode_decompose_func_t
689 hb_unicode_decompose_compatibility_func_t
690 hb_unicode_funcs_set_compose_func()
691 hb_unicode_funcs_set_decompose_func()
692 hb_unicode_funcs_set_decompose_compatibility_func()
694 hb_unicode_decompose()
695 hb_unicode_decompose_compatibility()
699 - hb_ft_get_font_funcs()
701 - hb_ot_layout_substitute_start()
702 hb_ot_layout_substitute_lookup()
703 hb_ot_layout_substitute_finish()
704 hb_ot_layout_position_start()
705 hb_ot_layout_position_lookup()
706 hb_ot_layout_position_finish()
710 Overview of changes leading to 0.6.0
712 ====================================
714 - Vertical text support in GPOS
715 - Almost all API entries have unit tests now, under test/
716 - All thread-safety issues are fixed
718 Summary of API changes follows.
725 hb_language_get_default()
726 hb_direction_to_string()
727 hb_direction_from_string()
728 hb_script_get_horizontal_direction()
732 hb_category_t renamed to hb_unicode_general_category_t
735 hb_language_t is a typed pointers now
741 * Use ISO 15924 tags for hb_script_t:
744 hb_script_from_iso15924_tag()
745 hb_script_to_iso15924_tag()
746 hb_script_from_string()
749 HB_SCRIPT_* enum members changed value.
752 * Buffer API streamlined:
756 hb_buffer_set_length()
757 hb_buffer_allocation_successful()
760 hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
761 hb_buffer_add_glyph() renamed to hb_buffer_add()
765 hb_buffer_clear_positions()
768 hb_buffer_get_glyph_infos() takes an out length parameter now
769 hb_buffer_get_glyph_positions() takes an out length parameter now
772 * Blob API streamlined:
776 hb_blob_get_data_writable()
779 hb_blob_create_empty() renamed to hb_blob_get_empty()
784 hb_blob_is_writable()
785 hb_blob_try_writable()
788 hb_blob_create() takes user_data before destroy now
791 * Unicode functions API:
793 o Unicode function vectors can subclass other unicode function vectors now.
794 Unimplemented callbacks in the subclass automatically chainup to the parent.
796 o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
797 take a user_data and its respective destroy callback.
800 hb_unicode_funcs_get_empty()
801 hb_unicode_funcs_get_default()
802 hb_unicode_funcs_get_parent()
805 hb_unicode_funcs_create() now takes a parent_funcs.
807 o Removed func getter functions:
808 hb_unicode_funcs_get_mirroring_func()
809 hb_unicode_funcs_get_general_category_func()
810 hb_unicode_funcs_get_script_func()
811 hb_unicode_funcs_get_combining_class_func()
812 hb_unicode_funcs_get_eastasian_width_func()
818 hb_face_get_table() renamed to hb_face_reference_table()
819 hb_face_create_for_data() renamed to hb_face_create()
822 hb_face_create_for_tables() takes user_data before destroy now
823 hb_face_reference_table() returns empty blob instead of NULL
824 hb_get_table_func_t accepts the face as first parameter now
828 o Fonts can subclass other fonts now. Unimplemented callbacks in the
829 subclass automatically chainup to the parent. When chaining up,
830 scale is adjusted if the parent font has a different scale.
832 o All hb_font_funcs_t callbacks take a user_data now. Their setters
833 take a user_data and its respective destroy callback.
837 hb_font_funcs_get_empty()
838 hb_font_create_sub_font()
842 hb_font_unset_funcs()
844 o Removed func getter functions:
845 hb_font_funcs_get_glyph_func()
846 hb_font_funcs_get_glyph_advance_func()
847 hb_font_funcs_get_glyph_extents_func()
848 hb_font_funcs_get_contour_point_func()
849 hb_font_funcs_get_kerning_func()
852 hb_font_create() takes a face and references it now
853 hb_font_set_funcs() takes user_data before destroy now
854 hb_font_set_scale() accepts signed integers now
855 hb_font_get_contour_point_func_t now takes glyph first, then point_index
856 hb_font_get_glyph_func_t returns a success boolean now
859 * Changed object model:
861 o All object types have a _get_empty() now:
863 hb_buffer_get_empty()
866 hb_font_funcs_get_empty()
867 hb_unicode_funcs_get_empty()
869 o Added _set_user_data() and _get_user_data() for all object types:
870 hb_blob_get_user_data()
871 hb_blob_set_user_data()
872 hb_buffer_get_user_data()
873 hb_buffer_set_user_data()
874 hb_face_get_user_data()
875 hb_face_set_user_data()
876 hb_font_funcs_get_user_data()
877 hb_font_funcs_set_user_data()
878 hb_font_get_user_data()
879 hb_font_set_user_data()
880 hb_unicode_funcs_get_user_data()
881 hb_unicode_funcs_set_user_data()
883 o Removed the _get_reference_count() from all object types:
884 hb_blob_get_reference_count()
885 hb_buffer_get_reference_count()
886 hb_face_get_reference_count()
887 hb_font_funcs_get_reference_count()
888 hb_font_get_reference_count()
889 hb_unicode_funcs_get_reference_count()
891 o Added _make_immutable() and _is_immutable() for all object types except for buffer:
892 hb_blob_make_immutable()
893 hb_blob_is_immutable()
894 hb_face_make_immutable()
895 hb_face_is_immutable()
898 * Changed API for vertical text support
900 o The following callbacks where removed:
901 hb_font_get_glyph_advance_func_t
902 hb_font_get_kerning_func_t
904 o The following new callbacks added instead:
905 hb_font_get_glyph_h_advance_func_t
906 hb_font_get_glyph_v_advance_func_t
907 hb_font_get_glyph_h_origin_func_t
908 hb_font_get_glyph_v_origin_func_t
909 hb_font_get_glyph_h_kerning_func_t
910 hb_font_get_glyph_v_kerning_func_t
912 o The following API removed as such:
913 hb_font_funcs_set_glyph_advance_func()
914 hb_font_funcs_set_kerning_func()
915 hb_font_get_glyph_advance()
916 hb_font_get_kerning()
918 o New API added instead:
919 hb_font_funcs_set_glyph_h_advance_func()
920 hb_font_funcs_set_glyph_v_advance_func()
921 hb_font_funcs_set_glyph_h_origin_func()
922 hb_font_funcs_set_glyph_v_origin_func()
923 hb_font_funcs_set_glyph_h_kerning_func()
924 hb_font_funcs_set_glyph_v_kerning_func()
925 hb_font_get_glyph_h_advance()
926 hb_font_get_glyph_v_advance()
927 hb_font_get_glyph_h_origin()
928 hb_font_get_glyph_v_origin()
929 hb_font_get_glyph_h_kerning()
930 hb_font_get_glyph_v_kerning()
932 o The following higher-leve API added for convenience:
933 hb_font_get_glyph_advance_for_direction()
934 hb_font_get_glyph_origin_for_direction()
935 hb_font_add_glyph_origin_for_direction()
936 hb_font_subtract_glyph_origin_for_direction()
937 hb_font_get_glyph_kerning_for_direction()
938 hb_font_get_glyph_extents_for_origin()
939 hb_font_get_glyph_contour_point_for_origin()
942 * OpenType Layout API:
945 hb_ot_layout_position_start()
946 hb_ot_layout_substitute_start()
947 hb_ot_layout_substitute_finish()
953 hb_glib_script_to_script()
954 hb_glib_script_from_script()
955 hb_icu_script_to_script()
956 hb_icu_script_from_script()