1 Overview of changes leading to 2.9.1
2 Tuesday, September 7, 2021
3 ====================================
4 - Final subset API is in place and if no issues are discovered, it will be the
5 stable subset API of HarfBuzz 3.0.0. Old API is kept to ease transition, but
6 will be removed in 3.0.0.
7 - Various fuzzer-found bug fixes.
8 - hb_buffer_append() now handles the pre- and post-context which previously
9 were left unchanged in the destination buffer.
10 - hb-view / hb-shape now accept following new arguments:
11 o --unicodes: takes a list of hex numbers that represent Unicode
17 Overview of changes leading to 2.9.0
18 Wednesday, August 18, 2021
19 History Repeats Itself (Afghanistan)
20 ====================================
21 - Subsetter API is being stabilized, with the first stable API to happen in
22 3.0.0 release (https://github.com/harfbuzz/harfbuzz/issues/3078).
23 - Support multiple variation axes with same tag, aka HOI.
24 - The “coretext” testing shaper now passes font variations to CoreText.
25 - hb-shape/hb-view does not break line at new lines unless text is read from
27 - hb-view and hb-subset has a --batch now, similar to hb-shape.
28 - The --batch mode now uses ; as argument separator instead of : used previously.
29 - The --batch in hb-shape does not expect 0th argument anymore. That is, the
30 lines read are interpreted as argv[1:], instead of argv[0:].
31 - The --batch option has been undocumented. We are ready to document it; send
32 feedback if you find it useful.
33 - hb-subset got arguments revamps. Added much-requested --gids-file, --glyphs,
34 --glyphs-file, --unicodes-file, supporting ranges in --unicodes.
38 Overview of changes leading to 2.8.2
40 ====================================
41 - Shaping LTR digits for RTL scripts now makes the native direction of the
42 digits LTR, applying shaping and positioning rules on the same glyph order as
43 Uniscribe. (Jonathan Kew, Khaled Hosny).
44 - Subsetting COLR v1 and CPAL tables is now supported. (Garret Rieger, Qunxin Liu)
45 - Various fixes and improvements to the subsetter. (Garret Rieger, Qunxin Liu, Behdad)
46 - When applying morx table, mark glyph widths should not be zeroed. (Jonathan Kew)
47 - GPOS is preferred over kerx, if GSUB was applied. (Behdad)
48 - Regional_Indicator pairs are grouped together when clustering. (Behdad)
50 +hb_blob_create_or_fail()
51 +hb_blob_create_from_file_or_fail()
55 Overview of changes leading to 2.8.1
57 ====================================
58 - Subsetter now fully supports GSUB/GPOS/GDEF tables (including variations); as
59 such, layout tables are retained by subsetter by default. (Garret Rieger, Qunxin Liu)
60 - Build scripts no longer check for FontConfig as HarfBuzz does not use it.
61 - hb-view supports iTerm2 and kitty inline image protocols (Khaled Hosny),
62 it can also use Chafa for terminal graphics if available (Hans Petter Jansson).
64 Overview of changes leading to 2.8.0
65 Tuesday, March 16, 2021
66 ====================================
67 - Shape joining scripts other than Arabic/Syriac using the Universal Shaping Engine.
68 Previously these were shaped using the generalized Arabic shaper. (David Corbett)
69 - Fix regression in shaping of U+0B55 ORIYA SIGN OVERLINE. (David Corbett)
70 - Update language tags. (David Corbett)
71 - Variations: reduce error: do not round each interpolated delta. (Just van Rossum)
72 - Documentation improvements. (Khaled Hosny, Nathan Willis)
73 - Subsetter improvements: subsets most, if not all, lookup types now. (Garret Rieger, Qunxin Liu)
74 - Fuzzer-found fixes and other improvements when memory failures happen. (Behdad)
75 - Removed most atomic implementations now that we have C++11 atomic impl. (Behdad)
76 - General codebase upkeep; using more C++11 features: constexpr constructors, etc. (Behdad)
79 Overview of changes leading to 2.7.4
80 Sunday, December 27, 2020
81 ====================================
82 - Fix missing --enable-introspection configure option from previous release
84 - Documentation updates.
87 Overview of changes leading to 2.7.3
88 Wednesday, December 23, 2020
89 ====================================
90 - Update USE shaper to 2020-08-13 specification, and other improvements.
91 - Don’t disable liga feature in myanmar shaper, to match Uniscribe.
92 - Improvements to language and script tags handling.
93 - Update language system tag registry to OpenType 1.8.4
94 - Support for serializing and deserializing Unicode buffers. Serialized buffers
95 are now delimited with `<>` or `[]` based on whether it is a Unicode or
97 - Increase buffer work limits to handle fonts with many complex lookups.
98 - Handle more shaping operations in trace output.
99 - Memory access fixes.
101 - Improved documentation.
102 - Build system improvements.
104 +hb_buffer_has_positions()
105 +hb_buffer_serialize()
106 +hb_buffer_serialize_unicode()
107 +hb_buffer_deserialize_unicode()
110 Overview of changes leading to 2.7.2
111 Saturday, August 29, 2020
112 ====================================
113 - Fix a regression in the previous release that caused a crash with Kaithi.
117 Overview of changes leading to 2.7.1
118 Thursday, August 13, 2020
119 ====================================
120 - ot-funcs now handles variable empty glyphs better when hvar/vvar isn't present.
121 - Reverted a GDEF processing regression.
122 - A couple of fixes to handle OOM better.
125 Overview of changes leading to 2.7.0
126 Saturday, July 25, 2020
127 ====================================
128 - Use an implementation for round that always rounds up, some minor fluctuations
129 are expected on var font specially when hb-ot callback is used.
130 - Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
131 - Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
132 use on macOS installed fonts (only two files). GDEF support is the recommended
133 one and expected to work properly after issues fixed two releases ago.
134 - Minor memory fixes to handle OOM better specially in hb-ft.
135 - Minor .so files versioning scheme change and remove stable/unstable scheme
136 differences, was never used in practice (always default to stable scheme).
137 - We are now suggesting careful packaging of the library using meson,
138 https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
139 for more information.
140 - Distribution package URL is changed, either use GitHub generated tarballs,
141 `https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
142 or, even more preferably use commit hash of the release and git checkouts like,
143 `git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
146 Overview of changes leading to 2.6.8
147 Monday, June 22, 2020
148 ====================================
149 - New API to fetch glyph alternates from GSUB table.
150 - hb-coretext build fix for macOS < 10.10.
151 - Meson build fixes, cmake port removal is postponed but please prepare for
152 it and give us feedback.
153 Autotools is still our main build system however please consider
154 experimenting with meson also for packaging the library.
156 +hb_ot_layout_lookup_get_glyph_alternates()
159 Overview of changes leading to 2.6.7
160 Wednesday, June 3, 2020
161 ====================================
162 - Update to Unicode 13.0.0.
163 - Fix hb_ot_layout_get_ligature_carets for fonts without lcar table, it was
164 completely broken for all the other fonts since 2.1.2.
165 - As a part of our migration to meson, this release will be the last one
166 to provide cmake port files but autotools still is our main build system.
167 There is a possibility that the next version or the after be released
171 Overview of changes leading to 2.6.6
172 Tuesday, May 12, 2020
173 ====================================
174 - A fix in AAT kerning for Geeza Pro.
175 - Better support for resource fork fonts on macOS.
178 Overview of changes leading to 2.6.5
179 Friday, April 17, 2020
180 ====================================
181 - Add experimental meson build system. Autotools is still the primary
182 and supported build system.
183 - AAT is now always preferred for horizontal scripts when both AAT and OT
184 layout tables exist at the same time.
185 - Subsetter improvements.
187 +hb_ft_font_lock_face()
188 +hb_ft_font_unlock_face()
191 Overview of changes leading to 2.6.4
192 Monday, October 29, 2019
193 ====================================
198 Overview of changes leading to 2.6.3
199 Monday, October 28, 2019
200 ====================================
201 - Misc small fixes, mostly to build-related issues.
203 +hb_font_get_nominal_glyphs()
206 Overview of changes leading to 2.6.2
207 Monday, September 30, 2019
208 ====================================
209 - Misc small fixes, mostly to build-related issues.
212 Overview of changes leading to 2.6.1
213 Thursday, August 22, 2019
214 ====================================
215 - Fix regression with hb_font_create_sub_font scaling introduced in 2.6.0.
216 - Change interpretation of font PTEM size / CoreText font size handling.
217 See https://github.com/harfbuzz/harfbuzz/pull/1484
218 - hb-ot-font: Prefer symbol cmap subtable if present.
219 - Apply 'dist'/'abvm'/'blwm' features to all scripts.
220 - Drop experimental DirectWrite API.
223 Overview of changes leading to 2.6.0
224 Tuesday, August 13, 2019
225 ====================================
226 - New OpenType metrics, baseline, and metadata table access APIs.
227 - New API to set font variations to a named-instance.
228 - New hb-gdi.h header and API for creating hb_face_t from HFONT.
229 - Amalgam: Provide a single-file harfbuzz.cc file for easier alternate building.
230 - More size-reduction configurable options, enabled by HB_TINY.
232 +hb_font_set_var_named_instance()
233 +hb_gdi_face_create()
234 +hb_ot_layout_baseline_tag_t
235 +hb_ot_layout_get_baseline()
237 +hb_ot_meta_get_entry_tags()
238 +hb_ot_meta_reference_entry()
240 +hb_ot_metrics_get_position()
241 +hb_ot_metrics_get_variation()
242 +hb_ot_metrics_get_x_variation()
243 +hb_ot_metrics_get_y_variation()
246 Overview of changes leading to 2.5.3
247 Wednesday, June 26, 2019
248 ====================================
249 - Fix UCD script data for Unicode 10+ scripts. This was broken since 2.5.0.
250 - More optimizations for HB_TINY.
253 Overview of changes leading to 2.5.2
254 Thursday, June 20, 2019
255 ====================================
256 - More hb-config.hh facilities to shrink library size, namely when built as
258 - New documentation of custom configurations in CONFIG.md.
259 - Fix build on gcc 4.8. That's supported again.
260 - Universal Shaping Engine improvements thanks to David Corbett.
261 - API Changes: Undeprecate some horizontal-kerning API and re-enable in hb-ft,
262 such that Type1 fonts will continue kerning.
265 Overview of changes leading to 2.5.1
267 ====================================
268 - Fix build with various versions of Visual Studio.
269 - Improved documentation, thanks to Nathan Willis.
270 - Bugfix in subsetting glyf table.
271 - Improved scripts for cross-compiling for Windows using mingw.
272 - Rename HB_MATH_GLYPH_PART_FLAG_EXTENDER to HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER.
273 A deprecated macro is added for backwards-compatibility.
276 Overview of changes leading to 2.5.0
278 ====================================
279 - This release does not include much functional changes, but includes major internal
280 code-base changes. We now require C++11. Support for gcc 4.8 and earlier has been
282 - New hb-config.hh facility for compiling smaller library for embedded and web usecases.
283 - New Unicode Character Databse implementation that is half the size of previously-used
285 - Subsetter improvements.
286 - Improved documentation, thanks to Nathan Willis.
287 - Misc shaping fixes.
290 Overview of changes leading to 2.4.0
291 Monday, March 25, 2019
292 ====================================
295 - Subsetter improvements.
297 HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE
298 hb_directwrite_face_create()
301 Overview of changes leading to 2.3.1
302 Wednesday, January 30, 2019
303 ====================================
305 - Misc internal housekeeping cleanup.
308 Overview of changes leading to 2.3.0
309 Thursday, December 20, 2018
310 ====================================
311 - Fix regression on big-endian architectures. Ouch!
312 - Misc bug and build fixes.
313 - Fix subsetting of simple GSUB/GDEF.
314 - Merge CFF / CFF2 support contributed by Adobe. This mostly involves
315 the subsetter, but also get_glyph_extents on CFF fonts.
318 +hb_aat_layout_has_substitution()
319 +hb_aat_layout_has_positioning()
320 +hb_aat_layout_has_tracking()
323 Overview of changes leading to 2.2.0
324 Thursday, November 29, 2018
325 ====================================
326 - Misc shaping bug fixes.
327 - Add font variations named-instance API.
328 - Deprecate font variations axis enumeration API and add replacement.
329 - AAT shaping improvements:
330 o Fixed 'kern' table Format 2 implementation.
331 o Implement 'feat' table API for feature detection.
332 o Blacklist 'GSUB' table of fonts from 'MUTF' foundry that also have 'morx'.
335 +hb_aat_layout_feature_type_t
336 +hb_aat_layout_feature_selector_t
337 +hb_aat_layout_get_feature_types()
338 +hb_aat_layout_feature_type_get_name_id
339 +hb_aat_layout_feature_selector_info_t
340 +HB_AAT_LAYOUT_NO_SELECTOR_INDEX
341 +hb_aat_layout_feature_type_get_selector_infos()
342 +hb_ot_var_axis_flags_t
343 +hb_ot_var_axis_info_t
344 +hb_ot_var_get_axis_infos()
345 +hb_ot_var_find_axis_info()
346 +hb_ot_var_get_named_instance_count()
347 +hb_ot_var_named_instance_get_subfamily_name_id()
348 +hb_ot_var_named_instance_get_postscript_name_id()
349 +hb_ot_var_named_instance_get_design_coords()
352 +HB_OT_VAR_NO_AXIS_INDEX
354 +hb_ot_var_get_axes()
355 +hb_ot_var_find_axis()
358 Overview of changes leading to 2.1.3
359 Friday, November 16, 2018
360 ====================================
361 - Fix AAT 'mort' shaping, which was broken in 2.1.2
364 Overview of changes leading to 2.1.2
365 Friday, November 16, 2018
366 ====================================
367 - Various internal changes.
368 - AAT shaping improvements:
369 o Implement kern table Format 1 state-machine-based kerning.
370 o Implement cross-stream kerning (cursive positioning, etc).
371 o Ignore emptyish GSUB tables (zero scripts) if morx present.
372 o Don't apply GPOS if morx is being applied. Matches Apple.
375 -Overview of changes leading to 2.1.1
376 Monday, November 5, 2018
377 ====================================
379 o Implement 'mort' table.
380 o Implement 'kern' subtables Format 1 and Format 3.
383 Overview of changes leading to 2.1.0
384 Tuesday, October 30, 2018
385 ====================================
386 - AAT shaping improvements:
387 o Allow user controlling AAT features, for whole buffer only currently.
388 o Several 'morx' fixes.
389 o Implement tuple-kerns in 'kerx'; Fixes kerning with Apple default
391 - Support for color fonts:
392 o COLR/CPAL API to fetch color layers.
393 o SVG table to fetch SVG documents.
394 o CBDT/sbix API to fetch PNG images.
395 - New 'name' table API.
396 - hb-ot-font now uses 'VORG' table to correctly position CFF glyphs
398 - Various fuzzer-found bug fixes.
402 A type and a macro added in 2.0.0 were renamed:
404 hb_name_id_t -> hb_ot_name_id_t
405 HB_NAME_ID_INVALID -> HB_OT_NAME_ID_INVALID
411 +hb_color_get_alpha()
413 +hb_color_get_green()
415 +hb_ot_color_has_palettes()
416 +hb_ot_color_palette_get_count()
417 +hb_ot_color_palette_get_name_id()
418 +hb_ot_color_palette_color_get_name_id()
419 +hb_ot_color_palette_flags_t
420 +hb_ot_color_palette_get_flags()
421 +hb_ot_color_palette_get_colors()
422 +hb_ot_color_has_layers()
424 +hb_ot_color_glyph_get_layers()
425 +hb_ot_color_has_svg()
426 +hb_ot_color_glyph_reference_svg()
427 +hb_ot_color_has_png()
428 +hb_ot_color_glyph_reference_png()
431 +HB_OT_NAME_ID_INVALID
432 +HB_OT_NAME_ID_COPYRIGHT
433 +HB_OT_NAME_ID_FONT_FAMILY
434 +HB_OT_NAME_ID_FONT_SUBFAMILY
435 +HB_OT_NAME_ID_UNIQUE_ID
436 +HB_OT_NAME_ID_FULL_NAME
437 +HB_OT_NAME_ID_VERSION_STRING
438 +HB_OT_NAME_ID_POSTSCRIPT_NAME
439 +HB_OT_NAME_ID_TRADEMARK
440 +HB_OT_NAME_ID_MANUFACTURER
441 +HB_OT_NAME_ID_DESIGNER
442 +HB_OT_NAME_ID_DESCRIPTION
443 +HB_OT_NAME_ID_VENDOR_URL
444 +HB_OT_NAME_ID_DESIGNER_URL
445 +HB_OT_NAME_ID_LICENSE
446 +HB_OT_NAME_ID_LICENSE_URL
447 +HB_OT_NAME_ID_TYPOGRAPHIC_FAMILY
448 +HB_OT_NAME_ID_TYPOGRAPHIC_SUBFAMILY
449 +HB_OT_NAME_ID_MAC_FULL_NAME
450 +HB_OT_NAME_ID_SAMPLE_TEXT
451 +HB_OT_NAME_ID_CID_FINDFONT_NAME
452 +HB_OT_NAME_ID_WWS_FAMILY
453 +HB_OT_NAME_ID_WWS_SUBFAMILY
454 +HB_OT_NAME_ID_LIGHT_BACKGROUND
455 +HB_OT_NAME_ID_DARK_BACKGROUND
456 +HB_OT_NAME_ID_VARIATIONS_PS_PREFIX
458 +hb_ot_name_list_names()
459 +hb_ot_name_get_utf8()
460 +hb_ot_name_get_utf16()
461 +hb_ot_name_get_utf32()
464 Overview of changes leading to 2.0.2
465 Saturday, October 20, 2018
466 ====================================
467 - Fix two minor memory access issues in AAT tables.
470 Overview of changes leading to 2.0.1
471 Friday, October 19, 2018
472 ====================================
473 - Fix hb-version.h reported release version that went wrong (1.8.0)
474 with previous release.
475 - Fix extrapolation in 'trak' table.
476 - Fix hb-font infinite-recursion issue with some font funcs and
478 - Implement variation-kerning format in kerx table, although without
480 - Fix return value of hb_map_is_empty().
483 Overview of changes leading to 2.0.0
484 Thursday, October 18, 2018
485 ====================================
486 - Added AAT shaping support (morx/kerx/trak).
487 Automatically used if GSUB/GPOS are not available respectively.
488 Set HB_OPTIONS=aat env var to have morx/kerx preferred over
490 - Apply TrueType kern table internally, instead of relying on
492 - Khmer shaper significantly rewritten to better match Uniscribe.
493 - Indic3 tags ('dev3', etc) are passed to USE shaper.
494 - .dfont Mac font containers implemented.
495 - Script- and language-mapping revamped to better use BCP 47.
496 - Misc USE and Indic fixes.
497 - Misc everything fixes.
498 - Too many things to list. Biggest release since 0.9.1, with
499 over 500 commits in just over 5 weeks! Didn't intend it to
500 be a big release. Just happened to become.
501 - hb-ft now locks underlying FT_Face during use.
505 - Newly-created hb_font_t's now have our internal "hb-ot-font"
506 callbacks set on them, so they should work out of the box
507 without any callbacks set. If callbacks are set, everything
508 is back to what it was before, the fallback callbacks are
509 null. If you to get the internal implementation modified,
512 - New hb_font_funcs_set_nominal_glyphs_func() allows speeding
513 up character to glyph mapping.
516 +HB_FEATURE_GLOBAL_START
517 +HB_FEATURE_GLOBAL_END
518 +hb_buffer_set_invisible_glyph()
519 +hb_buffer_get_invisible_glyph()
520 +hb_font_funcs_set_nominal_glyphs_func()
521 +hb_ot_layout_table_select_script()
522 +hb_ot_layout_script_select_language()
523 +hb_ot_layout_feature_get_name_ids()
524 +hb_ot_layout_feature_get_characters()
527 +HB_OT_MAX_TAGS_PER_SCRIPT
528 +hb_ot_tags_from_script_and_language()
529 +hb_ot_tags_to_script_and_language()
532 -hb_font_funcs_set_glyph_func()
533 -hb_unicode_eastasian_width_func_t
534 -hb_unicode_funcs_set_eastasian_width_func()
535 -hb_unicode_eastasian_width()
536 -hb_unicode_decompose_compatibility_func_t
537 -HB_UNICODE_MAX_DECOMPOSITION_LEN
538 -hb_unicode_funcs_set_decompose_compatibility_func()
539 -hb_unicode_decompose_compatibility()
540 -hb_font_funcs_set_glyph_h_kerning_func()
541 -hb_font_funcs_set_glyph_v_kerning_func()
542 -hb_font_get_glyph_h_kerning()
543 -hb_font_get_glyph_v_kerning()
544 -hb_font_get_glyph_kerning_for_direction()
545 -hb_ot_layout_table_choose_script()
546 -hb_ot_layout_script_find_language()
547 -hb_ot_tags_from_script()
548 -hb_ot_tag_from_language()
551 Overview of changes leading to 1.9.0
552 Monday, September 10, 2018
553 ====================================
554 - Added 'cmap' API to hb_face_t.
556 - hb-ot-font re-creation should be much leaner now, as the
557 font tables it uses are cached on hb_face_t now.
558 - Internal source header file name changes:
559 hb-*-private.hh is renamed to hb-*.hh.
563 +hb_face_collect_unicodes()
564 +hb_face_collect_variation_selectors()
565 +hb_face_collect_variation_unicodes()
566 +hb_face_builder_create()
567 +hb_face_builder_add_table()
570 Overview of changes leading to 1.8.8
571 Tuesday, August 14, 2018
572 ====================================
573 - Fix hb-icu crash on architectures where compare_exchange_weak() can
574 fail falsely. This bug was introduced in 1.8.4.
575 https://bugs.chromium.org/p/chromium/issues/detail?id=873568
576 - More internal refactoring of atomic operations and singletons.
578 The following functions do NOT reference their return value before
580 * hb_unicode_funcs_get_default()
581 * hb_glib_get_unicode_funcs()
582 * hb_icu_get_unicode_funcs()
583 This is consistent with their naming ("get", instead of "reference")
584 as well as how they are used in the wild (ie. no one calls destroy()
585 on their return value.)
588 Overview of changes leading to 1.8.7
589 Wednesday, August 8, 2018
590 ====================================
591 - Fix assertion failure with GDEF-blacklisted fonts.
594 Overview of changes leading to 1.8.6
595 Tuesday, August 7, 2018
596 ====================================
597 - Internal code shuffling.
598 - New API to speed up getting advance widths for implementations
599 that have heavy overhead in get_h_advance callback:
600 +hb_font_funcs_set_glyph_h_advances_func
601 +hb_font_funcs_set_glyph_v_advances_func
602 +hb_font_get_glyph_advances_for_direction
603 +hb_font_get_glyph_h_advances
604 +hb_font_get_glyph_h_advances_func_t
605 +hb_font_get_glyph_v_advances
606 +hb_font_get_glyph_v_advances_func_t
609 Overview of changes leading to 1.8.5
610 Wednesday, August 1, 2018
611 ====================================
612 - Major Khmer shaper improvements to better match Microsoft.
614 - Internal improvements to atomic operations.
617 Overview of changes leading to 1.8.4
618 Tuesday, July 17, 2018
619 ====================================
620 - Fix build on non-C++11.
621 - Use C++-style GCC atomics and C++11 atomics.
624 Overview of changes leading to 1.8.3
625 Wednesday, July 11, 2018
626 ====================================
627 - A couple of Indic / USE bug fixes.
628 - Disable vectorization, as it was causing unaligned access bus error on
629 certain 32bit architectures.
632 Overview of changes leading to 1.8.2
633 Tuesday, July 3, 2018
634 ====================================
635 - Fix infinite loop in Khmer shaper.
636 - Improve hb_blob_create_from_file() for streams.
639 Overview of changes leading to 1.8.1
640 Tuesday, June 12, 2018
641 ====================================
642 - Fix hb-version.h file generation; last two releases went out with wrong ones.
643 - Add correctness bug in hb_set_t operations, introduced in 1.7.7.
644 - Remove HB_SUBSET_BUILTIN build option. Not necessary.
647 Overview of changes leading to 1.8.0
648 Tuesday, June 5, 2018
649 ====================================
650 - Update to Unicode 11.0.0.
653 Overview of changes leading to 1.7.7
654 Tuesday, June 5, 2018
655 ====================================
656 - Lots of internal changes, but not yet exposed externally.
657 - All HarfBuzz objects are significantly smaller in size now.
658 - Sinhala: Position repha on top of post-consonant, not base.
659 This better matches Windows 10 behavior, which was changed
660 from previous Windows versions.
662 o New cpp macro HB_NO_ATEXIT
663 o New cpp macro HB_SUBSET_BUILTIN
664 - Significant libharfbuzz-subset changes. API subject to change.
665 - New API in libharfbuzz:
667 +hb_blob_create_from_file()
670 A hashmap implementation:
672 +HB_MAP_VALUE_INVALID
678 +hb_map_set_user_data()
679 +hb_map_get_user_data()
680 +hb_map_allocation_successful()
683 +hb_map_get_population()
690 Overview of changes leading to 1.7.6
691 Wednesday, March 7, 2018
692 ====================================
694 - Fix to hb_set_t binary operations. Ouch.
695 - New experimental harfbuzz-subset library. All of hb-subset.h
696 is experimental right now and API WILL change.
699 hb_blob_copy_writable_or_fail()
702 hb_set_previous_range()
705 Overview of changes leading to 1.7.5
706 Tuesday, January 30, 2018
707 ====================================
709 - Separate Khmer shaper from Indic.
710 - First stab at AAT morx. Not hooked up.
714 Overview of changes leading to 1.7.4
715 Wednesday, December 20, 2017
716 ====================================
718 - Fix collect_glyphs() regression caused by hb_set_t changes.
721 Overview of changes leading to 1.7.3
722 Monday, December 18, 2017
723 ====================================
725 - hb_set_t performance tuning and optimizations.
726 - Speed up collect_glyphs() and reject garbage data.
727 - In hb_coretext_font_create() set font point-size (ptem).
731 Overview of changes leading to 1.7.2
732 Monday, December 4, 2017
733 ====================================
735 - Optimize hb_set_add_range().
738 hb_coretext_font_create()
741 Overview of changes leading to 1.7.1
742 Tuesday, November 14, 2017
743 ====================================
745 - Fix atexit object destruction regression.
746 - Fix minor integer-overflow.
749 Overview of changes leading to 1.7.0
750 Monday, November 13, 2017
751 ====================================
754 - Implement kerning and glyph names in hb-ot-font.
755 - Various DSO optimization re .data and .bss sizes.
756 - Make C++11 optional; build fixes.
757 - Mark all other backends "unsafe-to-break".
761 Overview of changes leading to 1.6.3
762 Thursday, October 26th, 2017
763 ====================================
765 - Fix hb_set_t some more. Should be solid now.
766 - Implement get_glyph_name() for hb-ot-font.
770 Overview of changes leading to 1.6.2
771 Monday, October 23nd, 2017
772 ====================================
774 - Yesterday's release had a bad crasher; don't use it. That's what
775 happens when one works on Sunday...
776 https://github.com/harfbuzz/harfbuzz/issues/578
777 - Build fixes for FreeBSD and Chrome Android.
780 Overview of changes leading to 1.6.1
781 Sunday, October 22nd, 2017
782 ====================================
784 - Don't skip over COMBINING GRAPHEME JOINER when ligating, etc.
785 To be refined: https://github.com/harfbuzz/harfbuzz/issues/554
786 - Faster hb_set_t implementation.
787 - Don't use deprecated ICU API.
788 - Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0
793 Overview of changes leading to 1.6.0
794 Friday, October the 13th, 2017
795 ====================================
797 - Update to Unicode 10.
799 - Various Indic and Universal Shaping Engine fixes as a result of
800 HarfBuzz Hackfest with Jonathan Kew at Web Engines Hackfest at
801 the Igalia offices in A Coruña, Spain. Thanks Igalia for having
804 - Implement Unicode Arabic Mark Ordering Algorithm UTR#53.
806 - Implement optical sizing / tracking in CoreText backend, using
807 new API hb_font_set_ptem().
809 - Allow notifying hb_font_t that underlying FT_Face changed sizing,
810 using new API hb_ft_font_changed().
812 - More Graphite backend RTL fixes.
814 - Fix caching of variable font shaping plans.
816 - hb-view / hb-shape now accept following new arguments:
818 o --unicodes: takes a list of hex numbers that represent Unicode
822 +hb_face_get_table_tags()
825 +hb_ft_font_changed()
828 Overview of changes leading to 1.5.1
829 Tuesday, September 5, 2017
830 ====================================
832 - Fix "unsafe-to-break" in fallback shaping and other corner cases.
833 All our tests pass with --verify now, meaning unsafe-to-break API
835 - Add --unicodes to hb-view / hb-shape.
836 - [indic] Treat Consonant_With_Stacker as consonant. This will need
838 - hb_buffer_diff() tweaks.
841 Overview of changes leading to 1.5.0
842 Wednesday, August 23, 2017
843 ====================================
845 - Misc new API, for appending a buffer to another, and for comparing
846 contents of two buffers for types of differences.
848 - New "unsafe-to-break" API. Can be used to speed up reshaping
849 in line-breaking situations. Essentially, after shaping, it returns
850 positions in the input string (some of the cluster boundaries) that
851 are "safe to break" in that if the text is segmented at that position
852 and two sides reshaped and concatenated, the shaping result is
853 exactly the same as shaping the text in one piece.
855 hb-view and hb-shape and hb-shape now take --verify, which verifies
858 Some corner cases of the implementation are still not quite working.
859 Those will be fixed in subsequent releases.
866 HB_GLYPH_FLAG_UNSAFE_TO_BREAK
867 HB_GLYPH_FLAG_DEFINED
868 hb_glyph_info_get_glyph_flags()
870 HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS
872 hb_buffer_diff_flags_t
873 HB_BUFFER_DIFF_FLAG_EQUAL
874 HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH
875 HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH
876 HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT
877 HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT
878 HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH
879 HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH
880 HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH
881 HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH
885 Overview of changes leading to 1.4.8
886 Tuesday, August 8, 2017
887 ====================================
889 - Major fix to avar table handling.
890 - Rename hb-shape --show-message to --trace.
894 Overview of changes leading to 1.4.7
895 Tuesday, July 18, 2017
896 ====================================
898 - Multiple Indic, Tibetan, and Cham fixes.
899 - CoreText: Allow disabling kerning.
900 - Adjust Arabic feature order again.
904 Overview of changes leading to 1.4.6
905 Sunday, April 23, 2017
906 ====================================
908 - Graphite2: Fix RTL positioning issue.
909 - Backlist GDEF of more versions of Padauk and Tahoma.
910 - New, experimental, cmake alternative build system.
913 Overview of changes leading to 1.4.5
914 Friday, March 10, 2017
915 ====================================
917 - Revert "Fix Context lookup application when moving back after a glyph..."
918 This introduced memory access problems. To be fixed properly soon.
921 Overview of changes leading to 1.4.4
922 Sunday, March 5, 2017
923 ====================================
925 - Fix Context lookup application when moving back after a glyph deletion.
926 - Fix buffer-overrun in Bengali.
929 Overview of changes leading to 1.4.3
930 Saturday, February 25, 2017
931 ====================================
933 - Route Adlam script to Arabic shaper.
938 hb_graphite2_font_get_gr_font()
941 Overview of changes leading to 1.4.2
942 Monday, January 23, 2017
943 ====================================
945 - Implement OpenType Font Variation tables avar/fvar/HVAR/VVAR.
946 - hb-shape and hb-view now accept --variations.
950 hb_variation_from_string()
951 hb_variation_to_string()
953 hb_font_set_variations()
954 hb_font_set_var_coords_design()
955 hb_font_get_var_coords_normalized()
960 hb_ot_var_get_axis_count()
962 hb_ot_var_find_axis()
963 hb_ot_var_normalize_variations()
964 hb_ot_var_normalize_coords()
966 - MVAR to be implemented later. Access to named instances to be
967 implemented later as well.
972 Overview of changes leading to 1.4.1
973 Thursday, January 5, 2017
974 ====================================
976 - Always build and use UCDN for Unicode data by default.
977 Reduces dependence on version of Unicode data in glib,
978 specially in the Windows bundles we are shipping, which
982 Overview of changes leading to 1.4.0
983 Thursday, January 5, 2017
984 ====================================
986 - Merged "OpenType GX" branch which adds core of support for
987 OpenType 1.8 Font Variations. To that extent, the relevant
991 hb_font_set_var_coords_normalized()
996 HB_OT_LAYOUT_NO_VARIATIONS_INDEX
997 hb_ot_layout_table_find_feature_variations()
998 hb_ot_layout_feature_with_variations_get_lookups()
999 hb_shape_plan_create2()
1000 hb_shape_plan_create_cached2()
1002 Currently variations in GSUB/GPOS/GDEF are fully supported,
1003 and no other tables are supported. In particular, fvar/avar
1004 are NOT supported, hence the hb_font_set_var_coords_normalized()
1005 taking normalized coordinates. API to take design coordinates
1006 will be added in the future.
1008 HVAR/VVAR/MVAR support will also be added to hb-ot-font in the
1011 - Fix regression in GDEF glyph class processing.
1012 - Add decompositions for Chakma, Limbu, and Balinese in USE shaper.
1016 Overview of changes leading to 1.3.4
1017 Monday, December 5, 2016
1018 ====================================
1020 - Fix vertical glyph origin in hb-ot-font.
1021 - Implement CBDT/CBLC color font glyph extents in hb-ot-font.
1024 Overview of changes leading to 1.3.3
1025 Wednesday, September 28, 2016
1026 ====================================
1028 - Implement parsing of OpenType MATH table.
1032 hb_ot_math_constant_t
1034 hb_ot_math_glyph_variant_t
1035 hb_ot_math_glyph_part_flags_t
1036 hb_ot_math_glyph_part_t
1038 hb_ot_math_get_constant
1039 hb_ot_math_get_glyph_italics_correction
1040 hb_ot_math_get_glyph_top_accent_attachment
1041 hb_ot_math_get_glyph_kerning
1042 hb_ot_math_is_glyph_extended_shape
1043 hb_ot_math_get_glyph_variants
1044 hb_ot_math_get_min_connector_overlap
1045 hb_ot_math_get_glyph_assembly
1048 Overview of changes leading to 1.3.2
1049 Wednesday, September 27, 2016
1050 ====================================
1052 - Fix build of hb-coretext on older OS X versions.
1055 Overview of changes leading to 1.3.1
1056 Wednesday, September 7, 2016
1057 ====================================
1059 - Blacklist bad GDEF of more fonts (Padauk).
1060 - More CoreText backend crash fixes with OS X 10.9.5.
1064 Overview of changes leading to 1.3.0
1065 Thursday, July 21, 2016
1066 ====================================
1068 - Update to Unicode 9.0.0
1069 - Move Javanese from Indic shaper to Universal Shaping Engine.
1070 - Allow MultipleSubst to delete a glyph (matching Windows engine).
1071 - Update Universal Shaping Engine to latest draft from Microsoft.
1072 - DirectWrite backend improvements. Note: this backend is for testing ONLY.
1073 - CoreText backend improvements with unreachable fonts.
1074 - Implement symbol fonts (cmap 3.0.0) in hb-ft and hb-ot-font.
1075 - Blacklist bad GDEF of more fonts (Tahoma & others).
1079 Overview of changes leading to 1.2.7
1081 ====================================
1083 - Blacklist another version of Times New Roman (Bold) Italic from Windows 7.
1084 - Fix Mongolian Free Variation Selectors shaping with certain fonts.
1085 - Fix Tibetan shorthand contractions shaping.
1086 - Improved list of language tag mappings.
1087 - Unbreak build on Windows CE.
1088 - Make 'glyf' table loading lazy in hb-ot-font.
1091 Overview of changes leading to 1.2.6
1092 Friday, April 8, 2016
1093 ====================================
1095 - Blacklist GDEF table of another set of Times New Roman (Bold) Italic.
1096 - DirectWrite backend improvements. Note: DirectWrite backend is
1097 exclusively for our internal testing and should NOT be used in any
1098 production system whatsoever.
1101 Overview of changes leading to 1.2.5
1102 Monday, April 4, 2016
1103 ====================================
1105 - Fix GDEF mark-filtering-set, which was broken in 1.2.3.
1108 Overview of changes leading to 1.2.4
1109 Thursday, March 17, 2016
1110 ====================================
1112 - Synthesize GDEF glyph class for any glyph that does not have one in GDEF.
1113 I really hope we don't discover broken fonts that shape badly with this
1115 - Misc build and other minor fixes.
1117 - Added HB_NDEBUG. It's fine for production systems to define this to
1118 disable high-overhead debugging checks. However, I also reduced the
1119 overhead of those checks, so it's a non-issue right now. You can
1120 forget it. Just not defining anything at all is fine.
1123 Overview of changes leading to 1.2.3
1124 Thursday, February 25, 2016
1125 ====================================
1127 - Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic,
1128 due to bug in glyph class of ASCII double-quote character. This should
1129 address "regression" introduced in 1.2.0 when we switched mark zeroing
1130 in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE.
1131 This fourth release in a week should finally stablize things...
1133 - hb-ot-font's get_glyph() implementation saw some optimizations. Though,
1134 might be really hard to measure in real-world situations.
1136 - Also, two rather small API changes:
1138 We now disable some time-consuming internal bookkeeping if built with NDEBUG
1139 defined. This is a first time that we use NDEBUG to disable debug code. If
1140 there exist production systems that do NOT want to enable NDEBUG, please let
1141 me know and I'll add HB_NDEBUG.
1143 Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()
1146 - hb_font_get_nominal_glyph_func_t
1147 - hb_font_get_variation_glyph_func_t
1148 - hb_font_funcs_set_nominal_glyph_func()
1149 - hb_font_funcs_set_variation_glyph_func()
1150 - hb_font_get_nominal_glyph()
1151 - hb_font_get_variation_glyph()
1154 - hb_font_get_glyph_func_t
1155 - hb_font_funcs_set_glyph_func()
1157 Clients that implement their own font-funcs are encouraged to replace
1158 their get_glyph() implementation with a get_nominal_glyph() and
1159 get_variation_glyph() pair. The variation version can assume that
1160 variation_selector argument is not zero. Old (deprecated) functions
1161 will continue working indefinitely using internal gymnastics; it is
1162 just more efficient to use the new functions.
1165 Overview of changes leading to 1.2.2
1166 Wednesday, February 24, 2016
1167 ====================================
1169 - Fix regression with mark positioning with fonts that have
1170 non-zero mark advances. This was introduced in 1.2.0 while
1171 trying to make mark and cursive attachments to work together.
1172 I have partially reverted that, so this version is much more
1173 like what we had before. All clients who updated to 1.2.0
1174 should update to this version.
1177 Overview of changes leading to 1.2.1
1178 Tuesday, February 23, 2016
1179 ====================================
1181 - CoreText: Fix bug with wrong scale if font scale was changed later.
1182 https://github.com/libass/libass/issues/212
1183 - CoreText: Drastically speed up font initialization.
1184 - CoreText: Fix tiny leak.
1185 - Group ZWJ/ZWNJ with previous syllable under cluster-level=0.
1186 https://github.com/harfbuzz/harfbuzz/issues/217
1187 - Add test/shaping/README.md about how to add tests to the suite.
1190 Overview of changes leading to 1.2.0
1191 Friday, February 19, 2016
1192 ====================================
1194 - Fix various issues (hangs mostly) in case of memory allocation failure.
1195 - Change mark zeroing types of most shapers from BY_UNICODE_LATE to
1196 BY_GDEF_LATE. This seems to be what Uniscribe does.
1197 - Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's
1199 - Allow GPOS cursive connection on marks, and fix the interaction with
1200 mark attachment. This work resulted in some changes to how mark
1201 attachments work. See:
1202 https://github.com/harfbuzz/harfbuzz/issues/211
1203 https://github.com/harfbuzz/harfbuzz/commit/86c68c7a2c971efe8e35b1f1bd99401dc8b688d2
1204 - Graphite2 shaper: improved negative advance handling (eg. Nastaliq).
1205 - Add nmake-based build system for Windows.
1207 - Misc. improvements.
1210 Overview of changes leading to 1.1.3
1211 Monday, January 11, 2016
1212 ====================================
1214 - Ported Indic shaper to Unicode 8.0 data.
1215 - Universal Shaping Engine fixes.
1216 - Speed up CoreText shaper when font fallback happens in CoreText.
1217 - Documentation improvements, thanks to Khaled Hosny.
1218 - Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi.
1224 hb_font_get_font_extents_func_t
1225 hb_font_get_font_h_extents_func_t
1226 hb_font_get_font_v_extents_func_t
1227 hb_font_funcs_set_font_h_extents_func
1228 hb_font_funcs_set_font_v_extents_func
1229 hb_font_get_h_extents
1230 hb_font_get_v_extents
1231 hb_font_get_extents_for_direction
1233 * Buffer message (aka debug):
1234 hb_buffer_message_func_t
1235 hb_buffer_set_message_func()
1236 Actual message protocol to be fleshed out later.
1239 Overview of changes leading to 1.1.2
1240 Wednesday, November 26, 2015
1241 ====================================
1243 - Fix badly-broken fallback shaper that affected terminology.
1244 https://github.com/harfbuzz/harfbuzz/issues/187
1245 - Fix y_scaling in Graphite shaper.
1247 * An unset glyph_h_origin() function in font-funcs now (sensibly)
1248 implies horizontal origin at 0,0. Ie, the nil callback returns
1249 true instead of false. As such, implementations that have a
1250 glyph_h_origin() that simply returns true, can remove that function
1251 with HarfBuzz >= 1.1.2. This results in a tiny speedup.
1254 Overview of changes leading to 1.1.1
1255 Wednesday, November 24, 2015
1256 ====================================
1258 - Build fixes, specially for hb-coretext.
1261 Overview of changes leading to 1.1.0
1262 Wednesday, November 18, 2015
1263 ====================================
1265 - Implement 'stch' stretch feature for Syriac Abbreviation Mark.
1266 https://github.com/harfbuzz/harfbuzz/issues/141
1267 - Disable use of decompose_compatibility() callback.
1268 - Implement "shaping" of various Unicode space characters, even
1269 if the font does not support them.
1270 https://github.com/harfbuzz/harfbuzz/issues/153
1271 - If font does not support U+2011 NO-BREAK HYPHEN, fallback to
1273 - Changes resulting from libFuzzer continuous fuzzing:
1274 * Reject font tables that need more than 8 edits,
1275 * Bound buffer growth during shaping to 32x,
1276 * Fix assertions and other issues at OOM / buffer max-growth.
1277 - Misc fixes and optimizations.
1279 * All fonts created with hb_font_create() now inherit from
1280 (ie. have parent) hb_font_get_empty().
1283 Overview of changes leading to 1.0.6
1284 Thursday, October 15, 2015
1285 ====================================
1287 - Reduce max nesting level in OT lookups from 8 to 6.
1288 Should not affect any real font as far as I know.
1289 - Fix memory access issue in ot-font.
1290 - Revert default load-flags of fonts created using hb_ft_font_create()
1291 back to FT_LOAD_DEFAULT|FT_LOAD_NO_HINTING. This was changed in
1292 last release (1.0.5), but caused major issues, so revert.
1293 https://github.com/harfbuzz/harfbuzz/issues/143
1296 Overview of changes leading to 1.0.5
1297 Tuesday, October 13, 2015
1298 ====================================
1300 - Fix multiple memory access bugs discovered using libFuzzer.
1301 https://github.com/harfbuzz/harfbuzz/issues/139
1302 Everyone should upgrade to this version as soon as possible.
1303 We now have continuous fuzzing set up, to avoid issues like
1304 these creeping in again.
1308 * hb_font_set_parent().
1309 * hb_ft_font_[sg]et_load_flags()
1310 The default flags for fonts created using hb_ft_font_create()
1311 has changed to default to FT_LOAD_DEFAULT now. Previously it
1312 was defaulting to FT_LOAD_DFEAULT|FT_LOAD_NO_HINTING.
1315 * Fonts now default to units-per-EM as their scale, instead of 0.
1316 * hb_font_create_sub_font() does NOT make parent font immutable
1317 anymore. hb_font_make_immutable() does.
1320 Overview of changes leading to 1.0.4
1321 Wednesday, September 30, 2015
1322 ====================================
1324 - Fix minor out-of-bounds read error.
1327 Overview of changes leading to 1.0.3
1328 Tuesday, September 1, 2015
1329 ====================================
1331 - Start of user documentation, from Simon Cozens!
1332 - Implement glyph_extents() for TrueType fonts in hb-ot-font.
1333 - Improve GPOS cursive attachments with conflicting lookups.
1334 - More fixes for cluster-level = 1.
1335 - Uniscribe positioning fix.
1338 Overview of changes leading to 1.0.2
1339 Wednesday, August 19, 2015
1340 ====================================
1342 - Fix shaping with cluster-level > 0.
1343 - Fix Uniscribe backend font-size scaling.
1344 - Declare dependencies in harfbuzz.pc.
1345 FreeType is not declared though, to avoid bugs in pkg-config
1346 0.26 with recursive dependencies.
1347 - Slightly improved debug infrastructure. More to come later.
1351 Overview of changes leading to 1.0.1
1352 Monday, July 27, 2015
1353 ====================================
1355 - Fix out-of-bounds access in USE shaper.
1358 Overview of changes leading to 1.0.0
1359 Sunday, July 26, 2015
1360 ====================================
1362 - Implement Universal Shaping Engine:
1363 https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm
1364 http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/
1365 - Bump version to 1.0.0. The soname was NOT bumped.
1368 Overview of changes leading to 0.9.42
1369 Thursday, July 26, 2015
1370 =====================================
1372 - New API to allow for retrieving finer-grained cluster
1373 mappings if the client desires to handle them. Default
1374 behavior is unchanged.
1375 - Fix cluster merging when removing default-ignorables.
1376 - Update to Unicode 8.0
1377 - hb-graphite2 fixes.
1379 - Removed HB_NO_MERGE_CLUSTERS hack.
1381 hb_buffer_cluster_level_t enum
1382 hb_buffer_get_cluster_level()
1383 hb_buffer_set_cluster_level()
1384 hb-shape / hb-view --cluster-level
1387 Overview of changes leading to 0.9.41
1388 Thursday, June 18, 2015
1389 =====================================
1391 - Fix hb-coretext with trailing whitespace in right-to-left.
1392 - New API: hb_buffer_reverse_range().
1393 - Allow implementing atomic ops in config.h.
1394 - Fix hb_language_t in language bindings.
1398 Overview of changes leading to 0.9.40
1399 Friday, March 20, 2015
1400 =====================================
1402 - Another hb-coretext crasher fix. Ouch!
1406 Overview of changes leading to 0.9.39
1407 Wednesday, March 4, 2015
1408 =====================================
1410 - Critical hb-coretext fixes.
1411 - Optimizations and refactoring; no functional change
1416 Overview of changes leading to 0.9.38
1417 Friday, January 23, 2015
1418 =====================================
1420 - Fix minor out-of-bounds access in Indic shaper.
1421 - Change New Tai Lue shaping engine from South-East Asian to default,
1422 reflecting change in Unicode encoding model.
1423 - Add hb-shape --font-size. Can take up to two numbers for separate
1425 - Fix CoreText and FreeType scale issues with negative scales.
1426 - Reject blobs larger than 2GB. This might break some icu-le-hb clients
1427 that need security fixes. See:
1428 http://www.icu-project.org/trac/ticket/11450
1429 - Avoid accessing font tables during face destruction, in casce rogue
1430 clients released face data already.
1431 - Fix up gobject-introspection a bit. Python bindings kinda working.
1435 hb_ft_face_create_referenced()
1436 hb_ft_font_create_referenced()
1439 Overview of changes leading to 0.9.37
1440 Wednesday, December 17, 2014
1441 =====================================
1443 - Fix out-of-bounds access in Context lookup format 3.
1444 - Indic: Allow ZWJ/ZWNJ before syllable modifiers.
1447 Overview of changes leading to 0.9.36
1448 Thursday, November 20, 2014
1449 =====================================
1451 - First time that three months went by without a release since
1452 0.9.2 was released on August 10, 2012!
1453 - Fix performance bug in hb_ot_collect_glyphs():
1454 https://bugzilla.mozilla.org/show_bug.cgi?id=1090869
1455 - Add basic vertical-text support to hb-ot-font.
1459 Overview of changes leading to 0.9.35
1460 Saturday, August 13, 2014
1461 =====================================
1463 - Fix major shape-plan caching bug when more than one shaper were
1464 provided to hb_shape_full() (as exercised by XeTeX).
1465 http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
1466 - Fix Arabic fallback shaping regression. This was broken in 0.9.32.
1467 - Major hb-coretext fixes. That backend is complete now, including
1468 respecing buffer direction and language, down to vertical writing.
1469 - Build fixes for Windows CE. Should build fine now.
1471 Use atexit() only if it's safe to call from shared library
1472 https://bugs.freedesktop.org/show_bug.cgi?id=82246
1473 Mandaic had errors in its Unicode Joining_Type
1474 https://bugs.freedesktop.org/show_bug.cgi?id=82306
1477 * hb_buffer_clear_contents() does not reset buffer flags now.
1479 After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't
1480 need to set flags for different pieces of text. The flags now
1481 are something the client sets up once, depending on how it
1482 actually uses the buffer. As such, don't clear it in
1485 I don't expect any changes to be needed to any existing client.
1488 Overview of changes leading to 0.9.34
1489 Saturday, August 2, 2014
1490 =====================================
1492 - hb_feature_from_string() now accepts CSS font-feature-settings format.
1493 - As a result, hb-shape / hb-view --features also accept CSS-style strings.
1494 Eg, "'liga' off" is accepted now.
1495 - Add old-spec Myanmar shaper:
1496 https://bugs.freedesktop.org/show_bug.cgi?id=81775
1497 - Don't apply 'calt' in Hangul shaper.
1498 - Fix mark advance zeroing for Hebrew shaper:
1499 https://bugs.freedesktop.org/show_bug.cgi?id=76767
1500 - Implement Windows-1256 custom Arabic shaping. Only built on Windows,
1501 and requires help from get_glyph(). Used by Firefox.
1502 https://bugzilla.mozilla.org/show_bug.cgi?id=1045139
1503 - Disable 'liga' in vertical text.
1507 * Make HB_BUFFER_FLAG_BOT/EOT easier to use.
1509 Previously, we expected users to provide BOT/EOT flags when the
1510 text *segment* was at paragraph boundaries. This meant that for
1511 clients that provide full paragraph to HarfBuzz (eg. Pango), they
1514 hb_buffer_set_flags (hb_buffer,
1515 (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) |
1516 (item_offset + item_length == paragraph_length ?
1517 HB_BUFFER_FLAG_EOT : 0));
1519 hb_buffer_add_utf8 (hb_buffer,
1520 paragraph_text, paragraph_length,
1521 item_offset, item_length);
1523 After this change such clients can simply say:
1525 hb_buffer_set_flags (hb_buffer,
1526 HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT);
1528 hb_buffer_add_utf8 (hb_buffer,
1529 paragraph_text, paragraph_length,
1530 item_offset, item_length);
1532 Ie, HarfBuzz itself checks whether the segment is at the beginning/end
1533 of the paragraph. Clients that only pass item-at-a-time to HarfBuzz
1534 continue not setting any flags whatsoever.
1536 Another way to put it is: if there's pre-context text in the buffer,
1537 HarfBuzz ignores the BOT flag. If there's post-context, it ignores
1541 Overview of changes leading to 0.9.33
1542 Tuesday, July 22, 2014
1543 =====================================
1545 - Turn off ARabic 'cswh' feature that was accidentally turned on.
1546 - Add HB_TAG_MAX_SIGNED.
1547 - Make hb_face_make_immutable() really make face immutable!
1548 - Windows build fixes.
1551 Overview of changes leading to 0.9.32
1552 Thursday, July 17, 2014
1553 =====================================
1555 - Apply Arabic shaping features in spec order exactly.
1556 - Another fix for Mongolian free variation selectors.
1557 - For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt'
1559 - Minor adjustment to U+FFFD logic.
1560 - Fix hb-coretext build.
1563 Overview of changes leading to 0.9.31
1564 Wednesday, July 16, 2014
1565 =====================================
1567 - Only accept valid UTF-8/16/32; we missed many cases before.
1568 - Better shaping of invalid UTF-8/16/32. Falls back to
1569 U+FFFD REPLACEMENT CHARACTER now.
1570 - With all changes in this release, the buffer will contain fully
1571 valid Unicode after hb_buffer_add_utf8/16/32 no matter how
1572 broken the input is. This can be overridden though. See below.
1573 - Fix Mongolian Variation Selectors for fonts without GDEF.
1574 - Fix minor invalid buffer access.
1575 - Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language()
1576 now uses these instead of private tags.
1579 * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32()
1580 used to do, ie. no validity check on the input at all. add_utf32
1581 now replaces invalid Unicode codepoints with the replacement
1582 character (see below).
1583 * hb_buffer_set_replacement_codepoint()
1584 * hb_buffer_get_replacement_codepoint()
1585 Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when
1586 we detected broken input, we replaced that with (hb_codepoint_t)-1.
1587 This has changed to use U+FFFD now, but can be changed using these
1591 Overview of changes leading to 0.9.30
1592 Wednesday, July 9, 2014
1593 =====================================
1595 - Update to Unicode 7.0.0:
1596 * New scripts Manichaean and Psalter Pahlavi are shaped using
1598 * All the other new scripts to through the generic shaper for
1600 - Minor Indic improvements.
1601 - Fix graphite2 backend cluster mapping [crasher!]
1603 * New HB_SCRIPT_* values for Unicode 7.0 scripts.
1604 * New function hb_ot_layout_language_get_required_feature().
1608 Overview of changes leading to 0.9.29
1609 Thursday, May 29, 2014
1610 =====================================
1612 - Implement cmap in hb-ot-font.h. No variation-selectors yet.
1613 - Myanmar: Allow MedialYa+Asat.
1614 - Various Indic fixes:
1615 * Support most characters in Extended Devanagary and Vedic
1617 * Allow digits and a some punctuation as consonant placeholders.
1621 Overview of changes leading to 0.9.28
1622 Monday, April 28, 2014
1623 =====================================
1625 - Unbreak old-spec Indic shaping. (bug 76705)
1626 - Fix shaping of U+17DD and U+0FC6.
1627 - Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default
1628 for shipping libraries. It's an option for further experimentation
1629 right now. When we are sure how to do it properly, we will add
1630 public run-time API for the functionality.
1634 Overview of changes leading to 0.9.27
1635 Tuesday, March 18, 2014
1636 =====================================
1638 - Don't use "register" storage class specifier
1639 - Wrap definition of free_langs() with HAVE_ATEXIT
1640 - Add coretext_aat shaper and hb_coretext_face_create() constructor
1641 - If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
1642 - Add Myanmar test case from OpenType Myanmar spec
1643 - Only do fallback Hebrew composition if no GPOS 'mark' available
1644 - Allow bootstrapping without gtk-doc
1645 - Use AM_MISSING_PROG for ragel and git
1646 - Typo in ucdn's Makefile.am
1647 - Improve MemoryBarrier() implementation
1650 Overview of changes leading to 0.9.26
1651 Thursday, January 30, 2014
1652 =====================================
1655 - Fix application of 'rtlm' feature.
1656 - Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH.
1657 - New header: hb-ot-shape.h
1658 - Uniscribe: fix scratch-buffer accounting.
1659 - Reorder Tai Tham SAKOT to after tone-marks.
1660 - Add Hangul shaper.
1662 hb-ot-shape-complex-hangul.cc
1663 hb-ot-shape-complex-hebrew.cc
1664 hb-ot-shape-complex-tibetan.cc
1665 - Disable 'cswh' feature in Arabic shaper.
1666 - Coretext: better handle surrogate pairs.
1667 - Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE.
1670 Overview of changes leading to 0.9.25
1671 Wednesday, December 4, 2013
1672 =====================================
1674 - Myanmar shaper improvements.
1675 - Avoid font fallback in CoreText backend.
1676 - Additional OpenType language tag mappiongs.
1677 - More aggressive shape-plan caching.
1678 - Build with / require automake 1.13.
1679 - Build with libtool 2.4.2.418 alpha to support ppc64le.
1682 Overview of changes leading to 0.9.24
1683 Tuesday, November 13, 2013
1684 =====================================
1686 - Misc compiler warning fixes with clang.
1687 - No functional changes.
1690 Overview of changes leading to 0.9.23
1691 Monday, October 28, 2013
1692 =====================================
1694 - "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
1695 - Fix (Chain)Context recursion with non-monotone lookup positions.
1696 - Misc Indic bug fixes.
1697 - New Javanese / Buginese shaping, similar to Windows 8.1.
1700 Overview of changes leading to 0.9.22
1701 Thursday, October 3, 2013
1702 =====================================
1704 - Fix use-after-end-of-scope in hb_language_from_string().
1705 - Fix hiding of default_ignorables if font doesn't have space glyph.
1706 - Protect against out-of-range lookup indices.
1710 * Added hb_ot_layout_table_get_lookup_count()
1713 Overview of changes leading to 0.9.21
1714 Monday, September 16, 2013
1715 =====================================
1717 - Rename gobject-introspection library name from harfbuzz to HarfBuzz.
1718 - Remove (long disabled) hb-old and hb-icu-le test shapers.
1719 - Misc gtk-doc and gobject-introspection annotations.
1723 * Add HB_SET_VALUE_INVALID
1725 Overview of changes leading to 0.9.20
1726 Thursday, August 29, 2013
1727 =====================================
1730 - Misc substitute_closure() fixes.
1734 - gtk-doc boilerplate integrated. Docs are built now, but
1735 contain no contents. By next release hopefully we have
1736 some content in. Enable using --enable-gtk-doc.
1738 GObject and Introspection:
1739 - Added harfbuzz-gobject library (hb-gobject.h) that has type
1740 bindings for all HarfBuzz objects and enums. Enable using
1742 - Added gobject-introspection boilerplate. Nothing useful
1743 right now. Work in progress. Gets enabled automatically if
1744 --with-gobject is used. Override with --disable-introspection.
1747 - Apply 'mark' in Myanmar shaper.
1748 - Don't apply 'dlig' by default.
1751 - Support user features.
1752 - Fix loading of fonts that are also installed on the system.
1753 - Fix shaping of Arabic Presentation Forms.
1754 - Fix build with wide chars.
1757 - Support user features.
1760 - hb_face_t code moved to hb-face.h / hb-face.cc.
1761 - Added hb-deprecated.h.
1764 - Added HB_DISABLE_DEPRECATED.
1765 - Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
1766 HB_SCRIPT_CANADIAN_SYLLABICS.
1767 - Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
1768 HB_BUFFER_FLAG_DEFAULT.
1769 - Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
1770 HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
1773 Overview of changes leading to 0.9.19
1774 Tuesday, July 16, 2013
1775 =====================================
1778 - Better handling of multiple variation selectors in a row.
1779 - Pass on variation selector to GSUB if not consumed by cmap.
1780 - Fix undefined memory access.
1781 - Add Javanese config to Indic shaper.
1784 Overview of changes leading to 0.9.18
1785 Tuesday, May 28, 2013
1786 =====================================
1790 - All unneeded code is all disabled by default,
1792 - Uniscribe and CoreText shapers can be enabled with their --with options,
1794 - icu_le and old shapers cannot be enabled for now,
1796 - glib, freetype, and cairo will be detected automatically.
1797 They can be force on/off'ed with their --with options,
1799 - icu and graphite2 are default off, can be enabled with their --with
1802 Moreover, ICU support is now build into a separate library:
1803 libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
1804 Distros can enable ICU now without every application on earth
1805 getting linked to via libharfbuzz.so.
1807 For distros I recommend that they make sure they are building --with-glib
1808 --with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
1809 And package harfbuzz and harfbuzz-icu separately.
1812 Overview of changes leading to 0.9.17
1813 Monday, May 20, 2013
1814 =====================================
1817 - Fix bug in hb_set_get_min().
1818 - Fix regression with Arabic mark positioning / width-zeroing.
1820 Overview of changes leading to 0.9.16
1821 Friday, April 19, 2013
1822 =====================================
1824 - Major speedup in OpenType lookup processing. With the Amiri
1825 Arabic font, this release is over 3x faster than previous
1826 release. All scripts / languages should see this speedup.
1828 - New --num-iterations option for hb-shape / hb-view; useful for
1831 Overview of changes leading to 0.9.15
1832 Friday, April 05, 2013
1833 =====================================
1836 - Fix crasher in graphite2 shaper.
1837 - Fix Arabic mark width zeroing regression.
1838 - Don't compose Hangul jamo into Unicode syllables.
1841 Overview of changes leading to 0.9.14
1842 Thursday, March 21, 2013
1843 =====================================
1846 - Fix time-consuming sanitize with malicious fonts.
1847 - Implement hb_buffer_deserialize_glyphs() for both json and text.
1848 - Do not ignore Hangul filler characters.
1850 * Fix Malayalam pre-base reordering interaction with post-forms.
1851 * Further adjust ZWJ handling. Should fix known regressions from
1855 Overview of changes leading to 0.9.13
1856 Thursday, February 25, 2013
1857 =====================================
1860 - Ngapi HarfBuzz Hackfest in London (February 2013):
1861 * Fixed all known Indic bugs,
1862 * New Win8-style Myanmar shaper,
1863 * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
1864 * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
1865 matching GSUB/GPOS lookups,
1866 * Fix 'Phags-Pa U+A872 shaping,
1867 * Fix partial disabling of default-on features,
1868 * Allow disabling of TrueType kerning.
1869 - Fix possible crasher with broken fonts with overlapping tables.
1870 - Removed generated files from git again. So, one needs ragel to
1871 bootstrap from the git tree.
1874 - hb_shape() and related APIs now abort if buffer direction is
1875 HB_DIRECTION_INVALID. Previously, hb_shape() was calling
1876 hb_buffer_guess_segment_properties() on the buffer before
1877 shaping. The heuristics in that function are fragile. If the
1878 user really wants the old behvaior, they can call that function
1879 right before calling hb_shape() to get the old behavior.
1880 - hb_blob_create_sub_blob() always creates sub-blob with
1881 HB_MEMORY_MODE_READONLY. See comments for the reason.
1884 Overview of changes leading to 0.9.12
1885 Thursday, January 18, 2013
1886 =====================================
1888 - Build fixes for Sun compiler.
1891 Overview of changes leading to 0.9.11
1892 Thursday, January 10, 2013
1893 =====================================
1896 - Fix GPOS mark attachment with null Anchor offsets.
1897 - [Indic] Fix old-spec reordering of viramas if sequence ends in one.
1898 - Fix multi-threaded shaper data creation crash.
1899 - Add atomic ops for Solaris.
1902 - Rename hb_buffer_clear() to hb_buffer_clear_contents().
1905 Overview of changes leading to 0.9.10
1906 Thursday, January 3, 2013
1907 =====================================
1909 - [Indic] Fixed rendering of Malayalam dot-reph
1910 - Updated OT language tags.
1911 - Updated graphite2 backend.
1912 - Improved hb_ot_layout_get_size_params() logic.
1913 - Improve hb-shape/hb-view help output.
1914 - Fixed hb-set.h implementation to not crash.
1915 - Fixed various issues with hb_ot_layout_collect_lookups().
1916 - Various build fixes.
1920 hb_graphite2_face_get_gr_face()
1921 hb_graphite2_font_get_gr_font()
1922 hb_coretext_face_get_cg_font()
1926 hb_ot_layout_get_size_params()
1929 Overview of changes leading to 0.9.9
1930 Wednesday, December 5, 2012
1931 ====================================
1933 - Fix build on Windows.
1934 - Minor improvements.
1937 Overview of changes leading to 0.9.8
1938 Tuesday, December 4, 2012
1939 ====================================
1942 - Actually implement hb_shape_plan_get_shaper ().
1943 - Make UCDB data tables const.
1944 - Lots of internal refactoring in OTLayout tables.
1945 - Flesh out hb_ot_layout_lookup_collect_glyphs().
1949 hb_ot_layout_collect_lookups()
1950 hb_ot_layout_get_size_params()
1953 Overview of changes leading to 0.9.7
1954 Sunday, November 21, 2012
1955 ====================================
1958 HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
1960 - Fix Arabic contextual joining using pre-context text.
1961 - Fix Sinhala "split matra" mess.
1962 - Fix Khmer shaping with broken fonts.
1963 - Implement Thai "PUA" shaping for old fonts.
1964 - Do NOT route Kharoshthi script through the Indic shaper.
1965 - Disable fallback positioning for Indic and Thai shapers.
1969 hb-shape / hb-view changes:
1971 - Add --text-before and --text-after
1972 - Add --bot / --eot / --preserve-default-ignorables
1973 - hb-shape --output-format=json
1982 HB_BUFFER_FLAGS_DEFAULT
1985 HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
1987 hb_buffer_set_flags()
1988 hb_buffer_get_flags()
1990 HB_BUFFER_SERIALIZE_FLAGS
1991 hb_buffer_serialize_glyphs()
1992 hb_buffer_deserialize_glyphs()
1993 hb_buffer_serialize_list_formats()
1997 hb_set_get_population()
2000 hb_face_[sg]et_glyph_count()
2002 hb_segment_properties_t
2003 HB_SEGMENT_PROPERTIES_DEFAULT
2004 hb_segment_properties_equal()
2005 hb_segment_properties_hash()
2007 hb_buffer_set_segment_properties()
2008 hb_buffer_get_segment_properties()
2010 hb_ot_layout_glyph_class_t
2011 hb_ot_layout_get_glyph_class()
2012 hb_ot_layout_get_glyphs_in_class()
2015 hb_shape_plan_create()
2016 hb_shape_plan_create_cached()
2017 hb_shape_plan_get_empty()
2018 hb_shape_plan_reference()
2019 hb_shape_plan_destroy()
2020 hb_shape_plan_set_user_data()
2021 hb_shape_plan_get_user_data()
2022 hb_shape_plan_execute()
2023 hb_shape_plan_get_shaper()
2025 hb_ot_shape_plan_collect_lookups()
2030 - Remove "mask" parameter from hb_buffer_add().
2031 - Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
2032 - hb-set.h API const correction.
2033 - Renamed hb_set_min/max() to hb_set_get_min/max().
2034 - Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
2035 - Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
2039 Overview of changes leading to 0.9.6
2040 Sunday, November 13, 2012
2041 ====================================
2043 - Don't clear pre-context text if no new context is provided.
2044 - Fix ReverseChainingSubstLookup, which was totally borked.
2045 - Adjust output format of hb-shape a bit.
2046 - Include config.h.in in-tree. Makes it easier for alternate build systems.
2047 - Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
2048 - Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
2049 - Drop glyphs for all of Unicode Default_Ignorable characters.
2053 - Enable 'dlig' and 'mset' features in Arabic shaper.
2054 - Implement 'Phags-pa shaping, improve Mongolian.
2057 - Decompose Sinhala split matras the way old HarfBuzz / Pango did.
2058 - Initial support for Consonant Medials.
2059 - Start adding new-style Myanmar shaping.
2060 - Make reph and 'pref' logic introspect the font.
2061 - Route Meetei-Mayek through the Indic shaper.
2062 - Don't apply 'liga' in Indic shaper.
2063 - Improve Malayalam pre-base reordering Ra interaction with Chillus.
2067 Overview of changes leading to 0.9.5
2068 Sunday, October 14, 2012
2069 ====================================
2071 - Synthetic-GSUB Arabic fallback shaping.
2073 - Misc Indic improvements.
2075 - Add build system support for pthread.
2077 - Imported UCDN for in-tree Unicode callbacks implementation.
2079 - Context-aware Arabic joining.
2085 hb_feature_to/from-string()
2086 hb_buffer_[sg]et_content_type()
2090 Overview of changes leading to 0.9.4
2091 Tuesday, Sep 03, 2012
2092 ====================================
2094 - Indic improvements with old-spec Malayalam.
2096 - Better fallback glyph positioning, specially with Thai / Lao marks.
2098 - Implement dotted-circle insertion.
2100 - Better Arabic fallback shaping / ligation.
2102 - Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
2108 Overview of changes leading to 0.9.3
2109 Friday, Aug 18, 2012
2110 ====================================
2112 - Fixed fallback mark positioning for left-to-right text.
2114 - Improve mark positioning for the remaining combining classes.
2116 - Unbreak Thai and fallback Arabic shaping.
2118 - Port Arabic shaper to shape-plan caching.
2120 - Use new ICU normalizer functions.
2124 Overview of changes leading to 0.9.2
2125 Friday, Aug 10, 2012
2126 ====================================
2128 - Over a thousand commits! This is the first major release of HarfBuzz.
2130 - HarfBuzz is feature-complete now! It should be in par, or better, than
2131 both Pango's shapers and old HarfBuzz / Qt shapers.
2133 - New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
2135 - Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
2136 Sinhala, N'ko, Mongolian, and Mandaic.
2138 - New Thai / Lao shaper.
2140 - Tibetan / Hangul support in the generic shaper.
2142 - Synthetic GDEF support for fonts without a GDEF table.
2144 - Fallback mark positioning for fonts without a GPOS table.
2146 - Unicode normalization shaping heuristic during glyph mapping.
2148 - New experimental Graphite2 backend.
2150 - New Uniscribe backend (primarily for testing).
2152 - New CoreText backend (primarily for testing).
2154 - Major optimization and speedup.
2156 - Test suites and testing infrastructure (work in progress).
2158 - Greatly improved hb-view cmdline tool.
2160 - hb-shape cmdline tool.
2162 - Unicode 6.1 support.
2164 Summary of API changes:
2168 - Users are expected to only include main header files now (ie. hb.h,
2169 hb-glib.h, hb-ft.h, ...)
2171 - All struct tag names had their initial underscore removed.
2172 Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
2174 - All set_user_data() functions now take a "replace" boolean parameter.
2176 - hb_buffer_create() takes zero arguments now.
2177 Use hb_buffer_pre_allocate() to pre-allocate.
2179 - hb_buffer_add_utf*() now accept -1 for length parameteres,
2180 meaning "nul-terminated".
2182 - hb_direction_t enum values changed.
2184 - All *_from_string() APIs now take a length parameter to allow for
2185 non-nul-terminated strings. A -1 length means "nul-terminated".
2187 - Typedef for hb_language_t changed.
2189 - hb_get_table_func_t renamed to hb_reference_table_func_t.
2191 - hb_ot_layout_table_choose_script()
2193 - Various renames in hb-unicode.h.
2197 - hb_buffer_guess_properties()
2198 Automatically called by hb_shape().
2200 - hb_buffer_normalize_glyphs()
2202 - hb_tag_from_string()
2208 - hb_face_reference_blob()
2209 - hb_face_[sg]et_index()
2210 - hb_face_set_upem()
2212 - hb_font_get_glyph_name_func_t
2213 hb_font_get_glyph_from_name_func_t
2214 hb_font_funcs_set_glyph_name_func()
2215 hb_font_funcs_set_glyph_from_name_func()
2216 hb_font_get_glyph_name()
2217 hb_font_get_glyph_from_name()
2218 hb_font_glyph_to_string()
2219 hb_font_glyph_from_string()
2221 - hb_font_set_funcs_data()
2223 - hb_ft_font_set_funcs()
2224 - hb_ft_font_get_face()
2226 - hb-gobject.h (work in progress)
2228 - hb_ot_shape_glyphs_closure()
2229 hb_ot_layout_substitute_closure_lookup()
2235 - hb_unicode_combining_class_t
2237 - hb_unicode_compose_func_t
2238 hb_unicode_decompose_func_t
2239 hb_unicode_decompose_compatibility_func_t
2240 hb_unicode_funcs_set_compose_func()
2241 hb_unicode_funcs_set_decompose_func()
2242 hb_unicode_funcs_set_decompose_compatibility_func()
2243 hb_unicode_compose()
2244 hb_unicode_decompose()
2245 hb_unicode_decompose_compatibility()
2249 - hb_ft_get_font_funcs()
2251 - hb_ot_layout_substitute_start()
2252 hb_ot_layout_substitute_lookup()
2253 hb_ot_layout_substitute_finish()
2254 hb_ot_layout_position_start()
2255 hb_ot_layout_position_lookup()
2256 hb_ot_layout_position_finish()
2260 Overview of changes leading to 0.6.0
2261 Friday, May 27, 2011
2262 ====================================
2264 - Vertical text support in GPOS
2265 - Almost all API entries have unit tests now, under test/
2266 - All thread-safety issues are fixed
2268 Summary of API changes follows.
2275 hb_language_get_default()
2276 hb_direction_to_string()
2277 hb_direction_from_string()
2278 hb_script_get_horizontal_direction()
2282 hb_category_t renamed to hb_unicode_general_category_t
2285 hb_language_t is a typed pointers now
2291 * Use ISO 15924 tags for hb_script_t:
2294 hb_script_from_iso15924_tag()
2295 hb_script_to_iso15924_tag()
2296 hb_script_from_string()
2299 HB_SCRIPT_* enum members changed value.
2302 * Buffer API streamlined:
2306 hb_buffer_set_length()
2307 hb_buffer_allocation_successful()
2310 hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
2311 hb_buffer_add_glyph() renamed to hb_buffer_add()
2315 hb_buffer_clear_positions()
2318 hb_buffer_get_glyph_infos() takes an out length parameter now
2319 hb_buffer_get_glyph_positions() takes an out length parameter now
2322 * Blob API streamlined:
2326 hb_blob_get_data_writable()
2329 hb_blob_create_empty() renamed to hb_blob_get_empty()
2334 hb_blob_is_writable()
2335 hb_blob_try_writable()
2338 hb_blob_create() takes user_data before destroy now
2341 * Unicode functions API:
2343 o Unicode function vectors can subclass other unicode function vectors now.
2344 Unimplemented callbacks in the subclass automatically chainup to the parent.
2346 o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
2347 take a user_data and its respective destroy callback.
2350 hb_unicode_funcs_get_empty()
2351 hb_unicode_funcs_get_default()
2352 hb_unicode_funcs_get_parent()
2355 hb_unicode_funcs_create() now takes a parent_funcs.
2357 o Removed func getter functions:
2358 hb_unicode_funcs_get_mirroring_func()
2359 hb_unicode_funcs_get_general_category_func()
2360 hb_unicode_funcs_get_script_func()
2361 hb_unicode_funcs_get_combining_class_func()
2362 hb_unicode_funcs_get_eastasian_width_func()
2368 hb_face_get_table() renamed to hb_face_reference_table()
2369 hb_face_create_for_data() renamed to hb_face_create()
2372 hb_face_create_for_tables() takes user_data before destroy now
2373 hb_face_reference_table() returns empty blob instead of NULL
2374 hb_get_table_func_t accepts the face as first parameter now
2378 o Fonts can subclass other fonts now. Unimplemented callbacks in the
2379 subclass automatically chainup to the parent. When chaining up,
2380 scale is adjusted if the parent font has a different scale.
2382 o All hb_font_funcs_t callbacks take a user_data now. Their setters
2383 take a user_data and its respective destroy callback.
2386 hb_font_get_parent()
2387 hb_font_funcs_get_empty()
2388 hb_font_create_sub_font()
2391 hb_font_funcs_copy()
2392 hb_font_unset_funcs()
2394 o Removed func getter functions:
2395 hb_font_funcs_get_glyph_func()
2396 hb_font_funcs_get_glyph_advance_func()
2397 hb_font_funcs_get_glyph_extents_func()
2398 hb_font_funcs_get_contour_point_func()
2399 hb_font_funcs_get_kerning_func()
2402 hb_font_create() takes a face and references it now
2403 hb_font_set_funcs() takes user_data before destroy now
2404 hb_font_set_scale() accepts signed integers now
2405 hb_font_get_contour_point_func_t now takes glyph first, then point_index
2406 hb_font_get_glyph_func_t returns a success boolean now
2409 * Changed object model:
2411 o All object types have a _get_empty() now:
2413 hb_buffer_get_empty()
2416 hb_font_funcs_get_empty()
2417 hb_unicode_funcs_get_empty()
2419 o Added _set_user_data() and _get_user_data() for all object types:
2420 hb_blob_get_user_data()
2421 hb_blob_set_user_data()
2422 hb_buffer_get_user_data()
2423 hb_buffer_set_user_data()
2424 hb_face_get_user_data()
2425 hb_face_set_user_data()
2426 hb_font_funcs_get_user_data()
2427 hb_font_funcs_set_user_data()
2428 hb_font_get_user_data()
2429 hb_font_set_user_data()
2430 hb_unicode_funcs_get_user_data()
2431 hb_unicode_funcs_set_user_data()
2433 o Removed the _get_reference_count() from all object types:
2434 hb_blob_get_reference_count()
2435 hb_buffer_get_reference_count()
2436 hb_face_get_reference_count()
2437 hb_font_funcs_get_reference_count()
2438 hb_font_get_reference_count()
2439 hb_unicode_funcs_get_reference_count()
2441 o Added _make_immutable() and _is_immutable() for all object types except for buffer:
2442 hb_blob_make_immutable()
2443 hb_blob_is_immutable()
2444 hb_face_make_immutable()
2445 hb_face_is_immutable()
2448 * Changed API for vertical text support
2450 o The following callbacks where removed:
2451 hb_font_get_glyph_advance_func_t
2452 hb_font_get_kerning_func_t
2454 o The following new callbacks added instead:
2455 hb_font_get_glyph_h_advance_func_t
2456 hb_font_get_glyph_v_advance_func_t
2457 hb_font_get_glyph_h_origin_func_t
2458 hb_font_get_glyph_v_origin_func_t
2459 hb_font_get_glyph_h_kerning_func_t
2460 hb_font_get_glyph_v_kerning_func_t
2462 o The following API removed as such:
2463 hb_font_funcs_set_glyph_advance_func()
2464 hb_font_funcs_set_kerning_func()
2465 hb_font_get_glyph_advance()
2466 hb_font_get_kerning()
2468 o New API added instead:
2469 hb_font_funcs_set_glyph_h_advance_func()
2470 hb_font_funcs_set_glyph_v_advance_func()
2471 hb_font_funcs_set_glyph_h_origin_func()
2472 hb_font_funcs_set_glyph_v_origin_func()
2473 hb_font_funcs_set_glyph_h_kerning_func()
2474 hb_font_funcs_set_glyph_v_kerning_func()
2475 hb_font_get_glyph_h_advance()
2476 hb_font_get_glyph_v_advance()
2477 hb_font_get_glyph_h_origin()
2478 hb_font_get_glyph_v_origin()
2479 hb_font_get_glyph_h_kerning()
2480 hb_font_get_glyph_v_kerning()
2482 o The following higher-leve API added for convenience:
2483 hb_font_get_glyph_advance_for_direction()
2484 hb_font_get_glyph_origin_for_direction()
2485 hb_font_add_glyph_origin_for_direction()
2486 hb_font_subtract_glyph_origin_for_direction()
2487 hb_font_get_glyph_kerning_for_direction()
2488 hb_font_get_glyph_extents_for_origin()
2489 hb_font_get_glyph_contour_point_for_origin()
2492 * OpenType Layout API:
2495 hb_ot_layout_position_start()
2496 hb_ot_layout_substitute_start()
2497 hb_ot_layout_substitute_finish()
2503 hb_glib_script_to_script()
2504 hb_glib_script_from_script()
2505 hb_icu_script_to_script()
2506 hb_icu_script_from_script()
2509 * Version API added: