1 Overview of changes leading to 0.9.17
3 =====================================
6 - Fix bug in hb_set_get_min().
7 - Fix regression with Arabic mark positioning / width-zeroing.
9 Overview of changes leading to 0.9.16
10 Friday, April 19, 2013
11 =====================================
13 - Major speedup in OpenType lookup processing. With the Amiri
14 Arabic font, this release is over 3x faster than previous
15 release. All scripts / languages should see this speedup.
17 - New --num-iterations option for hb-shape / hb-view; useful for
20 Overview of changes leading to 0.9.15
21 Friday, April 05, 2013
22 =====================================
25 - Fix crasher in graphite2 shaper.
26 - Fix Arabic mark width zeroing regression.
27 - Don't compose Hangul jamo into Unicode syllables.
30 Overview of changes leading to 0.9.14
31 Thursday, March 21, 2013
32 =====================================
35 - Fix time-consuming sanitize with malicious fonts.
36 - Implement hb_buffer_deserialize_glyphs() for both json and text.
37 - Do not ignore Hangul filler characters.
39 * Fix Malayalam pre-base reordering interaction with post-forms.
40 * Further adjust ZWJ handling. Should fix known regressions from
44 Overview of changes leading to 0.9.13
45 Thursday, February 25, 2013
46 =====================================
49 - Ngapi HarfBuzz Hackfest in London (February 2013):
50 * Fixed all known Indic bugs,
51 * New Win8-style Myanmar shaper,
52 * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
53 * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
54 matching GSUB/GPOS lookups,
55 * Fix 'Phags-Pa U+A872 shaping,
56 * Fix partial disabling of default-on features,
57 * Allow disabling of TrueType kerning.
58 - Fix possible crasher with broken fonts with overlapping tables.
59 - Removed generated files from git again. So, one needs ragel to
60 bootstrap from the git tree.
63 - hb_shape() and related APIs now abort if buffer direction is
64 HB_DIRECTION_INVALID. Previously, hb_shape() was calling
65 hb_buffer_guess_segment_properties() on the buffer before
66 shaping. The heuristics in that function are fragile. If the
67 user really wants the old behvaior, they can call that function
68 right before calling hb_shape() to get the old behavior.
69 - hb_blob_create_sub_blob() always creates sub-blob with
70 HB_MEMORY_MODE_READONLY. See comments for the reason.
73 Overview of changes leading to 0.9.12
74 Thursday, January 18, 2013
75 =====================================
77 - Build fixes for Sun compiler.
80 Overview of changes leading to 0.9.11
81 Thursday, January 10, 2013
82 =====================================
85 - Fix GPOS mark attachment with null Anchor offsets.
86 - [Indic] Fix old-spec reordering of viramas if sequence ends in one.
87 - Fix multi-threaded shaper data creation crash.
88 - Add atomic ops for Solaris.
91 - Rename hb_buffer_clear() to hb_buffer_clear_contents().
94 Overview of changes leading to 0.9.10
95 Thursday, January 3, 2013
96 =====================================
98 - [Indic] Fixed rendering of Malayalam dot-reph
99 - Updated OT language tags.
100 - Updated graphite2 backend.
101 - Improved hb_ot_layout_get_size_params() logic.
102 - Improve hb-shape/hb-view help output.
103 - Fixed hb-set.h implementation to not crash.
104 - Fixed various issues with hb_ot_layout_collect_lookups().
105 - Various build fixes.
109 hb_graphite2_face_get_gr_face()
110 hb_graphite2_font_get_gr_font()
111 hb_coretext_face_get_cg_font()
115 hb_ot_layout_get_size_params()
118 Overview of changes leading to 0.9.9
119 Wednesday, December 5, 2012
120 ====================================
122 - Fix build on Windows.
123 - Minor improvements.
126 Overview of changes leading to 0.9.8
127 Tuesday, December 4, 2012
128 ====================================
131 - Actually implement hb_shape_plan_get_shaper ().
132 - Make UCDB data tables const.
133 - Lots of internal refactoring in OTLayout tables.
134 - Flesh out hb_ot_layout_lookup_collect_glyphs().
138 hb_ot_layout_collect_lookups()
139 hb_ot_layout_get_size_params()
142 Overview of changes leading to 0.9.7
143 Sunday, November 21, 2012
144 ====================================
147 HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
149 - Fix Arabic contextual joining using pre-context text.
150 - Fix Sinhala "split matra" mess.
151 - Fix Khmer shaping with broken fonts.
152 - Implement Thai "PUA" shaping for old fonts.
153 - Do NOT route Kharoshthi script through the Indic shaper.
154 - Disable fallback positioning for Indic and Thai shapers.
158 hb-shape / hb-view changes:
160 - Add --text-before and --text-after
161 - Add --bot / --eot / --preserve-default-ignorables
162 - hb-shape --output-format=json
171 HB_BUFFER_FLAGS_DEFAULT
174 HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
176 hb_buffer_set_flags()
177 hb_buffer_get_flags()
179 HB_BUFFER_SERIALIZE_FLAGS
180 hb_buffer_serialize_glyphs()
181 hb_buffer_deserialize_glyphs()
182 hb_buffer_serialize_list_formats()
186 hb_set_get_population()
189 hb_face_[sg]et_glyph_count()
191 hb_segment_properties_t
192 HB_SEGMENT_PROPERTIES_DEFAULT
193 hb_segment_properties_equal()
194 hb_segment_properties_hash()
196 hb_buffer_set_segment_properties()
197 hb_buffer_get_segment_properties()
199 hb_ot_layout_glyph_class_t
200 hb_ot_layout_get_glyph_class()
201 hb_ot_layout_get_glyphs_in_class()
204 hb_shape_plan_create()
205 hb_shape_plan_create_cached()
206 hb_shape_plan_get_empty()
207 hb_shape_plan_reference()
208 hb_shape_plan_destroy()
209 hb_shape_plan_set_user_data()
210 hb_shape_plan_get_user_data()
211 hb_shape_plan_execute()
212 hb_shape_plan_get_shaper()
214 hb_ot_shape_plan_collect_lookups()
219 - Remove "mask" parameter from hb_buffer_add().
220 - Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
221 - hb-set.h API const correction.
222 - Renamed hb_set_min/max() to hb_set_get_min/max().
223 - Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
224 - Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
228 Overview of changes leading to 0.9.6
229 Sunday, November 13, 2012
230 ====================================
232 - Don't clear pre-context text if no new context is provided.
233 - Fix ReverseChainingSubstLookup, which was totally borked.
234 - Adjust output format of hb-shape a bit.
235 - Include config.h.in in-tree. Makes it easier for alternate build systems.
236 - Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
237 - Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
238 - Drop glyphs for all of Unicode Default_Ignorable characters.
242 - Enable 'dlig' and 'mset' features in Arabic shaper.
243 - Implement 'Phags-pa shaping, improve Mongolian.
246 - Decompose Sinhala split matras the way old HarfBuzz / Pango did.
247 - Initial support for Consonant Medials.
248 - Start adding new-style Myanmar shaping.
249 - Make reph and 'pref' logic introspect the font.
250 - Route Meetei-Mayek through the Indic shaper.
251 - Don't apply 'liga' in Indic shaper.
252 - Improve Malayalam pre-base reordering Ra interaction with Chillus.
256 Overview of changes leading to 0.9.5
257 Sunday, October 14, 2012
258 ====================================
260 - Synthetic-GSUB Arabic fallback shaping.
262 - Misc Indic improvements.
264 - Add build system support for pthread.
266 - Imported UCDN for in-tree Unicode callbacks implementation.
268 - Context-aware Arabic joining.
274 hb_feature_to/from-string()
275 hb_buffer_[sg]et_content_type()
279 Overview of changes leading to 0.9.4
280 Tuesday, Sep 03, 2012
281 ====================================
283 - Indic improvements with old-spec Malayalam.
285 - Better fallback glyph positioning, specially with Thai / Lao marks.
287 - Implement dotted-circle insertion.
289 - Better Arabic fallback shaping / ligation.
291 - Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
297 Overview of changes leading to 0.9.3
299 ====================================
301 - Fixed fallback mark positioning for left-to-right text.
303 - Improve mark positioning for the remaining combining classes.
305 - Unbreak Thai and fallback Arabic shaping.
307 - Port Arabic shaper to shape-plan caching.
309 - Use new ICU normalizer functions.
313 Overview of changes leading to 0.9.2
315 ====================================
317 - Over a thousand commits! This is the first major release of HarfBuzz.
319 - HarfBuzz is feature-complete now! It should be in par, or better, than
320 both Pango's shapers and old HarfBuzz / Qt shapers.
322 - New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
324 - Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
325 Sinhala, N'ko, Mongolian, and Mandaic.
327 - New Thai / Lao shaper.
329 - Tibetan / Hangul support in the generic shaper.
331 - Synthetic GDEF support for fonts without a GDEF table.
333 - Fallback mark positioning for fonts without a GPOS table.
335 - Unicode normalization shaping heuristic during glyph mapping.
337 - New experimental Graphite2 backend.
339 - New Uniscribe backend (primarily for testing).
341 - New CoreText backend (primarily for testing).
343 - Major optimization and speedup.
345 - Test suites and testing infrastructure (work in progress).
347 - Greatly improved hb-view cmdline tool.
349 - hb-shape cmdline tool.
351 - Unicode 6.1 support.
353 Summary of API changes:
357 - Users are expected to only include main header files now (ie. hb.h,
358 hb-glib.h, hb-ft.h, ...)
360 - All struct tag names had their initial underscore removed.
361 Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
363 - All set_user_data() functions now take a "replace" boolean parameter.
365 - hb_buffer_create() takes zero arguments now.
366 Use hb_buffer_pre_allocate() to pre-allocate.
368 - hb_buffer_add_utf*() now accept -1 for length parameteres,
369 meaning "nul-terminated".
371 - hb_direction_t enum values changed.
373 - All *_from_string() APIs now take a length parameter to allow for
374 non-nul-terminated strings. A -1 length means "nul-terminated".
376 - Typedef for hb_language_t changed.
378 - hb_get_table_func_t renamed to hb_reference_table_func_t.
380 - hb_ot_layout_table_choose_script()
382 - Various renames in hb-unicode.h.
386 - hb_buffer_guess_properties()
387 Automatically called by hb_shape().
389 - hb_buffer_normalize_glyphs()
391 - hb_tag_from_string()
397 - hb_face_reference_blob()
398 - hb_face_[sg]et_index()
401 - hb_font_get_glyph_name_func_t
402 hb_font_get_glyph_from_name_func_t
403 hb_font_funcs_set_glyph_name_func()
404 hb_font_funcs_set_glyph_from_name_func()
405 hb_font_get_glyph_name()
406 hb_font_get_glyph_from_name()
407 hb_font_glyph_to_string()
408 hb_font_glyph_from_string()
410 - hb_font_set_funcs_data()
412 - hb_ft_font_set_funcs()
413 - hb_ft_font_get_face()
415 - hb-gobject.h (work in progress)
417 - hb_ot_shape_glyphs_closure()
418 hb_ot_layout_substitute_closure_lookup()
424 - hb_unicode_combining_class_t
426 - hb_unicode_compose_func_t
427 hb_unicode_decompose_func_t
428 hb_unicode_decompose_compatibility_func_t
429 hb_unicode_funcs_set_compose_func()
430 hb_unicode_funcs_set_decompose_func()
431 hb_unicode_funcs_set_decompose_compatibility_func()
433 hb_unicode_decompose()
434 hb_unicode_decompose_compatibility()
438 - hb_ft_get_font_funcs()
440 - hb_ot_layout_substitute_start()
441 hb_ot_layout_substitute_lookup()
442 hb_ot_layout_substitute_finish()
443 hb_ot_layout_position_start()
444 hb_ot_layout_position_lookup()
445 hb_ot_layout_position_finish()
449 Overview of changes leading to 0.6.0
451 ====================================
453 - Vertical text support in GPOS
454 - Almost all API entries have unit tests now, under test/
455 - All thread-safety issues are fixed
457 Summary of API changes follows.
464 hb_language_get_default()
465 hb_direction_to_string()
466 hb_direction_from_string()
467 hb_script_get_horizontal_direction()
471 hb_category_t renamed to hb_unicode_general_category_t
474 hb_language_t is a typed pointers now
480 * Use ISO 15924 tags for hb_script_t:
483 hb_script_from_iso15924_tag()
484 hb_script_to_iso15924_tag()
485 hb_script_from_string()
488 HB_SCRIPT_* enum members changed value.
491 * Buffer API streamlined:
495 hb_buffer_set_length()
496 hb_buffer_allocation_successful()
499 hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
500 hb_buffer_add_glyph() renamed to hb_buffer_add()
504 hb_buffer_clear_positions()
507 hb_buffer_get_glyph_infos() takes an out length parameter now
508 hb_buffer_get_glyph_positions() takes an out length parameter now
511 * Blob API streamlined:
515 hb_blob_get_data_writable()
518 hb_blob_create_empty() renamed to hb_blob_get_empty()
523 hb_blob_is_writable()
524 hb_blob_try_writable()
527 hb_blob_create() takes user_data before destroy now
530 * Unicode functions API:
532 o Unicode function vectors can subclass other unicode function vectors now.
533 Unimplemented callbacks in the subclass automatically chainup to the parent.
535 o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
536 take a user_data and its respective destroy callback.
539 hb_unicode_funcs_get_empty()
540 hb_unicode_funcs_get_default()
541 hb_unicode_funcs_get_parent()
544 hb_unicode_funcs_create() now takes a parent_funcs.
546 o Removed func getter functions:
547 hb_unicode_funcs_get_mirroring_func()
548 hb_unicode_funcs_get_general_category_func()
549 hb_unicode_funcs_get_script_func()
550 hb_unicode_funcs_get_combining_class_func()
551 hb_unicode_funcs_get_eastasian_width_func()
557 hb_face_get_table() renamed to hb_face_reference_table()
558 hb_face_create_for_data() renamed to hb_face_create()
561 hb_face_create_for_tables() takes user_data before destroy now
562 hb_face_reference_table() returns empty blob instead of NULL
563 hb_get_table_func_t accepts the face as first parameter now
567 o Fonts can subclass other fonts now. Unimplemented callbacks in the
568 subclass automatically chainup to the parent. When chaining up,
569 scale is adjusted if the parent font has a different scale.
571 o All hb_font_funcs_t callbacks take a user_data now. Their setters
572 take a user_data and its respective destroy callback.
576 hb_font_funcs_get_empty()
577 hb_font_create_sub_font()
581 hb_font_unset_funcs()
583 o Removed func getter functions:
584 hb_font_funcs_get_glyph_func()
585 hb_font_funcs_get_glyph_advance_func()
586 hb_font_funcs_get_glyph_extents_func()
587 hb_font_funcs_get_contour_point_func()
588 hb_font_funcs_get_kerning_func()
591 hb_font_create() takes a face and references it now
592 hb_font_set_funcs() takes user_data before destroy now
593 hb_font_set_scale() accepts signed integers now
594 hb_font_get_contour_point_func_t now takes glyph first, then point_index
595 hb_font_get_glyph_func_t returns a success boolean now
598 * Changed object model:
600 o All object types have a _get_empty() now:
602 hb_buffer_get_empty()
605 hb_font_funcs_get_empty()
606 hb_unicode_funcs_get_empty()
608 o Added _set_user_data() and _get_user_data() for all object types:
609 hb_blob_get_user_data()
610 hb_blob_set_user_data()
611 hb_buffer_get_user_data()
612 hb_buffer_set_user_data()
613 hb_face_get_user_data()
614 hb_face_set_user_data()
615 hb_font_funcs_get_user_data()
616 hb_font_funcs_set_user_data()
617 hb_font_get_user_data()
618 hb_font_set_user_data()
619 hb_unicode_funcs_get_user_data()
620 hb_unicode_funcs_set_user_data()
622 o Removed the _get_reference_count() from all object types:
623 hb_blob_get_reference_count()
624 hb_buffer_get_reference_count()
625 hb_face_get_reference_count()
626 hb_font_funcs_get_reference_count()
627 hb_font_get_reference_count()
628 hb_unicode_funcs_get_reference_count()
630 o Added _make_immutable() and _is_immutable() for all object types except for buffer:
631 hb_blob_make_immutable()
632 hb_blob_is_immutable()
633 hb_face_make_immutable()
634 hb_face_is_immutable()
637 * Changed API for vertical text support
639 o The following callbacks where removed:
640 hb_font_get_glyph_advance_func_t
641 hb_font_get_kerning_func_t
643 o The following new callbacks added instead:
644 hb_font_get_glyph_h_advance_func_t
645 hb_font_get_glyph_v_advance_func_t
646 hb_font_get_glyph_h_origin_func_t
647 hb_font_get_glyph_v_origin_func_t
648 hb_font_get_glyph_h_kerning_func_t
649 hb_font_get_glyph_v_kerning_func_t
651 o The following API removed as such:
652 hb_font_funcs_set_glyph_advance_func()
653 hb_font_funcs_set_kerning_func()
654 hb_font_get_glyph_advance()
655 hb_font_get_kerning()
657 o New API added instead:
658 hb_font_funcs_set_glyph_h_advance_func()
659 hb_font_funcs_set_glyph_v_advance_func()
660 hb_font_funcs_set_glyph_h_origin_func()
661 hb_font_funcs_set_glyph_v_origin_func()
662 hb_font_funcs_set_glyph_h_kerning_func()
663 hb_font_funcs_set_glyph_v_kerning_func()
664 hb_font_get_glyph_h_advance()
665 hb_font_get_glyph_v_advance()
666 hb_font_get_glyph_h_origin()
667 hb_font_get_glyph_v_origin()
668 hb_font_get_glyph_h_kerning()
669 hb_font_get_glyph_v_kerning()
671 o The following higher-leve API added for convenience:
672 hb_font_get_glyph_advance_for_direction()
673 hb_font_get_glyph_origin_for_direction()
674 hb_font_add_glyph_origin_for_direction()
675 hb_font_subtract_glyph_origin_for_direction()
676 hb_font_get_glyph_kerning_for_direction()
677 hb_font_get_glyph_extents_for_origin()
678 hb_font_get_glyph_contour_point_for_origin()
681 * OpenType Layout API:
684 hb_ot_layout_position_start()
685 hb_ot_layout_substitute_start()
686 hb_ot_layout_substitute_finish()
692 hb_glib_script_to_script()
693 hb_glib_script_from_script()
694 hb_icu_script_to_script()
695 hb_icu_script_from_script()