blob: 79839ed4564603db6a20c362d3b53a833cfb3571 [file] [log] [blame]
Khaled Hosny63e15ea2021-07-08 22:46:33 +02001Overview of changes leading to 2.8.2
2Tuesday, July 8, 2021
3====================================
4- Shaping LTR digits for RTL scripts now makes the native direction of the
5 digits LTR, applying shaping and positioning rules on the same glyph order as
6 Uniscribe. (Jonathan Kew, Khaled Hosny).
7- Subsetting COLR v1 and CPAL tables is now supported. (Garret Rieger, Qunxin Liu)
8- Various fixes and improvements to the subsetter. (Garret Rieger, Qunxin Liu, Behdad)
9- When applying morx table, mark glyph widths should not be zeroed. (Jonathan Kew)
10- GPOS is preferred over kerx, if GSUB was applied. (Behdad)
11- Regional_Indicator pairs are grouped together when clustering. (Behdad)
12- New API:
13+hb_blob_create_or_fail()
14+hb_blob_create_from_file_or_fail()
15+hb_set_copy()
16
Khaled Hosnyb37f03f2021-05-04 02:07:06 +020017Overview of changes leading to 2.8.1
18Tuesday, May 4, 2021
19====================================
20- Subsetter now fully supports GSUB/GPOS/GDEF tables (including variations); as
21 such, layout tables are retained by subsetter by default. (Garret Rieger, Qunxin Liu)
22- Build scripts no longer check for FontConfig as HarfBuzz does not use it.
23- hb-view supports iTerm2 and kitty inline image protocols (Khaled Hosny),
24 it can also use Chafa for terminal graphics if available (Hans Petter Jansson).
25
Khaled Hosny03538e82021-03-16 19:28:35 +020026Overview of changes leading to 2.8.0
27Tuesday, March 16, 2021
28====================================
29- Shape joining scripts other than Arabic/Syriac using the Universal Shaping Engine.
30 Previously these were shaped using the generalized Arabic shaper. (David Corbett)
31- Fix regression in shaping of U+0B55 ORIYA SIGN OVERLINE. (David Corbett)
32- Update language tags. (David Corbett)
33- Variations: reduce error: do not round each interpolated delta. (Just van Rossum)
34- Documentation improvements. (Khaled Hosny, Nathan Willis)
35- Subsetter improvements: subsets most, if not all, lookup types now. (Garret Rieger, Qunxin Liu)
36- Fuzzer-found fixes and other improvements when memory failures happen. (Behdad)
37- Removed most atomic implementations now that we have C++11 atomic impl. (Behdad)
38- General codebase upkeep; using more C++11 features: constexpr constructors, etc. (Behdad)
39
40
Khaled Hosny7236c7e2020-12-27 01:59:00 +020041Overview of changes leading to 2.7.4
42Sunday, December 27, 2020
43====================================
44- Fix missing --enable-introspection configure option from previous release
45 tarball.
46- Documentation updates.
47
Khaled Hosny71a3b542020-12-23 15:33:15 +020048Overview of changes leading to 2.7.3
49Wednesday, December 23, 2020
50====================================
51- Update USE shaper to 2020-08-13 specification, and other improvements.
52- Don’t disable liga feature in myanmar shaper, to match Uniscribe.
53- Improvements to language and script tags handling.
54- Update language system tag registry to OpenType 1.8.4
55- Support for serializing and deserializing Unicode buffers. Serialized buffers
56 are now delimited with `<>` or `[]` based on whether it is a Unicode or
57 glyphs buffer.
58- Increase buffer work limits to handle fonts with many complex lookups.
59- Handle more shaping operations in trace output.
60- Memory access fixes.
61- More OOM fixes.
62- Improved documentation.
63- Build system improvements.
64- New API:
65+hb_buffer_has_positions()
66+hb_buffer_serialize()
67+hb_buffer_serialize_unicode()
68+hb_buffer_deserialize_unicode()
69
70
Khaled Hosny9c98b2b2020-08-29 00:39:42 +020071Overview of changes leading to 2.7.2
72Saturday, August 29, 2020
73====================================
74- Fix a regression in the previous release that caused a crash with Kaithi.
75- More OOM fixes.
76
77
Ebrahim Byagowi05ef75c2020-08-13 20:52:03 +043078Overview of changes leading to 2.7.1
Khaled Hosny9c98b2b2020-08-29 00:39:42 +020079Thursday, August 13, 2020
Ebrahim Byagowi05ef75c2020-08-13 20:52:03 +043080====================================
81- ot-funcs now handles variable empty glyphs better when hvar/vvar isn't present.
82- Reverted a GDEF processing regression.
83- A couple of fixes to handle OOM better.
84
85
Ebrahim Byagowia01c7a32020-07-25 12:27:31 +043086Overview of changes leading to 2.7.0
87Saturday, July 25, 2020
88====================================
89- Use an implementation for round that always rounds up, some minor fluctuations
90 are expected on var font specially when hb-ot callback is used.
91- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
92- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
93 use on macOS installed fonts (only two files). GDEF support is the recommended
94 one and expected to work properly after issues fixed two releases ago.
95- Minor memory fixes to handle OOM better specially in hb-ft.
96- Minor .so files versioning scheme change and remove stable/unstable scheme
97 differences, was never used in practice (always default to stable scheme).
98- We are now suggesting careful packaging of the library using meson,
99 https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
100 for more information.
101- Distribution package URL is changed, either use GitHub generated tarballs,
102 `https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
103 or, even more preferably use commit hash of the release and git checkouts like,
104 `git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
105
106
Ebrahim Byagowie4203c12020-06-22 05:03:27 +0430107Overview of changes leading to 2.6.8
108Monday, June 22, 2020
109====================================
110- New API to fetch glyph alternates from GSUB table.
111- hb-coretext build fix for macOS < 10.10.
112- Meson build fixes, cmake port removal is postponed but please prepare for
113 it and give us feedback.
114 Autotools is still our main build system however please consider
115 experimenting with meson also for packaging the library.
116- New API:
117+hb_ot_layout_lookup_get_glyph_alternates()
118
119
Ebrahim Byagowifb46a322020-06-03 12:54:26 +0430120Overview of changes leading to 2.6.7
121Wednesday, June 3, 2020
122====================================
123- Update to Unicode 13.0.0.
124- Fix hb_ot_layout_get_ligature_carets for fonts without lcar table, it was
125 completely broken for all the other fonts since 2.1.2.
126- As a part of our migration to meson, this release will be the last one
127 to provide cmake port files but autotools still is our main build system.
128 There is a possibility that the next version or the after be released
129 using meson.
130
131
Ebrahim Byagowi42025682020-05-12 00:14:33 +0430132Overview of changes leading to 2.6.6
133Tuesday, May 12, 2020
134====================================
135- A fix in AAT kerning for Geeza Pro.
136- Better support for resource fork fonts on macOS.
137
138
Ebrahim Byagowif9bc3732020-04-17 22:37:48 +0430139Overview of changes leading to 2.6.5
140Friday, April 17, 2020
141====================================
142- Add experimental meson build system. Autotools is still the primary
143 and supported build system.
144- AAT is now always preferred for horizontal scripts when both AAT and OT
145 layout tables exist at the same time.
146- Subsetter improvements.
147- New API:
148+hb_ft_font_lock_face()
149+hb_ft_font_unlock_face()
150
151
Behdad Esfahbod3a74ee52019-10-29 12:27:03 -0700152Overview of changes leading to 2.6.4
153Monday, October 29, 2019
154====================================
155- Small bug fix.
156- Build fixes.
157
158
Behdad Esfahbodce11df12019-10-28 14:45:31 -0700159Overview of changes leading to 2.6.3
160Monday, October 28, 2019
161====================================
162- Misc small fixes, mostly to build-related issues.
163- New API:
164+hb_font_get_nominal_glyphs()
165
166
Behdad Esfahbode48ef082019-09-30 12:39:06 -0700167Overview of changes leading to 2.6.2
168Monday, September 30, 2019
169====================================
170- Misc small fixes, mostly to build-related issues.
171
172
Behdad Esfahbodbe97e9d2019-08-22 15:52:24 -0700173Overview of changes leading to 2.6.1
174Thursday, August 22, 2019
175====================================
176- Fix regression with hb_font_create_sub_font scaling introduced in 2.6.0.
177- Change interpretation of font PTEM size / CoreText font size handling.
178 See https://github.com/harfbuzz/harfbuzz/pull/1484
179- hb-ot-font: Prefer symbol cmap subtable if present.
180- Apply 'dist'/'abvm'/'blwm' features to all scripts.
181- Drop experimental DirectWrite API.
182
183
Behdad Esfahbod64611432019-08-13 22:20:54 -0700184Overview of changes leading to 2.6.0
185Tuesday, August 13, 2019
186====================================
187- New OpenType metrics, baseline, and metadata table access APIs.
188- New API to set font variations to a named-instance.
189- New hb-gdi.h header and API for creating hb_face_t from HFONT.
190- Amalgam: Provide a single-file harfbuzz.cc file for easier alternate building.
191- More size-reduction configurable options, enabled by HB_TINY.
192- New API:
193+hb_font_set_var_named_instance()
194+hb_gdi_face_create()
195+hb_ot_layout_baseline_tag_t
196+hb_ot_layout_get_baseline()
197+hb_ot_meta_tag_t
198+hb_ot_meta_get_entry_tags()
199+hb_ot_meta_reference_entry()
200+hb_ot_metrics_tag_t
201+hb_ot_metrics_get_position()
202+hb_ot_metrics_get_variation()
203+hb_ot_metrics_get_x_variation()
204+hb_ot_metrics_get_y_variation()
205
206
Behdad Esfahbodb14e4132019-06-26 10:44:10 -0700207Overview of changes leading to 2.5.3
208Wednesday, June 26, 2019
209====================================
210- Fix UCD script data for Unicode 10+ scripts. This was broken since 2.5.0.
211- More optimizations for HB_TINY.
212
213
Behdad Esfahbod6b44bf82019-06-20 11:57:19 -0700214Overview of changes leading to 2.5.2
215Thursday, June 20, 2019
216====================================
217- More hb-config.hh facilities to shrink library size, namely when built as
218 HB_TINY.
219- New documentation of custom configurations in CONFIG.md.
220- Fix build on gcc 4.8. That's supported again.
221- Universal Shaping Engine improvements thanks to David Corbett.
222- API Changes: Undeprecate some horizontal-kerning API and re-enable in hb-ft,
223 such that Type1 fonts will continue kerning.
224
225
Behdad Esfahbod93c45552019-05-31 22:53:27 -0700226Overview of changes leading to 2.5.1
227Friday, May 31, 2019
228====================================
229- Fix build with various versions of Visual Studio.
230- Improved documentation, thanks to Nathan Willis.
231- Bugfix in subsetting glyf table.
232- Improved scripts for cross-compiling for Windows using mingw.
233- Rename HB_MATH_GLYPH_PART_FLAG_EXTENDER to HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER.
234 A deprecated macro is added for backwards-compatibility.
235
236
Behdad Esfahbod5fd3ece2019-05-24 15:56:15 -0400237Overview of changes leading to 2.5.0
238Friday, May 24, 2019
239====================================
240- This release does not include much functional changes, but includes major internal
241 code-base changes. We now require C++11. Support for gcc 4.8 and earlier has been
242 dropped.
243- New hb-config.hh facility for compiling smaller library for embedded and web usecases.
244- New Unicode Character Databse implementation that is half the size of previously-used
245 UCDN.
246- Subsetter improvements.
247- Improved documentation, thanks to Nathan Willis.
248- Misc shaping fixes.
249
250
Behdad Esfahbodd6fc1d42019-03-28 21:21:26 -0700251Overview of changes leading to 2.4.0
252Monday, March 25, 2019
253====================================
254- Unicode 12.
255- Misc fixes.
256- Subsetter improvements.
257- New API:
258HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE
259hb_directwrite_face_create()
260
261
Behdad Esfahbod55d1d7c2019-01-30 13:54:15 -0800262Overview of changes leading to 2.3.1
263Wednesday, January 30, 2019
264====================================
265- AAT bug fixes.
266- Misc internal housekeeping cleanup.
267
268
Behdad Esfahbod4941e952018-12-20 21:48:57 -0500269Overview of changes leading to 2.3.0
270Thursday, December 20, 2018
271====================================
272- Fix regression on big-endian architectures. Ouch!
273- Misc bug and build fixes.
274- Fix subsetting of simple GSUB/GDEF.
275- Merge CFF / CFF2 support contributed by Adobe. This mostly involves
276 the subsetter, but also get_glyph_extents on CFF fonts.
277
278New API in hb-aat.h:
279+hb_aat_layout_has_substitution()
280+hb_aat_layout_has_positioning()
281+hb_aat_layout_has_tracking()
282
283
Behdad Esfahboddc41ece2018-11-29 11:53:53 -0500284Overview of changes leading to 2.2.0
285Thursday, November 29, 2018
286====================================
287- Misc shaping bug fixes.
288- Add font variations named-instance API.
289- Deprecate font variations axis enumeration API and add replacement.
290- AAT shaping improvements:
291 o Fixed 'kern' table Format 2 implementation.
292 o Implement 'feat' table API for feature detection.
293 o Blacklist 'GSUB' table of fonts from 'MUTF' foundry that also have 'morx'.
294
295New API:
296+hb_aat_layout_feature_type_t
297+hb_aat_layout_feature_selector_t
298+hb_aat_layout_get_feature_types()
299+hb_aat_layout_feature_type_get_name_id
300+hb_aat_layout_feature_selector_info_t
301+HB_AAT_LAYOUT_NO_SELECTOR_INDEX
302+hb_aat_layout_feature_type_get_selector_infos()
303+hb_ot_var_axis_flags_t
304+hb_ot_var_axis_info_t
305+hb_ot_var_get_axis_infos()
306+hb_ot_var_find_axis_info()
307+hb_ot_var_get_named_instance_count()
308+hb_ot_var_named_instance_get_subfamily_name_id()
309+hb_ot_var_named_instance_get_postscript_name_id()
310+hb_ot_var_named_instance_get_design_coords()
311
312Deprecated API:
313+HB_OT_VAR_NO_AXIS_INDEX
314+hb_ot_var_axis_t
315+hb_ot_var_get_axes()
316+hb_ot_var_find_axis()
317
318
Behdad Esfahbode3a1a832018-11-16 16:53:25 -0800319Overview of changes leading to 2.1.3
320Friday, November 16, 2018
321====================================
322- Fix AAT 'mort' shaping, which was broken in 2.1.2
323
324
Behdad Esfahbodfdb29ab2018-11-16 15:38:11 -0800325Overview of changes leading to 2.1.2
326Friday, November 16, 2018
327====================================
328- Various internal changes.
329- AAT shaping improvements:
330 o Implement kern table Format 1 state-machine-based kerning.
331 o Implement cross-stream kerning (cursive positioning, etc).
332 o Ignore emptyish GSUB tables (zero scripts) if morx present.
333 o Don't apply GPOS if morx is being applied. Matches Apple.
334
335
336-Overview of changes leading to 2.1.1
Behdad Esfahbod8be74d82018-11-05 18:47:22 -0500337Monday, November 5, 2018
338====================================
339- AAT improvements:
340 o Implement 'mort' table.
341 o Implement 'kern' subtables Format 1 and Format 3.
342
343
Behdad Esfahbod10193912018-10-30 15:52:26 -0700344Overview of changes leading to 2.1.0
345Tuesday, October 30, 2018
346====================================
347- AAT shaping improvements:
348 o Allow user controlling AAT features, for whole buffer only currently.
349 o Several 'morx' fixes.
350 o Implement tuple-kerns in 'kerx'; Fixes kerning with Apple default
351 San Francisco fonts.
352- Support for color fonts:
353 o COLR/CPAL API to fetch color layers.
354 o SVG table to fetch SVG documents.
355 o CBDT/sbix API to fetch PNG images.
356- New 'name' table API.
357- hb-ot-font now uses 'VORG' table to correctly position CFF glyphs
358 in vertical layout.
359- Various fuzzer-found bug fixes.
360
361Changed API:
362
363A type and a macro added in 2.0.0 were renamed:
364
365hb_name_id_t -> hb_ot_name_id_t
366HB_NAME_ID_INVALID -> HB_OT_NAME_ID_INVALID
367
368New API:
369
370+hb_color_t
371+HB_COLOR
372+hb_color_get_alpha()
373+hb_color_get_red()
374+hb_color_get_green()
375+hb_color_get_blue()
376+hb_ot_color_has_palettes()
377+hb_ot_color_palette_get_count()
378+hb_ot_color_palette_get_name_id()
379+hb_ot_color_palette_color_get_name_id()
380+hb_ot_color_palette_flags_t
381+hb_ot_color_palette_get_flags()
382+hb_ot_color_palette_get_colors()
383+hb_ot_color_has_layers()
384+hb_ot_color_layer_t
385+hb_ot_color_glyph_get_layers()
386+hb_ot_color_has_svg()
387+hb_ot_color_glyph_reference_svg()
388+hb_ot_color_has_png()
389+hb_ot_color_glyph_reference_png()
390
391+hb_ot_name_id_t
392+HB_OT_NAME_ID_INVALID
393+HB_OT_NAME_ID_COPYRIGHT
394+HB_OT_NAME_ID_FONT_FAMILY
395+HB_OT_NAME_ID_FONT_SUBFAMILY
396+HB_OT_NAME_ID_UNIQUE_ID
397+HB_OT_NAME_ID_FULL_NAME
398+HB_OT_NAME_ID_VERSION_STRING
399+HB_OT_NAME_ID_POSTSCRIPT_NAME
400+HB_OT_NAME_ID_TRADEMARK
401+HB_OT_NAME_ID_MANUFACTURER
402+HB_OT_NAME_ID_DESIGNER
403+HB_OT_NAME_ID_DESCRIPTION
404+HB_OT_NAME_ID_VENDOR_URL
405+HB_OT_NAME_ID_DESIGNER_URL
406+HB_OT_NAME_ID_LICENSE
407+HB_OT_NAME_ID_LICENSE_URL
408+HB_OT_NAME_ID_TYPOGRAPHIC_FAMILY
409+HB_OT_NAME_ID_TYPOGRAPHIC_SUBFAMILY
410+HB_OT_NAME_ID_MAC_FULL_NAME
411+HB_OT_NAME_ID_SAMPLE_TEXT
412+HB_OT_NAME_ID_CID_FINDFONT_NAME
413+HB_OT_NAME_ID_WWS_FAMILY
414+HB_OT_NAME_ID_WWS_SUBFAMILY
415+HB_OT_NAME_ID_LIGHT_BACKGROUND
416+HB_OT_NAME_ID_DARK_BACKGROUND
417+HB_OT_NAME_ID_VARIATIONS_PS_PREFIX
418+hb_ot_name_entry_t
419+hb_ot_name_list_names()
420+hb_ot_name_get_utf8()
421+hb_ot_name_get_utf16()
422+hb_ot_name_get_utf32()
423
424
Behdad Esfahbod0a3b7a02018-10-20 13:14:07 -0700425Overview of changes leading to 2.0.2
426Saturday, October 20, 2018
427====================================
428- Fix two minor memory access issues in AAT tables.
429
430
Behdad Esfahbod7c2c8ac2018-10-19 19:37:46 -0700431Overview of changes leading to 2.0.1
432Friday, October 19, 2018
433====================================
434- Fix hb-version.h reported release version that went wrong (1.8.0)
435 with previous release.
436- Fix extrapolation in 'trak' table.
437- Fix hb-font infinite-recursion issue with some font funcs and
438 subclassed fonts.
439- Implement variation-kerning format in kerx table, although without
440 variation.
441- Fix return value of hb_map_is_empty().
442
443
Behdad Esfahbod3d9a0302018-10-18 05:58:17 -0700444Overview of changes leading to 2.0.0
Behdad Esfahbod7c2c8ac2018-10-19 19:37:46 -0700445Thursday, October 18, 2018
Behdad Esfahbod3d9a0302018-10-18 05:58:17 -0700446====================================
447- Added AAT shaping support (morx/kerx/trak).
448 Automatically used if GSUB/GPOS are not available respectively.
449 Set HB_OPTIONS=aat env var to have morx/kerx preferred over
450 GSUB/GPOS.
451- Apply TrueType kern table internally, instead of relying on
452 hb_font_t callbacks.
453- Khmer shaper significantly rewritten to better match Uniscribe.
454- Indic3 tags ('dev3', etc) are passed to USE shaper.
455- .dfont Mac font containers implemented.
456- Script- and language-mapping revamped to better use BCP 47.
457- Misc USE and Indic fixes.
458- Misc everything fixes.
459- Too many things to list. Biggest release since 0.9.1, with
460 over 500 commits in just over 5 weeks! Didn't intend it to
461 be a big release. Just happened to become.
462- hb-ft now locks underlying FT_Face during use.
463
464API changes:
465
466- Newly-created hb_font_t's now have our internal "hb-ot-font"
467 callbacks set on them, so they should work out of the box
468 without any callbacks set. If callbacks are set, everything
469 is back to what it was before, the fallback callbacks are
470 null. If you to get the internal implementation modified,
471 sub_font it.
472
473- New hb_font_funcs_set_nominal_glyphs_func() allows speeding
474 up character to glyph mapping.
475
476New API:
477+HB_FEATURE_GLOBAL_START
478+HB_FEATURE_GLOBAL_END
479+hb_buffer_set_invisible_glyph()
480+hb_buffer_get_invisible_glyph()
481+hb_font_funcs_set_nominal_glyphs_func()
482+hb_ot_layout_table_select_script()
483+hb_ot_layout_script_select_language()
484+hb_ot_layout_feature_get_name_ids()
485+hb_ot_layout_feature_get_characters()
486+hb_name_id_t
487+HB_NAME_ID_INVALID
488+HB_OT_MAX_TAGS_PER_SCRIPT
489+hb_ot_tags_from_script_and_language()
490+hb_ot_tags_to_script_and_language()
491
492Deprecated API:
493-hb_font_funcs_set_glyph_func()
494-hb_unicode_eastasian_width_func_t
495-hb_unicode_funcs_set_eastasian_width_func()
496-hb_unicode_eastasian_width()
497-hb_unicode_decompose_compatibility_func_t
498-HB_UNICODE_MAX_DECOMPOSITION_LEN
499-hb_unicode_funcs_set_decompose_compatibility_func()
500-hb_unicode_decompose_compatibility()
501-hb_font_funcs_set_glyph_h_kerning_func()
502-hb_font_funcs_set_glyph_v_kerning_func()
503-hb_font_get_glyph_h_kerning()
504-hb_font_get_glyph_v_kerning()
505-hb_font_get_glyph_kerning_for_direction()
506-hb_ot_layout_table_choose_script()
507-hb_ot_layout_script_find_language()
508-hb_ot_tags_from_script()
509-hb_ot_tag_from_language()
510
511
Behdad Esfahbod54d332d2018-09-10 11:37:24 +0200512Overview of changes leading to 1.9.0
513Monday, September 10, 2018
514====================================
515- Added 'cmap' API to hb_face_t.
516- Face-builder API.
517- hb-ot-font re-creation should be much leaner now, as the
518 font tables it uses are cached on hb_face_t now.
519- Internal source header file name changes:
520 hb-*-private.hh is renamed to hb-*.hh.
521
522New API:
523+HB_UNICODE_MAX
524+hb_face_collect_unicodes()
525+hb_face_collect_variation_selectors()
526+hb_face_collect_variation_unicodes()
527+hb_face_builder_create()
528+hb_face_builder_add_table()
529
530
Behdad Esfahbod63be5dc2018-08-14 10:59:34 -0700531Overview of changes leading to 1.8.8
532Tuesday, August 14, 2018
533====================================
534- Fix hb-icu crash on architectures where compare_exchange_weak() can
535 fail falsely. This bug was introduced in 1.8.4.
536 https://bugs.chromium.org/p/chromium/issues/detail?id=873568
537- More internal refactoring of atomic operations and singletons.
538- API changes:
539 The following functions do NOT reference their return value before
540 returning:
541 * hb_unicode_funcs_get_default()
542 * hb_glib_get_unicode_funcs()
543 * hb_icu_get_unicode_funcs()
544 This is consistent with their naming ("get", instead of "reference")
545 as well as how they are used in the wild (ie. no one calls destroy()
546 on their return value.)
547
548
Behdad Esfahbodb6fdcf42018-08-08 21:54:08 -0700549Overview of changes leading to 1.8.7
550Wednesday, August 8, 2018
551====================================
552- Fix assertion failure with GDEF-blacklisted fonts.
553
554
Behdad Esfahbode49a38b2018-08-07 09:55:42 -0700555Overview of changes leading to 1.8.6
556Tuesday, August 7, 2018
557====================================
558- Internal code shuffling.
559- New API to speed up getting advance widths for implementations
560 that have heavy overhead in get_h_advance callback:
561+hb_font_funcs_set_glyph_h_advances_func
562+hb_font_funcs_set_glyph_v_advances_func
563+hb_font_get_glyph_advances_for_direction
564+hb_font_get_glyph_h_advances
565+hb_font_get_glyph_h_advances_func_t
566+hb_font_get_glyph_v_advances
567+hb_font_get_glyph_v_advances_func_t
568
569
Behdad Esfahbod44d1fb32018-08-01 14:51:51 -0700570Overview of changes leading to 1.8.5
571Wednesday, August 1, 2018
572====================================
573- Major Khmer shaper improvements to better match Microsoft.
574- Indic bug fixes.
575- Internal improvements to atomic operations.
576
577
Behdad Esfahbod68310a62018-07-17 13:20:40 +0200578Overview of changes leading to 1.8.4
579Tuesday, July 17, 2018
580====================================
581- Fix build on non-C++11.
582- Use C++-style GCC atomics and C++11 atomics.
583
584
Behdad Esfahbod2b767672018-07-11 15:27:13 +0200585Overview of changes leading to 1.8.3
586Wednesday, July 11, 2018
587====================================
588- A couple of Indic / USE bug fixes.
589- Disable vectorization, as it was causing unaligned access bus error on
590 certain 32bit architectures.
591
592
Behdad Esfahbod343e8c62018-07-03 12:43:59 +0430593Overview of changes leading to 1.8.2
594Tuesday, July 3, 2018
595====================================
596- Fix infinite loop in Khmer shaper.
597- Improve hb_blob_create_from_file() for streams.
598
599
Behdad Esfahbod3654d9b2018-06-12 19:38:04 -0400600Overview of changes leading to 1.8.1
601Tuesday, June 12, 2018
602====================================
603- Fix hb-version.h file generation; last two releases went out with wrong ones.
604- Add correctness bug in hb_set_t operations, introduced in 1.7.7.
605- Remove HB_SUBSET_BUILTIN build option. Not necessary.
606
Behdad Esfahbod343e8c62018-07-03 12:43:59 +0430607
Behdad Esfahbod37986aa2018-06-05 18:04:40 -0700608Overview of changes leading to 1.8.0
609Tuesday, June 5, 2018
610====================================
611- Update to Unicode 11.0.0.
612
Behdad Esfahbod3654d9b2018-06-12 19:38:04 -0400613
Behdad Esfahboddf01f3e2018-06-05 15:17:39 -0700614Overview of changes leading to 1.7.7
615Tuesday, June 5, 2018
616====================================
617- Lots of internal changes, but not yet exposed externally.
618- All HarfBuzz objects are significantly smaller in size now.
619- Sinhala: Position repha on top of post-consonant, not base.
620 This better matches Windows 10 behavior, which was changed
621 from previous Windows versions.
622- New build options:
623 o New cpp macro HB_NO_ATEXIT
624 o New cpp macro HB_SUBSET_BUILTIN
625- Significant libharfbuzz-subset changes. API subject to change.
626- New API in libharfbuzz:
627
628+hb_blob_create_from_file()
629+hb_face_count()
630
631A hashmap implementation:
632+hb-map.h
633+HB_MAP_VALUE_INVALID
634+hb_map_t
635+hb_map_create()
636+hb_map_get_empty()
637+hb_map_reference()
638+hb_map_destroy()
639+hb_map_set_user_data()
640+hb_map_get_user_data()
641+hb_map_allocation_successful()
642+hb_map_clear()
643+hb_map_is_empty()
644+hb_map_get_population()
645+hb_map_set()
646+hb_map_get()
647+hb_map_del()
648+hb_map_has()
649
650
Behdad Esfahbodff2f8142018-03-07 16:05:14 +0100651Overview of changes leading to 1.7.6
652Wednesday, March 7, 2018
653====================================
654
655- Fix to hb_set_t binary operations. Ouch.
656- New experimental harfbuzz-subset library. All of hb-subset.h
657 is experimental right now and API WILL change.
658
659- New API:
660hb_blob_copy_writable_or_fail()
661HB_OT_TAG_BASE
662hb_set_previous()
663hb_set_previous_range()
664
665
Behdad Esfahbodf0b700d2018-01-30 11:16:51 -0800666Overview of changes leading to 1.7.5
667Tuesday, January 30, 2018
668====================================
669
670- Separate Khmer shaper from Indic.
671- First stab at AAT morx. Not hooked up.
672- Misc bug fixes.
673
674
Behdad Esfahbod007a2a42017-12-20 12:09:00 -0500675Overview of changes leading to 1.7.4
676Wednesday, December 20, 2017
677====================================
678
679- Fix collect_glyphs() regression caused by hb_set_t changes.
680
681
Behdad Esfahbodb5bbb792017-12-18 09:18:51 -0500682Overview of changes leading to 1.7.3
683Monday, December 18, 2017
684====================================
685
686- hb_set_t performance tuning and optimizations.
687- Speed up collect_glyphs() and reject garbage data.
688- In hb_coretext_font_create() set font point-size (ptem).
689- Misc fixes.
690
691
Behdad Esfahbod843f7f72017-12-04 08:52:39 -0800692Overview of changes leading to 1.7.2
693Monday, December 4, 2017
694====================================
695
696- Optimize hb_set_add_range().
697- Misc fixes.
698- New API:
699hb_coretext_font_create()
700
701
Behdad Esfahbodf93c6f82017-11-14 11:09:19 -0800702Overview of changes leading to 1.7.1
703Tuesday, November 14, 2017
704====================================
705
706- Fix atexit object destruction regression.
707- Fix minor integer-overflow.
708
709
Behdad Esfahbode5d70982017-11-13 09:42:37 -0800710Overview of changes leading to 1.7.0
711Monday, November 13, 2017
712====================================
713
714- Minor Indic fixes.
715- Implement kerning and glyph names in hb-ot-font.
716- Various DSO optimization re .data and .bss sizes.
717- Make C++11 optional; build fixes.
718- Mark all other backends "unsafe-to-break".
719- Graphite fix.
720
721
Behdad Esfahbod223686d2017-10-26 12:52:02 -0600722Overview of changes leading to 1.6.3
723Thursday, October 26th, 2017
724====================================
725
726- Fix hb_set_t some more. Should be solid now.
727- Implement get_glyph_name() for hb-ot-font.
728- Misc fixes.
729
730
Behdad Esfahbod3b7388a2017-10-23 14:35:16 -0400731Overview of changes leading to 1.6.2
732Monday, October 23nd, 2017
733====================================
734
735- Yesterday's release had a bad crasher; don't use it. That's what
736 happens when one works on Sunday...
ebraminio7c6937e2017-11-20 14:49:22 -0500737 https://github.com/harfbuzz/harfbuzz/issues/578
Behdad Esfahbod3b7388a2017-10-23 14:35:16 -0400738- Build fixes for FreeBSD and Chrome Android.
739
740
Behdad Esfahbod0ca915e2017-10-22 17:38:33 -0400741Overview of changes leading to 1.6.1
742Sunday, October 22nd, 2017
743====================================
744
745- Don't skip over COMBINING GRAPHEME JOINER when ligating, etc.
ebraminio7c6937e2017-11-20 14:49:22 -0500746 To be refined: https://github.com/harfbuzz/harfbuzz/issues/554
Behdad Esfahbod0ca915e2017-10-22 17:38:33 -0400747- Faster hb_set_t implementation.
748- Don't use deprecated ICU API.
749- Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0
750- Deprecated API:
751 hb_set_invert()
752
753
Behdad Esfahbod25846cc2017-10-13 16:30:33 +0200754Overview of changes leading to 1.6.0
755Friday, October the 13th, 2017
756====================================
757
758- Update to Unicode 10.
759
760- Various Indic and Universal Shaping Engine fixes as a result of
761 HarfBuzz Hackfest with Jonathan Kew at Web Engines Hackfest at
762 the Igalia offices in A Coruña, Spain. Thanks Igalia for having
763 us!
764
765- Implement Unicode Arabic Mark Ordering Algorithm UTR#53.
766
767- Implement optical sizing / tracking in CoreText backend, using
768 new API hb_font_set_ptem().
769
770- Allow notifying hb_font_t that underlying FT_Face changed sizing,
771 using new API hb_ft_font_changed().
772
773- More Graphite backend RTL fixes.
774
775- Fix caching of variable font shaping plans.
776
777- hb-view / hb-shape now accept following new arguments:
778
779 o --unicodes: takes a list of hex numbers that represent Unicode
780 codepoints.
781
782New API:
783+hb_face_get_table_tags()
784+hb_font_set_ptem()
785+hb_font_get_ptem()
786+hb_ft_font_changed()
787
788
Behdad Esfahboda984e0c2017-09-05 11:18:35 -0700789Overview of changes leading to 1.5.1
790Tuesday, September 5, 2017
791====================================
792
793- Fix "unsafe-to-break" in fallback shaping and other corner cases.
794 All our tests pass with --verify now, meaning unsafe-to-break API
795 works as expected.
796- Add --unicodes to hb-view / hb-shape.
797- [indic] Treat Consonant_With_Stacker as consonant. This will need
798 further tweaking.
799- hb_buffer_diff() tweaks.
800
801
Behdad Esfahbode8b364b2017-08-23 15:00:45 -0700802Overview of changes leading to 1.5.0
803Wednesday, August 23, 2017
804====================================
805
806- Misc new API, for appending a buffer to another, and for comparing
807 contents of two buffers for types of differences.
808
809- New "unsafe-to-break" API. Can be used to speed up reshaping
810 in line-breaking situations. Essentially, after shaping, it returns
811 positions in the input string (some of the cluster boundaries) that
812 are "safe to break" in that if the text is segmented at that position
813 and two sides reshaped and concatenated, the shaping result is
814 exactly the same as shaping the text in one piece.
815
816 hb-view and hb-shape and hb-shape now take --verify, which verifies
817 the above property.
818
819 Some corner cases of the implementation are still not quite working.
820 Those will be fixed in subsequent releases.
821
822- New API:
823
824hb_buffer_append()
825
826hb_glyph_flags_t
827HB_GLYPH_FLAG_UNSAFE_TO_BREAK
828HB_GLYPH_FLAG_DEFINED
829hb_glyph_info_get_glyph_flags()
830
831HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS
832
833hb_buffer_diff_flags_t
834HB_BUFFER_DIFF_FLAG_EQUAL
835HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH
836HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH
837HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT
838HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT
839HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH
840HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH
841HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH
842HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH
843hb_buffer_diff
844
845
Behdad Esfahbod79177922017-08-08 13:17:03 -0700846Overview of changes leading to 1.4.8
847Tuesday, August 8, 2017
848====================================
849
850- Major fix to avar table handling.
851- Rename hb-shape --show-message to --trace.
852- Build fixes.
853
854
Behdad Esfahbodfc15e602017-07-18 11:24:42 -0700855Overview of changes leading to 1.4.7
856Tuesday, July 18, 2017
857====================================
858
859- Multiple Indic, Tibetan, and Cham fixes.
860- CoreText: Allow disabling kerning.
861- Adjust Arabic feature order again.
862- Misc build fixes.
863
864
Behdad Esfahbod141b33d2017-04-23 16:19:13 -0700865Overview of changes leading to 1.4.6
866Sunday, April 23, 2017
867====================================
868
869- Graphite2: Fix RTL positioning issue.
870- Backlist GDEF of more versions of Padauk and Tahoma.
871- New, experimental, cmake alternative build system.
872
873
Behdad Esfahbod60e25862017-03-10 23:02:28 -0800874Overview of changes leading to 1.4.5
875Friday, March 10, 2017
876====================================
877
878- Revert "Fix Context lookup application when moving back after a glyph..."
879 This introduced memory access problems. To be fixed properly soon.
880
881
Behdad Esfahbod8e42c3c2017-03-05 13:54:56 -0800882Overview of changes leading to 1.4.4
883Sunday, March 5, 2017
884====================================
885
886- Fix Context lookup application when moving back after a glyph deletion.
887- Fix buffer-overrun in Bengali.
888
889
Behdad Esfahbod6685d282017-02-25 11:35:05 -0800890Overview of changes leading to 1.4.3
891Saturday, February 25, 2017
892====================================
893
894- Route Adlam script to Arabic shaper.
895- Misc fixes.
896- New API:
897 hb_font_set_face()
898- Deprecate API:
899 hb_graphite2_font_get_gr_font()
900
901
Behdad Esfahbod6af6c112017-01-23 18:35:00 -0800902Overview of changes leading to 1.4.2
903Monday, January 23, 2017
904====================================
905
906- Implement OpenType Font Variation tables avar/fvar/HVAR/VVAR.
907- hb-shape and hb-view now accept --variations.
908- New API:
909
910hb_variation_t
911hb_variation_from_string()
912hb_variation_to_string()
913
914hb_font_set_variations()
915hb_font_set_var_coords_design()
916hb_font_get_var_coords_normalized()
917
918hb-ot-var.h:
919hb_ot_var_axis_t
920hb_ot_var_has_data()
921hb_ot_var_get_axis_count()
922hb_ot_var_get_axes()
923hb_ot_var_find_axis()
924hb_ot_var_normalize_variations()
925hb_ot_var_normalize_coords()
926
927- MVAR to be implemented later. Access to named instances to be
928 implemented later as well.
929
930- Misc fixes.
931
932
Behdad Esfahbodaf596a52017-01-05 20:24:41 -0800933Overview of changes leading to 1.4.1
934Thursday, January 5, 2017
935====================================
936
937- Always build and use UCDN for Unicode data by default.
938 Reduces dependence on version of Unicode data in glib,
939 specially in the Windows bundles we are shipping, which
940 have very old glib.
941
942
Behdad Esfahbodf3397062017-01-05 01:27:49 -0800943Overview of changes leading to 1.4.0
944Thursday, January 5, 2017
945====================================
946
947- Merged "OpenType GX" branch which adds core of support for
948 OpenType 1.8 Font Variations. To that extent, the relevant
949 new API is:
950
951New API:
952hb_font_set_var_coords_normalized()
953
954 with supporting API:
955
956New API:
957HB_OT_LAYOUT_NO_VARIATIONS_INDEX
958hb_ot_layout_table_find_feature_variations()
959hb_ot_layout_feature_with_variations_get_lookups()
960hb_shape_plan_create2()
961hb_shape_plan_create_cached2()
962
963 Currently variations in GSUB/GPOS/GDEF are fully supported,
964 and no other tables are supported. In particular, fvar/avar
965 are NOT supported, hence the hb_font_set_var_coords_normalized()
966 taking normalized coordinates. API to take design coordinates
967 will be added in the future.
968
969 HVAR/VVAR/MVAR support will also be added to hb-ot-font in the
970 future.
971
972- Fix regression in GDEF glyph class processing.
973- Add decompositions for Chakma, Limbu, and Balinese in USE shaper.
974- Misc fixes.
975
976
Behdad Esfahbodb843c6d2016-12-05 13:42:28 -0800977Overview of changes leading to 1.3.4
978Monday, December 5, 2016
979====================================
980
981- Fix vertical glyph origin in hb-ot-font.
982- Implement CBDT/CBLC color font glyph extents in hb-ot-font.
983
984
Behdad Esfahbod966ac7e2016-10-26 16:17:15 +0200985Overview of changes leading to 1.3.3
986Wednesday, September 28, 2016
987====================================
988
989- Implement parsing of OpenType MATH table.
990New API:
991HB_OT_TAG_MATH
992HB_OT_MATH_SCRIPT
993hb_ot_math_constant_t
994hb_ot_math_kern_t
995hb_ot_math_glyph_variant_t
996hb_ot_math_glyph_part_flags_t
997hb_ot_math_glyph_part_t
998hb_ot_math_has_data
999hb_ot_math_get_constant
1000hb_ot_math_get_glyph_italics_correction
1001hb_ot_math_get_glyph_top_accent_attachment
1002hb_ot_math_get_glyph_kerning
1003hb_ot_math_is_glyph_extended_shape
1004hb_ot_math_get_glyph_variants
1005hb_ot_math_get_min_connector_overlap
1006hb_ot_math_get_glyph_assembly
1007
1008
Behdad Esfahbodf73a87d2016-09-27 13:50:54 +02001009Overview of changes leading to 1.3.2
1010Wednesday, September 27, 2016
1011====================================
1012
1013- Fix build of hb-coretext on older OS X versions.
1014
1015
Behdad Esfahbodd22ab6c2016-09-07 14:28:47 -07001016Overview of changes leading to 1.3.1
1017Wednesday, September 7, 2016
1018====================================
1019
1020- Blacklist bad GDEF of more fonts (Padauk).
1021- More CoreText backend crash fixes with OS X 10.9.5.
1022- Misc fixes.
1023
1024
Behdad Esfahboda732e002016-07-21 01:58:00 -07001025Overview of changes leading to 1.3.0
1026Thursday, July 21, 2016
1027====================================
1028
1029- Update to Unicode 9.0.0
1030- Move Javanese from Indic shaper to Universal Shaping Engine.
1031- Allow MultipleSubst to delete a glyph (matching Windows engine).
1032- Update Universal Shaping Engine to latest draft from Microsoft.
1033- DirectWrite backend improvements. Note: this backend is for testing ONLY.
1034- CoreText backend improvements with unreachable fonts.
1035- Implement symbol fonts (cmap 3.0.0) in hb-ft and hb-ot-font.
1036- Blacklist bad GDEF of more fonts (Tahoma & others).
1037- Misc fixes.
1038
1039
Behdad Esfahboda5b7b0d2016-05-02 10:44:13 +02001040Overview of changes leading to 1.2.7
1041Monday, May 2, 2016
1042====================================
1043
1044- Blacklist another version of Times New Roman (Bold) Italic from Windows 7.
1045- Fix Mongolian Free Variation Selectors shaping with certain fonts.
1046- Fix Tibetan shorthand contractions shaping.
1047- Improved list of language tag mappings.
1048- Unbreak build on Windows CE.
1049- Make 'glyf' table loading lazy in hb-ot-font.
1050
1051
Behdad Esfahbod00ea66f2016-04-08 13:51:01 -07001052Overview of changes leading to 1.2.6
1053Friday, April 8, 2016
1054====================================
1055
1056- Blacklist GDEF table of another set of Times New Roman (Bold) Italic.
1057- DirectWrite backend improvements. Note: DirectWrite backend is
1058 exclusively for our internal testing and should NOT be used in any
1059 production system whatsoever.
1060
1061
Behdad Esfahboda0331b52016-04-04 16:25:32 -07001062Overview of changes leading to 1.2.5
1063Monday, April 4, 2016
1064====================================
1065
1066- Fix GDEF mark-filtering-set, which was broken in 1.2.3.
1067
1068
Behdad Esfahbod0251b0c2016-03-17 14:37:11 -07001069Overview of changes leading to 1.2.4
1070Thursday, March 17, 2016
1071====================================
1072
1073- Synthesize GDEF glyph class for any glyph that does not have one in GDEF.
1074 I really hope we don't discover broken fonts that shape badly with this
1075 change.
1076- Misc build and other minor fixes.
1077- API changes:
1078 - Added HB_NDEBUG. It's fine for production systems to define this to
1079 disable high-overhead debugging checks. However, I also reduced the
1080 overhead of those checks, so it's a non-issue right now. You can
1081 forget it. Just not defining anything at all is fine.
1082
1083
Behdad Esfahbod75568b02016-02-25 12:26:26 +09001084Overview of changes leading to 1.2.3
1085Thursday, February 25, 2016
1086====================================
1087
1088- Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic,
1089 due to bug in glyph class of ASCII double-quote character. This should
1090 address "regression" introduced in 1.2.0 when we switched mark zeroing
1091 in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE.
1092 This fourth release in a week should finally stablize things...
1093
1094- hb-ot-font's get_glyph() implementation saw some optimizations. Though,
1095 might be really hard to measure in real-world situations.
1096
1097- Also, two rather small API changes:
1098
1099We now disable some time-consuming internal bookkeeping if built with NDEBUG
1100defined. This is a first time that we use NDEBUG to disable debug code. If
1101there exist production systems that do NOT want to enable NDEBUG, please let
1102me know and I'll add HB_NDEBUG.
1103
1104Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()
1105
1106New API:
1107- hb_font_get_nominal_glyph_func_t
1108- hb_font_get_variation_glyph_func_t
1109- hb_font_funcs_set_nominal_glyph_func()
1110- hb_font_funcs_set_variation_glyph_func()
1111- hb_font_get_nominal_glyph()
1112- hb_font_get_variation_glyph()
1113
1114Deprecated API:
1115- hb_font_get_glyph_func_t
1116- hb_font_funcs_set_glyph_func()
1117
1118Clients that implement their own font-funcs are encouraged to replace
1119their get_glyph() implementation with a get_nominal_glyph() and
1120get_variation_glyph() pair. The variation version can assume that
1121variation_selector argument is not zero. Old (deprecated) functions
1122will continue working indefinitely using internal gymnastics; it is
1123just more efficient to use the new functions.
1124
1125
Behdad Esfahbodb30a9712016-02-24 17:32:22 +09001126Overview of changes leading to 1.2.2
1127Wednesday, February 24, 2016
1128====================================
1129
1130- Fix regression with mark positioning with fonts that have
1131 non-zero mark advances. This was introduced in 1.2.0 while
1132 trying to make mark and cursive attachments to work together.
1133 I have partially reverted that, so this version is much more
1134 like what we had before. All clients who updated to 1.2.0
1135 should update to this version.
1136
1137
Behdad Esfahboddabf32a2016-02-23 15:38:43 +09001138Overview of changes leading to 1.2.1
Behdad Esfahbodb30a9712016-02-24 17:32:22 +09001139Tuesday, February 23, 2016
Behdad Esfahboddabf32a2016-02-23 15:38:43 +09001140====================================
1141
1142- CoreText: Fix bug with wrong scale if font scale was changed later.
1143 https://github.com/libass/libass/issues/212
1144- CoreText: Drastically speed up font initialization.
1145- CoreText: Fix tiny leak.
1146- Group ZWJ/ZWNJ with previous syllable under cluster-level=0.
ebraminio7c6937e2017-11-20 14:49:22 -05001147 https://github.com/harfbuzz/harfbuzz/issues/217
Behdad Esfahboddabf32a2016-02-23 15:38:43 +09001148- Add test/shaping/README.md about how to add tests to the suite.
1149
1150
Behdad Esfahbod27847ca2016-02-19 15:56:50 +07001151Overview of changes leading to 1.2.0
1152Friday, February 19, 2016
1153====================================
1154
1155- Fix various issues (hangs mostly) in case of memory allocation failure.
1156- Change mark zeroing types of most shapers from BY_UNICODE_LATE to
1157 BY_GDEF_LATE. This seems to be what Uniscribe does.
1158- Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's
1159 what Windows does.
1160- Allow GPOS cursive connection on marks, and fix the interaction with
1161 mark attachment. This work resulted in some changes to how mark
1162 attachments work. See:
ebraminio7c6937e2017-11-20 14:49:22 -05001163 https://github.com/harfbuzz/harfbuzz/issues/211
1164 https://github.com/harfbuzz/harfbuzz/commit/86c68c7a2c971efe8e35b1f1bd99401dc8b688d2
Behdad Esfahbod27847ca2016-02-19 15:56:50 +07001165- Graphite2 shaper: improved negative advance handling (eg. Nastaliq).
1166- Add nmake-based build system for Windows.
1167- Minor speedup.
1168- Misc. improvements.
1169
1170
Behdad Esfahbod11441292016-01-11 13:16:35 +00001171Overview of changes leading to 1.1.3
1172Monday, January 11, 2016
1173====================================
1174
1175- Ported Indic shaper to Unicode 8.0 data.
1176- Universal Shaping Engine fixes.
1177- Speed up CoreText shaper when font fallback happens in CoreText.
1178- Documentation improvements, thanks to Khaled Hosny.
1179- Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi.
1180- Misc bug fixes.
1181- New API:
1182
1183 * Font extents:
1184 hb_font_extents_t
1185 hb_font_get_font_extents_func_t
1186 hb_font_get_font_h_extents_func_t
1187 hb_font_get_font_v_extents_func_t
1188 hb_font_funcs_set_font_h_extents_func
1189 hb_font_funcs_set_font_v_extents_func
1190 hb_font_get_h_extents
1191 hb_font_get_v_extents
1192 hb_font_get_extents_for_direction
1193
1194 * Buffer message (aka debug):
1195 hb_buffer_message_func_t
1196 hb_buffer_set_message_func()
1197 Actual message protocol to be fleshed out later.
1198
1199
Behdad Esfahbodd44d52b2015-11-26 19:35:43 -05001200Overview of changes leading to 1.1.2
1201Wednesday, November 26, 2015
1202====================================
1203
1204- Fix badly-broken fallback shaper that affected terminology.
ebraminio7c6937e2017-11-20 14:49:22 -05001205 https://github.com/harfbuzz/harfbuzz/issues/187
Behdad Esfahbodd44d52b2015-11-26 19:35:43 -05001206- Fix y_scaling in Graphite shaper.
1207- API changes:
1208 * An unset glyph_h_origin() function in font-funcs now (sensibly)
1209 implies horizontal origin at 0,0. Ie, the nil callback returns
1210 true instead of false. As such, implementations that have a
1211 glyph_h_origin() that simply returns true, can remove that function
1212 with HarfBuzz >= 1.1.2. This results in a tiny speedup.
1213
1214
Behdad Esfahbodb24e93e2015-11-24 13:18:20 -06001215Overview of changes leading to 1.1.1
1216Wednesday, November 24, 2015
1217====================================
1218
1219- Build fixes, specially for hb-coretext.
1220
1221
Behdad Esfahbode1118ae2015-11-18 23:40:47 -08001222Overview of changes leading to 1.1.0
1223Wednesday, November 18, 2015
1224====================================
1225
1226- Implement 'stch' stretch feature for Syriac Abbreviation Mark.
ebraminio7c6937e2017-11-20 14:49:22 -05001227 https://github.com/harfbuzz/harfbuzz/issues/141
Behdad Esfahbode1118ae2015-11-18 23:40:47 -08001228- Disable use of decompose_compatibility() callback.
1229- Implement "shaping" of various Unicode space characters, even
1230 if the font does not support them.
ebraminio7c6937e2017-11-20 14:49:22 -05001231 https://github.com/harfbuzz/harfbuzz/issues/153
Behdad Esfahbode1118ae2015-11-18 23:40:47 -08001232- If font does not support U+2011 NO-BREAK HYPHEN, fallback to
1233 U+2010 HYPHEN.
1234- Changes resulting from libFuzzer continuous fuzzing:
1235 * Reject font tables that need more than 8 edits,
1236 * Bound buffer growth during shaping to 32x,
1237 * Fix assertions and other issues at OOM / buffer max-growth.
1238- Misc fixes and optimizations.
1239- API changes:
1240 * All fonts created with hb_font_create() now inherit from
1241 (ie. have parent) hb_font_get_empty().
1242
1243
Behdad Esfahbod86cadc22015-10-15 20:25:29 -03001244Overview of changes leading to 1.0.6
1245Thursday, October 15, 2015
1246====================================
1247
1248- Reduce max nesting level in OT lookups from 8 to 6.
1249 Should not affect any real font as far as I know.
1250- Fix memory access issue in ot-font.
1251- Revert default load-flags of fonts created using hb_ft_font_create()
1252 back to FT_LOAD_DEFAULT|FT_LOAD_NO_HINTING. This was changed in
1253 last release (1.0.5), but caused major issues, so revert.
ebraminio7c6937e2017-11-20 14:49:22 -05001254 https://github.com/harfbuzz/harfbuzz/issues/143
Behdad Esfahbod86cadc22015-10-15 20:25:29 -03001255
1256
Behdad Esfahbodab170522015-10-13 10:55:33 -03001257Overview of changes leading to 1.0.5
1258Tuesday, October 13, 2015
1259====================================
1260
1261- Fix multiple memory access bugs discovered using libFuzzer.
ebraminio7c6937e2017-11-20 14:49:22 -05001262 https://github.com/harfbuzz/harfbuzz/issues/139
Behdad Esfahbodab170522015-10-13 10:55:33 -03001263 Everyone should upgrade to this version as soon as possible.
1264 We now have continuous fuzzing set up, to avoid issues like
1265 these creeping in again.
1266- Misc fixes.
1267
1268- New API:
1269 * hb_font_set_parent().
1270 * hb_ft_font_[sg]et_load_flags()
1271 The default flags for fonts created using hb_ft_font_create()
1272 has changed to default to FT_LOAD_DEFAULT now. Previously it
1273 was defaulting to FT_LOAD_DFEAULT|FT_LOAD_NO_HINTING.
1274
1275- API changes:
1276 * Fonts now default to units-per-EM as their scale, instead of 0.
1277 * hb_font_create_sub_font() does NOT make parent font immutable
1278 anymore. hb_font_make_immutable() does.
1279
1280
Behdad Esfahbod432ffc42015-09-30 22:51:16 +01001281Overview of changes leading to 1.0.4
1282Wednesday, September 30, 2015
1283====================================
1284
1285- Fix minor out-of-bounds read error.
1286
1287
Behdad Esfahbod7f540532015-09-01 17:03:50 +01001288Overview of changes leading to 1.0.3
1289Tuesday, September 1, 2015
1290====================================
1291
1292- Start of user documentation, from Simon Cozens!
1293- Implement glyph_extents() for TrueType fonts in hb-ot-font.
1294- Improve GPOS cursive attachments with conflicting lookups.
1295- More fixes for cluster-level = 1.
1296- Uniscribe positioning fix.
1297
1298
Behdad Esfahbod789b89e2015-08-19 13:39:57 +01001299Overview of changes leading to 1.0.2
1300Wednesday, August 19, 2015
1301====================================
1302
1303- Fix shaping with cluster-level > 0.
1304- Fix Uniscribe backend font-size scaling.
1305- Declare dependencies in harfbuzz.pc.
1306 FreeType is not declared though, to avoid bugs in pkg-config
1307 0.26 with recursive dependencies.
1308- Slightly improved debug infrastructure. More to come later.
1309- Misc build fixes.
1310
1311
Behdad Esfahbod9002c272015-07-27 12:17:54 +02001312Overview of changes leading to 1.0.1
1313Monday, July 27, 2015
1314====================================
1315
1316- Fix out-of-bounds access in USE shaper.
1317
1318
Behdad Esfahbod26044232015-07-26 23:39:10 +02001319Overview of changes leading to 1.0.0
Behdad Esfahbod9002c272015-07-27 12:17:54 +02001320Sunday, July 26, 2015
Behdad Esfahbod26044232015-07-26 23:39:10 +02001321====================================
1322
1323- Implement Universal Shaping Engine:
1324 https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm
1325 http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/
1326- Bump version to 1.0.0. The soname was NOT bumped.
1327
1328
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +02001329Overview of changes leading to 0.9.42
1330Thursday, July 26, 2015
1331=====================================
Behdad Esfahbod376d5872015-07-22 16:51:12 +01001332
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +02001333- New API to allow for retrieving finer-grained cluster
1334 mappings if the client desires to handle them. Default
1335 behavior is unchanged.
1336- Fix cluster merging when removing default-ignorables.
1337- Update to Unicode 8.0
1338- hb-graphite2 fixes.
1339- Misc fixes.
Behdad Esfahbod376d5872015-07-22 16:51:12 +01001340- Removed HB_NO_MERGE_CLUSTERS hack.
1341- New API:
1342 hb_buffer_cluster_level_t enum
1343 hb_buffer_get_cluster_level()
1344 hb_buffer_set_cluster_level()
1345 hb-shape / hb-view --cluster-level
1346
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +02001347
Behdad Esfahboda6446d42015-06-18 11:14:56 -07001348Overview of changes leading to 0.9.41
1349Thursday, June 18, 2015
1350=====================================
1351
1352- Fix hb-coretext with trailing whitespace in right-to-left.
1353- New API: hb_buffer_reverse_range().
1354- Allow implementing atomic ops in config.h.
1355- Fix hb_language_t in language bindings.
1356- Misc fixes.
1357
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +02001358
Behdad Esfahbode3671b82015-03-20 18:03:02 -04001359Overview of changes leading to 0.9.40
1360Friday, March 20, 2015
1361=====================================
1362
1363- Another hb-coretext crasher fix. Ouch!
1364- Happy Norouz!
1365
1366
Behdad Esfahbod02a04e62015-03-04 12:32:03 -08001367Overview of changes leading to 0.9.39
1368Wednesday, March 4, 2015
1369=====================================
1370
1371- Critical hb-coretext fixes.
1372- Optimizations and refactoring; no functional change
1373 expected.
1374- Misc build fixes.
1375
1376
Behdad Esfahbod28f5e0b2015-01-23 12:45:35 -08001377Overview of changes leading to 0.9.38
1378Friday, January 23, 2015
1379=====================================
1380
1381- Fix minor out-of-bounds access in Indic shaper.
1382- Change New Tai Lue shaping engine from South-East Asian to default,
1383 reflecting change in Unicode encoding model.
1384- Add hb-shape --font-size. Can take up to two numbers for separate
1385 x / y size.
1386- Fix CoreText and FreeType scale issues with negative scales.
1387- Reject blobs larger than 2GB. This might break some icu-le-hb clients
1388 that need security fixes. See:
1389 http://www.icu-project.org/trac/ticket/11450
1390- Avoid accessing font tables during face destruction, in casce rogue
1391 clients released face data already.
1392- Fix up gobject-introspection a bit. Python bindings kinda working.
1393 See README.python.
1394- Misc fixes.
1395- API additions:
1396 hb_ft_face_create_referenced()
1397 hb_ft_font_create_referenced()
1398
1399
Behdad Esfahbod66e37402014-12-17 12:09:17 -08001400Overview of changes leading to 0.9.37
1401Wednesday, December 17, 2014
1402=====================================
1403
1404- Fix out-of-bounds access in Context lookup format 3.
1405- Indic: Allow ZWJ/ZWNJ before syllable modifiers.
1406
1407
Behdad Esfahbodc0e95ab2014-11-20 14:42:24 -08001408Overview of changes leading to 0.9.36
1409Thursday, November 20, 2014
1410=====================================
1411
1412- First time that three months went by without a release since
1413 0.9.2 was released on August 10, 2012!
1414- Fix performance bug in hb_ot_collect_glyphs():
1415 https://bugzilla.mozilla.org/show_bug.cgi?id=1090869
1416- Add basic vertical-text support to hb-ot-font.
1417- Misc build fixes.
1418
1419
Behdad Esfahbodcd5a1142014-08-13 12:39:34 -04001420Overview of changes leading to 0.9.35
1421Saturday, August 13, 2014
1422=====================================
1423
1424- Fix major shape-plan caching bug when more than one shaper were
1425 provided to hb_shape_full() (as exercised by XeTeX).
1426 http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
1427- Fix Arabic fallback shaping regression. This was broken in 0.9.32.
1428- Major hb-coretext fixes. That backend is complete now, including
1429 respecing buffer direction and language, down to vertical writing.
1430- Build fixes for Windows CE. Should build fine now.
1431- Misc fixes:
1432 Use atexit() only if it's safe to call from shared library
1433 https://bugs.freedesktop.org/show_bug.cgi?id=82246
1434 Mandaic had errors in its Unicode Joining_Type
1435 https://bugs.freedesktop.org/show_bug.cgi?id=82306
1436- API changes:
1437
1438 * hb_buffer_clear_contents() does not reset buffer flags now.
1439
1440 After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't
1441 need to set flags for different pieces of text. The flags now
1442 are something the client sets up once, depending on how it
1443 actually uses the buffer. As such, don't clear it in
1444 clear_contents().
1445
1446 I don't expect any changes to be needed to any existing client.
1447
1448
Behdad Esfahbod91c2c0f2014-08-02 19:24:55 -04001449Overview of changes leading to 0.9.34
1450Saturday, August 2, 2014
1451=====================================
1452
1453- hb_feature_from_string() now accepts CSS font-feature-settings format.
1454- As a result, hb-shape / hb-view --features also accept CSS-style strings.
1455 Eg, "'liga' off" is accepted now.
1456- Add old-spec Myanmar shaper:
1457 https://bugs.freedesktop.org/show_bug.cgi?id=81775
1458- Don't apply 'calt' in Hangul shaper.
1459- Fix mark advance zeroing for Hebrew shaper:
1460 https://bugs.freedesktop.org/show_bug.cgi?id=76767
1461- Implement Windows-1256 custom Arabic shaping. Only built on Windows,
1462 and requires help from get_glyph(). Used by Firefox.
1463 https://bugzilla.mozilla.org/show_bug.cgi?id=1045139
1464- Disable 'liga' in vertical text.
1465- Build fixes.
1466- API changes:
1467
1468 * Make HB_BUFFER_FLAG_BOT/EOT easier to use.
1469
1470 Previously, we expected users to provide BOT/EOT flags when the
1471 text *segment* was at paragraph boundaries. This meant that for
1472 clients that provide full paragraph to HarfBuzz (eg. Pango), they
1473 had code like this:
1474
1475 hb_buffer_set_flags (hb_buffer,
1476 (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) |
1477 (item_offset + item_length == paragraph_length ?
1478 HB_BUFFER_FLAG_EOT : 0));
1479
1480 hb_buffer_add_utf8 (hb_buffer,
1481 paragraph_text, paragraph_length,
1482 item_offset, item_length);
1483
1484 After this change such clients can simply say:
1485
1486 hb_buffer_set_flags (hb_buffer,
1487 HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT);
1488
1489 hb_buffer_add_utf8 (hb_buffer,
1490 paragraph_text, paragraph_length,
1491 item_offset, item_length);
1492
1493 Ie, HarfBuzz itself checks whether the segment is at the beginning/end
1494 of the paragraph. Clients that only pass item-at-a-time to HarfBuzz
1495 continue not setting any flags whatsoever.
1496
1497 Another way to put it is: if there's pre-context text in the buffer,
1498 HarfBuzz ignores the BOT flag. If there's post-context, it ignores
1499 EOT flag.
1500
1501
Behdad Esfahbod8c1bdb42014-07-22 17:56:43 -04001502Overview of changes leading to 0.9.33
1503Tuesday, July 22, 2014
1504=====================================
1505
1506- Turn off ARabic 'cswh' feature that was accidentally turned on.
1507- Add HB_TAG_MAX_SIGNED.
1508- Make hb_face_make_immutable() really make face immutable!
1509- Windows build fixes.
1510
1511
Behdad Esfahbod66f30912014-07-17 16:05:47 -04001512Overview of changes leading to 0.9.32
1513Thursday, July 17, 2014
1514=====================================
1515
1516- Apply Arabic shaping features in spec order exactly.
1517- Another fix for Mongolian free variation selectors.
1518- For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt'
1519 together.
1520- Minor adjustment to U+FFFD logic.
1521- Fix hb-coretext build.
1522
1523
Behdad Esfahboda18897f2014-07-16 16:02:15 -04001524Overview of changes leading to 0.9.31
1525Wednesday, July 16, 2014
1526=====================================
1527
1528- Only accept valid UTF-8/16/32; we missed many cases before.
1529- Better shaping of invalid UTF-8/16/32. Falls back to
1530 U+FFFD REPLACEMENT CHARACTER now.
1531- With all changes in this release, the buffer will contain fully
1532 valid Unicode after hb_buffer_add_utf8/16/32 no matter how
Unknown97145df2017-11-03 09:05:00 -04001533 broken the input is. This can be overridden though. See below.
Behdad Esfahboda18897f2014-07-16 16:02:15 -04001534- Fix Mongolian Variation Selectors for fonts without GDEF.
1535- Fix minor invalid buffer access.
1536- Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language()
1537 now uses these instead of private tags.
1538- Build fixes.
1539- New API:
1540 * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32()
1541 used to do, ie. no validity check on the input at all. add_utf32
1542 now replaces invalid Unicode codepoints with the replacement
1543 character (see below).
1544 * hb_buffer_set_replacement_codepoint()
1545 * hb_buffer_get_replacement_codepoint()
1546 Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when
1547 we detected broken input, we replaced that with (hb_codepoint_t)-1.
1548 This has changed to use U+FFFD now, but can be changed using these
1549 new API.
1550
1551
Behdad Esfahbodea001372014-07-09 17:28:43 -04001552Overview of changes leading to 0.9.30
1553Wednesday, July 9, 2014
1554=====================================
Behdad Esfahboda18897f2014-07-16 16:02:15 -04001555
Behdad Esfahbodea001372014-07-09 17:28:43 -04001556- Update to Unicode 7.0.0:
1557 * New scripts Manichaean and Psalter Pahlavi are shaped using
1558 Arabic shaper.
1559 * All the other new scripts to through the generic shaper for
1560 now.
1561- Minor Indic improvements.
1562- Fix graphite2 backend cluster mapping [crasher!]
1563- API changes:
1564 * New HB_SCRIPT_* values for Unicode 7.0 scripts.
1565 * New function hb_ot_layout_language_get_required_feature().
1566- Build fixes.
1567
1568
Behdad Esfahbod5875ad92014-05-29 15:48:16 -04001569Overview of changes leading to 0.9.29
1570Thursday, May 29, 2014
1571=====================================
1572
1573- Implement cmap in hb-ot-font.h. No variation-selectors yet.
1574- Myanmar: Allow MedialYa+Asat.
1575- Various Indic fixes:
1576 * Support most characters in Extended Devanagary and Vedic
1577 Unicode blocks.
1578 * Allow digits and a some punctuation as consonant placeholders.
1579- Build fixes.
1580
Behdad Esfahbodea001372014-07-09 17:28:43 -04001581
Behdad Esfahbod79ecdc32014-04-28 14:24:23 -07001582Overview of changes leading to 0.9.28
1583Monday, April 28, 2014
1584=====================================
1585
1586- Unbreak old-spec Indic shaping. (bug 76705)
1587- Fix shaping of U+17DD and U+0FC6.
1588- Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default
1589 for shipping libraries. It's an option for further experimentation
1590 right now. When we are sure how to do it properly, we will add
1591 public run-time API for the functionality.
1592- Build fixes.
1593
1594
Dominik Röttschesba8c9d92014-03-18 14:39:03 +02001595Overview of changes leading to 0.9.27
1596Tuesday, March 18, 2014
1597=====================================
1598
1599- Don't use "register" storage class specifier
1600- Wrap definition of free_langs() with HAVE_ATEXIT
1601- Add coretext_aat shaper and hb_coretext_face_create() constructor
1602- If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
1603- Add Myanmar test case from OpenType Myanmar spec
1604- Only do fallback Hebrew composition if no GPOS 'mark' available
1605- Allow bootstrapping without gtk-doc
1606- Use AM_MISSING_PROG for ragel and git
1607- Typo in ucdn's Makefile.am
1608- Improve MemoryBarrier() implementation
1609
1610
Behdad Esfahbod189bf232014-01-30 15:14:58 -05001611Overview of changes leading to 0.9.26
1612Thursday, January 30, 2014
1613=====================================
1614
1615- Misc fixes.
1616- Fix application of 'rtlm' feature.
1617- Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH.
1618- New header: hb-ot-shape.h
1619- Uniscribe: fix scratch-buffer accounting.
1620- Reorder Tai Tham SAKOT to after tone-marks.
1621- Add Hangul shaper.
1622- New files:
1623 hb-ot-shape-complex-hangul.cc
1624 hb-ot-shape-complex-hebrew.cc
1625 hb-ot-shape-complex-tibetan.cc
1626- Disable 'cswh' feature in Arabic shaper.
1627- Coretext: better handle surrogate pairs.
1628- Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE.
1629
1630
Behdad Esfahbod860fc9a2013-12-04 20:06:59 -05001631Overview of changes leading to 0.9.25
1632Wednesday, December 4, 2013
1633=====================================
1634
1635- Myanmar shaper improvements.
1636- Avoid font fallback in CoreText backend.
1637- Additional OpenType language tag mappiongs.
1638- More aggressive shape-plan caching.
1639- Build with / require automake 1.13.
1640- Build with libtool 2.4.2.418 alpha to support ppc64le.
1641
1642
Behdad Esfahbod63006942013-11-13 14:54:07 -05001643Overview of changes leading to 0.9.24
1644Tuesday, November 13, 2013
1645=====================================
1646
1647- Misc compiler warning fixes with clang.
1648- No functional changes.
1649
1650
Behdad Esfahboddce79c22013-10-28 20:26:40 +01001651Overview of changes leading to 0.9.23
1652Monday, October 28, 2013
1653=====================================
1654
1655- "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
1656- Fix (Chain)Context recursion with non-monotone lookup positions.
1657- Misc Indic bug fixes.
1658- New Javanese / Buginese shaping, similar to Windows 8.1.
1659
1660
Behdad Esfahbode152d1a2013-10-03 15:09:37 -04001661Overview of changes leading to 0.9.22
1662Thursday, October 3, 2013
1663=====================================
1664
1665- Fix use-after-end-of-scope in hb_language_from_string().
1666- Fix hiding of default_ignorables if font doesn't have space glyph.
1667- Protect against out-of-range lookup indices.
1668
1669- API Changes:
1670
1671 * Added hb_ot_layout_table_get_lookup_count()
1672
1673
Behdad Esfahbodb61f97d2013-09-16 22:07:22 -04001674Overview of changes leading to 0.9.21
1675Monday, September 16, 2013
1676=====================================
1677
1678- Rename gobject-introspection library name from harfbuzz to HarfBuzz.
1679- Remove (long disabled) hb-old and hb-icu-le test shapers.
1680- Misc gtk-doc and gobject-introspection annotations.
1681- Misc fixes.
1682- API changes:
1683
1684 * Add HB_SET_VALUE_INVALID
1685
Behdad Esfahbodf730b5d2013-08-29 15:53:33 -04001686Overview of changes leading to 0.9.20
1687Thursday, August 29, 2013
1688=====================================
1689
1690General:
1691- Misc substitute_closure() fixes.
1692- Build fixes.
1693
1694Documentation:
1695- gtk-doc boilerplate integrated. Docs are built now, but
1696 contain no contents. By next release hopefully we have
1697 some content in. Enable using --enable-gtk-doc.
1698
1699GObject and Introspection:
1700- Added harfbuzz-gobject library (hb-gobject.h) that has type
1701 bindings for all HarfBuzz objects and enums. Enable using
1702 --with-gobject.
1703- Added gobject-introspection boilerplate. Nothing useful
1704 right now. Work in progress. Gets enabled automatically if
1705 --with-gobject is used. Override with --disable-introspection.
1706
1707OpenType shaper:
1708- Apply 'mark' in Myanmar shaper.
1709- Don't apply 'dlig' by default.
1710
1711Uniscribe shaper:
1712- Support user features.
1713- Fix loading of fonts that are also installed on the system.
1714- Fix shaping of Arabic Presentation Forms.
1715- Fix build with wide chars.
1716
1717CoreText shaper:
1718- Support user features.
1719
1720Source changes:
1721- hb_face_t code moved to hb-face.h / hb-face.cc.
1722- Added hb-deprecated.h.
1723
1724API changes:
1725- Added HB_DISABLE_DEPRECATED.
1726- Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
1727 HB_SCRIPT_CANADIAN_SYLLABICS.
1728- Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
1729 HB_BUFFER_FLAG_DEFAULT.
1730- Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
1731 HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
1732
1733
Behdad Esfahbod2b78d672013-07-16 16:06:27 -04001734Overview of changes leading to 0.9.19
1735Tuesday, July 16, 2013
1736=====================================
1737
1738- Build fixes.
1739- Better handling of multiple variation selectors in a row.
1740- Pass on variation selector to GSUB if not consumed by cmap.
1741- Fix undefined memory access.
1742- Add Javanese config to Indic shaper.
1743- Misc bug fixes.
1744
Behdad Esfahbod4014aa42013-05-28 17:28:59 -04001745Overview of changes leading to 0.9.18
1746Tuesday, May 28, 2013
1747=====================================
1748
1749New build system:
1750
1751- All unneeded code is all disabled by default,
1752
1753- Uniscribe and CoreText shapers can be enabled with their --with options,
1754
1755- icu_le and old shapers cannot be enabled for now,
1756
1757- glib, freetype, and cairo will be detected automatically.
1758 They can be force on/off'ed with their --with options,
1759
1760- icu and graphite2 are default off, can be enabled with their --with
1761 options,
1762
1763Moreover, ICU support is now build into a separate library:
1764libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
1765Distros can enable ICU now without every application on earth
1766getting linked to via libharfbuzz.so.
1767
1768For distros I recommend that they make sure they are building --with-glib
1769--with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
1770And package harfbuzz and harfbuzz-icu separately.
1771
1772
Behdad Esfahbodf1b02f42013-05-20 09:23:58 -04001773Overview of changes leading to 0.9.17
1774Monday, May 20, 2013
1775=====================================
1776
1777- Build fixes.
1778- Fix bug in hb_set_get_min().
1779- Fix regression with Arabic mark positioning / width-zeroing.
1780
Behdad Esfahboda408d232013-04-19 16:32:06 -04001781Overview of changes leading to 0.9.16
1782Friday, April 19, 2013
1783=====================================
1784
1785- Major speedup in OpenType lookup processing. With the Amiri
1786 Arabic font, this release is over 3x faster than previous
1787 release. All scripts / languages should see this speedup.
1788
1789- New --num-iterations option for hb-shape / hb-view; useful for
1790 profiling.
1791
Behdad Esfahbod22e47452013-04-05 18:02:43 -04001792Overview of changes leading to 0.9.15
Behdad Esfahboda408d232013-04-19 16:32:06 -04001793Friday, April 05, 2013
Behdad Esfahbod22e47452013-04-05 18:02:43 -04001794=====================================
1795
1796- Build fixes.
1797- Fix crasher in graphite2 shaper.
1798- Fix Arabic mark width zeroing regression.
1799- Don't compose Hangul jamo into Unicode syllables.
1800
1801
Behdad Esfahbodf872a172013-03-21 13:38:06 -04001802Overview of changes leading to 0.9.14
1803Thursday, March 21, 2013
1804=====================================
1805
1806- Build fixes.
1807- Fix time-consuming sanitize with malicious fonts.
1808- Implement hb_buffer_deserialize_glyphs() for both json and text.
1809- Do not ignore Hangul filler characters.
1810- Indic fixes:
1811 * Fix Malayalam pre-base reordering interaction with post-forms.
1812 * Further adjust ZWJ handling. Should fix known regressions from
1813 0.9.13.
1814
1815
Behdad Esfahbod05686b52013-02-25 18:19:20 -05001816Overview of changes leading to 0.9.13
1817Thursday, February 25, 2013
1818=====================================
1819
1820- Build fixes.
1821- Ngapi HarfBuzz Hackfest in London (February 2013):
1822 * Fixed all known Indic bugs,
1823 * New Win8-style Myanmar shaper,
1824 * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
1825 * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
1826 matching GSUB/GPOS lookups,
1827 * Fix 'Phags-Pa U+A872 shaping,
1828 * Fix partial disabling of default-on features,
1829 * Allow disabling of TrueType kerning.
1830- Fix possible crasher with broken fonts with overlapping tables.
1831- Removed generated files from git again. So, one needs ragel to
1832 bootstrap from the git tree.
1833
1834API changes:
1835- hb_shape() and related APIs now abort if buffer direction is
1836 HB_DIRECTION_INVALID. Previously, hb_shape() was calling
1837 hb_buffer_guess_segment_properties() on the buffer before
1838 shaping. The heuristics in that function are fragile. If the
1839 user really wants the old behvaior, they can call that function
1840 right before calling hb_shape() to get the old behavior.
1841- hb_blob_create_sub_blob() always creates sub-blob with
1842 HB_MEMORY_MODE_READONLY. See comments for the reason.
1843
1844
Behdad Esfahbod09b53932013-01-18 17:10:47 -06001845Overview of changes leading to 0.9.12
1846Thursday, January 18, 2013
1847=====================================
1848
1849- Build fixes for Sun compiler.
1850- Minor bug fix.
1851
Behdad Esfahbodcf81fb32013-01-10 09:06:34 -06001852Overview of changes leading to 0.9.11
1853Thursday, January 10, 2013
1854=====================================
1855
1856- Build fixes.
1857- Fix GPOS mark attachment with null Anchor offsets.
1858- [Indic] Fix old-spec reordering of viramas if sequence ends in one.
1859- Fix multi-threaded shaper data creation crash.
1860- Add atomic ops for Solaris.
1861
1862API changes:
1863- Rename hb_buffer_clear() to hb_buffer_clear_contents().
1864
1865
Behdad Esfahbod34e6c3e2013-01-03 00:14:24 -06001866Overview of changes leading to 0.9.10
1867Thursday, January 3, 2013
1868=====================================
1869
1870- [Indic] Fixed rendering of Malayalam dot-reph
1871- Updated OT language tags.
1872- Updated graphite2 backend.
1873- Improved hb_ot_layout_get_size_params() logic.
1874- Improve hb-shape/hb-view help output.
1875- Fixed hb-set.h implementation to not crash.
1876- Fixed various issues with hb_ot_layout_collect_lookups().
1877- Various build fixes.
1878
1879New API:
1880
1881hb_graphite2_face_get_gr_face()
1882hb_graphite2_font_get_gr_font()
1883hb_coretext_face_get_cg_font()
1884
1885Modified API:
1886
1887hb_ot_layout_get_size_params()
1888
1889
Behdad Esfahbodc6408a12012-12-05 17:36:52 -05001890Overview of changes leading to 0.9.9
1891Wednesday, December 5, 2012
1892====================================
1893
1894- Fix build on Windows.
1895- Minor improvements.
1896
1897
Behdad Esfahboda52f51b2012-12-04 15:43:38 -05001898Overview of changes leading to 0.9.8
1899Tuesday, December 4, 2012
1900====================================
1901
1902
1903- Actually implement hb_shape_plan_get_shaper ().
1904- Make UCDB data tables const.
1905- Lots of internal refactoring in OTLayout tables.
1906- Flesh out hb_ot_layout_lookup_collect_glyphs().
1907
1908New API:
1909
1910hb_ot_layout_collect_lookups()
1911hb_ot_layout_get_size_params()
1912
1913
Behdad Esfahbod4c896352012-11-21 01:20:56 -05001914Overview of changes leading to 0.9.7
1915Sunday, November 21, 2012
1916====================================
1917
1918
1919HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
1920
1921- Fix Arabic contextual joining using pre-context text.
1922- Fix Sinhala "split matra" mess.
1923- Fix Khmer shaping with broken fonts.
1924- Implement Thai "PUA" shaping for old fonts.
1925- Do NOT route Kharoshthi script through the Indic shaper.
1926- Disable fallback positioning for Indic and Thai shapers.
1927- Misc fixes.
1928
1929
1930hb-shape / hb-view changes:
1931
1932- Add --text-before and --text-after
1933- Add --bot / --eot / --preserve-default-ignorables
1934- hb-shape --output-format=json
1935
1936
1937New API:
1938
1939hb_buffer_clear()
1940
1941hb_buffer_flags_t
1942
1943HB_BUFFER_FLAGS_DEFAULT
1944HB_BUFFER_FLAG_BOT
1945HB_BUFFER_FLAG_EOT
1946HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
1947
1948hb_buffer_set_flags()
1949hb_buffer_get_flags()
1950
1951HB_BUFFER_SERIALIZE_FLAGS
1952hb_buffer_serialize_glyphs()
1953hb_buffer_deserialize_glyphs()
1954hb_buffer_serialize_list_formats()
1955
1956hb_set_add_range()
1957hb_set_del_range()
1958hb_set_get_population()
1959hb_set_next_range()
1960
1961hb_face_[sg]et_glyph_count()
1962
1963hb_segment_properties_t
1964HB_SEGMENT_PROPERTIES_DEFAULT
1965hb_segment_properties_equal()
1966hb_segment_properties_hash()
1967
1968hb_buffer_set_segment_properties()
1969hb_buffer_get_segment_properties()
1970
1971hb_ot_layout_glyph_class_t
1972hb_ot_layout_get_glyph_class()
1973hb_ot_layout_get_glyphs_in_class()
1974
1975hb_shape_plan_t
1976hb_shape_plan_create()
1977hb_shape_plan_create_cached()
1978hb_shape_plan_get_empty()
1979hb_shape_plan_reference()
1980hb_shape_plan_destroy()
1981hb_shape_plan_set_user_data()
1982hb_shape_plan_get_user_data()
1983hb_shape_plan_execute()
1984hb_shape_plan_get_shaper()
1985
1986hb_ot_shape_plan_collect_lookups()
1987
1988
1989API changes:
1990
1991- Remove "mask" parameter from hb_buffer_add().
1992- Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
1993- hb-set.h API const correction.
1994- Renamed hb_set_min/max() to hb_set_get_min/max().
1995- Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
1996- Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
1997
1998
1999
Behdad Esfahbodda43a922012-11-13 13:48:26 -08002000Overview of changes leading to 0.9.6
2001Sunday, November 13, 2012
2002====================================
2003
2004- Don't clear pre-context text if no new context is provided.
2005- Fix ReverseChainingSubstLookup, which was totally borked.
2006- Adjust output format of hb-shape a bit.
2007- Include config.h.in in-tree. Makes it easier for alternate build systems.
2008- Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
2009- Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
2010- Drop glyphs for all of Unicode Default_Ignorable characters.
2011- Misc build fixes.
2012
2013Arabic shaper:
2014- Enable 'dlig' and 'mset' features in Arabic shaper.
2015- Implement 'Phags-pa shaping, improve Mongolian.
2016
2017Indic shaper:
2018- Decompose Sinhala split matras the way old HarfBuzz / Pango did.
2019- Initial support for Consonant Medials.
2020- Start adding new-style Myanmar shaping.
2021- Make reph and 'pref' logic introspect the font.
2022- Route Meetei-Mayek through the Indic shaper.
2023- Don't apply 'liga' in Indic shaper.
2024- Improve Malayalam pre-base reordering Ra interaction with Chillus.
2025
2026
2027
Behdad Esfahbod13c05842012-10-14 18:37:09 -05002028Overview of changes leading to 0.9.5
2029Sunday, October 14, 2012
2030====================================
2031
2032- Synthetic-GSUB Arabic fallback shaping.
2033
2034- Misc Indic improvements.
2035
2036- Add build system support for pthread.
2037
2038- Imported UCDN for in-tree Unicode callbacks implementation.
2039
2040- Context-aware Arabic joining.
2041
2042- Misc other fixes.
2043
2044- New API:
2045
2046 hb_feature_to/from-string()
2047 hb_buffer_[sg]et_content_type()
2048
2049
2050
Behdad Esfahbodf7e81ce2012-09-04 15:32:37 -04002051Overview of changes leading to 0.9.4
2052Tuesday, Sep 03, 2012
2053====================================
2054
2055- Indic improvements with old-spec Malayalam.
2056
2057- Better fallback glyph positioning, specially with Thai / Lao marks.
2058
2059- Implement dotted-circle insertion.
2060
2061- Better Arabic fallback shaping / ligation.
2062
2063- Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
2064
2065- Misc fixes.
2066
2067
2068
Behdad Esfahbod7fe00d12012-08-18 13:59:46 -04002069Overview of changes leading to 0.9.3
2070Friday, Aug 18, 2012
2071====================================
2072
2073- Fixed fallback mark positioning for left-to-right text.
2074
2075- Improve mark positioning for the remaining combining classes.
2076
2077- Unbreak Thai and fallback Arabic shaping.
2078
2079- Port Arabic shaper to shape-plan caching.
2080
2081- Use new ICU normalizer functions.
2082
2083
2084
Behdad Esfahbode297ee42012-08-10 14:49:37 -04002085Overview of changes leading to 0.9.2
Behdad Esfahbod9fe76052012-08-15 17:24:28 -04002086Friday, Aug 10, 2012
Behdad Esfahbode297ee42012-08-10 14:49:37 -04002087====================================
2088
2089- Over a thousand commits! This is the first major release of HarfBuzz.
2090
2091- HarfBuzz is feature-complete now! It should be in par, or better, than
2092 both Pango's shapers and old HarfBuzz / Qt shapers.
2093
2094- New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
2095
2096- Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
2097 Sinhala, N'ko, Mongolian, and Mandaic.
2098
2099- New Thai / Lao shaper.
2100
2101- Tibetan / Hangul support in the generic shaper.
2102
2103- Synthetic GDEF support for fonts without a GDEF table.
2104
2105- Fallback mark positioning for fonts without a GPOS table.
2106
2107- Unicode normalization shaping heuristic during glyph mapping.
2108
2109- New experimental Graphite2 backend.
2110
2111- New Uniscribe backend (primarily for testing).
2112
2113- New CoreText backend (primarily for testing).
2114
2115- Major optimization and speedup.
2116
2117- Test suites and testing infrastructure (work in progress).
2118
2119- Greatly improved hb-view cmdline tool.
2120
2121- hb-shape cmdline tool.
2122
2123- Unicode 6.1 support.
2124
2125Summary of API changes:
2126
2127o Changed API:
2128
2129 - Users are expected to only include main header files now (ie. hb.h,
2130 hb-glib.h, hb-ft.h, ...)
2131
2132 - All struct tag names had their initial underscore removed.
2133 Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
2134
2135 - All set_user_data() functions now take a "replace" boolean parameter.
2136
2137 - hb_buffer_create() takes zero arguments now.
2138 Use hb_buffer_pre_allocate() to pre-allocate.
2139
2140 - hb_buffer_add_utf*() now accept -1 for length parameteres,
2141 meaning "nul-terminated".
2142
2143 - hb_direction_t enum values changed.
2144
2145 - All *_from_string() APIs now take a length parameter to allow for
2146 non-nul-terminated strings. A -1 length means "nul-terminated".
2147
2148 - Typedef for hb_language_t changed.
2149
2150 - hb_get_table_func_t renamed to hb_reference_table_func_t.
2151
2152 - hb_ot_layout_table_choose_script()
2153
2154 - Various renames in hb-unicode.h.
2155
2156o New API:
2157
2158 - hb_buffer_guess_properties()
2159 Automatically called by hb_shape().
2160
2161 - hb_buffer_normalize_glyphs()
2162
2163 - hb_tag_from_string()
2164
2165 - hb-coretext.h
2166
2167 - hb-uniscribe.h
2168
2169 - hb_face_reference_blob()
2170 - hb_face_[sg]et_index()
2171 - hb_face_set_upem()
2172
2173 - hb_font_get_glyph_name_func_t
2174 hb_font_get_glyph_from_name_func_t
2175 hb_font_funcs_set_glyph_name_func()
2176 hb_font_funcs_set_glyph_from_name_func()
2177 hb_font_get_glyph_name()
2178 hb_font_get_glyph_from_name()
2179 hb_font_glyph_to_string()
2180 hb_font_glyph_from_string()
2181
2182 - hb_font_set_funcs_data()
2183
2184 - hb_ft_font_set_funcs()
2185 - hb_ft_font_get_face()
2186
2187 - hb-gobject.h (work in progress)
2188
2189 - hb_ot_shape_glyphs_closure()
2190 hb_ot_layout_substitute_closure_lookup()
2191
2192 - hb-set.h
2193
2194 - hb_shape_full()
2195
2196 - hb_unicode_combining_class_t
2197
2198 - hb_unicode_compose_func_t
2199 hb_unicode_decompose_func_t
2200 hb_unicode_decompose_compatibility_func_t
2201 hb_unicode_funcs_set_compose_func()
2202 hb_unicode_funcs_set_decompose_func()
2203 hb_unicode_funcs_set_decompose_compatibility_func()
2204 hb_unicode_compose()
2205 hb_unicode_decompose()
2206 hb_unicode_decompose_compatibility()
2207
2208o Removed API:
2209
2210 - hb_ft_get_font_funcs()
2211
2212 - hb_ot_layout_substitute_start()
2213 hb_ot_layout_substitute_lookup()
2214 hb_ot_layout_substitute_finish()
2215 hb_ot_layout_position_start()
2216 hb_ot_layout_position_lookup()
2217 hb_ot_layout_position_finish()
2218
2219
2220
Behdad Esfahbodf2455762011-05-25 16:08:06 -04002221Overview of changes leading to 0.6.0
2222Friday, May 27, 2011
2223====================================
2224
2225- Vertical text support in GPOS
2226- Almost all API entries have unit tests now, under test/
2227- All thread-safety issues are fixed
2228
2229Summary of API changes follows.
2230
2231
2232* Simple Types API:
2233
2234 o New API:
2235 HB_LANGUAGE_INVALID
2236 hb_language_get_default()
2237 hb_direction_to_string()
2238 hb_direction_from_string()
2239 hb_script_get_horizontal_direction()
2240 HB_UNTAG()
2241
2242 o Renamed API:
2243 hb_category_t renamed to hb_unicode_general_category_t
2244
2245 o Changed API:
2246 hb_language_t is a typed pointers now
2247
2248 o Removed API:
2249 HB_TAG_STR()
2250
2251
2252* Use ISO 15924 tags for hb_script_t:
2253
2254 o New API:
2255 hb_script_from_iso15924_tag()
2256 hb_script_to_iso15924_tag()
2257 hb_script_from_string()
2258
2259 o Changed API:
2260 HB_SCRIPT_* enum members changed value.
2261
2262
2263* Buffer API streamlined:
2264
2265 o New API:
2266 hb_buffer_reset()
2267 hb_buffer_set_length()
2268 hb_buffer_allocation_successful()
2269
2270 o Renamed API:
2271 hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
2272 hb_buffer_add_glyph() renamed to hb_buffer_add()
2273
2274 o Removed API:
2275 hb_buffer_clear()
2276 hb_buffer_clear_positions()
2277
2278 o Changed API:
2279 hb_buffer_get_glyph_infos() takes an out length parameter now
2280 hb_buffer_get_glyph_positions() takes an out length parameter now
2281
2282
2283* Blob API streamlined:
2284
2285 o New API:
2286 hb_blob_get_data()
2287 hb_blob_get_data_writable()
2288
2289 o Renamed API:
2290 hb_blob_create_empty() renamed to hb_blob_get_empty()
2291
2292 o Removed API:
2293 hb_blob_lock()
2294 hb_blob_unlock()
2295 hb_blob_is_writable()
2296 hb_blob_try_writable()
2297
2298 o Changed API:
2299 hb_blob_create() takes user_data before destroy now
2300
2301
2302* Unicode functions API:
2303
2304 o Unicode function vectors can subclass other unicode function vectors now.
2305 Unimplemented callbacks in the subclass automatically chainup to the parent.
2306
2307 o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
2308 take a user_data and its respective destroy callback.
2309
2310 o New API:
2311 hb_unicode_funcs_get_empty()
2312 hb_unicode_funcs_get_default()
2313 hb_unicode_funcs_get_parent()
2314
2315 o Changed API:
2316 hb_unicode_funcs_create() now takes a parent_funcs.
2317
2318 o Removed func getter functions:
2319 hb_unicode_funcs_get_mirroring_func()
2320 hb_unicode_funcs_get_general_category_func()
2321 hb_unicode_funcs_get_script_func()
2322 hb_unicode_funcs_get_combining_class_func()
2323 hb_unicode_funcs_get_eastasian_width_func()
2324
2325
2326* Face API:
2327
2328 o Renamed API:
2329 hb_face_get_table() renamed to hb_face_reference_table()
2330 hb_face_create_for_data() renamed to hb_face_create()
2331
2332 o Changed API:
2333 hb_face_create_for_tables() takes user_data before destroy now
2334 hb_face_reference_table() returns empty blob instead of NULL
2335 hb_get_table_func_t accepts the face as first parameter now
2336
2337* Font API:
2338
2339 o Fonts can subclass other fonts now. Unimplemented callbacks in the
2340 subclass automatically chainup to the parent. When chaining up,
2341 scale is adjusted if the parent font has a different scale.
2342
2343 o All hb_font_funcs_t callbacks take a user_data now. Their setters
2344 take a user_data and its respective destroy callback.
2345
2346 o New API:
2347 hb_font_get_parent()
2348 hb_font_funcs_get_empty()
2349 hb_font_create_sub_font()
2350
2351 o Removed API:
2352 hb_font_funcs_copy()
2353 hb_font_unset_funcs()
2354
2355 o Removed func getter functions:
2356 hb_font_funcs_get_glyph_func()
2357 hb_font_funcs_get_glyph_advance_func()
2358 hb_font_funcs_get_glyph_extents_func()
2359 hb_font_funcs_get_contour_point_func()
2360 hb_font_funcs_get_kerning_func()
2361
2362 o Changed API:
2363 hb_font_create() takes a face and references it now
2364 hb_font_set_funcs() takes user_data before destroy now
2365 hb_font_set_scale() accepts signed integers now
2366 hb_font_get_contour_point_func_t now takes glyph first, then point_index
2367 hb_font_get_glyph_func_t returns a success boolean now
2368
2369
2370* Changed object model:
2371
2372 o All object types have a _get_empty() now:
2373 hb_blob_get_empty()
2374 hb_buffer_get_empty()
2375 hb_face_get_empty()
2376 hb_font_get_empty()
2377 hb_font_funcs_get_empty()
2378 hb_unicode_funcs_get_empty()
2379
2380 o Added _set_user_data() and _get_user_data() for all object types:
2381 hb_blob_get_user_data()
2382 hb_blob_set_user_data()
2383 hb_buffer_get_user_data()
2384 hb_buffer_set_user_data()
2385 hb_face_get_user_data()
2386 hb_face_set_user_data()
2387 hb_font_funcs_get_user_data()
2388 hb_font_funcs_set_user_data()
2389 hb_font_get_user_data()
2390 hb_font_set_user_data()
2391 hb_unicode_funcs_get_user_data()
2392 hb_unicode_funcs_set_user_data()
2393
2394 o Removed the _get_reference_count() from all object types:
2395 hb_blob_get_reference_count()
2396 hb_buffer_get_reference_count()
2397 hb_face_get_reference_count()
2398 hb_font_funcs_get_reference_count()
2399 hb_font_get_reference_count()
2400 hb_unicode_funcs_get_reference_count()
2401
2402 o Added _make_immutable() and _is_immutable() for all object types except for buffer:
2403 hb_blob_make_immutable()
2404 hb_blob_is_immutable()
2405 hb_face_make_immutable()
2406 hb_face_is_immutable()
2407
2408
2409* Changed API for vertical text support
2410
2411 o The following callbacks where removed:
2412 hb_font_get_glyph_advance_func_t
2413 hb_font_get_kerning_func_t
2414
2415 o The following new callbacks added instead:
2416 hb_font_get_glyph_h_advance_func_t
2417 hb_font_get_glyph_v_advance_func_t
2418 hb_font_get_glyph_h_origin_func_t
2419 hb_font_get_glyph_v_origin_func_t
2420 hb_font_get_glyph_h_kerning_func_t
2421 hb_font_get_glyph_v_kerning_func_t
2422
2423 o The following API removed as such:
2424 hb_font_funcs_set_glyph_advance_func()
2425 hb_font_funcs_set_kerning_func()
2426 hb_font_get_glyph_advance()
2427 hb_font_get_kerning()
2428
2429 o New API added instead:
2430 hb_font_funcs_set_glyph_h_advance_func()
2431 hb_font_funcs_set_glyph_v_advance_func()
2432 hb_font_funcs_set_glyph_h_origin_func()
2433 hb_font_funcs_set_glyph_v_origin_func()
2434 hb_font_funcs_set_glyph_h_kerning_func()
2435 hb_font_funcs_set_glyph_v_kerning_func()
2436 hb_font_get_glyph_h_advance()
2437 hb_font_get_glyph_v_advance()
2438 hb_font_get_glyph_h_origin()
2439 hb_font_get_glyph_v_origin()
2440 hb_font_get_glyph_h_kerning()
2441 hb_font_get_glyph_v_kerning()
2442
2443 o The following higher-leve API added for convenience:
2444 hb_font_get_glyph_advance_for_direction()
2445 hb_font_get_glyph_origin_for_direction()
2446 hb_font_add_glyph_origin_for_direction()
2447 hb_font_subtract_glyph_origin_for_direction()
2448 hb_font_get_glyph_kerning_for_direction()
2449 hb_font_get_glyph_extents_for_origin()
2450 hb_font_get_glyph_contour_point_for_origin()
2451
2452
2453* OpenType Layout API:
2454
2455 o New API:
2456 hb_ot_layout_position_start()
2457 hb_ot_layout_substitute_start()
2458 hb_ot_layout_substitute_finish()
2459
2460
2461* Glue code:
2462
2463 o New API:
2464 hb_glib_script_to_script()
2465 hb_glib_script_from_script()
2466 hb_icu_script_to_script()
2467 hb_icu_script_from_script()
2468
2469
2470* Version API added:
2471
2472 o New API:
2473 HB_VERSION_MAJOR
2474 HB_VERSION_MINOR
2475 HB_VERSION_MICRO
2476 HB_VERSION_STRING
2477 HB_VERSION_CHECK()
2478 hb_version()
2479 hb_version_string()
2480 hb_version_check()
2481
2482