1 Overview of changes leading to 0.9.24
2 Tuesday, November 13, 2013
3 =====================================
5 - Misc compiler warning fixes with clang.
6 - No functional changes.
9 Overview of changes leading to 0.9.23
10 Monday, October 28, 2013
11 =====================================
13 - "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
14 - Fix (Chain)Context recursion with non-monotone lookup positions.
15 - Misc Indic bug fixes.
16 - New Javanese / Buginese shaping, similar to Windows 8.1.
19 Overview of changes leading to 0.9.22
20 Thursday, October 3, 2013
21 =====================================
23 - Fix use-after-end-of-scope in hb_language_from_string().
24 - Fix hiding of default_ignorables if font doesn't have space glyph.
25 - Protect against out-of-range lookup indices.
29 * Added hb_ot_layout_table_get_lookup_count()
32 Overview of changes leading to 0.9.21
33 Monday, September 16, 2013
34 =====================================
36 - Rename gobject-introspection library name from harfbuzz to HarfBuzz.
37 - Remove (long disabled) hb-old and hb-icu-le test shapers.
38 - Misc gtk-doc and gobject-introspection annotations.
42 * Add HB_SET_VALUE_INVALID
44 Overview of changes leading to 0.9.20
45 Thursday, August 29, 2013
46 =====================================
49 - Misc substitute_closure() fixes.
53 - gtk-doc boilerplate integrated. Docs are built now, but
54 contain no contents. By next release hopefully we have
55 some content in. Enable using --enable-gtk-doc.
57 GObject and Introspection:
58 - Added harfbuzz-gobject library (hb-gobject.h) that has type
59 bindings for all HarfBuzz objects and enums. Enable using
61 - Added gobject-introspection boilerplate. Nothing useful
62 right now. Work in progress. Gets enabled automatically if
63 --with-gobject is used. Override with --disable-introspection.
66 - Apply 'mark' in Myanmar shaper.
67 - Don't apply 'dlig' by default.
70 - Support user features.
71 - Fix loading of fonts that are also installed on the system.
72 - Fix shaping of Arabic Presentation Forms.
73 - Fix build with wide chars.
76 - Support user features.
79 - hb_face_t code moved to hb-face.h / hb-face.cc.
80 - Added hb-deprecated.h.
83 - Added HB_DISABLE_DEPRECATED.
84 - Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
85 HB_SCRIPT_CANADIAN_SYLLABICS.
86 - Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
87 HB_BUFFER_FLAG_DEFAULT.
88 - Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
89 HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
92 Overview of changes leading to 0.9.19
93 Tuesday, July 16, 2013
94 =====================================
97 - Better handling of multiple variation selectors in a row.
98 - Pass on variation selector to GSUB if not consumed by cmap.
99 - Fix undefined memory access.
100 - Add Javanese config to Indic shaper.
103 Overview of changes leading to 0.9.18
104 Tuesday, May 28, 2013
105 =====================================
109 - All unneeded code is all disabled by default,
111 - Uniscribe and CoreText shapers can be enabled with their --with options,
113 - icu_le and old shapers cannot be enabled for now,
115 - glib, freetype, and cairo will be detected automatically.
116 They can be force on/off'ed with their --with options,
118 - icu and graphite2 are default off, can be enabled with their --with
121 Moreover, ICU support is now build into a separate library:
122 libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
123 Distros can enable ICU now without every application on earth
124 getting linked to via libharfbuzz.so.
126 For distros I recommend that they make sure they are building --with-glib
127 --with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
128 And package harfbuzz and harfbuzz-icu separately.
131 Overview of changes leading to 0.9.17
133 =====================================
136 - Fix bug in hb_set_get_min().
137 - Fix regression with Arabic mark positioning / width-zeroing.
139 Overview of changes leading to 0.9.16
140 Friday, April 19, 2013
141 =====================================
143 - Major speedup in OpenType lookup processing. With the Amiri
144 Arabic font, this release is over 3x faster than previous
145 release. All scripts / languages should see this speedup.
147 - New --num-iterations option for hb-shape / hb-view; useful for
150 Overview of changes leading to 0.9.15
151 Friday, April 05, 2013
152 =====================================
155 - Fix crasher in graphite2 shaper.
156 - Fix Arabic mark width zeroing regression.
157 - Don't compose Hangul jamo into Unicode syllables.
160 Overview of changes leading to 0.9.14
161 Thursday, March 21, 2013
162 =====================================
165 - Fix time-consuming sanitize with malicious fonts.
166 - Implement hb_buffer_deserialize_glyphs() for both json and text.
167 - Do not ignore Hangul filler characters.
169 * Fix Malayalam pre-base reordering interaction with post-forms.
170 * Further adjust ZWJ handling. Should fix known regressions from
174 Overview of changes leading to 0.9.13
175 Thursday, February 25, 2013
176 =====================================
179 - Ngapi HarfBuzz Hackfest in London (February 2013):
180 * Fixed all known Indic bugs,
181 * New Win8-style Myanmar shaper,
182 * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
183 * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
184 matching GSUB/GPOS lookups,
185 * Fix 'Phags-Pa U+A872 shaping,
186 * Fix partial disabling of default-on features,
187 * Allow disabling of TrueType kerning.
188 - Fix possible crasher with broken fonts with overlapping tables.
189 - Removed generated files from git again. So, one needs ragel to
190 bootstrap from the git tree.
193 - hb_shape() and related APIs now abort if buffer direction is
194 HB_DIRECTION_INVALID. Previously, hb_shape() was calling
195 hb_buffer_guess_segment_properties() on the buffer before
196 shaping. The heuristics in that function are fragile. If the
197 user really wants the old behvaior, they can call that function
198 right before calling hb_shape() to get the old behavior.
199 - hb_blob_create_sub_blob() always creates sub-blob with
200 HB_MEMORY_MODE_READONLY. See comments for the reason.
203 Overview of changes leading to 0.9.12
204 Thursday, January 18, 2013
205 =====================================
207 - Build fixes for Sun compiler.
210 Overview of changes leading to 0.9.11
211 Thursday, January 10, 2013
212 =====================================
215 - Fix GPOS mark attachment with null Anchor offsets.
216 - [Indic] Fix old-spec reordering of viramas if sequence ends in one.
217 - Fix multi-threaded shaper data creation crash.
218 - Add atomic ops for Solaris.
221 - Rename hb_buffer_clear() to hb_buffer_clear_contents().
224 Overview of changes leading to 0.9.10
225 Thursday, January 3, 2013
226 =====================================
228 - [Indic] Fixed rendering of Malayalam dot-reph
229 - Updated OT language tags.
230 - Updated graphite2 backend.
231 - Improved hb_ot_layout_get_size_params() logic.
232 - Improve hb-shape/hb-view help output.
233 - Fixed hb-set.h implementation to not crash.
234 - Fixed various issues with hb_ot_layout_collect_lookups().
235 - Various build fixes.
239 hb_graphite2_face_get_gr_face()
240 hb_graphite2_font_get_gr_font()
241 hb_coretext_face_get_cg_font()
245 hb_ot_layout_get_size_params()
248 Overview of changes leading to 0.9.9
249 Wednesday, December 5, 2012
250 ====================================
252 - Fix build on Windows.
253 - Minor improvements.
256 Overview of changes leading to 0.9.8
257 Tuesday, December 4, 2012
258 ====================================
261 - Actually implement hb_shape_plan_get_shaper ().
262 - Make UCDB data tables const.
263 - Lots of internal refactoring in OTLayout tables.
264 - Flesh out hb_ot_layout_lookup_collect_glyphs().
268 hb_ot_layout_collect_lookups()
269 hb_ot_layout_get_size_params()
272 Overview of changes leading to 0.9.7
273 Sunday, November 21, 2012
274 ====================================
277 HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
279 - Fix Arabic contextual joining using pre-context text.
280 - Fix Sinhala "split matra" mess.
281 - Fix Khmer shaping with broken fonts.
282 - Implement Thai "PUA" shaping for old fonts.
283 - Do NOT route Kharoshthi script through the Indic shaper.
284 - Disable fallback positioning for Indic and Thai shapers.
288 hb-shape / hb-view changes:
290 - Add --text-before and --text-after
291 - Add --bot / --eot / --preserve-default-ignorables
292 - hb-shape --output-format=json
301 HB_BUFFER_FLAGS_DEFAULT
304 HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
306 hb_buffer_set_flags()
307 hb_buffer_get_flags()
309 HB_BUFFER_SERIALIZE_FLAGS
310 hb_buffer_serialize_glyphs()
311 hb_buffer_deserialize_glyphs()
312 hb_buffer_serialize_list_formats()
316 hb_set_get_population()
319 hb_face_[sg]et_glyph_count()
321 hb_segment_properties_t
322 HB_SEGMENT_PROPERTIES_DEFAULT
323 hb_segment_properties_equal()
324 hb_segment_properties_hash()
326 hb_buffer_set_segment_properties()
327 hb_buffer_get_segment_properties()
329 hb_ot_layout_glyph_class_t
330 hb_ot_layout_get_glyph_class()
331 hb_ot_layout_get_glyphs_in_class()
334 hb_shape_plan_create()
335 hb_shape_plan_create_cached()
336 hb_shape_plan_get_empty()
337 hb_shape_plan_reference()
338 hb_shape_plan_destroy()
339 hb_shape_plan_set_user_data()
340 hb_shape_plan_get_user_data()
341 hb_shape_plan_execute()
342 hb_shape_plan_get_shaper()
344 hb_ot_shape_plan_collect_lookups()
349 - Remove "mask" parameter from hb_buffer_add().
350 - Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
351 - hb-set.h API const correction.
352 - Renamed hb_set_min/max() to hb_set_get_min/max().
353 - Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
354 - Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
358 Overview of changes leading to 0.9.6
359 Sunday, November 13, 2012
360 ====================================
362 - Don't clear pre-context text if no new context is provided.
363 - Fix ReverseChainingSubstLookup, which was totally borked.
364 - Adjust output format of hb-shape a bit.
365 - Include config.h.in in-tree. Makes it easier for alternate build systems.
366 - Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
367 - Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
368 - Drop glyphs for all of Unicode Default_Ignorable characters.
372 - Enable 'dlig' and 'mset' features in Arabic shaper.
373 - Implement 'Phags-pa shaping, improve Mongolian.
376 - Decompose Sinhala split matras the way old HarfBuzz / Pango did.
377 - Initial support for Consonant Medials.
378 - Start adding new-style Myanmar shaping.
379 - Make reph and 'pref' logic introspect the font.
380 - Route Meetei-Mayek through the Indic shaper.
381 - Don't apply 'liga' in Indic shaper.
382 - Improve Malayalam pre-base reordering Ra interaction with Chillus.
386 Overview of changes leading to 0.9.5
387 Sunday, October 14, 2012
388 ====================================
390 - Synthetic-GSUB Arabic fallback shaping.
392 - Misc Indic improvements.
394 - Add build system support for pthread.
396 - Imported UCDN for in-tree Unicode callbacks implementation.
398 - Context-aware Arabic joining.
404 hb_feature_to/from-string()
405 hb_buffer_[sg]et_content_type()
409 Overview of changes leading to 0.9.4
410 Tuesday, Sep 03, 2012
411 ====================================
413 - Indic improvements with old-spec Malayalam.
415 - Better fallback glyph positioning, specially with Thai / Lao marks.
417 - Implement dotted-circle insertion.
419 - Better Arabic fallback shaping / ligation.
421 - Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
427 Overview of changes leading to 0.9.3
429 ====================================
431 - Fixed fallback mark positioning for left-to-right text.
433 - Improve mark positioning for the remaining combining classes.
435 - Unbreak Thai and fallback Arabic shaping.
437 - Port Arabic shaper to shape-plan caching.
439 - Use new ICU normalizer functions.
443 Overview of changes leading to 0.9.2
445 ====================================
447 - Over a thousand commits! This is the first major release of HarfBuzz.
449 - HarfBuzz is feature-complete now! It should be in par, or better, than
450 both Pango's shapers and old HarfBuzz / Qt shapers.
452 - New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
454 - Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
455 Sinhala, N'ko, Mongolian, and Mandaic.
457 - New Thai / Lao shaper.
459 - Tibetan / Hangul support in the generic shaper.
461 - Synthetic GDEF support for fonts without a GDEF table.
463 - Fallback mark positioning for fonts without a GPOS table.
465 - Unicode normalization shaping heuristic during glyph mapping.
467 - New experimental Graphite2 backend.
469 - New Uniscribe backend (primarily for testing).
471 - New CoreText backend (primarily for testing).
473 - Major optimization and speedup.
475 - Test suites and testing infrastructure (work in progress).
477 - Greatly improved hb-view cmdline tool.
479 - hb-shape cmdline tool.
481 - Unicode 6.1 support.
483 Summary of API changes:
487 - Users are expected to only include main header files now (ie. hb.h,
488 hb-glib.h, hb-ft.h, ...)
490 - All struct tag names had their initial underscore removed.
491 Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
493 - All set_user_data() functions now take a "replace" boolean parameter.
495 - hb_buffer_create() takes zero arguments now.
496 Use hb_buffer_pre_allocate() to pre-allocate.
498 - hb_buffer_add_utf*() now accept -1 for length parameteres,
499 meaning "nul-terminated".
501 - hb_direction_t enum values changed.
503 - All *_from_string() APIs now take a length parameter to allow for
504 non-nul-terminated strings. A -1 length means "nul-terminated".
506 - Typedef for hb_language_t changed.
508 - hb_get_table_func_t renamed to hb_reference_table_func_t.
510 - hb_ot_layout_table_choose_script()
512 - Various renames in hb-unicode.h.
516 - hb_buffer_guess_properties()
517 Automatically called by hb_shape().
519 - hb_buffer_normalize_glyphs()
521 - hb_tag_from_string()
527 - hb_face_reference_blob()
528 - hb_face_[sg]et_index()
531 - hb_font_get_glyph_name_func_t
532 hb_font_get_glyph_from_name_func_t
533 hb_font_funcs_set_glyph_name_func()
534 hb_font_funcs_set_glyph_from_name_func()
535 hb_font_get_glyph_name()
536 hb_font_get_glyph_from_name()
537 hb_font_glyph_to_string()
538 hb_font_glyph_from_string()
540 - hb_font_set_funcs_data()
542 - hb_ft_font_set_funcs()
543 - hb_ft_font_get_face()
545 - hb-gobject.h (work in progress)
547 - hb_ot_shape_glyphs_closure()
548 hb_ot_layout_substitute_closure_lookup()
554 - hb_unicode_combining_class_t
556 - hb_unicode_compose_func_t
557 hb_unicode_decompose_func_t
558 hb_unicode_decompose_compatibility_func_t
559 hb_unicode_funcs_set_compose_func()
560 hb_unicode_funcs_set_decompose_func()
561 hb_unicode_funcs_set_decompose_compatibility_func()
563 hb_unicode_decompose()
564 hb_unicode_decompose_compatibility()
568 - hb_ft_get_font_funcs()
570 - hb_ot_layout_substitute_start()
571 hb_ot_layout_substitute_lookup()
572 hb_ot_layout_substitute_finish()
573 hb_ot_layout_position_start()
574 hb_ot_layout_position_lookup()
575 hb_ot_layout_position_finish()
579 Overview of changes leading to 0.6.0
581 ====================================
583 - Vertical text support in GPOS
584 - Almost all API entries have unit tests now, under test/
585 - All thread-safety issues are fixed
587 Summary of API changes follows.
594 hb_language_get_default()
595 hb_direction_to_string()
596 hb_direction_from_string()
597 hb_script_get_horizontal_direction()
601 hb_category_t renamed to hb_unicode_general_category_t
604 hb_language_t is a typed pointers now
610 * Use ISO 15924 tags for hb_script_t:
613 hb_script_from_iso15924_tag()
614 hb_script_to_iso15924_tag()
615 hb_script_from_string()
618 HB_SCRIPT_* enum members changed value.
621 * Buffer API streamlined:
625 hb_buffer_set_length()
626 hb_buffer_allocation_successful()
629 hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
630 hb_buffer_add_glyph() renamed to hb_buffer_add()
634 hb_buffer_clear_positions()
637 hb_buffer_get_glyph_infos() takes an out length parameter now
638 hb_buffer_get_glyph_positions() takes an out length parameter now
641 * Blob API streamlined:
645 hb_blob_get_data_writable()
648 hb_blob_create_empty() renamed to hb_blob_get_empty()
653 hb_blob_is_writable()
654 hb_blob_try_writable()
657 hb_blob_create() takes user_data before destroy now
660 * Unicode functions API:
662 o Unicode function vectors can subclass other unicode function vectors now.
663 Unimplemented callbacks in the subclass automatically chainup to the parent.
665 o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
666 take a user_data and its respective destroy callback.
669 hb_unicode_funcs_get_empty()
670 hb_unicode_funcs_get_default()
671 hb_unicode_funcs_get_parent()
674 hb_unicode_funcs_create() now takes a parent_funcs.
676 o Removed func getter functions:
677 hb_unicode_funcs_get_mirroring_func()
678 hb_unicode_funcs_get_general_category_func()
679 hb_unicode_funcs_get_script_func()
680 hb_unicode_funcs_get_combining_class_func()
681 hb_unicode_funcs_get_eastasian_width_func()
687 hb_face_get_table() renamed to hb_face_reference_table()
688 hb_face_create_for_data() renamed to hb_face_create()
691 hb_face_create_for_tables() takes user_data before destroy now
692 hb_face_reference_table() returns empty blob instead of NULL
693 hb_get_table_func_t accepts the face as first parameter now
697 o Fonts can subclass other fonts now. Unimplemented callbacks in the
698 subclass automatically chainup to the parent. When chaining up,
699 scale is adjusted if the parent font has a different scale.
701 o All hb_font_funcs_t callbacks take a user_data now. Their setters
702 take a user_data and its respective destroy callback.
706 hb_font_funcs_get_empty()
707 hb_font_create_sub_font()
711 hb_font_unset_funcs()
713 o Removed func getter functions:
714 hb_font_funcs_get_glyph_func()
715 hb_font_funcs_get_glyph_advance_func()
716 hb_font_funcs_get_glyph_extents_func()
717 hb_font_funcs_get_contour_point_func()
718 hb_font_funcs_get_kerning_func()
721 hb_font_create() takes a face and references it now
722 hb_font_set_funcs() takes user_data before destroy now
723 hb_font_set_scale() accepts signed integers now
724 hb_font_get_contour_point_func_t now takes glyph first, then point_index
725 hb_font_get_glyph_func_t returns a success boolean now
728 * Changed object model:
730 o All object types have a _get_empty() now:
732 hb_buffer_get_empty()
735 hb_font_funcs_get_empty()
736 hb_unicode_funcs_get_empty()
738 o Added _set_user_data() and _get_user_data() for all object types:
739 hb_blob_get_user_data()
740 hb_blob_set_user_data()
741 hb_buffer_get_user_data()
742 hb_buffer_set_user_data()
743 hb_face_get_user_data()
744 hb_face_set_user_data()
745 hb_font_funcs_get_user_data()
746 hb_font_funcs_set_user_data()
747 hb_font_get_user_data()
748 hb_font_set_user_data()
749 hb_unicode_funcs_get_user_data()
750 hb_unicode_funcs_set_user_data()
752 o Removed the _get_reference_count() from all object types:
753 hb_blob_get_reference_count()
754 hb_buffer_get_reference_count()
755 hb_face_get_reference_count()
756 hb_font_funcs_get_reference_count()
757 hb_font_get_reference_count()
758 hb_unicode_funcs_get_reference_count()
760 o Added _make_immutable() and _is_immutable() for all object types except for buffer:
761 hb_blob_make_immutable()
762 hb_blob_is_immutable()
763 hb_face_make_immutable()
764 hb_face_is_immutable()
767 * Changed API for vertical text support
769 o The following callbacks where removed:
770 hb_font_get_glyph_advance_func_t
771 hb_font_get_kerning_func_t
773 o The following new callbacks added instead:
774 hb_font_get_glyph_h_advance_func_t
775 hb_font_get_glyph_v_advance_func_t
776 hb_font_get_glyph_h_origin_func_t
777 hb_font_get_glyph_v_origin_func_t
778 hb_font_get_glyph_h_kerning_func_t
779 hb_font_get_glyph_v_kerning_func_t
781 o The following API removed as such:
782 hb_font_funcs_set_glyph_advance_func()
783 hb_font_funcs_set_kerning_func()
784 hb_font_get_glyph_advance()
785 hb_font_get_kerning()
787 o New API added instead:
788 hb_font_funcs_set_glyph_h_advance_func()
789 hb_font_funcs_set_glyph_v_advance_func()
790 hb_font_funcs_set_glyph_h_origin_func()
791 hb_font_funcs_set_glyph_v_origin_func()
792 hb_font_funcs_set_glyph_h_kerning_func()
793 hb_font_funcs_set_glyph_v_kerning_func()
794 hb_font_get_glyph_h_advance()
795 hb_font_get_glyph_v_advance()
796 hb_font_get_glyph_h_origin()
797 hb_font_get_glyph_v_origin()
798 hb_font_get_glyph_h_kerning()
799 hb_font_get_glyph_v_kerning()
801 o The following higher-leve API added for convenience:
802 hb_font_get_glyph_advance_for_direction()
803 hb_font_get_glyph_origin_for_direction()
804 hb_font_add_glyph_origin_for_direction()
805 hb_font_subtract_glyph_origin_for_direction()
806 hb_font_get_glyph_kerning_for_direction()
807 hb_font_get_glyph_extents_for_origin()
808 hb_font_get_glyph_contour_point_for_origin()
811 * OpenType Layout API:
814 hb_ot_layout_position_start()
815 hb_ot_layout_substitute_start()
816 hb_ot_layout_substitute_finish()
822 hb_glib_script_to_script()
823 hb_glib_script_from_script()
824 hb_icu_script_to_script()
825 hb_icu_script_from_script()