Merge branch 'upstream' into tizen
[platform/upstream/harfbuzz.git] / NEWS
1 Overview of changes leading to 2.4.0
2 Monday, March 25, 2019
3 ====================================
4 - Unicode 12.
5 - Misc fixes.
6 - Subsetter improvements.
7 - New API:
8 HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE
9 hb_directwrite_face_create()
10
11
12 Overview of changes leading to 2.3.1
13 Wednesday, January 30, 2019
14 ====================================
15 - AAT bug fixes.
16 - Misc internal housekeeping cleanup.
17
18
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.
27
28 New API in hb-aat.h:
29 +hb_aat_layout_has_substitution()
30 +hb_aat_layout_has_positioning()
31 +hb_aat_layout_has_tracking()
32
33
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'.
44
45 New API:
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()
61
62 Deprecated API:
63 +HB_OT_VAR_NO_AXIS_INDEX
64 +hb_ot_var_axis_t
65 +hb_ot_var_get_axes()
66 +hb_ot_var_find_axis()
67
68
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
73
74
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.
84
85
86 -Overview of changes leading to 2.1.1
87 Monday, November 5, 2018
88 ====================================
89 - AAT improvements:
90   o Implement 'mort' table.
91   o Implement 'kern' subtables Format 1 and Format 3.
92
93
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
101     San Francisco fonts.
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
108   in vertical layout.
109 - Various fuzzer-found bug fixes.
110
111 Changed API:
112
113 A type and a macro added in 2.0.0 were renamed:
114
115 hb_name_id_t -> hb_ot_name_id_t
116 HB_NAME_ID_INVALID -> HB_OT_NAME_ID_INVALID
117
118 New API:
119
120 +hb_color_t
121 +HB_COLOR
122 +hb_color_get_alpha()
123 +hb_color_get_red()
124 +hb_color_get_green()
125 +hb_color_get_blue()
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()
134 +hb_ot_color_layer_t
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()
140
141 +hb_ot_name_id_t
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
168 +hb_ot_name_entry_t
169 +hb_ot_name_list_names()
170 +hb_ot_name_get_utf8()
171 +hb_ot_name_get_utf16()
172 +hb_ot_name_get_utf32()
173
174
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.
179
180
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
188   subclassed fonts.
189 - Implement variation-kerning format in kerx table, although without
190   variation.
191 - Fix return value of hb_map_is_empty().
192
193
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
200   GSUB/GPOS.
201 - Apply TrueType kern table internally, instead of relying on
202   hb_font_t callbacks.
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.
213
214 API changes:
215
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,
221   sub_font it.
222
223 - New hb_font_funcs_set_nominal_glyphs_func() allows speeding
224   up character to glyph mapping.
225
226 New API:
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()
236 +hb_name_id_t
237 +HB_NAME_ID_INVALID
238 +HB_OT_MAX_TAGS_PER_SCRIPT
239 +hb_ot_tags_from_script_and_language()
240 +hb_ot_tags_to_script_and_language()
241
242 Deprecated API:
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()
260
261
262 Overview of changes leading to 1.9.0
263 Monday, September 10, 2018
264 ====================================
265 - Added 'cmap' API to hb_face_t.
266 - Face-builder API.
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.
271
272 New API:
273 +HB_UNICODE_MAX
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()
279
280
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.
288 - API changes:
289   The following functions do NOT reference their return value before
290   returning:
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.)
297
298
299 Overview of changes leading to 1.8.7
300 Wednesday, August 8, 2018
301 ====================================
302 - Fix assertion failure with GDEF-blacklisted fonts.
303
304
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
318
319
320 Overview of changes leading to 1.8.5
321 Wednesday, August 1, 2018
322 ====================================
323 - Major Khmer shaper improvements to better match Microsoft.
324 - Indic bug fixes.
325 - Internal improvements to atomic operations.
326
327
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.
333
334
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.
341
342
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.
348
349
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.
356
357
358 Overview of changes leading to 1.8.0
359 Tuesday, June 5, 2018
360 ====================================
361 - Update to Unicode 11.0.0.
362
363
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.
372 - New build options:
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:
377
378 +hb_blob_create_from_file()
379 +hb_face_count()
380
381 A hashmap implementation:
382 +hb-map.h
383 +HB_MAP_VALUE_INVALID
384 +hb_map_t
385 +hb_map_create()
386 +hb_map_get_empty()
387 +hb_map_reference()
388 +hb_map_destroy()
389 +hb_map_set_user_data()
390 +hb_map_get_user_data()
391 +hb_map_allocation_successful()
392 +hb_map_clear()
393 +hb_map_is_empty()
394 +hb_map_get_population()
395 +hb_map_set()
396 +hb_map_get()
397 +hb_map_del()
398 +hb_map_has()
399
400
401 Overview of changes leading to 1.7.6
402 Wednesday, March 7, 2018
403 ====================================
404
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.
408
409 - New API:
410 hb_blob_copy_writable_or_fail()
411 HB_OT_TAG_BASE
412 hb_set_previous()
413 hb_set_previous_range()
414
415
416 Overview of changes leading to 1.7.5
417 Tuesday, January 30, 2018
418 ====================================
419
420 - Separate Khmer shaper from Indic.
421 - First stab at AAT morx. Not hooked up.
422 - Misc bug fixes.
423
424
425 Overview of changes leading to 1.7.4
426 Wednesday, December 20, 2017
427 ====================================
428
429 - Fix collect_glyphs() regression caused by hb_set_t changes.
430
431
432 Overview of changes leading to 1.7.3
433 Monday, December 18, 2017
434 ====================================
435
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).
439 - Misc fixes.
440
441
442 Overview of changes leading to 1.7.2
443 Monday, December 4, 2017
444 ====================================
445
446 - Optimize hb_set_add_range().
447 - Misc fixes.
448 - New API:
449 hb_coretext_font_create()
450
451
452 Overview of changes leading to 1.7.1
453 Tuesday, November 14, 2017
454 ====================================
455
456 - Fix atexit object destruction regression.
457 - Fix minor integer-overflow.
458
459
460 Overview of changes leading to 1.7.0
461 Monday, November 13, 2017
462 ====================================
463
464 - Minor Indic fixes.
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".
469 - Graphite fix.
470
471
472 Overview of changes leading to 1.6.3
473 Thursday, October 26th, 2017
474 ====================================
475
476 - Fix hb_set_t some more.  Should be solid now.
477 - Implement get_glyph_name() for hb-ot-font.
478 - Misc fixes.
479
480
481 Overview of changes leading to 1.6.2
482 Monday, October 23nd, 2017
483 ====================================
484
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.
489
490
491 Overview of changes leading to 1.6.1
492 Sunday, October 22nd, 2017
493 ====================================
494
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
500 - Deprecated API:
501   hb_set_invert()
502
503
504 Overview of changes leading to 1.6.0
505 Friday, October the 13th, 2017
506 ====================================
507
508 - Update to Unicode 10.
509
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
513   us!
514
515 - Implement Unicode Arabic Mark Ordering Algorithm UTR#53.
516
517 - Implement optical sizing / tracking in CoreText backend, using
518   new API hb_font_set_ptem().
519
520 - Allow notifying hb_font_t that underlying FT_Face changed sizing,
521   using new API hb_ft_font_changed().
522
523 - More Graphite backend RTL fixes.
524
525 - Fix caching of variable font shaping plans.
526
527 - hb-view / hb-shape now accept following new arguments:
528
529   o --unicodes: takes a list of hex numbers that represent Unicode
530     codepoints.
531
532 New API:
533 +hb_face_get_table_tags()
534 +hb_font_set_ptem()
535 +hb_font_get_ptem()
536 +hb_ft_font_changed()
537
538
539 Overview of changes leading to 1.5.1
540 Tuesday, September 5, 2017
541 ====================================
542
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
545   works as expected.
546 - Add --unicodes to hb-view / hb-shape.
547 - [indic] Treat Consonant_With_Stacker as consonant.  This will need
548   further tweaking.
549 - hb_buffer_diff() tweaks.
550
551
552 Overview of changes leading to 1.5.0
553 Wednesday, August 23, 2017
554 ====================================
555
556 - Misc new API, for appending a buffer to another, and for comparing
557   contents of two buffers for types of differences.
558
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.
565
566   hb-view and hb-shape and hb-shape now take --verify, which verifies
567   the above property.
568
569   Some corner cases of the implementation are still not quite working.
570   Those will be fixed in subsequent releases.
571
572 - New API:
573
574 hb_buffer_append()
575
576 hb_glyph_flags_t
577 HB_GLYPH_FLAG_UNSAFE_TO_BREAK
578 HB_GLYPH_FLAG_DEFINED
579 hb_glyph_info_get_glyph_flags()
580
581 HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS
582
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
593 hb_buffer_diff
594
595
596 Overview of changes leading to 1.4.8
597 Tuesday, August 8, 2017
598 ====================================
599
600 - Major fix to avar table handling.
601 - Rename hb-shape --show-message to --trace.
602 - Build fixes.
603
604
605 Overview of changes leading to 1.4.7
606 Tuesday, July 18, 2017
607 ====================================
608
609 - Multiple Indic, Tibetan, and Cham fixes.
610 - CoreText: Allow disabling kerning.
611 - Adjust Arabic feature order again.
612 - Misc build fixes.
613
614
615 Overview of changes leading to 1.4.6
616 Sunday, April 23, 2017
617 ====================================
618
619 - Graphite2: Fix RTL positioning issue.
620 - Backlist GDEF of more versions of Padauk and Tahoma.
621 - New, experimental, cmake alternative build system.
622
623
624 Overview of changes leading to 1.4.5
625 Friday, March 10, 2017
626 ====================================
627
628 - Revert "Fix Context lookup application when moving back after a glyph..."
629   This introduced memory access problems.  To be fixed properly soon.
630
631
632 Overview of changes leading to 1.4.4
633 Sunday, March 5, 2017
634 ====================================
635
636 - Fix Context lookup application when moving back after a glyph deletion.
637 - Fix buffer-overrun in Bengali.
638
639
640 Overview of changes leading to 1.4.3
641 Saturday, February 25, 2017
642 ====================================
643
644 - Route Adlam script to Arabic shaper.
645 - Misc fixes.
646 - New API:
647   hb_font_set_face()
648 - Deprecate API:
649   hb_graphite2_font_get_gr_font()
650
651
652 Overview of changes leading to 1.4.2
653 Monday, January 23, 2017
654 ====================================
655
656 - Implement OpenType Font Variation tables avar/fvar/HVAR/VVAR.
657 - hb-shape and hb-view now accept --variations.
658 - New API:
659
660 hb_variation_t
661 hb_variation_from_string()
662 hb_variation_to_string()
663
664 hb_font_set_variations()
665 hb_font_set_var_coords_design()
666 hb_font_get_var_coords_normalized()
667
668 hb-ot-var.h:
669 hb_ot_var_axis_t
670 hb_ot_var_has_data()
671 hb_ot_var_get_axis_count()
672 hb_ot_var_get_axes()
673 hb_ot_var_find_axis()
674 hb_ot_var_normalize_variations()
675 hb_ot_var_normalize_coords()
676
677 - MVAR to be implemented later.  Access to named instances to be
678   implemented later as well.
679
680 - Misc fixes.
681
682
683 Overview of changes leading to 1.4.1
684 Thursday, January 5, 2017
685 ====================================
686
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
690   have very old glib.
691
692
693 Overview of changes leading to 1.4.0
694 Thursday, January 5, 2017
695 ====================================
696
697 - Merged "OpenType GX" branch which adds core of support for
698   OpenType 1.8 Font Variations.  To that extent, the relevant
699   new API is:
700
701 New API:
702 hb_font_set_var_coords_normalized()
703
704   with supporting API:
705
706 New API:
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()
712
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.
718
719   HVAR/VVAR/MVAR support will also be added to hb-ot-font in the
720   future.
721
722 - Fix regression in GDEF glyph class processing.
723 - Add decompositions for Chakma, Limbu, and Balinese in USE shaper.
724 - Misc fixes.
725
726
727 Overview of changes leading to 1.3.4
728 Monday, December 5, 2016
729 ====================================
730
731 - Fix vertical glyph origin in hb-ot-font.
732 - Implement CBDT/CBLC color font glyph extents in hb-ot-font.
733
734
735 Overview of changes leading to 1.3.3
736 Wednesday, September 28, 2016
737 ====================================
738
739 - Implement parsing of OpenType MATH table.
740 New API:
741 HB_OT_TAG_MATH
742 HB_OT_MATH_SCRIPT
743 hb_ot_math_constant_t
744 hb_ot_math_kern_t
745 hb_ot_math_glyph_variant_t
746 hb_ot_math_glyph_part_flags_t
747 hb_ot_math_glyph_part_t
748 hb_ot_math_has_data
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
757
758
759 Overview of changes leading to 1.3.2
760 Wednesday, September 27, 2016
761 ====================================
762
763 - Fix build of hb-coretext on older OS X versions.
764
765
766 Overview of changes leading to 1.3.1
767 Wednesday, September 7, 2016
768 ====================================
769
770 - Blacklist bad GDEF of more fonts (Padauk).
771 - More CoreText backend crash fixes with OS X 10.9.5.
772 - Misc fixes.
773
774
775 Overview of changes leading to 1.3.0
776 Thursday, July 21, 2016
777 ====================================
778
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).
787 - Misc fixes.
788
789
790 Overview of changes leading to 1.2.7
791 Monday, May 2, 2016
792 ====================================
793
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.
800
801
802 Overview of changes leading to 1.2.6
803 Friday, April 8, 2016
804 ====================================
805
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.
810
811
812 Overview of changes leading to 1.2.5
813 Monday, April 4, 2016
814 ====================================
815
816 - Fix GDEF mark-filtering-set, which was broken in 1.2.3.
817
818
819 Overview of changes leading to 1.2.4
820 Thursday, March 17, 2016
821 ====================================
822
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
825   change.
826 - Misc build and other minor fixes.
827 - API changes:
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.
832
833
834 Overview of changes leading to 1.2.3
835 Thursday, February 25, 2016
836 ====================================
837
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...
843
844 - hb-ot-font's get_glyph() implementation saw some optimizations.  Though,
845   might be really hard to measure in real-world situations.
846
847 - Also, two rather small API changes:
848
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.
853
854 Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()
855
856 New API:
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()
863
864 Deprecated API:
865 - hb_font_get_glyph_func_t
866 - hb_font_funcs_set_glyph_func()
867
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.
874
875
876 Overview of changes leading to 1.2.2
877 Wednesday, February 24, 2016
878 ====================================
879
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.
886
887
888 Overview of changes leading to 1.2.1
889 Tuesday, February 23, 2016
890 ====================================
891
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.
899
900
901 Overview of changes leading to 1.2.0
902 Friday, February 19, 2016
903 ====================================
904
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
909   what Windows does.
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.
917 - Minor speedup.
918 - Misc. improvements.
919
920
921 Overview of changes leading to 1.1.3
922 Monday, January 11, 2016
923 ====================================
924
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.
930 - Misc bug fixes.
931 - New API:
932
933   * Font extents:
934       hb_font_extents_t
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
943
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.
948
949
950 Overview of changes leading to 1.1.2
951 Wednesday, November 26, 2015
952 ====================================
953
954 - Fix badly-broken fallback shaper that affected terminology.
955   https://github.com/harfbuzz/harfbuzz/issues/187
956 - Fix y_scaling in Graphite shaper.
957 - API changes:
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.
963
964
965 Overview of changes leading to 1.1.1
966 Wednesday, November 24, 2015
967 ====================================
968
969 - Build fixes, specially for hb-coretext.
970
971
972 Overview of changes leading to 1.1.0
973 Wednesday, November 18, 2015
974 ====================================
975
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
983   U+2010 HYPHEN.
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.
989 - API changes:
990   * All fonts created with hb_font_create() now inherit from
991     (ie. have parent) hb_font_get_empty().
992
993
994 Overview of changes leading to 1.0.6
995 Thursday, October 15, 2015
996 ====================================
997
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
1005
1006
1007 Overview of changes leading to 1.0.5
1008 Tuesday, October 13, 2015
1009 ====================================
1010
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.
1016 - Misc fixes.
1017
1018 - New API:
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.
1024
1025 - API changes:
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.
1029
1030
1031 Overview of changes leading to 1.0.4
1032 Wednesday, September 30, 2015
1033 ====================================
1034
1035 - Fix minor out-of-bounds read error.
1036
1037
1038 Overview of changes leading to 1.0.3
1039 Tuesday, September 1, 2015
1040 ====================================
1041
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.
1047
1048
1049 Overview of changes leading to 1.0.2
1050 Wednesday, August 19, 2015
1051 ====================================
1052
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.
1059 - Misc build fixes.
1060
1061
1062 Overview of changes leading to 1.0.1
1063 Monday, July 27, 2015
1064 ====================================
1065
1066 - Fix out-of-bounds access in USE shaper.
1067
1068
1069 Overview of changes leading to 1.0.0
1070 Sunday, July 26, 2015
1071 ====================================
1072
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.
1077
1078
1079 Overview of changes leading to 0.9.42
1080 Thursday, July 26, 2015
1081 =====================================
1082
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.
1089 - Misc fixes.
1090 - Removed HB_NO_MERGE_CLUSTERS hack.
1091 - New API:
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
1096
1097
1098 Overview of changes leading to 0.9.41
1099 Thursday, June 18, 2015
1100 =====================================
1101
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.
1106 - Misc fixes.
1107
1108
1109 Overview of changes leading to 0.9.40
1110 Friday, March 20, 2015
1111 =====================================
1112
1113 - Another hb-coretext crasher fix.  Ouch!
1114 - Happy Norouz!
1115
1116
1117 Overview of changes leading to 0.9.39
1118 Wednesday, March 4, 2015
1119 =====================================
1120
1121 - Critical hb-coretext fixes.
1122 - Optimizations and refactoring; no functional change
1123   expected.
1124 - Misc build fixes.
1125
1126
1127 Overview of changes leading to 0.9.38
1128 Friday, January 23, 2015
1129 =====================================
1130
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
1135   x / y size.
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.
1143   See README.python.
1144 - Misc fixes.
1145 - API additions:
1146   hb_ft_face_create_referenced()
1147   hb_ft_font_create_referenced()
1148
1149
1150 Overview of changes leading to 0.9.37
1151 Wednesday, December 17, 2014
1152 =====================================
1153
1154 - Fix out-of-bounds access in Context lookup format 3.
1155 - Indic: Allow ZWJ/ZWNJ before syllable modifiers.
1156
1157
1158 Overview of changes leading to 0.9.36
1159 Thursday, November 20, 2014
1160 =====================================
1161
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.
1167 - Misc build fixes.
1168
1169
1170 Overview of changes leading to 0.9.35
1171 Saturday, August 13, 2014
1172 =====================================
1173
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.
1181 - Misc fixes:
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
1186 - API changes:
1187
1188   * hb_buffer_clear_contents() does not reset buffer flags now.
1189
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
1194     clear_contents().
1195
1196     I don't expect any changes to be needed to any existing client.
1197
1198
1199 Overview of changes leading to 0.9.34
1200 Saturday, August 2, 2014
1201 =====================================
1202
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.
1215 - Build fixes.
1216 - API changes:
1217
1218   * Make HB_BUFFER_FLAG_BOT/EOT easier to use.
1219
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
1223     had code like this:
1224
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));
1229
1230       hb_buffer_add_utf8 (hb_buffer,
1231                           paragraph_text, paragraph_length,
1232                           item_offset, item_length);
1233
1234     After this change such clients can simply say:
1235
1236       hb_buffer_set_flags (hb_buffer,
1237                            HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT);
1238
1239       hb_buffer_add_utf8 (hb_buffer,
1240                           paragraph_text, paragraph_length,
1241                           item_offset, item_length);
1242
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.
1246
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
1249     EOT flag.
1250
1251
1252 Overview of changes leading to 0.9.33
1253 Tuesday, July 22, 2014
1254 =====================================
1255
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.
1260
1261
1262 Overview of changes leading to 0.9.32
1263 Thursday, July 17, 2014
1264 =====================================
1265
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'
1269   together.
1270 - Minor adjustment to U+FFFD logic.
1271 - Fix hb-coretext build.
1272
1273
1274 Overview of changes leading to 0.9.31
1275 Wednesday, July 16, 2014
1276 =====================================
1277
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.
1288 - Build fixes.
1289 - New API:
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
1299     new API.
1300
1301
1302 Overview of changes leading to 0.9.30
1303 Wednesday, July 9, 2014
1304 =====================================
1305
1306 - Update to Unicode 7.0.0:
1307   * New scripts Manichaean and Psalter Pahlavi are shaped using
1308     Arabic shaper.
1309   * All the other new scripts to through the generic shaper for
1310     now.
1311 - Minor Indic improvements.
1312 - Fix graphite2 backend cluster mapping [crasher!]
1313 - API changes:
1314   * New HB_SCRIPT_* values for Unicode 7.0 scripts.
1315   * New function hb_ot_layout_language_get_required_feature().
1316 - Build fixes.
1317
1318
1319 Overview of changes leading to 0.9.29
1320 Thursday, May 29, 2014
1321 =====================================
1322
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
1327     Unicode blocks.
1328   * Allow digits and a some punctuation as consonant placeholders.
1329 - Build fixes.
1330
1331
1332 Overview of changes leading to 0.9.28
1333 Monday, April 28, 2014
1334 =====================================
1335
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.
1342 - Build fixes.
1343
1344
1345 Overview of changes leading to 0.9.27
1346 Tuesday, March 18, 2014
1347 =====================================
1348
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
1359
1360
1361 Overview of changes leading to 0.9.26
1362 Thursday, January 30, 2014
1363 =====================================
1364
1365 - Misc fixes.
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.
1372 - New files:
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.
1379
1380
1381 Overview of changes leading to 0.9.25
1382 Wednesday, December 4, 2013
1383 =====================================
1384
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.
1391
1392
1393 Overview of changes leading to 0.9.24
1394 Tuesday, November 13, 2013
1395 =====================================
1396
1397 - Misc compiler warning fixes with clang.
1398 - No functional changes.
1399
1400
1401 Overview of changes leading to 0.9.23
1402 Monday, October 28, 2013
1403 =====================================
1404
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.
1409
1410
1411 Overview of changes leading to 0.9.22
1412 Thursday, October 3, 2013
1413 =====================================
1414
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.
1418
1419 - API Changes:
1420
1421   * Added hb_ot_layout_table_get_lookup_count()
1422
1423
1424 Overview of changes leading to 0.9.21
1425 Monday, September 16, 2013
1426 =====================================
1427
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.
1431 - Misc fixes.
1432 - API changes:
1433
1434   * Add HB_SET_VALUE_INVALID
1435
1436 Overview of changes leading to 0.9.20
1437 Thursday, August 29, 2013
1438 =====================================
1439
1440 General:
1441 - Misc substitute_closure() fixes.
1442 - Build fixes.
1443
1444 Documentation:
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.
1448
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
1452   --with-gobject.
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.
1456
1457 OpenType shaper:
1458 - Apply 'mark' in Myanmar shaper.
1459 - Don't apply 'dlig' by default.
1460
1461 Uniscribe shaper:
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.
1466
1467 CoreText shaper:
1468 - Support user features.
1469
1470 Source changes:
1471 - hb_face_t code moved to hb-face.h / hb-face.cc.
1472 - Added hb-deprecated.h.
1473
1474 API changes:
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.
1482
1483
1484 Overview of changes leading to 0.9.19
1485 Tuesday, July 16, 2013
1486 =====================================
1487
1488 - Build fixes.
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.
1493 - Misc bug fixes.
1494
1495 Overview of changes leading to 0.9.18
1496 Tuesday, May 28, 2013
1497 =====================================
1498
1499 New build system:
1500
1501 - All unneeded code is all disabled by default,
1502
1503 - Uniscribe and CoreText shapers can be enabled with their --with options,
1504
1505 - icu_le and old shapers cannot be enabled for now,
1506
1507 - glib, freetype, and cairo will be detected automatically.
1508   They can be force on/off'ed with their --with options,
1509
1510 - icu and graphite2 are default off, can be enabled with their --with
1511   options,
1512
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.
1517
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.
1521
1522
1523 Overview of changes leading to 0.9.17
1524 Monday, May 20, 2013
1525 =====================================
1526
1527 - Build fixes.
1528 - Fix bug in hb_set_get_min().
1529 - Fix regression with Arabic mark positioning / width-zeroing.
1530
1531 Overview of changes leading to 0.9.16
1532 Friday, April 19, 2013
1533 =====================================
1534
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.
1538
1539 - New --num-iterations option for hb-shape / hb-view; useful for
1540   profiling.
1541
1542 Overview of changes leading to 0.9.15
1543 Friday, April 05, 2013
1544 =====================================
1545
1546 - Build fixes.
1547 - Fix crasher in graphite2 shaper.
1548 - Fix Arabic mark width zeroing regression.
1549 - Don't compose Hangul jamo into Unicode syllables.
1550
1551
1552 Overview of changes leading to 0.9.14
1553 Thursday, March 21, 2013
1554 =====================================
1555
1556 - Build fixes.
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.
1560 - Indic fixes:
1561   * Fix Malayalam pre-base reordering interaction with post-forms.
1562   * Further adjust ZWJ handling.  Should fix known regressions from
1563     0.9.13.
1564
1565
1566 Overview of changes leading to 0.9.13
1567 Thursday, February 25, 2013
1568 =====================================
1569
1570 - Build fixes.
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.
1583
1584 API changes:
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.
1593
1594
1595 Overview of changes leading to 0.9.12
1596 Thursday, January 18, 2013
1597 =====================================
1598
1599 - Build fixes for Sun compiler.
1600 - Minor bug fix.
1601
1602 Overview of changes leading to 0.9.11
1603 Thursday, January 10, 2013
1604 =====================================
1605
1606 - Build fixes.
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.
1611
1612 API changes:
1613 - Rename hb_buffer_clear() to hb_buffer_clear_contents().
1614
1615
1616 Overview of changes leading to 0.9.10
1617 Thursday, January 3, 2013
1618 =====================================
1619
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.
1628
1629 New API:
1630
1631 hb_graphite2_face_get_gr_face()
1632 hb_graphite2_font_get_gr_font()
1633 hb_coretext_face_get_cg_font()
1634
1635 Modified API:
1636
1637 hb_ot_layout_get_size_params()
1638
1639
1640 Overview of changes leading to 0.9.9
1641 Wednesday, December 5, 2012
1642 ====================================
1643
1644 - Fix build on Windows.
1645 - Minor improvements.
1646
1647
1648 Overview of changes leading to 0.9.8
1649 Tuesday, December 4, 2012
1650 ====================================
1651
1652
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().
1657
1658 New API:
1659
1660 hb_ot_layout_collect_lookups()
1661 hb_ot_layout_get_size_params()
1662
1663
1664 Overview of changes leading to 0.9.7
1665 Sunday, November 21, 2012
1666 ====================================
1667
1668
1669 HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
1670
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.
1677 - Misc fixes.
1678
1679
1680 hb-shape / hb-view changes:
1681
1682 - Add --text-before and --text-after
1683 - Add --bot / --eot / --preserve-default-ignorables
1684 - hb-shape --output-format=json
1685
1686
1687 New API:
1688
1689 hb_buffer_clear()
1690
1691 hb_buffer_flags_t
1692
1693 HB_BUFFER_FLAGS_DEFAULT
1694 HB_BUFFER_FLAG_BOT
1695 HB_BUFFER_FLAG_EOT
1696 HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
1697
1698 hb_buffer_set_flags()
1699 hb_buffer_get_flags()
1700
1701 HB_BUFFER_SERIALIZE_FLAGS
1702 hb_buffer_serialize_glyphs()
1703 hb_buffer_deserialize_glyphs()
1704 hb_buffer_serialize_list_formats()
1705
1706 hb_set_add_range()
1707 hb_set_del_range()
1708 hb_set_get_population()
1709 hb_set_next_range()
1710
1711 hb_face_[sg]et_glyph_count()
1712
1713 hb_segment_properties_t
1714 HB_SEGMENT_PROPERTIES_DEFAULT
1715 hb_segment_properties_equal()
1716 hb_segment_properties_hash()
1717
1718 hb_buffer_set_segment_properties()
1719 hb_buffer_get_segment_properties()
1720
1721 hb_ot_layout_glyph_class_t
1722 hb_ot_layout_get_glyph_class()
1723 hb_ot_layout_get_glyphs_in_class()
1724
1725 hb_shape_plan_t
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()
1735
1736 hb_ot_shape_plan_collect_lookups()
1737
1738
1739 API changes:
1740
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().
1747
1748
1749
1750 Overview of changes leading to 0.9.6
1751 Sunday, November 13, 2012
1752 ====================================
1753
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.
1761 - Misc build fixes.
1762
1763 Arabic shaper:
1764 - Enable 'dlig' and 'mset' features in Arabic shaper.
1765 - Implement 'Phags-pa shaping, improve Mongolian.
1766
1767 Indic shaper:
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.
1775
1776
1777
1778 Overview of changes leading to 0.9.5
1779 Sunday, October 14, 2012
1780 ====================================
1781
1782 - Synthetic-GSUB Arabic fallback shaping.
1783
1784 - Misc Indic improvements.
1785
1786 - Add build system support for pthread.
1787
1788 - Imported UCDN for in-tree Unicode callbacks implementation.
1789
1790 - Context-aware Arabic joining.
1791
1792 - Misc other fixes.
1793
1794 - New API:
1795
1796   hb_feature_to/from-string()
1797   hb_buffer_[sg]et_content_type()
1798
1799
1800
1801 Overview of changes leading to 0.9.4
1802 Tuesday, Sep 03, 2012
1803 ====================================
1804
1805 - Indic improvements with old-spec Malayalam.
1806
1807 - Better fallback glyph positioning, specially with Thai / Lao marks.
1808
1809 - Implement dotted-circle insertion.
1810
1811 - Better Arabic fallback shaping / ligation.
1812
1813 - Added ICU LayoutEngine backend for testing.  Call it by the 'icu_le' name.
1814
1815 - Misc fixes.
1816
1817
1818
1819 Overview of changes leading to 0.9.3
1820 Friday, Aug 18, 2012
1821 ====================================
1822
1823 - Fixed fallback mark positioning for left-to-right text.
1824
1825 - Improve mark positioning for the remaining combining classes.
1826
1827 - Unbreak Thai and fallback Arabic shaping.
1828
1829 - Port Arabic shaper to shape-plan caching.
1830
1831 - Use new ICU normalizer functions.
1832
1833
1834
1835 Overview of changes leading to 0.9.2
1836 Friday, Aug 10, 2012
1837 ====================================
1838
1839 - Over a thousand commits!  This is the first major release of HarfBuzz.
1840
1841 - HarfBuzz is feature-complete now!  It should be in par, or better, than
1842   both Pango's shapers and old HarfBuzz / Qt shapers.
1843
1844 - New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
1845
1846 - Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
1847   Sinhala, N'ko, Mongolian, and Mandaic.
1848
1849 - New Thai / Lao shaper.
1850
1851 - Tibetan / Hangul support in the generic shaper.
1852
1853 - Synthetic GDEF support for fonts without a GDEF table.
1854
1855 - Fallback mark positioning for fonts without a GPOS table.
1856
1857 - Unicode normalization shaping heuristic during glyph mapping.
1858
1859 - New experimental Graphite2 backend.
1860
1861 - New Uniscribe backend (primarily for testing).
1862
1863 - New CoreText backend (primarily for testing).
1864
1865 - Major optimization and speedup.
1866
1867 - Test suites and testing infrastructure (work in progress).
1868
1869 - Greatly improved hb-view cmdline tool.
1870
1871 - hb-shape cmdline tool.
1872
1873 - Unicode 6.1 support.
1874
1875 Summary of API changes:
1876
1877 o Changed API:
1878
1879   - Users are expected to only include main header files now (ie. hb.h,
1880     hb-glib.h, hb-ft.h, ...)
1881
1882   - All struct tag names had their initial underscore removed.
1883     Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
1884
1885   - All set_user_data() functions now take a "replace" boolean parameter.
1886
1887   - hb_buffer_create() takes zero arguments now.
1888     Use hb_buffer_pre_allocate() to pre-allocate.
1889
1890   - hb_buffer_add_utf*() now accept -1 for length parameteres,
1891     meaning "nul-terminated".
1892
1893   - hb_direction_t enum values changed.
1894
1895   - All *_from_string() APIs now take a length parameter to allow for
1896     non-nul-terminated strings. A -1 length means "nul-terminated".
1897
1898   - Typedef for hb_language_t changed.
1899
1900   - hb_get_table_func_t renamed to hb_reference_table_func_t.
1901
1902   - hb_ot_layout_table_choose_script()
1903
1904   - Various renames in hb-unicode.h.
1905
1906 o New API:
1907
1908   - hb_buffer_guess_properties()
1909     Automatically called by hb_shape().
1910
1911   - hb_buffer_normalize_glyphs()
1912
1913   - hb_tag_from_string()
1914
1915   - hb-coretext.h
1916
1917   - hb-uniscribe.h
1918
1919   - hb_face_reference_blob()
1920   - hb_face_[sg]et_index()
1921   - hb_face_set_upem()
1922
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()
1931
1932   - hb_font_set_funcs_data()
1933
1934   - hb_ft_font_set_funcs()
1935   - hb_ft_font_get_face()
1936
1937   - hb-gobject.h (work in progress)
1938
1939   - hb_ot_shape_glyphs_closure()
1940     hb_ot_layout_substitute_closure_lookup()
1941
1942   - hb-set.h
1943
1944   - hb_shape_full()
1945
1946   - hb_unicode_combining_class_t
1947
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()
1957
1958 o Removed API:
1959
1960   - hb_ft_get_font_funcs()
1961
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()
1968
1969
1970
1971 Overview of changes leading to 0.6.0
1972 Friday, May 27, 2011
1973 ====================================
1974
1975 - Vertical text support in GPOS
1976 - Almost all API entries have unit tests now, under test/
1977 - All thread-safety issues are fixed
1978
1979 Summary of API changes follows.
1980
1981
1982 * Simple Types API:
1983
1984   o New API:
1985     HB_LANGUAGE_INVALID
1986     hb_language_get_default()
1987     hb_direction_to_string()
1988     hb_direction_from_string()
1989     hb_script_get_horizontal_direction()
1990     HB_UNTAG()
1991
1992   o Renamed API:
1993     hb_category_t renamed to hb_unicode_general_category_t
1994
1995   o Changed API:
1996     hb_language_t is a typed pointers now
1997
1998   o Removed API:
1999     HB_TAG_STR()
2000
2001
2002 * Use ISO 15924 tags for hb_script_t:
2003
2004   o New API:
2005     hb_script_from_iso15924_tag()
2006     hb_script_to_iso15924_tag()
2007     hb_script_from_string()
2008
2009   o Changed API:
2010     HB_SCRIPT_* enum members changed value.
2011
2012
2013 * Buffer API streamlined:
2014
2015   o New API:
2016     hb_buffer_reset()
2017     hb_buffer_set_length()
2018     hb_buffer_allocation_successful()
2019
2020   o Renamed API:
2021     hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
2022     hb_buffer_add_glyph() renamed to hb_buffer_add()
2023
2024   o Removed API:
2025     hb_buffer_clear()
2026     hb_buffer_clear_positions()
2027
2028   o Changed API:
2029     hb_buffer_get_glyph_infos() takes an out length parameter now
2030     hb_buffer_get_glyph_positions() takes an out length parameter now
2031
2032
2033 * Blob API streamlined:
2034
2035   o New API:
2036     hb_blob_get_data()
2037     hb_blob_get_data_writable()
2038
2039   o Renamed API:
2040     hb_blob_create_empty() renamed to hb_blob_get_empty()
2041
2042   o Removed API:
2043     hb_blob_lock()
2044     hb_blob_unlock()
2045     hb_blob_is_writable()
2046     hb_blob_try_writable()
2047
2048   o Changed API:
2049     hb_blob_create() takes user_data before destroy now
2050
2051
2052 * Unicode functions API:
2053
2054   o Unicode function vectors can subclass other unicode function vectors now.
2055     Unimplemented callbacks in the subclass automatically chainup to the parent.
2056
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.
2059
2060   o New API:
2061     hb_unicode_funcs_get_empty()
2062     hb_unicode_funcs_get_default()
2063     hb_unicode_funcs_get_parent()
2064
2065   o Changed API:
2066     hb_unicode_funcs_create() now takes a parent_funcs.
2067
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()
2074
2075
2076 * Face API:
2077
2078   o Renamed API:
2079     hb_face_get_table() renamed to hb_face_reference_table()
2080     hb_face_create_for_data() renamed to hb_face_create()
2081
2082   o Changed API:
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
2086
2087 * Font API:
2088
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.
2092
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.
2095
2096   o New API:
2097     hb_font_get_parent()
2098     hb_font_funcs_get_empty()
2099     hb_font_create_sub_font()
2100
2101   o Removed API:
2102     hb_font_funcs_copy()
2103     hb_font_unset_funcs()
2104
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()
2111
2112   o Changed API:
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
2118
2119
2120 * Changed object model:
2121
2122   o All object types have a _get_empty() now:
2123     hb_blob_get_empty()
2124     hb_buffer_get_empty()
2125     hb_face_get_empty()
2126     hb_font_get_empty()
2127     hb_font_funcs_get_empty()
2128     hb_unicode_funcs_get_empty()
2129
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()
2143
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()
2151
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()
2157
2158
2159 * Changed API for vertical text support
2160
2161   o The following callbacks where removed:
2162     hb_font_get_glyph_advance_func_t
2163     hb_font_get_kerning_func_t
2164
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
2172
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()
2178
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()
2192
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()
2201
2202
2203 * OpenType Layout API:
2204
2205   o New API:
2206     hb_ot_layout_position_start()
2207     hb_ot_layout_substitute_start()
2208     hb_ot_layout_substitute_finish()
2209
2210
2211 * Glue code:
2212
2213   o New API:
2214     hb_glib_script_to_script()
2215     hb_glib_script_from_script()
2216     hb_icu_script_to_script()
2217     hb_icu_script_from_script()
2218
2219
2220 * Version API added:
2221
2222   o New API:
2223     HB_VERSION_MAJOR
2224     HB_VERSION_MINOR
2225     HB_VERSION_MICRO
2226     HB_VERSION_STRING
2227     HB_VERSION_CHECK()
2228     hb_version()
2229     hb_version_string()
2230     hb_version_check()
2231
2232