blob: 9bfe99a2d68e70706cc561e9007736161a4dbba4 [file] [log] [blame]
Behdad Esfahbode3a1a832018-11-16 16:53:25 -08001Overview of changes leading to 2.1.3
2Friday, November 16, 2018
3====================================
4- Fix AAT 'mort' shaping, which was broken in 2.1.2
5
6
Behdad Esfahbodfdb29ab2018-11-16 15:38:11 -08007Overview of changes leading to 2.1.2
8Friday, November 16, 2018
9====================================
10- Various internal changes.
11- AAT shaping improvements:
12 o Implement kern table Format 1 state-machine-based kerning.
13 o Implement cross-stream kerning (cursive positioning, etc).
14 o Ignore emptyish GSUB tables (zero scripts) if morx present.
15 o Don't apply GPOS if morx is being applied. Matches Apple.
16
17
18-Overview of changes leading to 2.1.1
Behdad Esfahbod8be74d82018-11-05 18:47:22 -050019Monday, November 5, 2018
20====================================
21- AAT improvements:
22 o Implement 'mort' table.
23 o Implement 'kern' subtables Format 1 and Format 3.
24
25
Behdad Esfahbod10193912018-10-30 15:52:26 -070026Overview of changes leading to 2.1.0
27Tuesday, October 30, 2018
28====================================
29- AAT shaping improvements:
30 o Allow user controlling AAT features, for whole buffer only currently.
31 o Several 'morx' fixes.
32 o Implement tuple-kerns in 'kerx'; Fixes kerning with Apple default
33 San Francisco fonts.
34- Support for color fonts:
35 o COLR/CPAL API to fetch color layers.
36 o SVG table to fetch SVG documents.
37 o CBDT/sbix API to fetch PNG images.
38- New 'name' table API.
39- hb-ot-font now uses 'VORG' table to correctly position CFF glyphs
40 in vertical layout.
41- Various fuzzer-found bug fixes.
42
43Changed API:
44
45A type and a macro added in 2.0.0 were renamed:
46
47hb_name_id_t -> hb_ot_name_id_t
48HB_NAME_ID_INVALID -> HB_OT_NAME_ID_INVALID
49
50New API:
51
52+hb_color_t
53+HB_COLOR
54+hb_color_get_alpha()
55+hb_color_get_red()
56+hb_color_get_green()
57+hb_color_get_blue()
58+hb_ot_color_has_palettes()
59+hb_ot_color_palette_get_count()
60+hb_ot_color_palette_get_name_id()
61+hb_ot_color_palette_color_get_name_id()
62+hb_ot_color_palette_flags_t
63+hb_ot_color_palette_get_flags()
64+hb_ot_color_palette_get_colors()
65+hb_ot_color_has_layers()
66+hb_ot_color_layer_t
67+hb_ot_color_glyph_get_layers()
68+hb_ot_color_has_svg()
69+hb_ot_color_glyph_reference_svg()
70+hb_ot_color_has_png()
71+hb_ot_color_glyph_reference_png()
72
73+hb_ot_name_id_t
74+HB_OT_NAME_ID_INVALID
75+HB_OT_NAME_ID_COPYRIGHT
76+HB_OT_NAME_ID_FONT_FAMILY
77+HB_OT_NAME_ID_FONT_SUBFAMILY
78+HB_OT_NAME_ID_UNIQUE_ID
79+HB_OT_NAME_ID_FULL_NAME
80+HB_OT_NAME_ID_VERSION_STRING
81+HB_OT_NAME_ID_POSTSCRIPT_NAME
82+HB_OT_NAME_ID_TRADEMARK
83+HB_OT_NAME_ID_MANUFACTURER
84+HB_OT_NAME_ID_DESIGNER
85+HB_OT_NAME_ID_DESCRIPTION
86+HB_OT_NAME_ID_VENDOR_URL
87+HB_OT_NAME_ID_DESIGNER_URL
88+HB_OT_NAME_ID_LICENSE
89+HB_OT_NAME_ID_LICENSE_URL
90+HB_OT_NAME_ID_TYPOGRAPHIC_FAMILY
91+HB_OT_NAME_ID_TYPOGRAPHIC_SUBFAMILY
92+HB_OT_NAME_ID_MAC_FULL_NAME
93+HB_OT_NAME_ID_SAMPLE_TEXT
94+HB_OT_NAME_ID_CID_FINDFONT_NAME
95+HB_OT_NAME_ID_WWS_FAMILY
96+HB_OT_NAME_ID_WWS_SUBFAMILY
97+HB_OT_NAME_ID_LIGHT_BACKGROUND
98+HB_OT_NAME_ID_DARK_BACKGROUND
99+HB_OT_NAME_ID_VARIATIONS_PS_PREFIX
100+hb_ot_name_entry_t
101+hb_ot_name_list_names()
102+hb_ot_name_get_utf8()
103+hb_ot_name_get_utf16()
104+hb_ot_name_get_utf32()
105
106
Behdad Esfahbod0a3b7a02018-10-20 13:14:07 -0700107Overview of changes leading to 2.0.2
108Saturday, October 20, 2018
109====================================
110- Fix two minor memory access issues in AAT tables.
111
112
Behdad Esfahbod7c2c8ac2018-10-19 19:37:46 -0700113Overview of changes leading to 2.0.1
114Friday, October 19, 2018
115====================================
116- Fix hb-version.h reported release version that went wrong (1.8.0)
117 with previous release.
118- Fix extrapolation in 'trak' table.
119- Fix hb-font infinite-recursion issue with some font funcs and
120 subclassed fonts.
121- Implement variation-kerning format in kerx table, although without
122 variation.
123- Fix return value of hb_map_is_empty().
124
125
Behdad Esfahbod3d9a0302018-10-18 05:58:17 -0700126Overview of changes leading to 2.0.0
Behdad Esfahbod7c2c8ac2018-10-19 19:37:46 -0700127Thursday, October 18, 2018
Behdad Esfahbod3d9a0302018-10-18 05:58:17 -0700128====================================
129- Added AAT shaping support (morx/kerx/trak).
130 Automatically used if GSUB/GPOS are not available respectively.
131 Set HB_OPTIONS=aat env var to have morx/kerx preferred over
132 GSUB/GPOS.
133- Apply TrueType kern table internally, instead of relying on
134 hb_font_t callbacks.
135- Khmer shaper significantly rewritten to better match Uniscribe.
136- Indic3 tags ('dev3', etc) are passed to USE shaper.
137- .dfont Mac font containers implemented.
138- Script- and language-mapping revamped to better use BCP 47.
139- Misc USE and Indic fixes.
140- Misc everything fixes.
141- Too many things to list. Biggest release since 0.9.1, with
142 over 500 commits in just over 5 weeks! Didn't intend it to
143 be a big release. Just happened to become.
144- hb-ft now locks underlying FT_Face during use.
145
146API changes:
147
148- Newly-created hb_font_t's now have our internal "hb-ot-font"
149 callbacks set on them, so they should work out of the box
150 without any callbacks set. If callbacks are set, everything
151 is back to what it was before, the fallback callbacks are
152 null. If you to get the internal implementation modified,
153 sub_font it.
154
155- New hb_font_funcs_set_nominal_glyphs_func() allows speeding
156 up character to glyph mapping.
157
158New API:
159+HB_FEATURE_GLOBAL_START
160+HB_FEATURE_GLOBAL_END
161+hb_buffer_set_invisible_glyph()
162+hb_buffer_get_invisible_glyph()
163+hb_font_funcs_set_nominal_glyphs_func()
164+hb_ot_layout_table_select_script()
165+hb_ot_layout_script_select_language()
166+hb_ot_layout_feature_get_name_ids()
167+hb_ot_layout_feature_get_characters()
168+hb_name_id_t
169+HB_NAME_ID_INVALID
170+HB_OT_MAX_TAGS_PER_SCRIPT
171+hb_ot_tags_from_script_and_language()
172+hb_ot_tags_to_script_and_language()
173
174Deprecated API:
175-hb_font_funcs_set_glyph_func()
176-hb_unicode_eastasian_width_func_t
177-hb_unicode_funcs_set_eastasian_width_func()
178-hb_unicode_eastasian_width()
179-hb_unicode_decompose_compatibility_func_t
180-HB_UNICODE_MAX_DECOMPOSITION_LEN
181-hb_unicode_funcs_set_decompose_compatibility_func()
182-hb_unicode_decompose_compatibility()
183-hb_font_funcs_set_glyph_h_kerning_func()
184-hb_font_funcs_set_glyph_v_kerning_func()
185-hb_font_get_glyph_h_kerning()
186-hb_font_get_glyph_v_kerning()
187-hb_font_get_glyph_kerning_for_direction()
188-hb_ot_layout_table_choose_script()
189-hb_ot_layout_script_find_language()
190-hb_ot_tags_from_script()
191-hb_ot_tag_from_language()
192
193
Behdad Esfahbod54d332d2018-09-10 11:37:24 +0200194Overview of changes leading to 1.9.0
195Monday, September 10, 2018
196====================================
197- Added 'cmap' API to hb_face_t.
198- Face-builder API.
199- hb-ot-font re-creation should be much leaner now, as the
200 font tables it uses are cached on hb_face_t now.
201- Internal source header file name changes:
202 hb-*-private.hh is renamed to hb-*.hh.
203
204New API:
205+HB_UNICODE_MAX
206+hb_face_collect_unicodes()
207+hb_face_collect_variation_selectors()
208+hb_face_collect_variation_unicodes()
209+hb_face_builder_create()
210+hb_face_builder_add_table()
211
212
Behdad Esfahbod63be5dc2018-08-14 10:59:34 -0700213Overview of changes leading to 1.8.8
214Tuesday, August 14, 2018
215====================================
216- Fix hb-icu crash on architectures where compare_exchange_weak() can
217 fail falsely. This bug was introduced in 1.8.4.
218 https://bugs.chromium.org/p/chromium/issues/detail?id=873568
219- More internal refactoring of atomic operations and singletons.
220- API changes:
221 The following functions do NOT reference their return value before
222 returning:
223 * hb_unicode_funcs_get_default()
224 * hb_glib_get_unicode_funcs()
225 * hb_icu_get_unicode_funcs()
226 This is consistent with their naming ("get", instead of "reference")
227 as well as how they are used in the wild (ie. no one calls destroy()
228 on their return value.)
229
230
Behdad Esfahbodb6fdcf42018-08-08 21:54:08 -0700231Overview of changes leading to 1.8.7
232Wednesday, August 8, 2018
233====================================
234- Fix assertion failure with GDEF-blacklisted fonts.
235
236
Behdad Esfahbode49a38b2018-08-07 09:55:42 -0700237Overview of changes leading to 1.8.6
238Tuesday, August 7, 2018
239====================================
240- Internal code shuffling.
241- New API to speed up getting advance widths for implementations
242 that have heavy overhead in get_h_advance callback:
243+hb_font_funcs_set_glyph_h_advances_func
244+hb_font_funcs_set_glyph_v_advances_func
245+hb_font_get_glyph_advances_for_direction
246+hb_font_get_glyph_h_advances
247+hb_font_get_glyph_h_advances_func_t
248+hb_font_get_glyph_v_advances
249+hb_font_get_glyph_v_advances_func_t
250
251
Behdad Esfahbod44d1fb32018-08-01 14:51:51 -0700252Overview of changes leading to 1.8.5
253Wednesday, August 1, 2018
254====================================
255- Major Khmer shaper improvements to better match Microsoft.
256- Indic bug fixes.
257- Internal improvements to atomic operations.
258
259
Behdad Esfahbod68310a62018-07-17 13:20:40 +0200260Overview of changes leading to 1.8.4
261Tuesday, July 17, 2018
262====================================
263- Fix build on non-C++11.
264- Use C++-style GCC atomics and C++11 atomics.
265
266
Behdad Esfahbod2b767672018-07-11 15:27:13 +0200267Overview of changes leading to 1.8.3
268Wednesday, July 11, 2018
269====================================
270- A couple of Indic / USE bug fixes.
271- Disable vectorization, as it was causing unaligned access bus error on
272 certain 32bit architectures.
273
274
Behdad Esfahbod343e8c62018-07-03 12:43:59 +0430275Overview of changes leading to 1.8.2
276Tuesday, July 3, 2018
277====================================
278- Fix infinite loop in Khmer shaper.
279- Improve hb_blob_create_from_file() for streams.
280
281
Behdad Esfahbod3654d9b2018-06-12 19:38:04 -0400282Overview of changes leading to 1.8.1
283Tuesday, June 12, 2018
284====================================
285- Fix hb-version.h file generation; last two releases went out with wrong ones.
286- Add correctness bug in hb_set_t operations, introduced in 1.7.7.
287- Remove HB_SUBSET_BUILTIN build option. Not necessary.
288
Behdad Esfahbod343e8c62018-07-03 12:43:59 +0430289
Behdad Esfahbod37986aa2018-06-05 18:04:40 -0700290Overview of changes leading to 1.8.0
291Tuesday, June 5, 2018
292====================================
293- Update to Unicode 11.0.0.
294
Behdad Esfahbod3654d9b2018-06-12 19:38:04 -0400295
Behdad Esfahboddf01f3e2018-06-05 15:17:39 -0700296Overview of changes leading to 1.7.7
297Tuesday, June 5, 2018
298====================================
299- Lots of internal changes, but not yet exposed externally.
300- All HarfBuzz objects are significantly smaller in size now.
301- Sinhala: Position repha on top of post-consonant, not base.
302 This better matches Windows 10 behavior, which was changed
303 from previous Windows versions.
304- New build options:
305 o New cpp macro HB_NO_ATEXIT
306 o New cpp macro HB_SUBSET_BUILTIN
307- Significant libharfbuzz-subset changes. API subject to change.
308- New API in libharfbuzz:
309
310+hb_blob_create_from_file()
311+hb_face_count()
312
313A hashmap implementation:
314+hb-map.h
315+HB_MAP_VALUE_INVALID
316+hb_map_t
317+hb_map_create()
318+hb_map_get_empty()
319+hb_map_reference()
320+hb_map_destroy()
321+hb_map_set_user_data()
322+hb_map_get_user_data()
323+hb_map_allocation_successful()
324+hb_map_clear()
325+hb_map_is_empty()
326+hb_map_get_population()
327+hb_map_set()
328+hb_map_get()
329+hb_map_del()
330+hb_map_has()
331
332
Behdad Esfahbodff2f8142018-03-07 16:05:14 +0100333Overview of changes leading to 1.7.6
334Wednesday, March 7, 2018
335====================================
336
337- Fix to hb_set_t binary operations. Ouch.
338- New experimental harfbuzz-subset library. All of hb-subset.h
339 is experimental right now and API WILL change.
340
341- New API:
342hb_blob_copy_writable_or_fail()
343HB_OT_TAG_BASE
344hb_set_previous()
345hb_set_previous_range()
346
347
Behdad Esfahbodf0b700d2018-01-30 11:16:51 -0800348Overview of changes leading to 1.7.5
349Tuesday, January 30, 2018
350====================================
351
352- Separate Khmer shaper from Indic.
353- First stab at AAT morx. Not hooked up.
354- Misc bug fixes.
355
356
Behdad Esfahbod007a2a42017-12-20 12:09:00 -0500357Overview of changes leading to 1.7.4
358Wednesday, December 20, 2017
359====================================
360
361- Fix collect_glyphs() regression caused by hb_set_t changes.
362
363
Behdad Esfahbodb5bbb792017-12-18 09:18:51 -0500364Overview of changes leading to 1.7.3
365Monday, December 18, 2017
366====================================
367
368- hb_set_t performance tuning and optimizations.
369- Speed up collect_glyphs() and reject garbage data.
370- In hb_coretext_font_create() set font point-size (ptem).
371- Misc fixes.
372
373
Behdad Esfahbod843f7f72017-12-04 08:52:39 -0800374Overview of changes leading to 1.7.2
375Monday, December 4, 2017
376====================================
377
378- Optimize hb_set_add_range().
379- Misc fixes.
380- New API:
381hb_coretext_font_create()
382
383
Behdad Esfahbodf93c6f82017-11-14 11:09:19 -0800384Overview of changes leading to 1.7.1
385Tuesday, November 14, 2017
386====================================
387
388- Fix atexit object destruction regression.
389- Fix minor integer-overflow.
390
391
Behdad Esfahbode5d70982017-11-13 09:42:37 -0800392Overview of changes leading to 1.7.0
393Monday, November 13, 2017
394====================================
395
396- Minor Indic fixes.
397- Implement kerning and glyph names in hb-ot-font.
398- Various DSO optimization re .data and .bss sizes.
399- Make C++11 optional; build fixes.
400- Mark all other backends "unsafe-to-break".
401- Graphite fix.
402
403
Behdad Esfahbod223686d2017-10-26 12:52:02 -0600404Overview of changes leading to 1.6.3
405Thursday, October 26th, 2017
406====================================
407
408- Fix hb_set_t some more. Should be solid now.
409- Implement get_glyph_name() for hb-ot-font.
410- Misc fixes.
411
412
Behdad Esfahbod3b7388a2017-10-23 14:35:16 -0400413Overview of changes leading to 1.6.2
414Monday, October 23nd, 2017
415====================================
416
417- Yesterday's release had a bad crasher; don't use it. That's what
418 happens when one works on Sunday...
ebraminio7c6937e2017-11-20 14:49:22 -0500419 https://github.com/harfbuzz/harfbuzz/issues/578
Behdad Esfahbod3b7388a2017-10-23 14:35:16 -0400420- Build fixes for FreeBSD and Chrome Android.
421
422
Behdad Esfahbod0ca915e2017-10-22 17:38:33 -0400423Overview of changes leading to 1.6.1
424Sunday, October 22nd, 2017
425====================================
426
427- Don't skip over COMBINING GRAPHEME JOINER when ligating, etc.
ebraminio7c6937e2017-11-20 14:49:22 -0500428 To be refined: https://github.com/harfbuzz/harfbuzz/issues/554
Behdad Esfahbod0ca915e2017-10-22 17:38:33 -0400429- Faster hb_set_t implementation.
430- Don't use deprecated ICU API.
431- Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0
432- Deprecated API:
433 hb_set_invert()
434
435
Behdad Esfahbod25846cc2017-10-13 16:30:33 +0200436Overview of changes leading to 1.6.0
437Friday, October the 13th, 2017
438====================================
439
440- Update to Unicode 10.
441
442- Various Indic and Universal Shaping Engine fixes as a result of
443 HarfBuzz Hackfest with Jonathan Kew at Web Engines Hackfest at
444 the Igalia offices in A Coruña, Spain. Thanks Igalia for having
445 us!
446
447- Implement Unicode Arabic Mark Ordering Algorithm UTR#53.
448
449- Implement optical sizing / tracking in CoreText backend, using
450 new API hb_font_set_ptem().
451
452- Allow notifying hb_font_t that underlying FT_Face changed sizing,
453 using new API hb_ft_font_changed().
454
455- More Graphite backend RTL fixes.
456
457- Fix caching of variable font shaping plans.
458
459- hb-view / hb-shape now accept following new arguments:
460
461 o --unicodes: takes a list of hex numbers that represent Unicode
462 codepoints.
463
464New API:
465+hb_face_get_table_tags()
466+hb_font_set_ptem()
467+hb_font_get_ptem()
468+hb_ft_font_changed()
469
470
Behdad Esfahboda984e0c2017-09-05 11:18:35 -0700471Overview of changes leading to 1.5.1
472Tuesday, September 5, 2017
473====================================
474
475- Fix "unsafe-to-break" in fallback shaping and other corner cases.
476 All our tests pass with --verify now, meaning unsafe-to-break API
477 works as expected.
478- Add --unicodes to hb-view / hb-shape.
479- [indic] Treat Consonant_With_Stacker as consonant. This will need
480 further tweaking.
481- hb_buffer_diff() tweaks.
482
483
Behdad Esfahbode8b364b2017-08-23 15:00:45 -0700484Overview of changes leading to 1.5.0
485Wednesday, August 23, 2017
486====================================
487
488- Misc new API, for appending a buffer to another, and for comparing
489 contents of two buffers for types of differences.
490
491- New "unsafe-to-break" API. Can be used to speed up reshaping
492 in line-breaking situations. Essentially, after shaping, it returns
493 positions in the input string (some of the cluster boundaries) that
494 are "safe to break" in that if the text is segmented at that position
495 and two sides reshaped and concatenated, the shaping result is
496 exactly the same as shaping the text in one piece.
497
498 hb-view and hb-shape and hb-shape now take --verify, which verifies
499 the above property.
500
501 Some corner cases of the implementation are still not quite working.
502 Those will be fixed in subsequent releases.
503
504- New API:
505
506hb_buffer_append()
507
508hb_glyph_flags_t
509HB_GLYPH_FLAG_UNSAFE_TO_BREAK
510HB_GLYPH_FLAG_DEFINED
511hb_glyph_info_get_glyph_flags()
512
513HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS
514
515hb_buffer_diff_flags_t
516HB_BUFFER_DIFF_FLAG_EQUAL
517HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH
518HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH
519HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT
520HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT
521HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH
522HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH
523HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH
524HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH
525hb_buffer_diff
526
527
Behdad Esfahbod79177922017-08-08 13:17:03 -0700528Overview of changes leading to 1.4.8
529Tuesday, August 8, 2017
530====================================
531
532- Major fix to avar table handling.
533- Rename hb-shape --show-message to --trace.
534- Build fixes.
535
536
Behdad Esfahbodfc15e602017-07-18 11:24:42 -0700537Overview of changes leading to 1.4.7
538Tuesday, July 18, 2017
539====================================
540
541- Multiple Indic, Tibetan, and Cham fixes.
542- CoreText: Allow disabling kerning.
543- Adjust Arabic feature order again.
544- Misc build fixes.
545
546
Behdad Esfahbod141b33d2017-04-23 16:19:13 -0700547Overview of changes leading to 1.4.6
548Sunday, April 23, 2017
549====================================
550
551- Graphite2: Fix RTL positioning issue.
552- Backlist GDEF of more versions of Padauk and Tahoma.
553- New, experimental, cmake alternative build system.
554
555
Behdad Esfahbod60e25862017-03-10 23:02:28 -0800556Overview of changes leading to 1.4.5
557Friday, March 10, 2017
558====================================
559
560- Revert "Fix Context lookup application when moving back after a glyph..."
561 This introduced memory access problems. To be fixed properly soon.
562
563
Behdad Esfahbod8e42c3c2017-03-05 13:54:56 -0800564Overview of changes leading to 1.4.4
565Sunday, March 5, 2017
566====================================
567
568- Fix Context lookup application when moving back after a glyph deletion.
569- Fix buffer-overrun in Bengali.
570
571
Behdad Esfahbod6685d282017-02-25 11:35:05 -0800572Overview of changes leading to 1.4.3
573Saturday, February 25, 2017
574====================================
575
576- Route Adlam script to Arabic shaper.
577- Misc fixes.
578- New API:
579 hb_font_set_face()
580- Deprecate API:
581 hb_graphite2_font_get_gr_font()
582
583
Behdad Esfahbod6af6c112017-01-23 18:35:00 -0800584Overview of changes leading to 1.4.2
585Monday, January 23, 2017
586====================================
587
588- Implement OpenType Font Variation tables avar/fvar/HVAR/VVAR.
589- hb-shape and hb-view now accept --variations.
590- New API:
591
592hb_variation_t
593hb_variation_from_string()
594hb_variation_to_string()
595
596hb_font_set_variations()
597hb_font_set_var_coords_design()
598hb_font_get_var_coords_normalized()
599
600hb-ot-var.h:
601hb_ot_var_axis_t
602hb_ot_var_has_data()
603hb_ot_var_get_axis_count()
604hb_ot_var_get_axes()
605hb_ot_var_find_axis()
606hb_ot_var_normalize_variations()
607hb_ot_var_normalize_coords()
608
609- MVAR to be implemented later. Access to named instances to be
610 implemented later as well.
611
612- Misc fixes.
613
614
Behdad Esfahbodaf596a52017-01-05 20:24:41 -0800615Overview of changes leading to 1.4.1
616Thursday, January 5, 2017
617====================================
618
619- Always build and use UCDN for Unicode data by default.
620 Reduces dependence on version of Unicode data in glib,
621 specially in the Windows bundles we are shipping, which
622 have very old glib.
623
624
Behdad Esfahbodf3397062017-01-05 01:27:49 -0800625Overview of changes leading to 1.4.0
626Thursday, January 5, 2017
627====================================
628
629- Merged "OpenType GX" branch which adds core of support for
630 OpenType 1.8 Font Variations. To that extent, the relevant
631 new API is:
632
633New API:
634hb_font_set_var_coords_normalized()
635
636 with supporting API:
637
638New API:
639HB_OT_LAYOUT_NO_VARIATIONS_INDEX
640hb_ot_layout_table_find_feature_variations()
641hb_ot_layout_feature_with_variations_get_lookups()
642hb_shape_plan_create2()
643hb_shape_plan_create_cached2()
644
645 Currently variations in GSUB/GPOS/GDEF are fully supported,
646 and no other tables are supported. In particular, fvar/avar
647 are NOT supported, hence the hb_font_set_var_coords_normalized()
648 taking normalized coordinates. API to take design coordinates
649 will be added in the future.
650
651 HVAR/VVAR/MVAR support will also be added to hb-ot-font in the
652 future.
653
654- Fix regression in GDEF glyph class processing.
655- Add decompositions for Chakma, Limbu, and Balinese in USE shaper.
656- Misc fixes.
657
658
Behdad Esfahbodb843c6d2016-12-05 13:42:28 -0800659Overview of changes leading to 1.3.4
660Monday, December 5, 2016
661====================================
662
663- Fix vertical glyph origin in hb-ot-font.
664- Implement CBDT/CBLC color font glyph extents in hb-ot-font.
665
666
Behdad Esfahbod966ac7e2016-10-26 16:17:15 +0200667Overview of changes leading to 1.3.3
668Wednesday, September 28, 2016
669====================================
670
671- Implement parsing of OpenType MATH table.
672New API:
673HB_OT_TAG_MATH
674HB_OT_MATH_SCRIPT
675hb_ot_math_constant_t
676hb_ot_math_kern_t
677hb_ot_math_glyph_variant_t
678hb_ot_math_glyph_part_flags_t
679hb_ot_math_glyph_part_t
680hb_ot_math_has_data
681hb_ot_math_get_constant
682hb_ot_math_get_glyph_italics_correction
683hb_ot_math_get_glyph_top_accent_attachment
684hb_ot_math_get_glyph_kerning
685hb_ot_math_is_glyph_extended_shape
686hb_ot_math_get_glyph_variants
687hb_ot_math_get_min_connector_overlap
688hb_ot_math_get_glyph_assembly
689
690
Behdad Esfahbodf73a87d2016-09-27 13:50:54 +0200691Overview of changes leading to 1.3.2
692Wednesday, September 27, 2016
693====================================
694
695- Fix build of hb-coretext on older OS X versions.
696
697
Behdad Esfahbodd22ab6c2016-09-07 14:28:47 -0700698Overview of changes leading to 1.3.1
699Wednesday, September 7, 2016
700====================================
701
702- Blacklist bad GDEF of more fonts (Padauk).
703- More CoreText backend crash fixes with OS X 10.9.5.
704- Misc fixes.
705
706
Behdad Esfahboda732e002016-07-21 01:58:00 -0700707Overview of changes leading to 1.3.0
708Thursday, July 21, 2016
709====================================
710
711- Update to Unicode 9.0.0
712- Move Javanese from Indic shaper to Universal Shaping Engine.
713- Allow MultipleSubst to delete a glyph (matching Windows engine).
714- Update Universal Shaping Engine to latest draft from Microsoft.
715- DirectWrite backend improvements. Note: this backend is for testing ONLY.
716- CoreText backend improvements with unreachable fonts.
717- Implement symbol fonts (cmap 3.0.0) in hb-ft and hb-ot-font.
718- Blacklist bad GDEF of more fonts (Tahoma & others).
719- Misc fixes.
720
721
Behdad Esfahboda5b7b0d2016-05-02 10:44:13 +0200722Overview of changes leading to 1.2.7
723Monday, May 2, 2016
724====================================
725
726- Blacklist another version of Times New Roman (Bold) Italic from Windows 7.
727- Fix Mongolian Free Variation Selectors shaping with certain fonts.
728- Fix Tibetan shorthand contractions shaping.
729- Improved list of language tag mappings.
730- Unbreak build on Windows CE.
731- Make 'glyf' table loading lazy in hb-ot-font.
732
733
Behdad Esfahbod00ea66f2016-04-08 13:51:01 -0700734Overview of changes leading to 1.2.6
735Friday, April 8, 2016
736====================================
737
738- Blacklist GDEF table of another set of Times New Roman (Bold) Italic.
739- DirectWrite backend improvements. Note: DirectWrite backend is
740 exclusively for our internal testing and should NOT be used in any
741 production system whatsoever.
742
743
Behdad Esfahboda0331b52016-04-04 16:25:32 -0700744Overview of changes leading to 1.2.5
745Monday, April 4, 2016
746====================================
747
748- Fix GDEF mark-filtering-set, which was broken in 1.2.3.
749
750
Behdad Esfahbod0251b0c2016-03-17 14:37:11 -0700751Overview of changes leading to 1.2.4
752Thursday, March 17, 2016
753====================================
754
755- Synthesize GDEF glyph class for any glyph that does not have one in GDEF.
756 I really hope we don't discover broken fonts that shape badly with this
757 change.
758- Misc build and other minor fixes.
759- API changes:
760 - Added HB_NDEBUG. It's fine for production systems to define this to
761 disable high-overhead debugging checks. However, I also reduced the
762 overhead of those checks, so it's a non-issue right now. You can
763 forget it. Just not defining anything at all is fine.
764
765
Behdad Esfahbod75568b02016-02-25 12:26:26 +0900766Overview of changes leading to 1.2.3
767Thursday, February 25, 2016
768====================================
769
770- Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic,
771 due to bug in glyph class of ASCII double-quote character. This should
772 address "regression" introduced in 1.2.0 when we switched mark zeroing
773 in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE.
774 This fourth release in a week should finally stablize things...
775
776- hb-ot-font's get_glyph() implementation saw some optimizations. Though,
777 might be really hard to measure in real-world situations.
778
779- Also, two rather small API changes:
780
781We now disable some time-consuming internal bookkeeping if built with NDEBUG
782defined. This is a first time that we use NDEBUG to disable debug code. If
783there exist production systems that do NOT want to enable NDEBUG, please let
784me know and I'll add HB_NDEBUG.
785
786Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()
787
788New API:
789- hb_font_get_nominal_glyph_func_t
790- hb_font_get_variation_glyph_func_t
791- hb_font_funcs_set_nominal_glyph_func()
792- hb_font_funcs_set_variation_glyph_func()
793- hb_font_get_nominal_glyph()
794- hb_font_get_variation_glyph()
795
796Deprecated API:
797- hb_font_get_glyph_func_t
798- hb_font_funcs_set_glyph_func()
799
800Clients that implement their own font-funcs are encouraged to replace
801their get_glyph() implementation with a get_nominal_glyph() and
802get_variation_glyph() pair. The variation version can assume that
803variation_selector argument is not zero. Old (deprecated) functions
804will continue working indefinitely using internal gymnastics; it is
805just more efficient to use the new functions.
806
807
Behdad Esfahbodb30a9712016-02-24 17:32:22 +0900808Overview of changes leading to 1.2.2
809Wednesday, February 24, 2016
810====================================
811
812- Fix regression with mark positioning with fonts that have
813 non-zero mark advances. This was introduced in 1.2.0 while
814 trying to make mark and cursive attachments to work together.
815 I have partially reverted that, so this version is much more
816 like what we had before. All clients who updated to 1.2.0
817 should update to this version.
818
819
Behdad Esfahboddabf32a2016-02-23 15:38:43 +0900820Overview of changes leading to 1.2.1
Behdad Esfahbodb30a9712016-02-24 17:32:22 +0900821Tuesday, February 23, 2016
Behdad Esfahboddabf32a2016-02-23 15:38:43 +0900822====================================
823
824- CoreText: Fix bug with wrong scale if font scale was changed later.
825 https://github.com/libass/libass/issues/212
826- CoreText: Drastically speed up font initialization.
827- CoreText: Fix tiny leak.
828- Group ZWJ/ZWNJ with previous syllable under cluster-level=0.
ebraminio7c6937e2017-11-20 14:49:22 -0500829 https://github.com/harfbuzz/harfbuzz/issues/217
Behdad Esfahboddabf32a2016-02-23 15:38:43 +0900830- Add test/shaping/README.md about how to add tests to the suite.
831
832
Behdad Esfahbod27847ca2016-02-19 15:56:50 +0700833Overview of changes leading to 1.2.0
834Friday, February 19, 2016
835====================================
836
837- Fix various issues (hangs mostly) in case of memory allocation failure.
838- Change mark zeroing types of most shapers from BY_UNICODE_LATE to
839 BY_GDEF_LATE. This seems to be what Uniscribe does.
840- Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's
841 what Windows does.
842- Allow GPOS cursive connection on marks, and fix the interaction with
843 mark attachment. This work resulted in some changes to how mark
844 attachments work. See:
ebraminio7c6937e2017-11-20 14:49:22 -0500845 https://github.com/harfbuzz/harfbuzz/issues/211
846 https://github.com/harfbuzz/harfbuzz/commit/86c68c7a2c971efe8e35b1f1bd99401dc8b688d2
Behdad Esfahbod27847ca2016-02-19 15:56:50 +0700847- Graphite2 shaper: improved negative advance handling (eg. Nastaliq).
848- Add nmake-based build system for Windows.
849- Minor speedup.
850- Misc. improvements.
851
852
Behdad Esfahbod11441292016-01-11 13:16:35 +0000853Overview of changes leading to 1.1.3
854Monday, January 11, 2016
855====================================
856
857- Ported Indic shaper to Unicode 8.0 data.
858- Universal Shaping Engine fixes.
859- Speed up CoreText shaper when font fallback happens in CoreText.
860- Documentation improvements, thanks to Khaled Hosny.
861- Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi.
862- Misc bug fixes.
863- New API:
864
865 * Font extents:
866 hb_font_extents_t
867 hb_font_get_font_extents_func_t
868 hb_font_get_font_h_extents_func_t
869 hb_font_get_font_v_extents_func_t
870 hb_font_funcs_set_font_h_extents_func
871 hb_font_funcs_set_font_v_extents_func
872 hb_font_get_h_extents
873 hb_font_get_v_extents
874 hb_font_get_extents_for_direction
875
876 * Buffer message (aka debug):
877 hb_buffer_message_func_t
878 hb_buffer_set_message_func()
879 Actual message protocol to be fleshed out later.
880
881
Behdad Esfahbodd44d52b2015-11-26 19:35:43 -0500882Overview of changes leading to 1.1.2
883Wednesday, November 26, 2015
884====================================
885
886- Fix badly-broken fallback shaper that affected terminology.
ebraminio7c6937e2017-11-20 14:49:22 -0500887 https://github.com/harfbuzz/harfbuzz/issues/187
Behdad Esfahbodd44d52b2015-11-26 19:35:43 -0500888- Fix y_scaling in Graphite shaper.
889- API changes:
890 * An unset glyph_h_origin() function in font-funcs now (sensibly)
891 implies horizontal origin at 0,0. Ie, the nil callback returns
892 true instead of false. As such, implementations that have a
893 glyph_h_origin() that simply returns true, can remove that function
894 with HarfBuzz >= 1.1.2. This results in a tiny speedup.
895
896
Behdad Esfahbodb24e93e2015-11-24 13:18:20 -0600897Overview of changes leading to 1.1.1
898Wednesday, November 24, 2015
899====================================
900
901- Build fixes, specially for hb-coretext.
902
903
Behdad Esfahbode1118ae2015-11-18 23:40:47 -0800904Overview of changes leading to 1.1.0
905Wednesday, November 18, 2015
906====================================
907
908- Implement 'stch' stretch feature for Syriac Abbreviation Mark.
ebraminio7c6937e2017-11-20 14:49:22 -0500909 https://github.com/harfbuzz/harfbuzz/issues/141
Behdad Esfahbode1118ae2015-11-18 23:40:47 -0800910- Disable use of decompose_compatibility() callback.
911- Implement "shaping" of various Unicode space characters, even
912 if the font does not support them.
ebraminio7c6937e2017-11-20 14:49:22 -0500913 https://github.com/harfbuzz/harfbuzz/issues/153
Behdad Esfahbode1118ae2015-11-18 23:40:47 -0800914- If font does not support U+2011 NO-BREAK HYPHEN, fallback to
915 U+2010 HYPHEN.
916- Changes resulting from libFuzzer continuous fuzzing:
917 * Reject font tables that need more than 8 edits,
918 * Bound buffer growth during shaping to 32x,
919 * Fix assertions and other issues at OOM / buffer max-growth.
920- Misc fixes and optimizations.
921- API changes:
922 * All fonts created with hb_font_create() now inherit from
923 (ie. have parent) hb_font_get_empty().
924
925
Behdad Esfahbod86cadc22015-10-15 20:25:29 -0300926Overview of changes leading to 1.0.6
927Thursday, October 15, 2015
928====================================
929
930- Reduce max nesting level in OT lookups from 8 to 6.
931 Should not affect any real font as far as I know.
932- Fix memory access issue in ot-font.
933- Revert default load-flags of fonts created using hb_ft_font_create()
934 back to FT_LOAD_DEFAULT|FT_LOAD_NO_HINTING. This was changed in
935 last release (1.0.5), but caused major issues, so revert.
ebraminio7c6937e2017-11-20 14:49:22 -0500936 https://github.com/harfbuzz/harfbuzz/issues/143
Behdad Esfahbod86cadc22015-10-15 20:25:29 -0300937
938
Behdad Esfahbodab170522015-10-13 10:55:33 -0300939Overview of changes leading to 1.0.5
940Tuesday, October 13, 2015
941====================================
942
943- Fix multiple memory access bugs discovered using libFuzzer.
ebraminio7c6937e2017-11-20 14:49:22 -0500944 https://github.com/harfbuzz/harfbuzz/issues/139
Behdad Esfahbodab170522015-10-13 10:55:33 -0300945 Everyone should upgrade to this version as soon as possible.
946 We now have continuous fuzzing set up, to avoid issues like
947 these creeping in again.
948- Misc fixes.
949
950- New API:
951 * hb_font_set_parent().
952 * hb_ft_font_[sg]et_load_flags()
953 The default flags for fonts created using hb_ft_font_create()
954 has changed to default to FT_LOAD_DEFAULT now. Previously it
955 was defaulting to FT_LOAD_DFEAULT|FT_LOAD_NO_HINTING.
956
957- API changes:
958 * Fonts now default to units-per-EM as their scale, instead of 0.
959 * hb_font_create_sub_font() does NOT make parent font immutable
960 anymore. hb_font_make_immutable() does.
961
962
Behdad Esfahbod432ffc42015-09-30 22:51:16 +0100963Overview of changes leading to 1.0.4
964Wednesday, September 30, 2015
965====================================
966
967- Fix minor out-of-bounds read error.
968
969
Behdad Esfahbod7f540532015-09-01 17:03:50 +0100970Overview of changes leading to 1.0.3
971Tuesday, September 1, 2015
972====================================
973
974- Start of user documentation, from Simon Cozens!
975- Implement glyph_extents() for TrueType fonts in hb-ot-font.
976- Improve GPOS cursive attachments with conflicting lookups.
977- More fixes for cluster-level = 1.
978- Uniscribe positioning fix.
979
980
Behdad Esfahbod789b89e2015-08-19 13:39:57 +0100981Overview of changes leading to 1.0.2
982Wednesday, August 19, 2015
983====================================
984
985- Fix shaping with cluster-level > 0.
986- Fix Uniscribe backend font-size scaling.
987- Declare dependencies in harfbuzz.pc.
988 FreeType is not declared though, to avoid bugs in pkg-config
989 0.26 with recursive dependencies.
990- Slightly improved debug infrastructure. More to come later.
991- Misc build fixes.
992
993
Behdad Esfahbod9002c272015-07-27 12:17:54 +0200994Overview of changes leading to 1.0.1
995Monday, July 27, 2015
996====================================
997
998- Fix out-of-bounds access in USE shaper.
999
1000
Behdad Esfahbod26044232015-07-26 23:39:10 +02001001Overview of changes leading to 1.0.0
Behdad Esfahbod9002c272015-07-27 12:17:54 +02001002Sunday, July 26, 2015
Behdad Esfahbod26044232015-07-26 23:39:10 +02001003====================================
1004
1005- Implement Universal Shaping Engine:
1006 https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm
1007 http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/
1008- Bump version to 1.0.0. The soname was NOT bumped.
1009
1010
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +02001011Overview of changes leading to 0.9.42
1012Thursday, July 26, 2015
1013=====================================
Behdad Esfahbod376d5872015-07-22 16:51:12 +01001014
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +02001015- New API to allow for retrieving finer-grained cluster
1016 mappings if the client desires to handle them. Default
1017 behavior is unchanged.
1018- Fix cluster merging when removing default-ignorables.
1019- Update to Unicode 8.0
1020- hb-graphite2 fixes.
1021- Misc fixes.
Behdad Esfahbod376d5872015-07-22 16:51:12 +01001022- Removed HB_NO_MERGE_CLUSTERS hack.
1023- New API:
1024 hb_buffer_cluster_level_t enum
1025 hb_buffer_get_cluster_level()
1026 hb_buffer_set_cluster_level()
1027 hb-shape / hb-view --cluster-level
1028
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +02001029
Behdad Esfahboda6446d42015-06-18 11:14:56 -07001030Overview of changes leading to 0.9.41
1031Thursday, June 18, 2015
1032=====================================
1033
1034- Fix hb-coretext with trailing whitespace in right-to-left.
1035- New API: hb_buffer_reverse_range().
1036- Allow implementing atomic ops in config.h.
1037- Fix hb_language_t in language bindings.
1038- Misc fixes.
1039
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +02001040
Behdad Esfahbode3671b82015-03-20 18:03:02 -04001041Overview of changes leading to 0.9.40
1042Friday, March 20, 2015
1043=====================================
1044
1045- Another hb-coretext crasher fix. Ouch!
1046- Happy Norouz!
1047
1048
Behdad Esfahbod02a04e62015-03-04 12:32:03 -08001049Overview of changes leading to 0.9.39
1050Wednesday, March 4, 2015
1051=====================================
1052
1053- Critical hb-coretext fixes.
1054- Optimizations and refactoring; no functional change
1055 expected.
1056- Misc build fixes.
1057
1058
Behdad Esfahbod28f5e0b2015-01-23 12:45:35 -08001059Overview of changes leading to 0.9.38
1060Friday, January 23, 2015
1061=====================================
1062
1063- Fix minor out-of-bounds access in Indic shaper.
1064- Change New Tai Lue shaping engine from South-East Asian to default,
1065 reflecting change in Unicode encoding model.
1066- Add hb-shape --font-size. Can take up to two numbers for separate
1067 x / y size.
1068- Fix CoreText and FreeType scale issues with negative scales.
1069- Reject blobs larger than 2GB. This might break some icu-le-hb clients
1070 that need security fixes. See:
1071 http://www.icu-project.org/trac/ticket/11450
1072- Avoid accessing font tables during face destruction, in casce rogue
1073 clients released face data already.
1074- Fix up gobject-introspection a bit. Python bindings kinda working.
1075 See README.python.
1076- Misc fixes.
1077- API additions:
1078 hb_ft_face_create_referenced()
1079 hb_ft_font_create_referenced()
1080
1081
Behdad Esfahbod66e37402014-12-17 12:09:17 -08001082Overview of changes leading to 0.9.37
1083Wednesday, December 17, 2014
1084=====================================
1085
1086- Fix out-of-bounds access in Context lookup format 3.
1087- Indic: Allow ZWJ/ZWNJ before syllable modifiers.
1088
1089
Behdad Esfahbodc0e95ab2014-11-20 14:42:24 -08001090Overview of changes leading to 0.9.36
1091Thursday, November 20, 2014
1092=====================================
1093
1094- First time that three months went by without a release since
1095 0.9.2 was released on August 10, 2012!
1096- Fix performance bug in hb_ot_collect_glyphs():
1097 https://bugzilla.mozilla.org/show_bug.cgi?id=1090869
1098- Add basic vertical-text support to hb-ot-font.
1099- Misc build fixes.
1100
1101
Behdad Esfahbodcd5a1142014-08-13 12:39:34 -04001102Overview of changes leading to 0.9.35
1103Saturday, August 13, 2014
1104=====================================
1105
1106- Fix major shape-plan caching bug when more than one shaper were
1107 provided to hb_shape_full() (as exercised by XeTeX).
1108 http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
1109- Fix Arabic fallback shaping regression. This was broken in 0.9.32.
1110- Major hb-coretext fixes. That backend is complete now, including
1111 respecing buffer direction and language, down to vertical writing.
1112- Build fixes for Windows CE. Should build fine now.
1113- Misc fixes:
1114 Use atexit() only if it's safe to call from shared library
1115 https://bugs.freedesktop.org/show_bug.cgi?id=82246
1116 Mandaic had errors in its Unicode Joining_Type
1117 https://bugs.freedesktop.org/show_bug.cgi?id=82306
1118- API changes:
1119
1120 * hb_buffer_clear_contents() does not reset buffer flags now.
1121
1122 After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't
1123 need to set flags for different pieces of text. The flags now
1124 are something the client sets up once, depending on how it
1125 actually uses the buffer. As such, don't clear it in
1126 clear_contents().
1127
1128 I don't expect any changes to be needed to any existing client.
1129
1130
Behdad Esfahbod91c2c0f2014-08-02 19:24:55 -04001131Overview of changes leading to 0.9.34
1132Saturday, August 2, 2014
1133=====================================
1134
1135- hb_feature_from_string() now accepts CSS font-feature-settings format.
1136- As a result, hb-shape / hb-view --features also accept CSS-style strings.
1137 Eg, "'liga' off" is accepted now.
1138- Add old-spec Myanmar shaper:
1139 https://bugs.freedesktop.org/show_bug.cgi?id=81775
1140- Don't apply 'calt' in Hangul shaper.
1141- Fix mark advance zeroing for Hebrew shaper:
1142 https://bugs.freedesktop.org/show_bug.cgi?id=76767
1143- Implement Windows-1256 custom Arabic shaping. Only built on Windows,
1144 and requires help from get_glyph(). Used by Firefox.
1145 https://bugzilla.mozilla.org/show_bug.cgi?id=1045139
1146- Disable 'liga' in vertical text.
1147- Build fixes.
1148- API changes:
1149
1150 * Make HB_BUFFER_FLAG_BOT/EOT easier to use.
1151
1152 Previously, we expected users to provide BOT/EOT flags when the
1153 text *segment* was at paragraph boundaries. This meant that for
1154 clients that provide full paragraph to HarfBuzz (eg. Pango), they
1155 had code like this:
1156
1157 hb_buffer_set_flags (hb_buffer,
1158 (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) |
1159 (item_offset + item_length == paragraph_length ?
1160 HB_BUFFER_FLAG_EOT : 0));
1161
1162 hb_buffer_add_utf8 (hb_buffer,
1163 paragraph_text, paragraph_length,
1164 item_offset, item_length);
1165
1166 After this change such clients can simply say:
1167
1168 hb_buffer_set_flags (hb_buffer,
1169 HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT);
1170
1171 hb_buffer_add_utf8 (hb_buffer,
1172 paragraph_text, paragraph_length,
1173 item_offset, item_length);
1174
1175 Ie, HarfBuzz itself checks whether the segment is at the beginning/end
1176 of the paragraph. Clients that only pass item-at-a-time to HarfBuzz
1177 continue not setting any flags whatsoever.
1178
1179 Another way to put it is: if there's pre-context text in the buffer,
1180 HarfBuzz ignores the BOT flag. If there's post-context, it ignores
1181 EOT flag.
1182
1183
Behdad Esfahbod8c1bdb42014-07-22 17:56:43 -04001184Overview of changes leading to 0.9.33
1185Tuesday, July 22, 2014
1186=====================================
1187
1188- Turn off ARabic 'cswh' feature that was accidentally turned on.
1189- Add HB_TAG_MAX_SIGNED.
1190- Make hb_face_make_immutable() really make face immutable!
1191- Windows build fixes.
1192
1193
Behdad Esfahbod66f30912014-07-17 16:05:47 -04001194Overview of changes leading to 0.9.32
1195Thursday, July 17, 2014
1196=====================================
1197
1198- Apply Arabic shaping features in spec order exactly.
1199- Another fix for Mongolian free variation selectors.
1200- For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt'
1201 together.
1202- Minor adjustment to U+FFFD logic.
1203- Fix hb-coretext build.
1204
1205
Behdad Esfahboda18897f2014-07-16 16:02:15 -04001206Overview of changes leading to 0.9.31
1207Wednesday, July 16, 2014
1208=====================================
1209
1210- Only accept valid UTF-8/16/32; we missed many cases before.
1211- Better shaping of invalid UTF-8/16/32. Falls back to
1212 U+FFFD REPLACEMENT CHARACTER now.
1213- With all changes in this release, the buffer will contain fully
1214 valid Unicode after hb_buffer_add_utf8/16/32 no matter how
Unknown97145df2017-11-03 09:05:00 -04001215 broken the input is. This can be overridden though. See below.
Behdad Esfahboda18897f2014-07-16 16:02:15 -04001216- Fix Mongolian Variation Selectors for fonts without GDEF.
1217- Fix minor invalid buffer access.
1218- Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language()
1219 now uses these instead of private tags.
1220- Build fixes.
1221- New API:
1222 * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32()
1223 used to do, ie. no validity check on the input at all. add_utf32
1224 now replaces invalid Unicode codepoints with the replacement
1225 character (see below).
1226 * hb_buffer_set_replacement_codepoint()
1227 * hb_buffer_get_replacement_codepoint()
1228 Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when
1229 we detected broken input, we replaced that with (hb_codepoint_t)-1.
1230 This has changed to use U+FFFD now, but can be changed using these
1231 new API.
1232
1233
Behdad Esfahbodea001372014-07-09 17:28:43 -04001234Overview of changes leading to 0.9.30
1235Wednesday, July 9, 2014
1236=====================================
Behdad Esfahboda18897f2014-07-16 16:02:15 -04001237
Behdad Esfahbodea001372014-07-09 17:28:43 -04001238- Update to Unicode 7.0.0:
1239 * New scripts Manichaean and Psalter Pahlavi are shaped using
1240 Arabic shaper.
1241 * All the other new scripts to through the generic shaper for
1242 now.
1243- Minor Indic improvements.
1244- Fix graphite2 backend cluster mapping [crasher!]
1245- API changes:
1246 * New HB_SCRIPT_* values for Unicode 7.0 scripts.
1247 * New function hb_ot_layout_language_get_required_feature().
1248- Build fixes.
1249
1250
Behdad Esfahbod5875ad92014-05-29 15:48:16 -04001251Overview of changes leading to 0.9.29
1252Thursday, May 29, 2014
1253=====================================
1254
1255- Implement cmap in hb-ot-font.h. No variation-selectors yet.
1256- Myanmar: Allow MedialYa+Asat.
1257- Various Indic fixes:
1258 * Support most characters in Extended Devanagary and Vedic
1259 Unicode blocks.
1260 * Allow digits and a some punctuation as consonant placeholders.
1261- Build fixes.
1262
Behdad Esfahbodea001372014-07-09 17:28:43 -04001263
Behdad Esfahbod79ecdc32014-04-28 14:24:23 -07001264Overview of changes leading to 0.9.28
1265Monday, April 28, 2014
1266=====================================
1267
1268- Unbreak old-spec Indic shaping. (bug 76705)
1269- Fix shaping of U+17DD and U+0FC6.
1270- Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default
1271 for shipping libraries. It's an option for further experimentation
1272 right now. When we are sure how to do it properly, we will add
1273 public run-time API for the functionality.
1274- Build fixes.
1275
1276
Dominik Röttschesba8c9d92014-03-18 14:39:03 +02001277Overview of changes leading to 0.9.27
1278Tuesday, March 18, 2014
1279=====================================
1280
1281- Don't use "register" storage class specifier
1282- Wrap definition of free_langs() with HAVE_ATEXIT
1283- Add coretext_aat shaper and hb_coretext_face_create() constructor
1284- If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
1285- Add Myanmar test case from OpenType Myanmar spec
1286- Only do fallback Hebrew composition if no GPOS 'mark' available
1287- Allow bootstrapping without gtk-doc
1288- Use AM_MISSING_PROG for ragel and git
1289- Typo in ucdn's Makefile.am
1290- Improve MemoryBarrier() implementation
1291
1292
Behdad Esfahbod189bf232014-01-30 15:14:58 -05001293Overview of changes leading to 0.9.26
1294Thursday, January 30, 2014
1295=====================================
1296
1297- Misc fixes.
1298- Fix application of 'rtlm' feature.
1299- Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH.
1300- New header: hb-ot-shape.h
1301- Uniscribe: fix scratch-buffer accounting.
1302- Reorder Tai Tham SAKOT to after tone-marks.
1303- Add Hangul shaper.
1304- New files:
1305 hb-ot-shape-complex-hangul.cc
1306 hb-ot-shape-complex-hebrew.cc
1307 hb-ot-shape-complex-tibetan.cc
1308- Disable 'cswh' feature in Arabic shaper.
1309- Coretext: better handle surrogate pairs.
1310- Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE.
1311
1312
Behdad Esfahbod860fc9a2013-12-04 20:06:59 -05001313Overview of changes leading to 0.9.25
1314Wednesday, December 4, 2013
1315=====================================
1316
1317- Myanmar shaper improvements.
1318- Avoid font fallback in CoreText backend.
1319- Additional OpenType language tag mappiongs.
1320- More aggressive shape-plan caching.
1321- Build with / require automake 1.13.
1322- Build with libtool 2.4.2.418 alpha to support ppc64le.
1323
1324
Behdad Esfahbod63006942013-11-13 14:54:07 -05001325Overview of changes leading to 0.9.24
1326Tuesday, November 13, 2013
1327=====================================
1328
1329- Misc compiler warning fixes with clang.
1330- No functional changes.
1331
1332
Behdad Esfahboddce79c22013-10-28 20:26:40 +01001333Overview of changes leading to 0.9.23
1334Monday, October 28, 2013
1335=====================================
1336
1337- "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
1338- Fix (Chain)Context recursion with non-monotone lookup positions.
1339- Misc Indic bug fixes.
1340- New Javanese / Buginese shaping, similar to Windows 8.1.
1341
1342
Behdad Esfahbode152d1a2013-10-03 15:09:37 -04001343Overview of changes leading to 0.9.22
1344Thursday, October 3, 2013
1345=====================================
1346
1347- Fix use-after-end-of-scope in hb_language_from_string().
1348- Fix hiding of default_ignorables if font doesn't have space glyph.
1349- Protect against out-of-range lookup indices.
1350
1351- API Changes:
1352
1353 * Added hb_ot_layout_table_get_lookup_count()
1354
1355
Behdad Esfahbodb61f97d2013-09-16 22:07:22 -04001356Overview of changes leading to 0.9.21
1357Monday, September 16, 2013
1358=====================================
1359
1360- Rename gobject-introspection library name from harfbuzz to HarfBuzz.
1361- Remove (long disabled) hb-old and hb-icu-le test shapers.
1362- Misc gtk-doc and gobject-introspection annotations.
1363- Misc fixes.
1364- API changes:
1365
1366 * Add HB_SET_VALUE_INVALID
1367
Behdad Esfahbodf730b5d2013-08-29 15:53:33 -04001368Overview of changes leading to 0.9.20
1369Thursday, August 29, 2013
1370=====================================
1371
1372General:
1373- Misc substitute_closure() fixes.
1374- Build fixes.
1375
1376Documentation:
1377- gtk-doc boilerplate integrated. Docs are built now, but
1378 contain no contents. By next release hopefully we have
1379 some content in. Enable using --enable-gtk-doc.
1380
1381GObject and Introspection:
1382- Added harfbuzz-gobject library (hb-gobject.h) that has type
1383 bindings for all HarfBuzz objects and enums. Enable using
1384 --with-gobject.
1385- Added gobject-introspection boilerplate. Nothing useful
1386 right now. Work in progress. Gets enabled automatically if
1387 --with-gobject is used. Override with --disable-introspection.
1388
1389OpenType shaper:
1390- Apply 'mark' in Myanmar shaper.
1391- Don't apply 'dlig' by default.
1392
1393Uniscribe shaper:
1394- Support user features.
1395- Fix loading of fonts that are also installed on the system.
1396- Fix shaping of Arabic Presentation Forms.
1397- Fix build with wide chars.
1398
1399CoreText shaper:
1400- Support user features.
1401
1402Source changes:
1403- hb_face_t code moved to hb-face.h / hb-face.cc.
1404- Added hb-deprecated.h.
1405
1406API changes:
1407- Added HB_DISABLE_DEPRECATED.
1408- Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
1409 HB_SCRIPT_CANADIAN_SYLLABICS.
1410- Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
1411 HB_BUFFER_FLAG_DEFAULT.
1412- Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
1413 HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
1414
1415
Behdad Esfahbod2b78d672013-07-16 16:06:27 -04001416Overview of changes leading to 0.9.19
1417Tuesday, July 16, 2013
1418=====================================
1419
1420- Build fixes.
1421- Better handling of multiple variation selectors in a row.
1422- Pass on variation selector to GSUB if not consumed by cmap.
1423- Fix undefined memory access.
1424- Add Javanese config to Indic shaper.
1425- Misc bug fixes.
1426
Behdad Esfahbod4014aa42013-05-28 17:28:59 -04001427Overview of changes leading to 0.9.18
1428Tuesday, May 28, 2013
1429=====================================
1430
1431New build system:
1432
1433- All unneeded code is all disabled by default,
1434
1435- Uniscribe and CoreText shapers can be enabled with their --with options,
1436
1437- icu_le and old shapers cannot be enabled for now,
1438
1439- glib, freetype, and cairo will be detected automatically.
1440 They can be force on/off'ed with their --with options,
1441
1442- icu and graphite2 are default off, can be enabled with their --with
1443 options,
1444
1445Moreover, ICU support is now build into a separate library:
1446libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
1447Distros can enable ICU now without every application on earth
1448getting linked to via libharfbuzz.so.
1449
1450For distros I recommend that they make sure they are building --with-glib
1451--with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
1452And package harfbuzz and harfbuzz-icu separately.
1453
1454
Behdad Esfahbodf1b02f42013-05-20 09:23:58 -04001455Overview of changes leading to 0.9.17
1456Monday, May 20, 2013
1457=====================================
1458
1459- Build fixes.
1460- Fix bug in hb_set_get_min().
1461- Fix regression with Arabic mark positioning / width-zeroing.
1462
Behdad Esfahboda408d232013-04-19 16:32:06 -04001463Overview of changes leading to 0.9.16
1464Friday, April 19, 2013
1465=====================================
1466
1467- Major speedup in OpenType lookup processing. With the Amiri
1468 Arabic font, this release is over 3x faster than previous
1469 release. All scripts / languages should see this speedup.
1470
1471- New --num-iterations option for hb-shape / hb-view; useful for
1472 profiling.
1473
Behdad Esfahbod22e47452013-04-05 18:02:43 -04001474Overview of changes leading to 0.9.15
Behdad Esfahboda408d232013-04-19 16:32:06 -04001475Friday, April 05, 2013
Behdad Esfahbod22e47452013-04-05 18:02:43 -04001476=====================================
1477
1478- Build fixes.
1479- Fix crasher in graphite2 shaper.
1480- Fix Arabic mark width zeroing regression.
1481- Don't compose Hangul jamo into Unicode syllables.
1482
1483
Behdad Esfahbodf872a172013-03-21 13:38:06 -04001484Overview of changes leading to 0.9.14
1485Thursday, March 21, 2013
1486=====================================
1487
1488- Build fixes.
1489- Fix time-consuming sanitize with malicious fonts.
1490- Implement hb_buffer_deserialize_glyphs() for both json and text.
1491- Do not ignore Hangul filler characters.
1492- Indic fixes:
1493 * Fix Malayalam pre-base reordering interaction with post-forms.
1494 * Further adjust ZWJ handling. Should fix known regressions from
1495 0.9.13.
1496
1497
Behdad Esfahbod05686b52013-02-25 18:19:20 -05001498Overview of changes leading to 0.9.13
1499Thursday, February 25, 2013
1500=====================================
1501
1502- Build fixes.
1503- Ngapi HarfBuzz Hackfest in London (February 2013):
1504 * Fixed all known Indic bugs,
1505 * New Win8-style Myanmar shaper,
1506 * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
1507 * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
1508 matching GSUB/GPOS lookups,
1509 * Fix 'Phags-Pa U+A872 shaping,
1510 * Fix partial disabling of default-on features,
1511 * Allow disabling of TrueType kerning.
1512- Fix possible crasher with broken fonts with overlapping tables.
1513- Removed generated files from git again. So, one needs ragel to
1514 bootstrap from the git tree.
1515
1516API changes:
1517- hb_shape() and related APIs now abort if buffer direction is
1518 HB_DIRECTION_INVALID. Previously, hb_shape() was calling
1519 hb_buffer_guess_segment_properties() on the buffer before
1520 shaping. The heuristics in that function are fragile. If the
1521 user really wants the old behvaior, they can call that function
1522 right before calling hb_shape() to get the old behavior.
1523- hb_blob_create_sub_blob() always creates sub-blob with
1524 HB_MEMORY_MODE_READONLY. See comments for the reason.
1525
1526
Behdad Esfahbod09b53932013-01-18 17:10:47 -06001527Overview of changes leading to 0.9.12
1528Thursday, January 18, 2013
1529=====================================
1530
1531- Build fixes for Sun compiler.
1532- Minor bug fix.
1533
Behdad Esfahbodcf81fb32013-01-10 09:06:34 -06001534Overview of changes leading to 0.9.11
1535Thursday, January 10, 2013
1536=====================================
1537
1538- Build fixes.
1539- Fix GPOS mark attachment with null Anchor offsets.
1540- [Indic] Fix old-spec reordering of viramas if sequence ends in one.
1541- Fix multi-threaded shaper data creation crash.
1542- Add atomic ops for Solaris.
1543
1544API changes:
1545- Rename hb_buffer_clear() to hb_buffer_clear_contents().
1546
1547
Behdad Esfahbod34e6c3e2013-01-03 00:14:24 -06001548Overview of changes leading to 0.9.10
1549Thursday, January 3, 2013
1550=====================================
1551
1552- [Indic] Fixed rendering of Malayalam dot-reph
1553- Updated OT language tags.
1554- Updated graphite2 backend.
1555- Improved hb_ot_layout_get_size_params() logic.
1556- Improve hb-shape/hb-view help output.
1557- Fixed hb-set.h implementation to not crash.
1558- Fixed various issues with hb_ot_layout_collect_lookups().
1559- Various build fixes.
1560
1561New API:
1562
1563hb_graphite2_face_get_gr_face()
1564hb_graphite2_font_get_gr_font()
1565hb_coretext_face_get_cg_font()
1566
1567Modified API:
1568
1569hb_ot_layout_get_size_params()
1570
1571
Behdad Esfahbodc6408a12012-12-05 17:36:52 -05001572Overview of changes leading to 0.9.9
1573Wednesday, December 5, 2012
1574====================================
1575
1576- Fix build on Windows.
1577- Minor improvements.
1578
1579
Behdad Esfahboda52f51b2012-12-04 15:43:38 -05001580Overview of changes leading to 0.9.8
1581Tuesday, December 4, 2012
1582====================================
1583
1584
1585- Actually implement hb_shape_plan_get_shaper ().
1586- Make UCDB data tables const.
1587- Lots of internal refactoring in OTLayout tables.
1588- Flesh out hb_ot_layout_lookup_collect_glyphs().
1589
1590New API:
1591
1592hb_ot_layout_collect_lookups()
1593hb_ot_layout_get_size_params()
1594
1595
Behdad Esfahbod4c896352012-11-21 01:20:56 -05001596Overview of changes leading to 0.9.7
1597Sunday, November 21, 2012
1598====================================
1599
1600
1601HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
1602
1603- Fix Arabic contextual joining using pre-context text.
1604- Fix Sinhala "split matra" mess.
1605- Fix Khmer shaping with broken fonts.
1606- Implement Thai "PUA" shaping for old fonts.
1607- Do NOT route Kharoshthi script through the Indic shaper.
1608- Disable fallback positioning for Indic and Thai shapers.
1609- Misc fixes.
1610
1611
1612hb-shape / hb-view changes:
1613
1614- Add --text-before and --text-after
1615- Add --bot / --eot / --preserve-default-ignorables
1616- hb-shape --output-format=json
1617
1618
1619New API:
1620
1621hb_buffer_clear()
1622
1623hb_buffer_flags_t
1624
1625HB_BUFFER_FLAGS_DEFAULT
1626HB_BUFFER_FLAG_BOT
1627HB_BUFFER_FLAG_EOT
1628HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
1629
1630hb_buffer_set_flags()
1631hb_buffer_get_flags()
1632
1633HB_BUFFER_SERIALIZE_FLAGS
1634hb_buffer_serialize_glyphs()
1635hb_buffer_deserialize_glyphs()
1636hb_buffer_serialize_list_formats()
1637
1638hb_set_add_range()
1639hb_set_del_range()
1640hb_set_get_population()
1641hb_set_next_range()
1642
1643hb_face_[sg]et_glyph_count()
1644
1645hb_segment_properties_t
1646HB_SEGMENT_PROPERTIES_DEFAULT
1647hb_segment_properties_equal()
1648hb_segment_properties_hash()
1649
1650hb_buffer_set_segment_properties()
1651hb_buffer_get_segment_properties()
1652
1653hb_ot_layout_glyph_class_t
1654hb_ot_layout_get_glyph_class()
1655hb_ot_layout_get_glyphs_in_class()
1656
1657hb_shape_plan_t
1658hb_shape_plan_create()
1659hb_shape_plan_create_cached()
1660hb_shape_plan_get_empty()
1661hb_shape_plan_reference()
1662hb_shape_plan_destroy()
1663hb_shape_plan_set_user_data()
1664hb_shape_plan_get_user_data()
1665hb_shape_plan_execute()
1666hb_shape_plan_get_shaper()
1667
1668hb_ot_shape_plan_collect_lookups()
1669
1670
1671API changes:
1672
1673- Remove "mask" parameter from hb_buffer_add().
1674- Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
1675- hb-set.h API const correction.
1676- Renamed hb_set_min/max() to hb_set_get_min/max().
1677- Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
1678- Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
1679
1680
1681
Behdad Esfahbodda43a922012-11-13 13:48:26 -08001682Overview of changes leading to 0.9.6
1683Sunday, November 13, 2012
1684====================================
1685
1686- Don't clear pre-context text if no new context is provided.
1687- Fix ReverseChainingSubstLookup, which was totally borked.
1688- Adjust output format of hb-shape a bit.
1689- Include config.h.in in-tree. Makes it easier for alternate build systems.
1690- Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
1691- Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
1692- Drop glyphs for all of Unicode Default_Ignorable characters.
1693- Misc build fixes.
1694
1695Arabic shaper:
1696- Enable 'dlig' and 'mset' features in Arabic shaper.
1697- Implement 'Phags-pa shaping, improve Mongolian.
1698
1699Indic shaper:
1700- Decompose Sinhala split matras the way old HarfBuzz / Pango did.
1701- Initial support for Consonant Medials.
1702- Start adding new-style Myanmar shaping.
1703- Make reph and 'pref' logic introspect the font.
1704- Route Meetei-Mayek through the Indic shaper.
1705- Don't apply 'liga' in Indic shaper.
1706- Improve Malayalam pre-base reordering Ra interaction with Chillus.
1707
1708
1709
Behdad Esfahbod13c05842012-10-14 18:37:09 -05001710Overview of changes leading to 0.9.5
1711Sunday, October 14, 2012
1712====================================
1713
1714- Synthetic-GSUB Arabic fallback shaping.
1715
1716- Misc Indic improvements.
1717
1718- Add build system support for pthread.
1719
1720- Imported UCDN for in-tree Unicode callbacks implementation.
1721
1722- Context-aware Arabic joining.
1723
1724- Misc other fixes.
1725
1726- New API:
1727
1728 hb_feature_to/from-string()
1729 hb_buffer_[sg]et_content_type()
1730
1731
1732
Behdad Esfahbodf7e81ce2012-09-04 15:32:37 -04001733Overview of changes leading to 0.9.4
1734Tuesday, Sep 03, 2012
1735====================================
1736
1737- Indic improvements with old-spec Malayalam.
1738
1739- Better fallback glyph positioning, specially with Thai / Lao marks.
1740
1741- Implement dotted-circle insertion.
1742
1743- Better Arabic fallback shaping / ligation.
1744
1745- Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
1746
1747- Misc fixes.
1748
1749
1750
Behdad Esfahbod7fe00d12012-08-18 13:59:46 -04001751Overview of changes leading to 0.9.3
1752Friday, Aug 18, 2012
1753====================================
1754
1755- Fixed fallback mark positioning for left-to-right text.
1756
1757- Improve mark positioning for the remaining combining classes.
1758
1759- Unbreak Thai and fallback Arabic shaping.
1760
1761- Port Arabic shaper to shape-plan caching.
1762
1763- Use new ICU normalizer functions.
1764
1765
1766
Behdad Esfahbode297ee42012-08-10 14:49:37 -04001767Overview of changes leading to 0.9.2
Behdad Esfahbod9fe76052012-08-15 17:24:28 -04001768Friday, Aug 10, 2012
Behdad Esfahbode297ee42012-08-10 14:49:37 -04001769====================================
1770
1771- Over a thousand commits! This is the first major release of HarfBuzz.
1772
1773- HarfBuzz is feature-complete now! It should be in par, or better, than
1774 both Pango's shapers and old HarfBuzz / Qt shapers.
1775
1776- New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
1777
1778- Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
1779 Sinhala, N'ko, Mongolian, and Mandaic.
1780
1781- New Thai / Lao shaper.
1782
1783- Tibetan / Hangul support in the generic shaper.
1784
1785- Synthetic GDEF support for fonts without a GDEF table.
1786
1787- Fallback mark positioning for fonts without a GPOS table.
1788
1789- Unicode normalization shaping heuristic during glyph mapping.
1790
1791- New experimental Graphite2 backend.
1792
1793- New Uniscribe backend (primarily for testing).
1794
1795- New CoreText backend (primarily for testing).
1796
1797- Major optimization and speedup.
1798
1799- Test suites and testing infrastructure (work in progress).
1800
1801- Greatly improved hb-view cmdline tool.
1802
1803- hb-shape cmdline tool.
1804
1805- Unicode 6.1 support.
1806
1807Summary of API changes:
1808
1809o Changed API:
1810
1811 - Users are expected to only include main header files now (ie. hb.h,
1812 hb-glib.h, hb-ft.h, ...)
1813
1814 - All struct tag names had their initial underscore removed.
1815 Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
1816
1817 - All set_user_data() functions now take a "replace" boolean parameter.
1818
1819 - hb_buffer_create() takes zero arguments now.
1820 Use hb_buffer_pre_allocate() to pre-allocate.
1821
1822 - hb_buffer_add_utf*() now accept -1 for length parameteres,
1823 meaning "nul-terminated".
1824
1825 - hb_direction_t enum values changed.
1826
1827 - All *_from_string() APIs now take a length parameter to allow for
1828 non-nul-terminated strings. A -1 length means "nul-terminated".
1829
1830 - Typedef for hb_language_t changed.
1831
1832 - hb_get_table_func_t renamed to hb_reference_table_func_t.
1833
1834 - hb_ot_layout_table_choose_script()
1835
1836 - Various renames in hb-unicode.h.
1837
1838o New API:
1839
1840 - hb_buffer_guess_properties()
1841 Automatically called by hb_shape().
1842
1843 - hb_buffer_normalize_glyphs()
1844
1845 - hb_tag_from_string()
1846
1847 - hb-coretext.h
1848
1849 - hb-uniscribe.h
1850
1851 - hb_face_reference_blob()
1852 - hb_face_[sg]et_index()
1853 - hb_face_set_upem()
1854
1855 - hb_font_get_glyph_name_func_t
1856 hb_font_get_glyph_from_name_func_t
1857 hb_font_funcs_set_glyph_name_func()
1858 hb_font_funcs_set_glyph_from_name_func()
1859 hb_font_get_glyph_name()
1860 hb_font_get_glyph_from_name()
1861 hb_font_glyph_to_string()
1862 hb_font_glyph_from_string()
1863
1864 - hb_font_set_funcs_data()
1865
1866 - hb_ft_font_set_funcs()
1867 - hb_ft_font_get_face()
1868
1869 - hb-gobject.h (work in progress)
1870
1871 - hb_ot_shape_glyphs_closure()
1872 hb_ot_layout_substitute_closure_lookup()
1873
1874 - hb-set.h
1875
1876 - hb_shape_full()
1877
1878 - hb_unicode_combining_class_t
1879
1880 - hb_unicode_compose_func_t
1881 hb_unicode_decompose_func_t
1882 hb_unicode_decompose_compatibility_func_t
1883 hb_unicode_funcs_set_compose_func()
1884 hb_unicode_funcs_set_decompose_func()
1885 hb_unicode_funcs_set_decompose_compatibility_func()
1886 hb_unicode_compose()
1887 hb_unicode_decompose()
1888 hb_unicode_decompose_compatibility()
1889
1890o Removed API:
1891
1892 - hb_ft_get_font_funcs()
1893
1894 - hb_ot_layout_substitute_start()
1895 hb_ot_layout_substitute_lookup()
1896 hb_ot_layout_substitute_finish()
1897 hb_ot_layout_position_start()
1898 hb_ot_layout_position_lookup()
1899 hb_ot_layout_position_finish()
1900
1901
1902
Behdad Esfahbodf2455762011-05-25 16:08:06 -04001903Overview of changes leading to 0.6.0
1904Friday, May 27, 2011
1905====================================
1906
1907- Vertical text support in GPOS
1908- Almost all API entries have unit tests now, under test/
1909- All thread-safety issues are fixed
1910
1911Summary of API changes follows.
1912
1913
1914* Simple Types API:
1915
1916 o New API:
1917 HB_LANGUAGE_INVALID
1918 hb_language_get_default()
1919 hb_direction_to_string()
1920 hb_direction_from_string()
1921 hb_script_get_horizontal_direction()
1922 HB_UNTAG()
1923
1924 o Renamed API:
1925 hb_category_t renamed to hb_unicode_general_category_t
1926
1927 o Changed API:
1928 hb_language_t is a typed pointers now
1929
1930 o Removed API:
1931 HB_TAG_STR()
1932
1933
1934* Use ISO 15924 tags for hb_script_t:
1935
1936 o New API:
1937 hb_script_from_iso15924_tag()
1938 hb_script_to_iso15924_tag()
1939 hb_script_from_string()
1940
1941 o Changed API:
1942 HB_SCRIPT_* enum members changed value.
1943
1944
1945* Buffer API streamlined:
1946
1947 o New API:
1948 hb_buffer_reset()
1949 hb_buffer_set_length()
1950 hb_buffer_allocation_successful()
1951
1952 o Renamed API:
1953 hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
1954 hb_buffer_add_glyph() renamed to hb_buffer_add()
1955
1956 o Removed API:
1957 hb_buffer_clear()
1958 hb_buffer_clear_positions()
1959
1960 o Changed API:
1961 hb_buffer_get_glyph_infos() takes an out length parameter now
1962 hb_buffer_get_glyph_positions() takes an out length parameter now
1963
1964
1965* Blob API streamlined:
1966
1967 o New API:
1968 hb_blob_get_data()
1969 hb_blob_get_data_writable()
1970
1971 o Renamed API:
1972 hb_blob_create_empty() renamed to hb_blob_get_empty()
1973
1974 o Removed API:
1975 hb_blob_lock()
1976 hb_blob_unlock()
1977 hb_blob_is_writable()
1978 hb_blob_try_writable()
1979
1980 o Changed API:
1981 hb_blob_create() takes user_data before destroy now
1982
1983
1984* Unicode functions API:
1985
1986 o Unicode function vectors can subclass other unicode function vectors now.
1987 Unimplemented callbacks in the subclass automatically chainup to the parent.
1988
1989 o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
1990 take a user_data and its respective destroy callback.
1991
1992 o New API:
1993 hb_unicode_funcs_get_empty()
1994 hb_unicode_funcs_get_default()
1995 hb_unicode_funcs_get_parent()
1996
1997 o Changed API:
1998 hb_unicode_funcs_create() now takes a parent_funcs.
1999
2000 o Removed func getter functions:
2001 hb_unicode_funcs_get_mirroring_func()
2002 hb_unicode_funcs_get_general_category_func()
2003 hb_unicode_funcs_get_script_func()
2004 hb_unicode_funcs_get_combining_class_func()
2005 hb_unicode_funcs_get_eastasian_width_func()
2006
2007
2008* Face API:
2009
2010 o Renamed API:
2011 hb_face_get_table() renamed to hb_face_reference_table()
2012 hb_face_create_for_data() renamed to hb_face_create()
2013
2014 o Changed API:
2015 hb_face_create_for_tables() takes user_data before destroy now
2016 hb_face_reference_table() returns empty blob instead of NULL
2017 hb_get_table_func_t accepts the face as first parameter now
2018
2019* Font API:
2020
2021 o Fonts can subclass other fonts now. Unimplemented callbacks in the
2022 subclass automatically chainup to the parent. When chaining up,
2023 scale is adjusted if the parent font has a different scale.
2024
2025 o All hb_font_funcs_t callbacks take a user_data now. Their setters
2026 take a user_data and its respective destroy callback.
2027
2028 o New API:
2029 hb_font_get_parent()
2030 hb_font_funcs_get_empty()
2031 hb_font_create_sub_font()
2032
2033 o Removed API:
2034 hb_font_funcs_copy()
2035 hb_font_unset_funcs()
2036
2037 o Removed func getter functions:
2038 hb_font_funcs_get_glyph_func()
2039 hb_font_funcs_get_glyph_advance_func()
2040 hb_font_funcs_get_glyph_extents_func()
2041 hb_font_funcs_get_contour_point_func()
2042 hb_font_funcs_get_kerning_func()
2043
2044 o Changed API:
2045 hb_font_create() takes a face and references it now
2046 hb_font_set_funcs() takes user_data before destroy now
2047 hb_font_set_scale() accepts signed integers now
2048 hb_font_get_contour_point_func_t now takes glyph first, then point_index
2049 hb_font_get_glyph_func_t returns a success boolean now
2050
2051
2052* Changed object model:
2053
2054 o All object types have a _get_empty() now:
2055 hb_blob_get_empty()
2056 hb_buffer_get_empty()
2057 hb_face_get_empty()
2058 hb_font_get_empty()
2059 hb_font_funcs_get_empty()
2060 hb_unicode_funcs_get_empty()
2061
2062 o Added _set_user_data() and _get_user_data() for all object types:
2063 hb_blob_get_user_data()
2064 hb_blob_set_user_data()
2065 hb_buffer_get_user_data()
2066 hb_buffer_set_user_data()
2067 hb_face_get_user_data()
2068 hb_face_set_user_data()
2069 hb_font_funcs_get_user_data()
2070 hb_font_funcs_set_user_data()
2071 hb_font_get_user_data()
2072 hb_font_set_user_data()
2073 hb_unicode_funcs_get_user_data()
2074 hb_unicode_funcs_set_user_data()
2075
2076 o Removed the _get_reference_count() from all object types:
2077 hb_blob_get_reference_count()
2078 hb_buffer_get_reference_count()
2079 hb_face_get_reference_count()
2080 hb_font_funcs_get_reference_count()
2081 hb_font_get_reference_count()
2082 hb_unicode_funcs_get_reference_count()
2083
2084 o Added _make_immutable() and _is_immutable() for all object types except for buffer:
2085 hb_blob_make_immutable()
2086 hb_blob_is_immutable()
2087 hb_face_make_immutable()
2088 hb_face_is_immutable()
2089
2090
2091* Changed API for vertical text support
2092
2093 o The following callbacks where removed:
2094 hb_font_get_glyph_advance_func_t
2095 hb_font_get_kerning_func_t
2096
2097 o The following new callbacks added instead:
2098 hb_font_get_glyph_h_advance_func_t
2099 hb_font_get_glyph_v_advance_func_t
2100 hb_font_get_glyph_h_origin_func_t
2101 hb_font_get_glyph_v_origin_func_t
2102 hb_font_get_glyph_h_kerning_func_t
2103 hb_font_get_glyph_v_kerning_func_t
2104
2105 o The following API removed as such:
2106 hb_font_funcs_set_glyph_advance_func()
2107 hb_font_funcs_set_kerning_func()
2108 hb_font_get_glyph_advance()
2109 hb_font_get_kerning()
2110
2111 o New API added instead:
2112 hb_font_funcs_set_glyph_h_advance_func()
2113 hb_font_funcs_set_glyph_v_advance_func()
2114 hb_font_funcs_set_glyph_h_origin_func()
2115 hb_font_funcs_set_glyph_v_origin_func()
2116 hb_font_funcs_set_glyph_h_kerning_func()
2117 hb_font_funcs_set_glyph_v_kerning_func()
2118 hb_font_get_glyph_h_advance()
2119 hb_font_get_glyph_v_advance()
2120 hb_font_get_glyph_h_origin()
2121 hb_font_get_glyph_v_origin()
2122 hb_font_get_glyph_h_kerning()
2123 hb_font_get_glyph_v_kerning()
2124
2125 o The following higher-leve API added for convenience:
2126 hb_font_get_glyph_advance_for_direction()
2127 hb_font_get_glyph_origin_for_direction()
2128 hb_font_add_glyph_origin_for_direction()
2129 hb_font_subtract_glyph_origin_for_direction()
2130 hb_font_get_glyph_kerning_for_direction()
2131 hb_font_get_glyph_extents_for_origin()
2132 hb_font_get_glyph_contour_point_for_origin()
2133
2134
2135* OpenType Layout API:
2136
2137 o New API:
2138 hb_ot_layout_position_start()
2139 hb_ot_layout_substitute_start()
2140 hb_ot_layout_substitute_finish()
2141
2142
2143* Glue code:
2144
2145 o New API:
2146 hb_glib_script_to_script()
2147 hb_glib_script_from_script()
2148 hb_icu_script_to_script()
2149 hb_icu_script_from_script()
2150
2151
2152* Version API added:
2153
2154 o New API:
2155 HB_VERSION_MAJOR
2156 HB_VERSION_MINOR
2157 HB_VERSION_MICRO
2158 HB_VERSION_STRING
2159 HB_VERSION_CHECK()
2160 hb_version()
2161 hb_version_string()
2162 hb_version_check()
2163
2164