1 Overview of changes leading to 2.4.0
3 ====================================
6 - Subsetter improvements.
8 HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE
9 hb_directwrite_face_create()
12 Overview of changes leading to 2.3.1
13 Wednesday, January 30, 2019
14 ====================================
16 - Misc internal housekeeping cleanup.
19 Overview of changes leading to 2.3.0
20 Thursday, December 20, 2018
21 ====================================
22 - Fix regression on big-endian architectures. Ouch!
23 - Misc bug and build fixes.
24 - Fix subsetting of simple GSUB/GDEF.
25 - Merge CFF / CFF2 support contributed by Adobe. This mostly involves
26 the subsetter, but also get_glyph_extents on CFF fonts.
29 +hb_aat_layout_has_substitution()
30 +hb_aat_layout_has_positioning()
31 +hb_aat_layout_has_tracking()
34 Overview of changes leading to 2.2.0
35 Thursday, November 29, 2018
36 ====================================
37 - Misc shaping bug fixes.
38 - Add font variations named-instance API.
39 - Deprecate font variations axis enumeration API and add replacement.
40 - AAT shaping improvements:
41 o Fixed 'kern' table Format 2 implementation.
42 o Implement 'feat' table API for feature detection.
43 o Blacklist 'GSUB' table of fonts from 'MUTF' foundry that also have 'morx'.
46 +hb_aat_layout_feature_type_t
47 +hb_aat_layout_feature_selector_t
48 +hb_aat_layout_get_feature_types()
49 +hb_aat_layout_feature_type_get_name_id
50 +hb_aat_layout_feature_selector_info_t
51 +HB_AAT_LAYOUT_NO_SELECTOR_INDEX
52 +hb_aat_layout_feature_type_get_selector_infos()
53 +hb_ot_var_axis_flags_t
54 +hb_ot_var_axis_info_t
55 +hb_ot_var_get_axis_infos()
56 +hb_ot_var_find_axis_info()
57 +hb_ot_var_get_named_instance_count()
58 +hb_ot_var_named_instance_get_subfamily_name_id()
59 +hb_ot_var_named_instance_get_postscript_name_id()
60 +hb_ot_var_named_instance_get_design_coords()
63 +HB_OT_VAR_NO_AXIS_INDEX
66 +hb_ot_var_find_axis()
69 Overview of changes leading to 2.1.3
70 Friday, November 16, 2018
71 ====================================
72 - Fix AAT 'mort' shaping, which was broken in 2.1.2
75 Overview of changes leading to 2.1.2
76 Friday, November 16, 2018
77 ====================================
78 - Various internal changes.
79 - AAT shaping improvements:
80 o Implement kern table Format 1 state-machine-based kerning.
81 o Implement cross-stream kerning (cursive positioning, etc).
82 o Ignore emptyish GSUB tables (zero scripts) if morx present.
83 o Don't apply GPOS if morx is being applied. Matches Apple.
86 -Overview of changes leading to 2.1.1
87 Monday, November 5, 2018
88 ====================================
90 o Implement 'mort' table.
91 o Implement 'kern' subtables Format 1 and Format 3.
94 Overview of changes leading to 2.1.0
95 Tuesday, October 30, 2018
96 ====================================
97 - AAT shaping improvements:
98 o Allow user controlling AAT features, for whole buffer only currently.
99 o Several 'morx' fixes.
100 o Implement tuple-kerns in 'kerx'; Fixes kerning with Apple default
102 - Support for color fonts:
103 o COLR/CPAL API to fetch color layers.
104 o SVG table to fetch SVG documents.
105 o CBDT/sbix API to fetch PNG images.
106 - New 'name' table API.
107 - hb-ot-font now uses 'VORG' table to correctly position CFF glyphs
109 - Various fuzzer-found bug fixes.
113 A type and a macro added in 2.0.0 were renamed:
115 hb_name_id_t -> hb_ot_name_id_t
116 HB_NAME_ID_INVALID -> HB_OT_NAME_ID_INVALID
122 +hb_color_get_alpha()
124 +hb_color_get_green()
126 +hb_ot_color_has_palettes()
127 +hb_ot_color_palette_get_count()
128 +hb_ot_color_palette_get_name_id()
129 +hb_ot_color_palette_color_get_name_id()
130 +hb_ot_color_palette_flags_t
131 +hb_ot_color_palette_get_flags()
132 +hb_ot_color_palette_get_colors()
133 +hb_ot_color_has_layers()
135 +hb_ot_color_glyph_get_layers()
136 +hb_ot_color_has_svg()
137 +hb_ot_color_glyph_reference_svg()
138 +hb_ot_color_has_png()
139 +hb_ot_color_glyph_reference_png()
142 +HB_OT_NAME_ID_INVALID
143 +HB_OT_NAME_ID_COPYRIGHT
144 +HB_OT_NAME_ID_FONT_FAMILY
145 +HB_OT_NAME_ID_FONT_SUBFAMILY
146 +HB_OT_NAME_ID_UNIQUE_ID
147 +HB_OT_NAME_ID_FULL_NAME
148 +HB_OT_NAME_ID_VERSION_STRING
149 +HB_OT_NAME_ID_POSTSCRIPT_NAME
150 +HB_OT_NAME_ID_TRADEMARK
151 +HB_OT_NAME_ID_MANUFACTURER
152 +HB_OT_NAME_ID_DESIGNER
153 +HB_OT_NAME_ID_DESCRIPTION
154 +HB_OT_NAME_ID_VENDOR_URL
155 +HB_OT_NAME_ID_DESIGNER_URL
156 +HB_OT_NAME_ID_LICENSE
157 +HB_OT_NAME_ID_LICENSE_URL
158 +HB_OT_NAME_ID_TYPOGRAPHIC_FAMILY
159 +HB_OT_NAME_ID_TYPOGRAPHIC_SUBFAMILY
160 +HB_OT_NAME_ID_MAC_FULL_NAME
161 +HB_OT_NAME_ID_SAMPLE_TEXT
162 +HB_OT_NAME_ID_CID_FINDFONT_NAME
163 +HB_OT_NAME_ID_WWS_FAMILY
164 +HB_OT_NAME_ID_WWS_SUBFAMILY
165 +HB_OT_NAME_ID_LIGHT_BACKGROUND
166 +HB_OT_NAME_ID_DARK_BACKGROUND
167 +HB_OT_NAME_ID_VARIATIONS_PS_PREFIX
169 +hb_ot_name_list_names()
170 +hb_ot_name_get_utf8()
171 +hb_ot_name_get_utf16()
172 +hb_ot_name_get_utf32()
175 Overview of changes leading to 2.0.2
176 Saturday, October 20, 2018
177 ====================================
178 - Fix two minor memory access issues in AAT tables.
181 Overview of changes leading to 2.0.1
182 Friday, October 19, 2018
183 ====================================
184 - Fix hb-version.h reported release version that went wrong (1.8.0)
185 with previous release.
186 - Fix extrapolation in 'trak' table.
187 - Fix hb-font infinite-recursion issue with some font funcs and
189 - Implement variation-kerning format in kerx table, although without
191 - Fix return value of hb_map_is_empty().
194 Overview of changes leading to 2.0.0
195 Thursday, October 18, 2018
196 ====================================
197 - Added AAT shaping support (morx/kerx/trak).
198 Automatically used if GSUB/GPOS are not available respectively.
199 Set HB_OPTIONS=aat env var to have morx/kerx preferred over
201 - Apply TrueType kern table internally, instead of relying on
203 - Khmer shaper significantly rewritten to better match Uniscribe.
204 - Indic3 tags ('dev3', etc) are passed to USE shaper.
205 - .dfont Mac font containers implemented.
206 - Script- and language-mapping revamped to better use BCP 47.
207 - Misc USE and Indic fixes.
208 - Misc everything fixes.
209 - Too many things to list. Biggest release since 0.9.1, with
210 over 500 commits in just over 5 weeks! Didn't intend it to
211 be a big release. Just happened to become.
212 - hb-ft now locks underlying FT_Face during use.
216 - Newly-created hb_font_t's now have our internal "hb-ot-font"
217 callbacks set on them, so they should work out of the box
218 without any callbacks set. If callbacks are set, everything
219 is back to what it was before, the fallback callbacks are
220 null. If you to get the internal implementation modified,
223 - New hb_font_funcs_set_nominal_glyphs_func() allows speeding
224 up character to glyph mapping.
227 +HB_FEATURE_GLOBAL_START
228 +HB_FEATURE_GLOBAL_END
229 +hb_buffer_set_invisible_glyph()
230 +hb_buffer_get_invisible_glyph()
231 +hb_font_funcs_set_nominal_glyphs_func()
232 +hb_ot_layout_table_select_script()
233 +hb_ot_layout_script_select_language()
234 +hb_ot_layout_feature_get_name_ids()
235 +hb_ot_layout_feature_get_characters()
238 +HB_OT_MAX_TAGS_PER_SCRIPT
239 +hb_ot_tags_from_script_and_language()
240 +hb_ot_tags_to_script_and_language()
243 -hb_font_funcs_set_glyph_func()
244 -hb_unicode_eastasian_width_func_t
245 -hb_unicode_funcs_set_eastasian_width_func()
246 -hb_unicode_eastasian_width()
247 -hb_unicode_decompose_compatibility_func_t
248 -HB_UNICODE_MAX_DECOMPOSITION_LEN
249 -hb_unicode_funcs_set_decompose_compatibility_func()
250 -hb_unicode_decompose_compatibility()
251 -hb_font_funcs_set_glyph_h_kerning_func()
252 -hb_font_funcs_set_glyph_v_kerning_func()
253 -hb_font_get_glyph_h_kerning()
254 -hb_font_get_glyph_v_kerning()
255 -hb_font_get_glyph_kerning_for_direction()
256 -hb_ot_layout_table_choose_script()
257 -hb_ot_layout_script_find_language()
258 -hb_ot_tags_from_script()
259 -hb_ot_tag_from_language()
262 Overview of changes leading to 1.9.0
263 Monday, September 10, 2018
264 ====================================
265 - Added 'cmap' API to hb_face_t.
267 - hb-ot-font re-creation should be much leaner now, as the
268 font tables it uses are cached on hb_face_t now.
269 - Internal source header file name changes:
270 hb-*-private.hh is renamed to hb-*.hh.
274 +hb_face_collect_unicodes()
275 +hb_face_collect_variation_selectors()
276 +hb_face_collect_variation_unicodes()
277 +hb_face_builder_create()
278 +hb_face_builder_add_table()
281 Overview of changes leading to 1.8.8
282 Tuesday, August 14, 2018
283 ====================================
284 - Fix hb-icu crash on architectures where compare_exchange_weak() can
285 fail falsely. This bug was introduced in 1.8.4.
286 https://bugs.chromium.org/p/chromium/issues/detail?id=873568
287 - More internal refactoring of atomic operations and singletons.
289 The following functions do NOT reference their return value before
291 * hb_unicode_funcs_get_default()
292 * hb_glib_get_unicode_funcs()
293 * hb_icu_get_unicode_funcs()
294 This is consistent with their naming ("get", instead of "reference")
295 as well as how they are used in the wild (ie. no one calls destroy()
296 on their return value.)
299 Overview of changes leading to 1.8.7
300 Wednesday, August 8, 2018
301 ====================================
302 - Fix assertion failure with GDEF-blacklisted fonts.
305 Overview of changes leading to 1.8.6
306 Tuesday, August 7, 2018
307 ====================================
308 - Internal code shuffling.
309 - New API to speed up getting advance widths for implementations
310 that have heavy overhead in get_h_advance callback:
311 +hb_font_funcs_set_glyph_h_advances_func
312 +hb_font_funcs_set_glyph_v_advances_func
313 +hb_font_get_glyph_advances_for_direction
314 +hb_font_get_glyph_h_advances
315 +hb_font_get_glyph_h_advances_func_t
316 +hb_font_get_glyph_v_advances
317 +hb_font_get_glyph_v_advances_func_t
320 Overview of changes leading to 1.8.5
321 Wednesday, August 1, 2018
322 ====================================
323 - Major Khmer shaper improvements to better match Microsoft.
325 - Internal improvements to atomic operations.
328 Overview of changes leading to 1.8.4
329 Tuesday, July 17, 2018
330 ====================================
331 - Fix build on non-C++11.
332 - Use C++-style GCC atomics and C++11 atomics.
335 Overview of changes leading to 1.8.3
336 Wednesday, July 11, 2018
337 ====================================
338 - A couple of Indic / USE bug fixes.
339 - Disable vectorization, as it was causing unaligned access bus error on
340 certain 32bit architectures.
343 Overview of changes leading to 1.8.2
344 Tuesday, July 3, 2018
345 ====================================
346 - Fix infinite loop in Khmer shaper.
347 - Improve hb_blob_create_from_file() for streams.
350 Overview of changes leading to 1.8.1
351 Tuesday, June 12, 2018
352 ====================================
353 - Fix hb-version.h file generation; last two releases went out with wrong ones.
354 - Add correctness bug in hb_set_t operations, introduced in 1.7.7.
355 - Remove HB_SUBSET_BUILTIN build option. Not necessary.
358 Overview of changes leading to 1.8.0
359 Tuesday, June 5, 2018
360 ====================================
361 - Update to Unicode 11.0.0.
364 Overview of changes leading to 1.7.7
365 Tuesday, June 5, 2018
366 ====================================
367 - Lots of internal changes, but not yet exposed externally.
368 - All HarfBuzz objects are significantly smaller in size now.
369 - Sinhala: Position repha on top of post-consonant, not base.
370 This better matches Windows 10 behavior, which was changed
371 from previous Windows versions.
373 o New cpp macro HB_NO_ATEXIT
374 o New cpp macro HB_SUBSET_BUILTIN
375 - Significant libharfbuzz-subset changes. API subject to change.
376 - New API in libharfbuzz:
378 +hb_blob_create_from_file()
381 A hashmap implementation:
383 +HB_MAP_VALUE_INVALID
389 +hb_map_set_user_data()
390 +hb_map_get_user_data()
391 +hb_map_allocation_successful()
394 +hb_map_get_population()
401 Overview of changes leading to 1.7.6
402 Wednesday, March 7, 2018
403 ====================================
405 - Fix to hb_set_t binary operations. Ouch.
406 - New experimental harfbuzz-subset library. All of hb-subset.h
407 is experimental right now and API WILL change.
410 hb_blob_copy_writable_or_fail()
413 hb_set_previous_range()
416 Overview of changes leading to 1.7.5
417 Tuesday, January 30, 2018
418 ====================================
420 - Separate Khmer shaper from Indic.
421 - First stab at AAT morx. Not hooked up.
425 Overview of changes leading to 1.7.4
426 Wednesday, December 20, 2017
427 ====================================
429 - Fix collect_glyphs() regression caused by hb_set_t changes.
432 Overview of changes leading to 1.7.3
433 Monday, December 18, 2017
434 ====================================
436 - hb_set_t performance tuning and optimizations.
437 - Speed up collect_glyphs() and reject garbage data.
438 - In hb_coretext_font_create() set font point-size (ptem).
442 Overview of changes leading to 1.7.2
443 Monday, December 4, 2017
444 ====================================
446 - Optimize hb_set_add_range().
449 hb_coretext_font_create()
452 Overview of changes leading to 1.7.1
453 Tuesday, November 14, 2017
454 ====================================
456 - Fix atexit object destruction regression.
457 - Fix minor integer-overflow.
460 Overview of changes leading to 1.7.0
461 Monday, November 13, 2017
462 ====================================
465 - Implement kerning and glyph names in hb-ot-font.
466 - Various DSO optimization re .data and .bss sizes.
467 - Make C++11 optional; build fixes.
468 - Mark all other backends "unsafe-to-break".
472 Overview of changes leading to 1.6.3
473 Thursday, October 26th, 2017
474 ====================================
476 - Fix hb_set_t some more. Should be solid now.
477 - Implement get_glyph_name() for hb-ot-font.
481 Overview of changes leading to 1.6.2
482 Monday, October 23nd, 2017
483 ====================================
485 - Yesterday's release had a bad crasher; don't use it. That's what
486 happens when one works on Sunday...
487 https://github.com/harfbuzz/harfbuzz/issues/578
488 - Build fixes for FreeBSD and Chrome Android.
491 Overview of changes leading to 1.6.1
492 Sunday, October 22nd, 2017
493 ====================================
495 - Don't skip over COMBINING GRAPHEME JOINER when ligating, etc.
496 To be refined: https://github.com/harfbuzz/harfbuzz/issues/554
497 - Faster hb_set_t implementation.
498 - Don't use deprecated ICU API.
499 - Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0
504 Overview of changes leading to 1.6.0
505 Friday, October the 13th, 2017
506 ====================================
508 - Update to Unicode 10.
510 - Various Indic and Universal Shaping Engine fixes as a result of
511 HarfBuzz Hackfest with Jonathan Kew at Web Engines Hackfest at
512 the Igalia offices in A Coruña, Spain. Thanks Igalia for having
515 - Implement Unicode Arabic Mark Ordering Algorithm UTR#53.
517 - Implement optical sizing / tracking in CoreText backend, using
518 new API hb_font_set_ptem().
520 - Allow notifying hb_font_t that underlying FT_Face changed sizing,
521 using new API hb_ft_font_changed().
523 - More Graphite backend RTL fixes.
525 - Fix caching of variable font shaping plans.
527 - hb-view / hb-shape now accept following new arguments:
529 o --unicodes: takes a list of hex numbers that represent Unicode
533 +hb_face_get_table_tags()
536 +hb_ft_font_changed()
539 Overview of changes leading to 1.5.1
540 Tuesday, September 5, 2017
541 ====================================
543 - Fix "unsafe-to-break" in fallback shaping and other corner cases.
544 All our tests pass with --verify now, meaning unsafe-to-break API
546 - Add --unicodes to hb-view / hb-shape.
547 - [indic] Treat Consonant_With_Stacker as consonant. This will need
549 - hb_buffer_diff() tweaks.
552 Overview of changes leading to 1.5.0
553 Wednesday, August 23, 2017
554 ====================================
556 - Misc new API, for appending a buffer to another, and for comparing
557 contents of two buffers for types of differences.
559 - New "unsafe-to-break" API. Can be used to speed up reshaping
560 in line-breaking situations. Essentially, after shaping, it returns
561 positions in the input string (some of the cluster boundaries) that
562 are "safe to break" in that if the text is segmented at that position
563 and two sides reshaped and concatenated, the shaping result is
564 exactly the same as shaping the text in one piece.
566 hb-view and hb-shape and hb-shape now take --verify, which verifies
569 Some corner cases of the implementation are still not quite working.
570 Those will be fixed in subsequent releases.
577 HB_GLYPH_FLAG_UNSAFE_TO_BREAK
578 HB_GLYPH_FLAG_DEFINED
579 hb_glyph_info_get_glyph_flags()
581 HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS
583 hb_buffer_diff_flags_t
584 HB_BUFFER_DIFF_FLAG_EQUAL
585 HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH
586 HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH
587 HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT
588 HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT
589 HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH
590 HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH
591 HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH
592 HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH
596 Overview of changes leading to 1.4.8
597 Tuesday, August 8, 2017
598 ====================================
600 - Major fix to avar table handling.
601 - Rename hb-shape --show-message to --trace.
605 Overview of changes leading to 1.4.7
606 Tuesday, July 18, 2017
607 ====================================
609 - Multiple Indic, Tibetan, and Cham fixes.
610 - CoreText: Allow disabling kerning.
611 - Adjust Arabic feature order again.
615 Overview of changes leading to 1.4.6
616 Sunday, April 23, 2017
617 ====================================
619 - Graphite2: Fix RTL positioning issue.
620 - Backlist GDEF of more versions of Padauk and Tahoma.
621 - New, experimental, cmake alternative build system.
624 Overview of changes leading to 1.4.5
625 Friday, March 10, 2017
626 ====================================
628 - Revert "Fix Context lookup application when moving back after a glyph..."
629 This introduced memory access problems. To be fixed properly soon.
632 Overview of changes leading to 1.4.4
633 Sunday, March 5, 2017
634 ====================================
636 - Fix Context lookup application when moving back after a glyph deletion.
637 - Fix buffer-overrun in Bengali.
640 Overview of changes leading to 1.4.3
641 Saturday, February 25, 2017
642 ====================================
644 - Route Adlam script to Arabic shaper.
649 hb_graphite2_font_get_gr_font()
652 Overview of changes leading to 1.4.2
653 Monday, January 23, 2017
654 ====================================
656 - Implement OpenType Font Variation tables avar/fvar/HVAR/VVAR.
657 - hb-shape and hb-view now accept --variations.
661 hb_variation_from_string()
662 hb_variation_to_string()
664 hb_font_set_variations()
665 hb_font_set_var_coords_design()
666 hb_font_get_var_coords_normalized()
671 hb_ot_var_get_axis_count()
673 hb_ot_var_find_axis()
674 hb_ot_var_normalize_variations()
675 hb_ot_var_normalize_coords()
677 - MVAR to be implemented later. Access to named instances to be
678 implemented later as well.
683 Overview of changes leading to 1.4.1
684 Thursday, January 5, 2017
685 ====================================
687 - Always build and use UCDN for Unicode data by default.
688 Reduces dependence on version of Unicode data in glib,
689 specially in the Windows bundles we are shipping, which
693 Overview of changes leading to 1.4.0
694 Thursday, January 5, 2017
695 ====================================
697 - Merged "OpenType GX" branch which adds core of support for
698 OpenType 1.8 Font Variations. To that extent, the relevant
702 hb_font_set_var_coords_normalized()
707 HB_OT_LAYOUT_NO_VARIATIONS_INDEX
708 hb_ot_layout_table_find_feature_variations()
709 hb_ot_layout_feature_with_variations_get_lookups()
710 hb_shape_plan_create2()
711 hb_shape_plan_create_cached2()
713 Currently variations in GSUB/GPOS/GDEF are fully supported,
714 and no other tables are supported. In particular, fvar/avar
715 are NOT supported, hence the hb_font_set_var_coords_normalized()
716 taking normalized coordinates. API to take design coordinates
717 will be added in the future.
719 HVAR/VVAR/MVAR support will also be added to hb-ot-font in the
722 - Fix regression in GDEF glyph class processing.
723 - Add decompositions for Chakma, Limbu, and Balinese in USE shaper.
727 Overview of changes leading to 1.3.4
728 Monday, December 5, 2016
729 ====================================
731 - Fix vertical glyph origin in hb-ot-font.
732 - Implement CBDT/CBLC color font glyph extents in hb-ot-font.
735 Overview of changes leading to 1.3.3
736 Wednesday, September 28, 2016
737 ====================================
739 - Implement parsing of OpenType MATH table.
743 hb_ot_math_constant_t
745 hb_ot_math_glyph_variant_t
746 hb_ot_math_glyph_part_flags_t
747 hb_ot_math_glyph_part_t
749 hb_ot_math_get_constant
750 hb_ot_math_get_glyph_italics_correction
751 hb_ot_math_get_glyph_top_accent_attachment
752 hb_ot_math_get_glyph_kerning
753 hb_ot_math_is_glyph_extended_shape
754 hb_ot_math_get_glyph_variants
755 hb_ot_math_get_min_connector_overlap
756 hb_ot_math_get_glyph_assembly
759 Overview of changes leading to 1.3.2
760 Wednesday, September 27, 2016
761 ====================================
763 - Fix build of hb-coretext on older OS X versions.
766 Overview of changes leading to 1.3.1
767 Wednesday, September 7, 2016
768 ====================================
770 - Blacklist bad GDEF of more fonts (Padauk).
771 - More CoreText backend crash fixes with OS X 10.9.5.
775 Overview of changes leading to 1.3.0
776 Thursday, July 21, 2016
777 ====================================
779 - Update to Unicode 9.0.0
780 - Move Javanese from Indic shaper to Universal Shaping Engine.
781 - Allow MultipleSubst to delete a glyph (matching Windows engine).
782 - Update Universal Shaping Engine to latest draft from Microsoft.
783 - DirectWrite backend improvements. Note: this backend is for testing ONLY.
784 - CoreText backend improvements with unreachable fonts.
785 - Implement symbol fonts (cmap 3.0.0) in hb-ft and hb-ot-font.
786 - Blacklist bad GDEF of more fonts (Tahoma & others).
790 Overview of changes leading to 1.2.7
792 ====================================
794 - Blacklist another version of Times New Roman (Bold) Italic from Windows 7.
795 - Fix Mongolian Free Variation Selectors shaping with certain fonts.
796 - Fix Tibetan shorthand contractions shaping.
797 - Improved list of language tag mappings.
798 - Unbreak build on Windows CE.
799 - Make 'glyf' table loading lazy in hb-ot-font.
802 Overview of changes leading to 1.2.6
803 Friday, April 8, 2016
804 ====================================
806 - Blacklist GDEF table of another set of Times New Roman (Bold) Italic.
807 - DirectWrite backend improvements. Note: DirectWrite backend is
808 exclusively for our internal testing and should NOT be used in any
809 production system whatsoever.
812 Overview of changes leading to 1.2.5
813 Monday, April 4, 2016
814 ====================================
816 - Fix GDEF mark-filtering-set, which was broken in 1.2.3.
819 Overview of changes leading to 1.2.4
820 Thursday, March 17, 2016
821 ====================================
823 - Synthesize GDEF glyph class for any glyph that does not have one in GDEF.
824 I really hope we don't discover broken fonts that shape badly with this
826 - Misc build and other minor fixes.
828 - Added HB_NDEBUG. It's fine for production systems to define this to
829 disable high-overhead debugging checks. However, I also reduced the
830 overhead of those checks, so it's a non-issue right now. You can
831 forget it. Just not defining anything at all is fine.
834 Overview of changes leading to 1.2.3
835 Thursday, February 25, 2016
836 ====================================
838 - Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic,
839 due to bug in glyph class of ASCII double-quote character. This should
840 address "regression" introduced in 1.2.0 when we switched mark zeroing
841 in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE.
842 This fourth release in a week should finally stablize things...
844 - hb-ot-font's get_glyph() implementation saw some optimizations. Though,
845 might be really hard to measure in real-world situations.
847 - Also, two rather small API changes:
849 We now disable some time-consuming internal bookkeeping if built with NDEBUG
850 defined. This is a first time that we use NDEBUG to disable debug code. If
851 there exist production systems that do NOT want to enable NDEBUG, please let
852 me know and I'll add HB_NDEBUG.
854 Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()
857 - hb_font_get_nominal_glyph_func_t
858 - hb_font_get_variation_glyph_func_t
859 - hb_font_funcs_set_nominal_glyph_func()
860 - hb_font_funcs_set_variation_glyph_func()
861 - hb_font_get_nominal_glyph()
862 - hb_font_get_variation_glyph()
865 - hb_font_get_glyph_func_t
866 - hb_font_funcs_set_glyph_func()
868 Clients that implement their own font-funcs are encouraged to replace
869 their get_glyph() implementation with a get_nominal_glyph() and
870 get_variation_glyph() pair. The variation version can assume that
871 variation_selector argument is not zero. Old (deprecated) functions
872 will continue working indefinitely using internal gymnastics; it is
873 just more efficient to use the new functions.
876 Overview of changes leading to 1.2.2
877 Wednesday, February 24, 2016
878 ====================================
880 - Fix regression with mark positioning with fonts that have
881 non-zero mark advances. This was introduced in 1.2.0 while
882 trying to make mark and cursive attachments to work together.
883 I have partially reverted that, so this version is much more
884 like what we had before. All clients who updated to 1.2.0
885 should update to this version.
888 Overview of changes leading to 1.2.1
889 Tuesday, February 23, 2016
890 ====================================
892 - CoreText: Fix bug with wrong scale if font scale was changed later.
893 https://github.com/libass/libass/issues/212
894 - CoreText: Drastically speed up font initialization.
895 - CoreText: Fix tiny leak.
896 - Group ZWJ/ZWNJ with previous syllable under cluster-level=0.
897 https://github.com/harfbuzz/harfbuzz/issues/217
898 - Add test/shaping/README.md about how to add tests to the suite.
901 Overview of changes leading to 1.2.0
902 Friday, February 19, 2016
903 ====================================
905 - Fix various issues (hangs mostly) in case of memory allocation failure.
906 - Change mark zeroing types of most shapers from BY_UNICODE_LATE to
907 BY_GDEF_LATE. This seems to be what Uniscribe does.
908 - Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's
910 - Allow GPOS cursive connection on marks, and fix the interaction with
911 mark attachment. This work resulted in some changes to how mark
912 attachments work. See:
913 https://github.com/harfbuzz/harfbuzz/issues/211
914 https://github.com/harfbuzz/harfbuzz/commit/86c68c7a2c971efe8e35b1f1bd99401dc8b688d2
915 - Graphite2 shaper: improved negative advance handling (eg. Nastaliq).
916 - Add nmake-based build system for Windows.
918 - Misc. improvements.
921 Overview of changes leading to 1.1.3
922 Monday, January 11, 2016
923 ====================================
925 - Ported Indic shaper to Unicode 8.0 data.
926 - Universal Shaping Engine fixes.
927 - Speed up CoreText shaper when font fallback happens in CoreText.
928 - Documentation improvements, thanks to Khaled Hosny.
929 - Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi.
935 hb_font_get_font_extents_func_t
936 hb_font_get_font_h_extents_func_t
937 hb_font_get_font_v_extents_func_t
938 hb_font_funcs_set_font_h_extents_func
939 hb_font_funcs_set_font_v_extents_func
940 hb_font_get_h_extents
941 hb_font_get_v_extents
942 hb_font_get_extents_for_direction
944 * Buffer message (aka debug):
945 hb_buffer_message_func_t
946 hb_buffer_set_message_func()
947 Actual message protocol to be fleshed out later.
950 Overview of changes leading to 1.1.2
951 Wednesday, November 26, 2015
952 ====================================
954 - Fix badly-broken fallback shaper that affected terminology.
955 https://github.com/harfbuzz/harfbuzz/issues/187
956 - Fix y_scaling in Graphite shaper.
958 * An unset glyph_h_origin() function in font-funcs now (sensibly)
959 implies horizontal origin at 0,0. Ie, the nil callback returns
960 true instead of false. As such, implementations that have a
961 glyph_h_origin() that simply returns true, can remove that function
962 with HarfBuzz >= 1.1.2. This results in a tiny speedup.
965 Overview of changes leading to 1.1.1
966 Wednesday, November 24, 2015
967 ====================================
969 - Build fixes, specially for hb-coretext.
972 Overview of changes leading to 1.1.0
973 Wednesday, November 18, 2015
974 ====================================
976 - Implement 'stch' stretch feature for Syriac Abbreviation Mark.
977 https://github.com/harfbuzz/harfbuzz/issues/141
978 - Disable use of decompose_compatibility() callback.
979 - Implement "shaping" of various Unicode space characters, even
980 if the font does not support them.
981 https://github.com/harfbuzz/harfbuzz/issues/153
982 - If font does not support U+2011 NO-BREAK HYPHEN, fallback to
984 - Changes resulting from libFuzzer continuous fuzzing:
985 * Reject font tables that need more than 8 edits,
986 * Bound buffer growth during shaping to 32x,
987 * Fix assertions and other issues at OOM / buffer max-growth.
988 - Misc fixes and optimizations.
990 * All fonts created with hb_font_create() now inherit from
991 (ie. have parent) hb_font_get_empty().
994 Overview of changes leading to 1.0.6
995 Thursday, October 15, 2015
996 ====================================
998 - Reduce max nesting level in OT lookups from 8 to 6.
999 Should not affect any real font as far as I know.
1000 - Fix memory access issue in ot-font.
1001 - Revert default load-flags of fonts created using hb_ft_font_create()
1002 back to FT_LOAD_DEFAULT|FT_LOAD_NO_HINTING. This was changed in
1003 last release (1.0.5), but caused major issues, so revert.
1004 https://github.com/harfbuzz/harfbuzz/issues/143
1007 Overview of changes leading to 1.0.5
1008 Tuesday, October 13, 2015
1009 ====================================
1011 - Fix multiple memory access bugs discovered using libFuzzer.
1012 https://github.com/harfbuzz/harfbuzz/issues/139
1013 Everyone should upgrade to this version as soon as possible.
1014 We now have continuous fuzzing set up, to avoid issues like
1015 these creeping in again.
1019 * hb_font_set_parent().
1020 * hb_ft_font_[sg]et_load_flags()
1021 The default flags for fonts created using hb_ft_font_create()
1022 has changed to default to FT_LOAD_DEFAULT now. Previously it
1023 was defaulting to FT_LOAD_DFEAULT|FT_LOAD_NO_HINTING.
1026 * Fonts now default to units-per-EM as their scale, instead of 0.
1027 * hb_font_create_sub_font() does NOT make parent font immutable
1028 anymore. hb_font_make_immutable() does.
1031 Overview of changes leading to 1.0.4
1032 Wednesday, September 30, 2015
1033 ====================================
1035 - Fix minor out-of-bounds read error.
1038 Overview of changes leading to 1.0.3
1039 Tuesday, September 1, 2015
1040 ====================================
1042 - Start of user documentation, from Simon Cozens!
1043 - Implement glyph_extents() for TrueType fonts in hb-ot-font.
1044 - Improve GPOS cursive attachments with conflicting lookups.
1045 - More fixes for cluster-level = 1.
1046 - Uniscribe positioning fix.
1049 Overview of changes leading to 1.0.2
1050 Wednesday, August 19, 2015
1051 ====================================
1053 - Fix shaping with cluster-level > 0.
1054 - Fix Uniscribe backend font-size scaling.
1055 - Declare dependencies in harfbuzz.pc.
1056 FreeType is not declared though, to avoid bugs in pkg-config
1057 0.26 with recursive dependencies.
1058 - Slightly improved debug infrastructure. More to come later.
1062 Overview of changes leading to 1.0.1
1063 Monday, July 27, 2015
1064 ====================================
1066 - Fix out-of-bounds access in USE shaper.
1069 Overview of changes leading to 1.0.0
1070 Sunday, July 26, 2015
1071 ====================================
1073 - Implement Universal Shaping Engine:
1074 https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm
1075 http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/
1076 - Bump version to 1.0.0. The soname was NOT bumped.
1079 Overview of changes leading to 0.9.42
1080 Thursday, July 26, 2015
1081 =====================================
1083 - New API to allow for retrieving finer-grained cluster
1084 mappings if the client desires to handle them. Default
1085 behavior is unchanged.
1086 - Fix cluster merging when removing default-ignorables.
1087 - Update to Unicode 8.0
1088 - hb-graphite2 fixes.
1090 - Removed HB_NO_MERGE_CLUSTERS hack.
1092 hb_buffer_cluster_level_t enum
1093 hb_buffer_get_cluster_level()
1094 hb_buffer_set_cluster_level()
1095 hb-shape / hb-view --cluster-level
1098 Overview of changes leading to 0.9.41
1099 Thursday, June 18, 2015
1100 =====================================
1102 - Fix hb-coretext with trailing whitespace in right-to-left.
1103 - New API: hb_buffer_reverse_range().
1104 - Allow implementing atomic ops in config.h.
1105 - Fix hb_language_t in language bindings.
1109 Overview of changes leading to 0.9.40
1110 Friday, March 20, 2015
1111 =====================================
1113 - Another hb-coretext crasher fix. Ouch!
1117 Overview of changes leading to 0.9.39
1118 Wednesday, March 4, 2015
1119 =====================================
1121 - Critical hb-coretext fixes.
1122 - Optimizations and refactoring; no functional change
1127 Overview of changes leading to 0.9.38
1128 Friday, January 23, 2015
1129 =====================================
1131 - Fix minor out-of-bounds access in Indic shaper.
1132 - Change New Tai Lue shaping engine from South-East Asian to default,
1133 reflecting change in Unicode encoding model.
1134 - Add hb-shape --font-size. Can take up to two numbers for separate
1136 - Fix CoreText and FreeType scale issues with negative scales.
1137 - Reject blobs larger than 2GB. This might break some icu-le-hb clients
1138 that need security fixes. See:
1139 http://www.icu-project.org/trac/ticket/11450
1140 - Avoid accessing font tables during face destruction, in casce rogue
1141 clients released face data already.
1142 - Fix up gobject-introspection a bit. Python bindings kinda working.
1146 hb_ft_face_create_referenced()
1147 hb_ft_font_create_referenced()
1150 Overview of changes leading to 0.9.37
1151 Wednesday, December 17, 2014
1152 =====================================
1154 - Fix out-of-bounds access in Context lookup format 3.
1155 - Indic: Allow ZWJ/ZWNJ before syllable modifiers.
1158 Overview of changes leading to 0.9.36
1159 Thursday, November 20, 2014
1160 =====================================
1162 - First time that three months went by without a release since
1163 0.9.2 was released on August 10, 2012!
1164 - Fix performance bug in hb_ot_collect_glyphs():
1165 https://bugzilla.mozilla.org/show_bug.cgi?id=1090869
1166 - Add basic vertical-text support to hb-ot-font.
1170 Overview of changes leading to 0.9.35
1171 Saturday, August 13, 2014
1172 =====================================
1174 - Fix major shape-plan caching bug when more than one shaper were
1175 provided to hb_shape_full() (as exercised by XeTeX).
1176 http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
1177 - Fix Arabic fallback shaping regression. This was broken in 0.9.32.
1178 - Major hb-coretext fixes. That backend is complete now, including
1179 respecing buffer direction and language, down to vertical writing.
1180 - Build fixes for Windows CE. Should build fine now.
1182 Use atexit() only if it's safe to call from shared library
1183 https://bugs.freedesktop.org/show_bug.cgi?id=82246
1184 Mandaic had errors in its Unicode Joining_Type
1185 https://bugs.freedesktop.org/show_bug.cgi?id=82306
1188 * hb_buffer_clear_contents() does not reset buffer flags now.
1190 After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't
1191 need to set flags for different pieces of text. The flags now
1192 are something the client sets up once, depending on how it
1193 actually uses the buffer. As such, don't clear it in
1196 I don't expect any changes to be needed to any existing client.
1199 Overview of changes leading to 0.9.34
1200 Saturday, August 2, 2014
1201 =====================================
1203 - hb_feature_from_string() now accepts CSS font-feature-settings format.
1204 - As a result, hb-shape / hb-view --features also accept CSS-style strings.
1205 Eg, "'liga' off" is accepted now.
1206 - Add old-spec Myanmar shaper:
1207 https://bugs.freedesktop.org/show_bug.cgi?id=81775
1208 - Don't apply 'calt' in Hangul shaper.
1209 - Fix mark advance zeroing for Hebrew shaper:
1210 https://bugs.freedesktop.org/show_bug.cgi?id=76767
1211 - Implement Windows-1256 custom Arabic shaping. Only built on Windows,
1212 and requires help from get_glyph(). Used by Firefox.
1213 https://bugzilla.mozilla.org/show_bug.cgi?id=1045139
1214 - Disable 'liga' in vertical text.
1218 * Make HB_BUFFER_FLAG_BOT/EOT easier to use.
1220 Previously, we expected users to provide BOT/EOT flags when the
1221 text *segment* was at paragraph boundaries. This meant that for
1222 clients that provide full paragraph to HarfBuzz (eg. Pango), they
1225 hb_buffer_set_flags (hb_buffer,
1226 (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) |
1227 (item_offset + item_length == paragraph_length ?
1228 HB_BUFFER_FLAG_EOT : 0));
1230 hb_buffer_add_utf8 (hb_buffer,
1231 paragraph_text, paragraph_length,
1232 item_offset, item_length);
1234 After this change such clients can simply say:
1236 hb_buffer_set_flags (hb_buffer,
1237 HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT);
1239 hb_buffer_add_utf8 (hb_buffer,
1240 paragraph_text, paragraph_length,
1241 item_offset, item_length);
1243 Ie, HarfBuzz itself checks whether the segment is at the beginning/end
1244 of the paragraph. Clients that only pass item-at-a-time to HarfBuzz
1245 continue not setting any flags whatsoever.
1247 Another way to put it is: if there's pre-context text in the buffer,
1248 HarfBuzz ignores the BOT flag. If there's post-context, it ignores
1252 Overview of changes leading to 0.9.33
1253 Tuesday, July 22, 2014
1254 =====================================
1256 - Turn off ARabic 'cswh' feature that was accidentally turned on.
1257 - Add HB_TAG_MAX_SIGNED.
1258 - Make hb_face_make_immutable() really make face immutable!
1259 - Windows build fixes.
1262 Overview of changes leading to 0.9.32
1263 Thursday, July 17, 2014
1264 =====================================
1266 - Apply Arabic shaping features in spec order exactly.
1267 - Another fix for Mongolian free variation selectors.
1268 - For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt'
1270 - Minor adjustment to U+FFFD logic.
1271 - Fix hb-coretext build.
1274 Overview of changes leading to 0.9.31
1275 Wednesday, July 16, 2014
1276 =====================================
1278 - Only accept valid UTF-8/16/32; we missed many cases before.
1279 - Better shaping of invalid UTF-8/16/32. Falls back to
1280 U+FFFD REPLACEMENT CHARACTER now.
1281 - With all changes in this release, the buffer will contain fully
1282 valid Unicode after hb_buffer_add_utf8/16/32 no matter how
1283 broken the input is. This can be overridden though. See below.
1284 - Fix Mongolian Variation Selectors for fonts without GDEF.
1285 - Fix minor invalid buffer access.
1286 - Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language()
1287 now uses these instead of private tags.
1290 * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32()
1291 used to do, ie. no validity check on the input at all. add_utf32
1292 now replaces invalid Unicode codepoints with the replacement
1293 character (see below).
1294 * hb_buffer_set_replacement_codepoint()
1295 * hb_buffer_get_replacement_codepoint()
1296 Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when
1297 we detected broken input, we replaced that with (hb_codepoint_t)-1.
1298 This has changed to use U+FFFD now, but can be changed using these
1302 Overview of changes leading to 0.9.30
1303 Wednesday, July 9, 2014
1304 =====================================
1306 - Update to Unicode 7.0.0:
1307 * New scripts Manichaean and Psalter Pahlavi are shaped using
1309 * All the other new scripts to through the generic shaper for
1311 - Minor Indic improvements.
1312 - Fix graphite2 backend cluster mapping [crasher!]
1314 * New HB_SCRIPT_* values for Unicode 7.0 scripts.
1315 * New function hb_ot_layout_language_get_required_feature().
1319 Overview of changes leading to 0.9.29
1320 Thursday, May 29, 2014
1321 =====================================
1323 - Implement cmap in hb-ot-font.h. No variation-selectors yet.
1324 - Myanmar: Allow MedialYa+Asat.
1325 - Various Indic fixes:
1326 * Support most characters in Extended Devanagary and Vedic
1328 * Allow digits and a some punctuation as consonant placeholders.
1332 Overview of changes leading to 0.9.28
1333 Monday, April 28, 2014
1334 =====================================
1336 - Unbreak old-spec Indic shaping. (bug 76705)
1337 - Fix shaping of U+17DD and U+0FC6.
1338 - Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default
1339 for shipping libraries. It's an option for further experimentation
1340 right now. When we are sure how to do it properly, we will add
1341 public run-time API for the functionality.
1345 Overview of changes leading to 0.9.27
1346 Tuesday, March 18, 2014
1347 =====================================
1349 - Don't use "register" storage class specifier
1350 - Wrap definition of free_langs() with HAVE_ATEXIT
1351 - Add coretext_aat shaper and hb_coretext_face_create() constructor
1352 - If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
1353 - Add Myanmar test case from OpenType Myanmar spec
1354 - Only do fallback Hebrew composition if no GPOS 'mark' available
1355 - Allow bootstrapping without gtk-doc
1356 - Use AM_MISSING_PROG for ragel and git
1357 - Typo in ucdn's Makefile.am
1358 - Improve MemoryBarrier() implementation
1361 Overview of changes leading to 0.9.26
1362 Thursday, January 30, 2014
1363 =====================================
1366 - Fix application of 'rtlm' feature.
1367 - Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH.
1368 - New header: hb-ot-shape.h
1369 - Uniscribe: fix scratch-buffer accounting.
1370 - Reorder Tai Tham SAKOT to after tone-marks.
1371 - Add Hangul shaper.
1373 hb-ot-shape-complex-hangul.cc
1374 hb-ot-shape-complex-hebrew.cc
1375 hb-ot-shape-complex-tibetan.cc
1376 - Disable 'cswh' feature in Arabic shaper.
1377 - Coretext: better handle surrogate pairs.
1378 - Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE.
1381 Overview of changes leading to 0.9.25
1382 Wednesday, December 4, 2013
1383 =====================================
1385 - Myanmar shaper improvements.
1386 - Avoid font fallback in CoreText backend.
1387 - Additional OpenType language tag mappiongs.
1388 - More aggressive shape-plan caching.
1389 - Build with / require automake 1.13.
1390 - Build with libtool 2.4.2.418 alpha to support ppc64le.
1393 Overview of changes leading to 0.9.24
1394 Tuesday, November 13, 2013
1395 =====================================
1397 - Misc compiler warning fixes with clang.
1398 - No functional changes.
1401 Overview of changes leading to 0.9.23
1402 Monday, October 28, 2013
1403 =====================================
1405 - "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
1406 - Fix (Chain)Context recursion with non-monotone lookup positions.
1407 - Misc Indic bug fixes.
1408 - New Javanese / Buginese shaping, similar to Windows 8.1.
1411 Overview of changes leading to 0.9.22
1412 Thursday, October 3, 2013
1413 =====================================
1415 - Fix use-after-end-of-scope in hb_language_from_string().
1416 - Fix hiding of default_ignorables if font doesn't have space glyph.
1417 - Protect against out-of-range lookup indices.
1421 * Added hb_ot_layout_table_get_lookup_count()
1424 Overview of changes leading to 0.9.21
1425 Monday, September 16, 2013
1426 =====================================
1428 - Rename gobject-introspection library name from harfbuzz to HarfBuzz.
1429 - Remove (long disabled) hb-old and hb-icu-le test shapers.
1430 - Misc gtk-doc and gobject-introspection annotations.
1434 * Add HB_SET_VALUE_INVALID
1436 Overview of changes leading to 0.9.20
1437 Thursday, August 29, 2013
1438 =====================================
1441 - Misc substitute_closure() fixes.
1445 - gtk-doc boilerplate integrated. Docs are built now, but
1446 contain no contents. By next release hopefully we have
1447 some content in. Enable using --enable-gtk-doc.
1449 GObject and Introspection:
1450 - Added harfbuzz-gobject library (hb-gobject.h) that has type
1451 bindings for all HarfBuzz objects and enums. Enable using
1453 - Added gobject-introspection boilerplate. Nothing useful
1454 right now. Work in progress. Gets enabled automatically if
1455 --with-gobject is used. Override with --disable-introspection.
1458 - Apply 'mark' in Myanmar shaper.
1459 - Don't apply 'dlig' by default.
1462 - Support user features.
1463 - Fix loading of fonts that are also installed on the system.
1464 - Fix shaping of Arabic Presentation Forms.
1465 - Fix build with wide chars.
1468 - Support user features.
1471 - hb_face_t code moved to hb-face.h / hb-face.cc.
1472 - Added hb-deprecated.h.
1475 - Added HB_DISABLE_DEPRECATED.
1476 - Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
1477 HB_SCRIPT_CANADIAN_SYLLABICS.
1478 - Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
1479 HB_BUFFER_FLAG_DEFAULT.
1480 - Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
1481 HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
1484 Overview of changes leading to 0.9.19
1485 Tuesday, July 16, 2013
1486 =====================================
1489 - Better handling of multiple variation selectors in a row.
1490 - Pass on variation selector to GSUB if not consumed by cmap.
1491 - Fix undefined memory access.
1492 - Add Javanese config to Indic shaper.
1495 Overview of changes leading to 0.9.18
1496 Tuesday, May 28, 2013
1497 =====================================
1501 - All unneeded code is all disabled by default,
1503 - Uniscribe and CoreText shapers can be enabled with their --with options,
1505 - icu_le and old shapers cannot be enabled for now,
1507 - glib, freetype, and cairo will be detected automatically.
1508 They can be force on/off'ed with their --with options,
1510 - icu and graphite2 are default off, can be enabled with their --with
1513 Moreover, ICU support is now build into a separate library:
1514 libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
1515 Distros can enable ICU now without every application on earth
1516 getting linked to via libharfbuzz.so.
1518 For distros I recommend that they make sure they are building --with-glib
1519 --with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
1520 And package harfbuzz and harfbuzz-icu separately.
1523 Overview of changes leading to 0.9.17
1524 Monday, May 20, 2013
1525 =====================================
1528 - Fix bug in hb_set_get_min().
1529 - Fix regression with Arabic mark positioning / width-zeroing.
1531 Overview of changes leading to 0.9.16
1532 Friday, April 19, 2013
1533 =====================================
1535 - Major speedup in OpenType lookup processing. With the Amiri
1536 Arabic font, this release is over 3x faster than previous
1537 release. All scripts / languages should see this speedup.
1539 - New --num-iterations option for hb-shape / hb-view; useful for
1542 Overview of changes leading to 0.9.15
1543 Friday, April 05, 2013
1544 =====================================
1547 - Fix crasher in graphite2 shaper.
1548 - Fix Arabic mark width zeroing regression.
1549 - Don't compose Hangul jamo into Unicode syllables.
1552 Overview of changes leading to 0.9.14
1553 Thursday, March 21, 2013
1554 =====================================
1557 - Fix time-consuming sanitize with malicious fonts.
1558 - Implement hb_buffer_deserialize_glyphs() for both json and text.
1559 - Do not ignore Hangul filler characters.
1561 * Fix Malayalam pre-base reordering interaction with post-forms.
1562 * Further adjust ZWJ handling. Should fix known regressions from
1566 Overview of changes leading to 0.9.13
1567 Thursday, February 25, 2013
1568 =====================================
1571 - Ngapi HarfBuzz Hackfest in London (February 2013):
1572 * Fixed all known Indic bugs,
1573 * New Win8-style Myanmar shaper,
1574 * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
1575 * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
1576 matching GSUB/GPOS lookups,
1577 * Fix 'Phags-Pa U+A872 shaping,
1578 * Fix partial disabling of default-on features,
1579 * Allow disabling of TrueType kerning.
1580 - Fix possible crasher with broken fonts with overlapping tables.
1581 - Removed generated files from git again. So, one needs ragel to
1582 bootstrap from the git tree.
1585 - hb_shape() and related APIs now abort if buffer direction is
1586 HB_DIRECTION_INVALID. Previously, hb_shape() was calling
1587 hb_buffer_guess_segment_properties() on the buffer before
1588 shaping. The heuristics in that function are fragile. If the
1589 user really wants the old behvaior, they can call that function
1590 right before calling hb_shape() to get the old behavior.
1591 - hb_blob_create_sub_blob() always creates sub-blob with
1592 HB_MEMORY_MODE_READONLY. See comments for the reason.
1595 Overview of changes leading to 0.9.12
1596 Thursday, January 18, 2013
1597 =====================================
1599 - Build fixes for Sun compiler.
1602 Overview of changes leading to 0.9.11
1603 Thursday, January 10, 2013
1604 =====================================
1607 - Fix GPOS mark attachment with null Anchor offsets.
1608 - [Indic] Fix old-spec reordering of viramas if sequence ends in one.
1609 - Fix multi-threaded shaper data creation crash.
1610 - Add atomic ops for Solaris.
1613 - Rename hb_buffer_clear() to hb_buffer_clear_contents().
1616 Overview of changes leading to 0.9.10
1617 Thursday, January 3, 2013
1618 =====================================
1620 - [Indic] Fixed rendering of Malayalam dot-reph
1621 - Updated OT language tags.
1622 - Updated graphite2 backend.
1623 - Improved hb_ot_layout_get_size_params() logic.
1624 - Improve hb-shape/hb-view help output.
1625 - Fixed hb-set.h implementation to not crash.
1626 - Fixed various issues with hb_ot_layout_collect_lookups().
1627 - Various build fixes.
1631 hb_graphite2_face_get_gr_face()
1632 hb_graphite2_font_get_gr_font()
1633 hb_coretext_face_get_cg_font()
1637 hb_ot_layout_get_size_params()
1640 Overview of changes leading to 0.9.9
1641 Wednesday, December 5, 2012
1642 ====================================
1644 - Fix build on Windows.
1645 - Minor improvements.
1648 Overview of changes leading to 0.9.8
1649 Tuesday, December 4, 2012
1650 ====================================
1653 - Actually implement hb_shape_plan_get_shaper ().
1654 - Make UCDB data tables const.
1655 - Lots of internal refactoring in OTLayout tables.
1656 - Flesh out hb_ot_layout_lookup_collect_glyphs().
1660 hb_ot_layout_collect_lookups()
1661 hb_ot_layout_get_size_params()
1664 Overview of changes leading to 0.9.7
1665 Sunday, November 21, 2012
1666 ====================================
1669 HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
1671 - Fix Arabic contextual joining using pre-context text.
1672 - Fix Sinhala "split matra" mess.
1673 - Fix Khmer shaping with broken fonts.
1674 - Implement Thai "PUA" shaping for old fonts.
1675 - Do NOT route Kharoshthi script through the Indic shaper.
1676 - Disable fallback positioning for Indic and Thai shapers.
1680 hb-shape / hb-view changes:
1682 - Add --text-before and --text-after
1683 - Add --bot / --eot / --preserve-default-ignorables
1684 - hb-shape --output-format=json
1693 HB_BUFFER_FLAGS_DEFAULT
1696 HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
1698 hb_buffer_set_flags()
1699 hb_buffer_get_flags()
1701 HB_BUFFER_SERIALIZE_FLAGS
1702 hb_buffer_serialize_glyphs()
1703 hb_buffer_deserialize_glyphs()
1704 hb_buffer_serialize_list_formats()
1708 hb_set_get_population()
1711 hb_face_[sg]et_glyph_count()
1713 hb_segment_properties_t
1714 HB_SEGMENT_PROPERTIES_DEFAULT
1715 hb_segment_properties_equal()
1716 hb_segment_properties_hash()
1718 hb_buffer_set_segment_properties()
1719 hb_buffer_get_segment_properties()
1721 hb_ot_layout_glyph_class_t
1722 hb_ot_layout_get_glyph_class()
1723 hb_ot_layout_get_glyphs_in_class()
1726 hb_shape_plan_create()
1727 hb_shape_plan_create_cached()
1728 hb_shape_plan_get_empty()
1729 hb_shape_plan_reference()
1730 hb_shape_plan_destroy()
1731 hb_shape_plan_set_user_data()
1732 hb_shape_plan_get_user_data()
1733 hb_shape_plan_execute()
1734 hb_shape_plan_get_shaper()
1736 hb_ot_shape_plan_collect_lookups()
1741 - Remove "mask" parameter from hb_buffer_add().
1742 - Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
1743 - hb-set.h API const correction.
1744 - Renamed hb_set_min/max() to hb_set_get_min/max().
1745 - Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
1746 - Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
1750 Overview of changes leading to 0.9.6
1751 Sunday, November 13, 2012
1752 ====================================
1754 - Don't clear pre-context text if no new context is provided.
1755 - Fix ReverseChainingSubstLookup, which was totally borked.
1756 - Adjust output format of hb-shape a bit.
1757 - Include config.h.in in-tree. Makes it easier for alternate build systems.
1758 - Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
1759 - Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
1760 - Drop glyphs for all of Unicode Default_Ignorable characters.
1764 - Enable 'dlig' and 'mset' features in Arabic shaper.
1765 - Implement 'Phags-pa shaping, improve Mongolian.
1768 - Decompose Sinhala split matras the way old HarfBuzz / Pango did.
1769 - Initial support for Consonant Medials.
1770 - Start adding new-style Myanmar shaping.
1771 - Make reph and 'pref' logic introspect the font.
1772 - Route Meetei-Mayek through the Indic shaper.
1773 - Don't apply 'liga' in Indic shaper.
1774 - Improve Malayalam pre-base reordering Ra interaction with Chillus.
1778 Overview of changes leading to 0.9.5
1779 Sunday, October 14, 2012
1780 ====================================
1782 - Synthetic-GSUB Arabic fallback shaping.
1784 - Misc Indic improvements.
1786 - Add build system support for pthread.
1788 - Imported UCDN for in-tree Unicode callbacks implementation.
1790 - Context-aware Arabic joining.
1796 hb_feature_to/from-string()
1797 hb_buffer_[sg]et_content_type()
1801 Overview of changes leading to 0.9.4
1802 Tuesday, Sep 03, 2012
1803 ====================================
1805 - Indic improvements with old-spec Malayalam.
1807 - Better fallback glyph positioning, specially with Thai / Lao marks.
1809 - Implement dotted-circle insertion.
1811 - Better Arabic fallback shaping / ligation.
1813 - Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
1819 Overview of changes leading to 0.9.3
1820 Friday, Aug 18, 2012
1821 ====================================
1823 - Fixed fallback mark positioning for left-to-right text.
1825 - Improve mark positioning for the remaining combining classes.
1827 - Unbreak Thai and fallback Arabic shaping.
1829 - Port Arabic shaper to shape-plan caching.
1831 - Use new ICU normalizer functions.
1835 Overview of changes leading to 0.9.2
1836 Friday, Aug 10, 2012
1837 ====================================
1839 - Over a thousand commits! This is the first major release of HarfBuzz.
1841 - HarfBuzz is feature-complete now! It should be in par, or better, than
1842 both Pango's shapers and old HarfBuzz / Qt shapers.
1844 - New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
1846 - Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
1847 Sinhala, N'ko, Mongolian, and Mandaic.
1849 - New Thai / Lao shaper.
1851 - Tibetan / Hangul support in the generic shaper.
1853 - Synthetic GDEF support for fonts without a GDEF table.
1855 - Fallback mark positioning for fonts without a GPOS table.
1857 - Unicode normalization shaping heuristic during glyph mapping.
1859 - New experimental Graphite2 backend.
1861 - New Uniscribe backend (primarily for testing).
1863 - New CoreText backend (primarily for testing).
1865 - Major optimization and speedup.
1867 - Test suites and testing infrastructure (work in progress).
1869 - Greatly improved hb-view cmdline tool.
1871 - hb-shape cmdline tool.
1873 - Unicode 6.1 support.
1875 Summary of API changes:
1879 - Users are expected to only include main header files now (ie. hb.h,
1880 hb-glib.h, hb-ft.h, ...)
1882 - All struct tag names had their initial underscore removed.
1883 Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
1885 - All set_user_data() functions now take a "replace" boolean parameter.
1887 - hb_buffer_create() takes zero arguments now.
1888 Use hb_buffer_pre_allocate() to pre-allocate.
1890 - hb_buffer_add_utf*() now accept -1 for length parameteres,
1891 meaning "nul-terminated".
1893 - hb_direction_t enum values changed.
1895 - All *_from_string() APIs now take a length parameter to allow for
1896 non-nul-terminated strings. A -1 length means "nul-terminated".
1898 - Typedef for hb_language_t changed.
1900 - hb_get_table_func_t renamed to hb_reference_table_func_t.
1902 - hb_ot_layout_table_choose_script()
1904 - Various renames in hb-unicode.h.
1908 - hb_buffer_guess_properties()
1909 Automatically called by hb_shape().
1911 - hb_buffer_normalize_glyphs()
1913 - hb_tag_from_string()
1919 - hb_face_reference_blob()
1920 - hb_face_[sg]et_index()
1921 - hb_face_set_upem()
1923 - hb_font_get_glyph_name_func_t
1924 hb_font_get_glyph_from_name_func_t
1925 hb_font_funcs_set_glyph_name_func()
1926 hb_font_funcs_set_glyph_from_name_func()
1927 hb_font_get_glyph_name()
1928 hb_font_get_glyph_from_name()
1929 hb_font_glyph_to_string()
1930 hb_font_glyph_from_string()
1932 - hb_font_set_funcs_data()
1934 - hb_ft_font_set_funcs()
1935 - hb_ft_font_get_face()
1937 - hb-gobject.h (work in progress)
1939 - hb_ot_shape_glyphs_closure()
1940 hb_ot_layout_substitute_closure_lookup()
1946 - hb_unicode_combining_class_t
1948 - hb_unicode_compose_func_t
1949 hb_unicode_decompose_func_t
1950 hb_unicode_decompose_compatibility_func_t
1951 hb_unicode_funcs_set_compose_func()
1952 hb_unicode_funcs_set_decompose_func()
1953 hb_unicode_funcs_set_decompose_compatibility_func()
1954 hb_unicode_compose()
1955 hb_unicode_decompose()
1956 hb_unicode_decompose_compatibility()
1960 - hb_ft_get_font_funcs()
1962 - hb_ot_layout_substitute_start()
1963 hb_ot_layout_substitute_lookup()
1964 hb_ot_layout_substitute_finish()
1965 hb_ot_layout_position_start()
1966 hb_ot_layout_position_lookup()
1967 hb_ot_layout_position_finish()
1971 Overview of changes leading to 0.6.0
1972 Friday, May 27, 2011
1973 ====================================
1975 - Vertical text support in GPOS
1976 - Almost all API entries have unit tests now, under test/
1977 - All thread-safety issues are fixed
1979 Summary of API changes follows.
1986 hb_language_get_default()
1987 hb_direction_to_string()
1988 hb_direction_from_string()
1989 hb_script_get_horizontal_direction()
1993 hb_category_t renamed to hb_unicode_general_category_t
1996 hb_language_t is a typed pointers now
2002 * Use ISO 15924 tags for hb_script_t:
2005 hb_script_from_iso15924_tag()
2006 hb_script_to_iso15924_tag()
2007 hb_script_from_string()
2010 HB_SCRIPT_* enum members changed value.
2013 * Buffer API streamlined:
2017 hb_buffer_set_length()
2018 hb_buffer_allocation_successful()
2021 hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
2022 hb_buffer_add_glyph() renamed to hb_buffer_add()
2026 hb_buffer_clear_positions()
2029 hb_buffer_get_glyph_infos() takes an out length parameter now
2030 hb_buffer_get_glyph_positions() takes an out length parameter now
2033 * Blob API streamlined:
2037 hb_blob_get_data_writable()
2040 hb_blob_create_empty() renamed to hb_blob_get_empty()
2045 hb_blob_is_writable()
2046 hb_blob_try_writable()
2049 hb_blob_create() takes user_data before destroy now
2052 * Unicode functions API:
2054 o Unicode function vectors can subclass other unicode function vectors now.
2055 Unimplemented callbacks in the subclass automatically chainup to the parent.
2057 o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
2058 take a user_data and its respective destroy callback.
2061 hb_unicode_funcs_get_empty()
2062 hb_unicode_funcs_get_default()
2063 hb_unicode_funcs_get_parent()
2066 hb_unicode_funcs_create() now takes a parent_funcs.
2068 o Removed func getter functions:
2069 hb_unicode_funcs_get_mirroring_func()
2070 hb_unicode_funcs_get_general_category_func()
2071 hb_unicode_funcs_get_script_func()
2072 hb_unicode_funcs_get_combining_class_func()
2073 hb_unicode_funcs_get_eastasian_width_func()
2079 hb_face_get_table() renamed to hb_face_reference_table()
2080 hb_face_create_for_data() renamed to hb_face_create()
2083 hb_face_create_for_tables() takes user_data before destroy now
2084 hb_face_reference_table() returns empty blob instead of NULL
2085 hb_get_table_func_t accepts the face as first parameter now
2089 o Fonts can subclass other fonts now. Unimplemented callbacks in the
2090 subclass automatically chainup to the parent. When chaining up,
2091 scale is adjusted if the parent font has a different scale.
2093 o All hb_font_funcs_t callbacks take a user_data now. Their setters
2094 take a user_data and its respective destroy callback.
2097 hb_font_get_parent()
2098 hb_font_funcs_get_empty()
2099 hb_font_create_sub_font()
2102 hb_font_funcs_copy()
2103 hb_font_unset_funcs()
2105 o Removed func getter functions:
2106 hb_font_funcs_get_glyph_func()
2107 hb_font_funcs_get_glyph_advance_func()
2108 hb_font_funcs_get_glyph_extents_func()
2109 hb_font_funcs_get_contour_point_func()
2110 hb_font_funcs_get_kerning_func()
2113 hb_font_create() takes a face and references it now
2114 hb_font_set_funcs() takes user_data before destroy now
2115 hb_font_set_scale() accepts signed integers now
2116 hb_font_get_contour_point_func_t now takes glyph first, then point_index
2117 hb_font_get_glyph_func_t returns a success boolean now
2120 * Changed object model:
2122 o All object types have a _get_empty() now:
2124 hb_buffer_get_empty()
2127 hb_font_funcs_get_empty()
2128 hb_unicode_funcs_get_empty()
2130 o Added _set_user_data() and _get_user_data() for all object types:
2131 hb_blob_get_user_data()
2132 hb_blob_set_user_data()
2133 hb_buffer_get_user_data()
2134 hb_buffer_set_user_data()
2135 hb_face_get_user_data()
2136 hb_face_set_user_data()
2137 hb_font_funcs_get_user_data()
2138 hb_font_funcs_set_user_data()
2139 hb_font_get_user_data()
2140 hb_font_set_user_data()
2141 hb_unicode_funcs_get_user_data()
2142 hb_unicode_funcs_set_user_data()
2144 o Removed the _get_reference_count() from all object types:
2145 hb_blob_get_reference_count()
2146 hb_buffer_get_reference_count()
2147 hb_face_get_reference_count()
2148 hb_font_funcs_get_reference_count()
2149 hb_font_get_reference_count()
2150 hb_unicode_funcs_get_reference_count()
2152 o Added _make_immutable() and _is_immutable() for all object types except for buffer:
2153 hb_blob_make_immutable()
2154 hb_blob_is_immutable()
2155 hb_face_make_immutable()
2156 hb_face_is_immutable()
2159 * Changed API for vertical text support
2161 o The following callbacks where removed:
2162 hb_font_get_glyph_advance_func_t
2163 hb_font_get_kerning_func_t
2165 o The following new callbacks added instead:
2166 hb_font_get_glyph_h_advance_func_t
2167 hb_font_get_glyph_v_advance_func_t
2168 hb_font_get_glyph_h_origin_func_t
2169 hb_font_get_glyph_v_origin_func_t
2170 hb_font_get_glyph_h_kerning_func_t
2171 hb_font_get_glyph_v_kerning_func_t
2173 o The following API removed as such:
2174 hb_font_funcs_set_glyph_advance_func()
2175 hb_font_funcs_set_kerning_func()
2176 hb_font_get_glyph_advance()
2177 hb_font_get_kerning()
2179 o New API added instead:
2180 hb_font_funcs_set_glyph_h_advance_func()
2181 hb_font_funcs_set_glyph_v_advance_func()
2182 hb_font_funcs_set_glyph_h_origin_func()
2183 hb_font_funcs_set_glyph_v_origin_func()
2184 hb_font_funcs_set_glyph_h_kerning_func()
2185 hb_font_funcs_set_glyph_v_kerning_func()
2186 hb_font_get_glyph_h_advance()
2187 hb_font_get_glyph_v_advance()
2188 hb_font_get_glyph_h_origin()
2189 hb_font_get_glyph_v_origin()
2190 hb_font_get_glyph_h_kerning()
2191 hb_font_get_glyph_v_kerning()
2193 o The following higher-leve API added for convenience:
2194 hb_font_get_glyph_advance_for_direction()
2195 hb_font_get_glyph_origin_for_direction()
2196 hb_font_add_glyph_origin_for_direction()
2197 hb_font_subtract_glyph_origin_for_direction()
2198 hb_font_get_glyph_kerning_for_direction()
2199 hb_font_get_glyph_extents_for_origin()
2200 hb_font_get_glyph_contour_point_for_origin()
2203 * OpenType Layout API:
2206 hb_ot_layout_position_start()
2207 hb_ot_layout_substitute_start()
2208 hb_ot_layout_substitute_finish()
2214 hb_glib_script_to_script()
2215 hb_glib_script_from_script()
2216 hb_icu_script_to_script()
2217 hb_icu_script_from_script()
2220 * Version API added: