blob: 12010bdd9ef920b706199ddcd83b5929f37fdcf2 [file] [log] [blame]
Behdad Esfahbod3654d9b2018-06-12 19:38:04 -04001Overview of changes leading to 1.8.1
2Tuesday, June 12, 2018
3====================================
4- Fix hb-version.h file generation; last two releases went out with wrong ones.
5- Add correctness bug in hb_set_t operations, introduced in 1.7.7.
6- Remove HB_SUBSET_BUILTIN build option. Not necessary.
7
Behdad Esfahbod37986aa2018-06-05 18:04:40 -07008Overview of changes leading to 1.8.0
9Tuesday, June 5, 2018
10====================================
11- Update to Unicode 11.0.0.
12
Behdad Esfahbod3654d9b2018-06-12 19:38:04 -040013
Behdad Esfahboddf01f3e2018-06-05 15:17:39 -070014Overview of changes leading to 1.7.7
15Tuesday, June 5, 2018
16====================================
17- Lots of internal changes, but not yet exposed externally.
18- All HarfBuzz objects are significantly smaller in size now.
19- Sinhala: Position repha on top of post-consonant, not base.
20 This better matches Windows 10 behavior, which was changed
21 from previous Windows versions.
22- New build options:
23 o New cpp macro HB_NO_ATEXIT
24 o New cpp macro HB_SUBSET_BUILTIN
25- Significant libharfbuzz-subset changes. API subject to change.
26- New API in libharfbuzz:
27
28+hb_blob_create_from_file()
29+hb_face_count()
30
31A hashmap implementation:
32+hb-map.h
33+HB_MAP_VALUE_INVALID
34+hb_map_t
35+hb_map_create()
36+hb_map_get_empty()
37+hb_map_reference()
38+hb_map_destroy()
39+hb_map_set_user_data()
40+hb_map_get_user_data()
41+hb_map_allocation_successful()
42+hb_map_clear()
43+hb_map_is_empty()
44+hb_map_get_population()
45+hb_map_set()
46+hb_map_get()
47+hb_map_del()
48+hb_map_has()
49
50
Behdad Esfahbodff2f8142018-03-07 16:05:14 +010051Overview of changes leading to 1.7.6
52Wednesday, March 7, 2018
53====================================
54
55- Fix to hb_set_t binary operations. Ouch.
56- New experimental harfbuzz-subset library. All of hb-subset.h
57 is experimental right now and API WILL change.
58
59- New API:
60hb_blob_copy_writable_or_fail()
61HB_OT_TAG_BASE
62hb_set_previous()
63hb_set_previous_range()
64
65
Behdad Esfahbodf0b700d2018-01-30 11:16:51 -080066Overview of changes leading to 1.7.5
67Tuesday, January 30, 2018
68====================================
69
70- Separate Khmer shaper from Indic.
71- First stab at AAT morx. Not hooked up.
72- Misc bug fixes.
73
74
Behdad Esfahbod007a2a42017-12-20 12:09:00 -050075Overview of changes leading to 1.7.4
76Wednesday, December 20, 2017
77====================================
78
79- Fix collect_glyphs() regression caused by hb_set_t changes.
80
81
Behdad Esfahbodb5bbb792017-12-18 09:18:51 -050082Overview of changes leading to 1.7.3
83Monday, December 18, 2017
84====================================
85
86- hb_set_t performance tuning and optimizations.
87- Speed up collect_glyphs() and reject garbage data.
88- In hb_coretext_font_create() set font point-size (ptem).
89- Misc fixes.
90
91
Behdad Esfahbod843f7f72017-12-04 08:52:39 -080092Overview of changes leading to 1.7.2
93Monday, December 4, 2017
94====================================
95
96- Optimize hb_set_add_range().
97- Misc fixes.
98- New API:
99hb_coretext_font_create()
100
101
Behdad Esfahbodf93c6f82017-11-14 11:09:19 -0800102Overview of changes leading to 1.7.1
103Tuesday, November 14, 2017
104====================================
105
106- Fix atexit object destruction regression.
107- Fix minor integer-overflow.
108
109
Behdad Esfahbode5d70982017-11-13 09:42:37 -0800110Overview of changes leading to 1.7.0
111Monday, November 13, 2017
112====================================
113
114- Minor Indic fixes.
115- Implement kerning and glyph names in hb-ot-font.
116- Various DSO optimization re .data and .bss sizes.
117- Make C++11 optional; build fixes.
118- Mark all other backends "unsafe-to-break".
119- Graphite fix.
120
121
Behdad Esfahbod223686d2017-10-26 12:52:02 -0600122Overview of changes leading to 1.6.3
123Thursday, October 26th, 2017
124====================================
125
126- Fix hb_set_t some more. Should be solid now.
127- Implement get_glyph_name() for hb-ot-font.
128- Misc fixes.
129
130
Behdad Esfahbod3b7388a2017-10-23 14:35:16 -0400131Overview of changes leading to 1.6.2
132Monday, October 23nd, 2017
133====================================
134
135- Yesterday's release had a bad crasher; don't use it. That's what
136 happens when one works on Sunday...
ebraminio7c6937e2017-11-20 14:49:22 -0500137 https://github.com/harfbuzz/harfbuzz/issues/578
Behdad Esfahbod3b7388a2017-10-23 14:35:16 -0400138- Build fixes for FreeBSD and Chrome Android.
139
140
Behdad Esfahbod0ca915e2017-10-22 17:38:33 -0400141Overview of changes leading to 1.6.1
142Sunday, October 22nd, 2017
143====================================
144
145- Don't skip over COMBINING GRAPHEME JOINER when ligating, etc.
ebraminio7c6937e2017-11-20 14:49:22 -0500146 To be refined: https://github.com/harfbuzz/harfbuzz/issues/554
Behdad Esfahbod0ca915e2017-10-22 17:38:33 -0400147- Faster hb_set_t implementation.
148- Don't use deprecated ICU API.
149- Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0
150- Deprecated API:
151 hb_set_invert()
152
153
Behdad Esfahbod25846cc2017-10-13 16:30:33 +0200154Overview of changes leading to 1.6.0
155Friday, October the 13th, 2017
156====================================
157
158- Update to Unicode 10.
159
160- Various Indic and Universal Shaping Engine fixes as a result of
161 HarfBuzz Hackfest with Jonathan Kew at Web Engines Hackfest at
162 the Igalia offices in A Coruña, Spain. Thanks Igalia for having
163 us!
164
165- Implement Unicode Arabic Mark Ordering Algorithm UTR#53.
166
167- Implement optical sizing / tracking in CoreText backend, using
168 new API hb_font_set_ptem().
169
170- Allow notifying hb_font_t that underlying FT_Face changed sizing,
171 using new API hb_ft_font_changed().
172
173- More Graphite backend RTL fixes.
174
175- Fix caching of variable font shaping plans.
176
177- hb-view / hb-shape now accept following new arguments:
178
179 o --unicodes: takes a list of hex numbers that represent Unicode
180 codepoints.
181
182New API:
183+hb_face_get_table_tags()
184+hb_font_set_ptem()
185+hb_font_get_ptem()
186+hb_ft_font_changed()
187
188
Behdad Esfahboda984e0c2017-09-05 11:18:35 -0700189Overview of changes leading to 1.5.1
190Tuesday, September 5, 2017
191====================================
192
193- Fix "unsafe-to-break" in fallback shaping and other corner cases.
194 All our tests pass with --verify now, meaning unsafe-to-break API
195 works as expected.
196- Add --unicodes to hb-view / hb-shape.
197- [indic] Treat Consonant_With_Stacker as consonant. This will need
198 further tweaking.
199- hb_buffer_diff() tweaks.
200
201
Behdad Esfahbode8b364b2017-08-23 15:00:45 -0700202Overview of changes leading to 1.5.0
203Wednesday, August 23, 2017
204====================================
205
206- Misc new API, for appending a buffer to another, and for comparing
207 contents of two buffers for types of differences.
208
209- New "unsafe-to-break" API. Can be used to speed up reshaping
210 in line-breaking situations. Essentially, after shaping, it returns
211 positions in the input string (some of the cluster boundaries) that
212 are "safe to break" in that if the text is segmented at that position
213 and two sides reshaped and concatenated, the shaping result is
214 exactly the same as shaping the text in one piece.
215
216 hb-view and hb-shape and hb-shape now take --verify, which verifies
217 the above property.
218
219 Some corner cases of the implementation are still not quite working.
220 Those will be fixed in subsequent releases.
221
222- New API:
223
224hb_buffer_append()
225
226hb_glyph_flags_t
227HB_GLYPH_FLAG_UNSAFE_TO_BREAK
228HB_GLYPH_FLAG_DEFINED
229hb_glyph_info_get_glyph_flags()
230
231HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS
232
233hb_buffer_diff_flags_t
234HB_BUFFER_DIFF_FLAG_EQUAL
235HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH
236HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH
237HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT
238HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT
239HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH
240HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH
241HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH
242HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH
243hb_buffer_diff
244
245
Behdad Esfahbod79177922017-08-08 13:17:03 -0700246Overview of changes leading to 1.4.8
247Tuesday, August 8, 2017
248====================================
249
250- Major fix to avar table handling.
251- Rename hb-shape --show-message to --trace.
252- Build fixes.
253
254
Behdad Esfahbodfc15e602017-07-18 11:24:42 -0700255Overview of changes leading to 1.4.7
256Tuesday, July 18, 2017
257====================================
258
259- Multiple Indic, Tibetan, and Cham fixes.
260- CoreText: Allow disabling kerning.
261- Adjust Arabic feature order again.
262- Misc build fixes.
263
264
Behdad Esfahbod141b33d2017-04-23 16:19:13 -0700265Overview of changes leading to 1.4.6
266Sunday, April 23, 2017
267====================================
268
269- Graphite2: Fix RTL positioning issue.
270- Backlist GDEF of more versions of Padauk and Tahoma.
271- New, experimental, cmake alternative build system.
272
273
Behdad Esfahbod60e25862017-03-10 23:02:28 -0800274Overview of changes leading to 1.4.5
275Friday, March 10, 2017
276====================================
277
278- Revert "Fix Context lookup application when moving back after a glyph..."
279 This introduced memory access problems. To be fixed properly soon.
280
281
Behdad Esfahbod8e42c3c2017-03-05 13:54:56 -0800282Overview of changes leading to 1.4.4
283Sunday, March 5, 2017
284====================================
285
286- Fix Context lookup application when moving back after a glyph deletion.
287- Fix buffer-overrun in Bengali.
288
289
Behdad Esfahbod6685d282017-02-25 11:35:05 -0800290Overview of changes leading to 1.4.3
291Saturday, February 25, 2017
292====================================
293
294- Route Adlam script to Arabic shaper.
295- Misc fixes.
296- New API:
297 hb_font_set_face()
298- Deprecate API:
299 hb_graphite2_font_get_gr_font()
300
301
Behdad Esfahbod6af6c112017-01-23 18:35:00 -0800302Overview of changes leading to 1.4.2
303Monday, January 23, 2017
304====================================
305
306- Implement OpenType Font Variation tables avar/fvar/HVAR/VVAR.
307- hb-shape and hb-view now accept --variations.
308- New API:
309
310hb_variation_t
311hb_variation_from_string()
312hb_variation_to_string()
313
314hb_font_set_variations()
315hb_font_set_var_coords_design()
316hb_font_get_var_coords_normalized()
317
318hb-ot-var.h:
319hb_ot_var_axis_t
320hb_ot_var_has_data()
321hb_ot_var_get_axis_count()
322hb_ot_var_get_axes()
323hb_ot_var_find_axis()
324hb_ot_var_normalize_variations()
325hb_ot_var_normalize_coords()
326
327- MVAR to be implemented later. Access to named instances to be
328 implemented later as well.
329
330- Misc fixes.
331
332
Behdad Esfahbodaf596a52017-01-05 20:24:41 -0800333Overview of changes leading to 1.4.1
334Thursday, January 5, 2017
335====================================
336
337- Always build and use UCDN for Unicode data by default.
338 Reduces dependence on version of Unicode data in glib,
339 specially in the Windows bundles we are shipping, which
340 have very old glib.
341
342
Behdad Esfahbodf3397062017-01-05 01:27:49 -0800343Overview of changes leading to 1.4.0
344Thursday, January 5, 2017
345====================================
346
347- Merged "OpenType GX" branch which adds core of support for
348 OpenType 1.8 Font Variations. To that extent, the relevant
349 new API is:
350
351New API:
352hb_font_set_var_coords_normalized()
353
354 with supporting API:
355
356New API:
357HB_OT_LAYOUT_NO_VARIATIONS_INDEX
358hb_ot_layout_table_find_feature_variations()
359hb_ot_layout_feature_with_variations_get_lookups()
360hb_shape_plan_create2()
361hb_shape_plan_create_cached2()
362
363 Currently variations in GSUB/GPOS/GDEF are fully supported,
364 and no other tables are supported. In particular, fvar/avar
365 are NOT supported, hence the hb_font_set_var_coords_normalized()
366 taking normalized coordinates. API to take design coordinates
367 will be added in the future.
368
369 HVAR/VVAR/MVAR support will also be added to hb-ot-font in the
370 future.
371
372- Fix regression in GDEF glyph class processing.
373- Add decompositions for Chakma, Limbu, and Balinese in USE shaper.
374- Misc fixes.
375
376
Behdad Esfahbodb843c6d2016-12-05 13:42:28 -0800377Overview of changes leading to 1.3.4
378Monday, December 5, 2016
379====================================
380
381- Fix vertical glyph origin in hb-ot-font.
382- Implement CBDT/CBLC color font glyph extents in hb-ot-font.
383
384
Behdad Esfahbod966ac7e2016-10-26 16:17:15 +0200385Overview of changes leading to 1.3.3
386Wednesday, September 28, 2016
387====================================
388
389- Implement parsing of OpenType MATH table.
390New API:
391HB_OT_TAG_MATH
392HB_OT_MATH_SCRIPT
393hb_ot_math_constant_t
394hb_ot_math_kern_t
395hb_ot_math_glyph_variant_t
396hb_ot_math_glyph_part_flags_t
397hb_ot_math_glyph_part_t
398hb_ot_math_has_data
399hb_ot_math_get_constant
400hb_ot_math_get_glyph_italics_correction
401hb_ot_math_get_glyph_top_accent_attachment
402hb_ot_math_get_glyph_kerning
403hb_ot_math_is_glyph_extended_shape
404hb_ot_math_get_glyph_variants
405hb_ot_math_get_min_connector_overlap
406hb_ot_math_get_glyph_assembly
407
408
Behdad Esfahbodf73a87d2016-09-27 13:50:54 +0200409Overview of changes leading to 1.3.2
410Wednesday, September 27, 2016
411====================================
412
413- Fix build of hb-coretext on older OS X versions.
414
415
Behdad Esfahbodd22ab6c2016-09-07 14:28:47 -0700416Overview of changes leading to 1.3.1
417Wednesday, September 7, 2016
418====================================
419
420- Blacklist bad GDEF of more fonts (Padauk).
421- More CoreText backend crash fixes with OS X 10.9.5.
422- Misc fixes.
423
424
Behdad Esfahboda732e002016-07-21 01:58:00 -0700425Overview of changes leading to 1.3.0
426Thursday, July 21, 2016
427====================================
428
429- Update to Unicode 9.0.0
430- Move Javanese from Indic shaper to Universal Shaping Engine.
431- Allow MultipleSubst to delete a glyph (matching Windows engine).
432- Update Universal Shaping Engine to latest draft from Microsoft.
433- DirectWrite backend improvements. Note: this backend is for testing ONLY.
434- CoreText backend improvements with unreachable fonts.
435- Implement symbol fonts (cmap 3.0.0) in hb-ft and hb-ot-font.
436- Blacklist bad GDEF of more fonts (Tahoma & others).
437- Misc fixes.
438
439
Behdad Esfahboda5b7b0d2016-05-02 10:44:13 +0200440Overview of changes leading to 1.2.7
441Monday, May 2, 2016
442====================================
443
444- Blacklist another version of Times New Roman (Bold) Italic from Windows 7.
445- Fix Mongolian Free Variation Selectors shaping with certain fonts.
446- Fix Tibetan shorthand contractions shaping.
447- Improved list of language tag mappings.
448- Unbreak build on Windows CE.
449- Make 'glyf' table loading lazy in hb-ot-font.
450
451
Behdad Esfahbod00ea66f2016-04-08 13:51:01 -0700452Overview of changes leading to 1.2.6
453Friday, April 8, 2016
454====================================
455
456- Blacklist GDEF table of another set of Times New Roman (Bold) Italic.
457- DirectWrite backend improvements. Note: DirectWrite backend is
458 exclusively for our internal testing and should NOT be used in any
459 production system whatsoever.
460
461
Behdad Esfahboda0331b52016-04-04 16:25:32 -0700462Overview of changes leading to 1.2.5
463Monday, April 4, 2016
464====================================
465
466- Fix GDEF mark-filtering-set, which was broken in 1.2.3.
467
468
Behdad Esfahbod0251b0c2016-03-17 14:37:11 -0700469Overview of changes leading to 1.2.4
470Thursday, March 17, 2016
471====================================
472
473- Synthesize GDEF glyph class for any glyph that does not have one in GDEF.
474 I really hope we don't discover broken fonts that shape badly with this
475 change.
476- Misc build and other minor fixes.
477- API changes:
478 - Added HB_NDEBUG. It's fine for production systems to define this to
479 disable high-overhead debugging checks. However, I also reduced the
480 overhead of those checks, so it's a non-issue right now. You can
481 forget it. Just not defining anything at all is fine.
482
483
Behdad Esfahbod75568b02016-02-25 12:26:26 +0900484Overview of changes leading to 1.2.3
485Thursday, February 25, 2016
486====================================
487
488- Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic,
489 due to bug in glyph class of ASCII double-quote character. This should
490 address "regression" introduced in 1.2.0 when we switched mark zeroing
491 in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE.
492 This fourth release in a week should finally stablize things...
493
494- hb-ot-font's get_glyph() implementation saw some optimizations. Though,
495 might be really hard to measure in real-world situations.
496
497- Also, two rather small API changes:
498
499We now disable some time-consuming internal bookkeeping if built with NDEBUG
500defined. This is a first time that we use NDEBUG to disable debug code. If
501there exist production systems that do NOT want to enable NDEBUG, please let
502me know and I'll add HB_NDEBUG.
503
504Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()
505
506New API:
507- hb_font_get_nominal_glyph_func_t
508- hb_font_get_variation_glyph_func_t
509- hb_font_funcs_set_nominal_glyph_func()
510- hb_font_funcs_set_variation_glyph_func()
511- hb_font_get_nominal_glyph()
512- hb_font_get_variation_glyph()
513
514Deprecated API:
515- hb_font_get_glyph_func_t
516- hb_font_funcs_set_glyph_func()
517
518Clients that implement their own font-funcs are encouraged to replace
519their get_glyph() implementation with a get_nominal_glyph() and
520get_variation_glyph() pair. The variation version can assume that
521variation_selector argument is not zero. Old (deprecated) functions
522will continue working indefinitely using internal gymnastics; it is
523just more efficient to use the new functions.
524
525
Behdad Esfahbodb30a9712016-02-24 17:32:22 +0900526Overview of changes leading to 1.2.2
527Wednesday, February 24, 2016
528====================================
529
530- Fix regression with mark positioning with fonts that have
531 non-zero mark advances. This was introduced in 1.2.0 while
532 trying to make mark and cursive attachments to work together.
533 I have partially reverted that, so this version is much more
534 like what we had before. All clients who updated to 1.2.0
535 should update to this version.
536
537
Behdad Esfahboddabf32a2016-02-23 15:38:43 +0900538Overview of changes leading to 1.2.1
Behdad Esfahbodb30a9712016-02-24 17:32:22 +0900539Tuesday, February 23, 2016
Behdad Esfahboddabf32a2016-02-23 15:38:43 +0900540====================================
541
542- CoreText: Fix bug with wrong scale if font scale was changed later.
543 https://github.com/libass/libass/issues/212
544- CoreText: Drastically speed up font initialization.
545- CoreText: Fix tiny leak.
546- Group ZWJ/ZWNJ with previous syllable under cluster-level=0.
ebraminio7c6937e2017-11-20 14:49:22 -0500547 https://github.com/harfbuzz/harfbuzz/issues/217
Behdad Esfahboddabf32a2016-02-23 15:38:43 +0900548- Add test/shaping/README.md about how to add tests to the suite.
549
550
Behdad Esfahbod27847ca2016-02-19 15:56:50 +0700551Overview of changes leading to 1.2.0
552Friday, February 19, 2016
553====================================
554
555- Fix various issues (hangs mostly) in case of memory allocation failure.
556- Change mark zeroing types of most shapers from BY_UNICODE_LATE to
557 BY_GDEF_LATE. This seems to be what Uniscribe does.
558- Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's
559 what Windows does.
560- Allow GPOS cursive connection on marks, and fix the interaction with
561 mark attachment. This work resulted in some changes to how mark
562 attachments work. See:
ebraminio7c6937e2017-11-20 14:49:22 -0500563 https://github.com/harfbuzz/harfbuzz/issues/211
564 https://github.com/harfbuzz/harfbuzz/commit/86c68c7a2c971efe8e35b1f1bd99401dc8b688d2
Behdad Esfahbod27847ca2016-02-19 15:56:50 +0700565- Graphite2 shaper: improved negative advance handling (eg. Nastaliq).
566- Add nmake-based build system for Windows.
567- Minor speedup.
568- Misc. improvements.
569
570
Behdad Esfahbod11441292016-01-11 13:16:35 +0000571Overview of changes leading to 1.1.3
572Monday, January 11, 2016
573====================================
574
575- Ported Indic shaper to Unicode 8.0 data.
576- Universal Shaping Engine fixes.
577- Speed up CoreText shaper when font fallback happens in CoreText.
578- Documentation improvements, thanks to Khaled Hosny.
579- Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi.
580- Misc bug fixes.
581- New API:
582
583 * Font extents:
584 hb_font_extents_t
585 hb_font_get_font_extents_func_t
586 hb_font_get_font_h_extents_func_t
587 hb_font_get_font_v_extents_func_t
588 hb_font_funcs_set_font_h_extents_func
589 hb_font_funcs_set_font_v_extents_func
590 hb_font_get_h_extents
591 hb_font_get_v_extents
592 hb_font_get_extents_for_direction
593
594 * Buffer message (aka debug):
595 hb_buffer_message_func_t
596 hb_buffer_set_message_func()
597 Actual message protocol to be fleshed out later.
598
599
Behdad Esfahbodd44d52b2015-11-26 19:35:43 -0500600Overview of changes leading to 1.1.2
601Wednesday, November 26, 2015
602====================================
603
604- Fix badly-broken fallback shaper that affected terminology.
ebraminio7c6937e2017-11-20 14:49:22 -0500605 https://github.com/harfbuzz/harfbuzz/issues/187
Behdad Esfahbodd44d52b2015-11-26 19:35:43 -0500606- Fix y_scaling in Graphite shaper.
607- API changes:
608 * An unset glyph_h_origin() function in font-funcs now (sensibly)
609 implies horizontal origin at 0,0. Ie, the nil callback returns
610 true instead of false. As such, implementations that have a
611 glyph_h_origin() that simply returns true, can remove that function
612 with HarfBuzz >= 1.1.2. This results in a tiny speedup.
613
614
Behdad Esfahbodb24e93e2015-11-24 13:18:20 -0600615Overview of changes leading to 1.1.1
616Wednesday, November 24, 2015
617====================================
618
619- Build fixes, specially for hb-coretext.
620
621
Behdad Esfahbode1118ae2015-11-18 23:40:47 -0800622Overview of changes leading to 1.1.0
623Wednesday, November 18, 2015
624====================================
625
626- Implement 'stch' stretch feature for Syriac Abbreviation Mark.
ebraminio7c6937e2017-11-20 14:49:22 -0500627 https://github.com/harfbuzz/harfbuzz/issues/141
Behdad Esfahbode1118ae2015-11-18 23:40:47 -0800628- Disable use of decompose_compatibility() callback.
629- Implement "shaping" of various Unicode space characters, even
630 if the font does not support them.
ebraminio7c6937e2017-11-20 14:49:22 -0500631 https://github.com/harfbuzz/harfbuzz/issues/153
Behdad Esfahbode1118ae2015-11-18 23:40:47 -0800632- If font does not support U+2011 NO-BREAK HYPHEN, fallback to
633 U+2010 HYPHEN.
634- Changes resulting from libFuzzer continuous fuzzing:
635 * Reject font tables that need more than 8 edits,
636 * Bound buffer growth during shaping to 32x,
637 * Fix assertions and other issues at OOM / buffer max-growth.
638- Misc fixes and optimizations.
639- API changes:
640 * All fonts created with hb_font_create() now inherit from
641 (ie. have parent) hb_font_get_empty().
642
643
Behdad Esfahbod86cadc22015-10-15 20:25:29 -0300644Overview of changes leading to 1.0.6
645Thursday, October 15, 2015
646====================================
647
648- Reduce max nesting level in OT lookups from 8 to 6.
649 Should not affect any real font as far as I know.
650- Fix memory access issue in ot-font.
651- Revert default load-flags of fonts created using hb_ft_font_create()
652 back to FT_LOAD_DEFAULT|FT_LOAD_NO_HINTING. This was changed in
653 last release (1.0.5), but caused major issues, so revert.
ebraminio7c6937e2017-11-20 14:49:22 -0500654 https://github.com/harfbuzz/harfbuzz/issues/143
Behdad Esfahbod86cadc22015-10-15 20:25:29 -0300655
656
Behdad Esfahbodab170522015-10-13 10:55:33 -0300657Overview of changes leading to 1.0.5
658Tuesday, October 13, 2015
659====================================
660
661- Fix multiple memory access bugs discovered using libFuzzer.
ebraminio7c6937e2017-11-20 14:49:22 -0500662 https://github.com/harfbuzz/harfbuzz/issues/139
Behdad Esfahbodab170522015-10-13 10:55:33 -0300663 Everyone should upgrade to this version as soon as possible.
664 We now have continuous fuzzing set up, to avoid issues like
665 these creeping in again.
666- Misc fixes.
667
668- New API:
669 * hb_font_set_parent().
670 * hb_ft_font_[sg]et_load_flags()
671 The default flags for fonts created using hb_ft_font_create()
672 has changed to default to FT_LOAD_DEFAULT now. Previously it
673 was defaulting to FT_LOAD_DFEAULT|FT_LOAD_NO_HINTING.
674
675- API changes:
676 * Fonts now default to units-per-EM as their scale, instead of 0.
677 * hb_font_create_sub_font() does NOT make parent font immutable
678 anymore. hb_font_make_immutable() does.
679
680
Behdad Esfahbod432ffc42015-09-30 22:51:16 +0100681Overview of changes leading to 1.0.4
682Wednesday, September 30, 2015
683====================================
684
685- Fix minor out-of-bounds read error.
686
687
Behdad Esfahbod7f540532015-09-01 17:03:50 +0100688Overview of changes leading to 1.0.3
689Tuesday, September 1, 2015
690====================================
691
692- Start of user documentation, from Simon Cozens!
693- Implement glyph_extents() for TrueType fonts in hb-ot-font.
694- Improve GPOS cursive attachments with conflicting lookups.
695- More fixes for cluster-level = 1.
696- Uniscribe positioning fix.
697
698
Behdad Esfahbod789b89e2015-08-19 13:39:57 +0100699Overview of changes leading to 1.0.2
700Wednesday, August 19, 2015
701====================================
702
703- Fix shaping with cluster-level > 0.
704- Fix Uniscribe backend font-size scaling.
705- Declare dependencies in harfbuzz.pc.
706 FreeType is not declared though, to avoid bugs in pkg-config
707 0.26 with recursive dependencies.
708- Slightly improved debug infrastructure. More to come later.
709- Misc build fixes.
710
711
Behdad Esfahbod9002c272015-07-27 12:17:54 +0200712Overview of changes leading to 1.0.1
713Monday, July 27, 2015
714====================================
715
716- Fix out-of-bounds access in USE shaper.
717
718
Behdad Esfahbod26044232015-07-26 23:39:10 +0200719Overview of changes leading to 1.0.0
Behdad Esfahbod9002c272015-07-27 12:17:54 +0200720Sunday, July 26, 2015
Behdad Esfahbod26044232015-07-26 23:39:10 +0200721====================================
722
723- Implement Universal Shaping Engine:
724 https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm
725 http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/
726- Bump version to 1.0.0. The soname was NOT bumped.
727
728
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +0200729Overview of changes leading to 0.9.42
730Thursday, July 26, 2015
731=====================================
Behdad Esfahbod376d5872015-07-22 16:51:12 +0100732
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +0200733- New API to allow for retrieving finer-grained cluster
734 mappings if the client desires to handle them. Default
735 behavior is unchanged.
736- Fix cluster merging when removing default-ignorables.
737- Update to Unicode 8.0
738- hb-graphite2 fixes.
739- Misc fixes.
Behdad Esfahbod376d5872015-07-22 16:51:12 +0100740- Removed HB_NO_MERGE_CLUSTERS hack.
741- New API:
742 hb_buffer_cluster_level_t enum
743 hb_buffer_get_cluster_level()
744 hb_buffer_set_cluster_level()
745 hb-shape / hb-view --cluster-level
746
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +0200747
Behdad Esfahboda6446d42015-06-18 11:14:56 -0700748Overview of changes leading to 0.9.41
749Thursday, June 18, 2015
750=====================================
751
752- Fix hb-coretext with trailing whitespace in right-to-left.
753- New API: hb_buffer_reverse_range().
754- Allow implementing atomic ops in config.h.
755- Fix hb_language_t in language bindings.
756- Misc fixes.
757
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +0200758
Behdad Esfahbode3671b82015-03-20 18:03:02 -0400759Overview of changes leading to 0.9.40
760Friday, March 20, 2015
761=====================================
762
763- Another hb-coretext crasher fix. Ouch!
764- Happy Norouz!
765
766
Behdad Esfahbod02a04e62015-03-04 12:32:03 -0800767Overview of changes leading to 0.9.39
768Wednesday, March 4, 2015
769=====================================
770
771- Critical hb-coretext fixes.
772- Optimizations and refactoring; no functional change
773 expected.
774- Misc build fixes.
775
776
Behdad Esfahbod28f5e0b2015-01-23 12:45:35 -0800777Overview of changes leading to 0.9.38
778Friday, January 23, 2015
779=====================================
780
781- Fix minor out-of-bounds access in Indic shaper.
782- Change New Tai Lue shaping engine from South-East Asian to default,
783 reflecting change in Unicode encoding model.
784- Add hb-shape --font-size. Can take up to two numbers for separate
785 x / y size.
786- Fix CoreText and FreeType scale issues with negative scales.
787- Reject blobs larger than 2GB. This might break some icu-le-hb clients
788 that need security fixes. See:
789 http://www.icu-project.org/trac/ticket/11450
790- Avoid accessing font tables during face destruction, in casce rogue
791 clients released face data already.
792- Fix up gobject-introspection a bit. Python bindings kinda working.
793 See README.python.
794- Misc fixes.
795- API additions:
796 hb_ft_face_create_referenced()
797 hb_ft_font_create_referenced()
798
799
Behdad Esfahbod66e37402014-12-17 12:09:17 -0800800Overview of changes leading to 0.9.37
801Wednesday, December 17, 2014
802=====================================
803
804- Fix out-of-bounds access in Context lookup format 3.
805- Indic: Allow ZWJ/ZWNJ before syllable modifiers.
806
807
Behdad Esfahbodc0e95ab2014-11-20 14:42:24 -0800808Overview of changes leading to 0.9.36
809Thursday, November 20, 2014
810=====================================
811
812- First time that three months went by without a release since
813 0.9.2 was released on August 10, 2012!
814- Fix performance bug in hb_ot_collect_glyphs():
815 https://bugzilla.mozilla.org/show_bug.cgi?id=1090869
816- Add basic vertical-text support to hb-ot-font.
817- Misc build fixes.
818
819
Behdad Esfahbodcd5a1142014-08-13 12:39:34 -0400820Overview of changes leading to 0.9.35
821Saturday, August 13, 2014
822=====================================
823
824- Fix major shape-plan caching bug when more than one shaper were
825 provided to hb_shape_full() (as exercised by XeTeX).
826 http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
827- Fix Arabic fallback shaping regression. This was broken in 0.9.32.
828- Major hb-coretext fixes. That backend is complete now, including
829 respecing buffer direction and language, down to vertical writing.
830- Build fixes for Windows CE. Should build fine now.
831- Misc fixes:
832 Use atexit() only if it's safe to call from shared library
833 https://bugs.freedesktop.org/show_bug.cgi?id=82246
834 Mandaic had errors in its Unicode Joining_Type
835 https://bugs.freedesktop.org/show_bug.cgi?id=82306
836- API changes:
837
838 * hb_buffer_clear_contents() does not reset buffer flags now.
839
840 After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't
841 need to set flags for different pieces of text. The flags now
842 are something the client sets up once, depending on how it
843 actually uses the buffer. As such, don't clear it in
844 clear_contents().
845
846 I don't expect any changes to be needed to any existing client.
847
848
Behdad Esfahbod91c2c0f2014-08-02 19:24:55 -0400849Overview of changes leading to 0.9.34
850Saturday, August 2, 2014
851=====================================
852
853- hb_feature_from_string() now accepts CSS font-feature-settings format.
854- As a result, hb-shape / hb-view --features also accept CSS-style strings.
855 Eg, "'liga' off" is accepted now.
856- Add old-spec Myanmar shaper:
857 https://bugs.freedesktop.org/show_bug.cgi?id=81775
858- Don't apply 'calt' in Hangul shaper.
859- Fix mark advance zeroing for Hebrew shaper:
860 https://bugs.freedesktop.org/show_bug.cgi?id=76767
861- Implement Windows-1256 custom Arabic shaping. Only built on Windows,
862 and requires help from get_glyph(). Used by Firefox.
863 https://bugzilla.mozilla.org/show_bug.cgi?id=1045139
864- Disable 'liga' in vertical text.
865- Build fixes.
866- API changes:
867
868 * Make HB_BUFFER_FLAG_BOT/EOT easier to use.
869
870 Previously, we expected users to provide BOT/EOT flags when the
871 text *segment* was at paragraph boundaries. This meant that for
872 clients that provide full paragraph to HarfBuzz (eg. Pango), they
873 had code like this:
874
875 hb_buffer_set_flags (hb_buffer,
876 (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) |
877 (item_offset + item_length == paragraph_length ?
878 HB_BUFFER_FLAG_EOT : 0));
879
880 hb_buffer_add_utf8 (hb_buffer,
881 paragraph_text, paragraph_length,
882 item_offset, item_length);
883
884 After this change such clients can simply say:
885
886 hb_buffer_set_flags (hb_buffer,
887 HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT);
888
889 hb_buffer_add_utf8 (hb_buffer,
890 paragraph_text, paragraph_length,
891 item_offset, item_length);
892
893 Ie, HarfBuzz itself checks whether the segment is at the beginning/end
894 of the paragraph. Clients that only pass item-at-a-time to HarfBuzz
895 continue not setting any flags whatsoever.
896
897 Another way to put it is: if there's pre-context text in the buffer,
898 HarfBuzz ignores the BOT flag. If there's post-context, it ignores
899 EOT flag.
900
901
Behdad Esfahbod8c1bdb42014-07-22 17:56:43 -0400902Overview of changes leading to 0.9.33
903Tuesday, July 22, 2014
904=====================================
905
906- Turn off ARabic 'cswh' feature that was accidentally turned on.
907- Add HB_TAG_MAX_SIGNED.
908- Make hb_face_make_immutable() really make face immutable!
909- Windows build fixes.
910
911
Behdad Esfahbod66f30912014-07-17 16:05:47 -0400912Overview of changes leading to 0.9.32
913Thursday, July 17, 2014
914=====================================
915
916- Apply Arabic shaping features in spec order exactly.
917- Another fix for Mongolian free variation selectors.
918- For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt'
919 together.
920- Minor adjustment to U+FFFD logic.
921- Fix hb-coretext build.
922
923
Behdad Esfahboda18897f2014-07-16 16:02:15 -0400924Overview of changes leading to 0.9.31
925Wednesday, July 16, 2014
926=====================================
927
928- Only accept valid UTF-8/16/32; we missed many cases before.
929- Better shaping of invalid UTF-8/16/32. Falls back to
930 U+FFFD REPLACEMENT CHARACTER now.
931- With all changes in this release, the buffer will contain fully
932 valid Unicode after hb_buffer_add_utf8/16/32 no matter how
Unknown97145df2017-11-03 09:05:00 -0400933 broken the input is. This can be overridden though. See below.
Behdad Esfahboda18897f2014-07-16 16:02:15 -0400934- Fix Mongolian Variation Selectors for fonts without GDEF.
935- Fix minor invalid buffer access.
936- Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language()
937 now uses these instead of private tags.
938- Build fixes.
939- New API:
940 * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32()
941 used to do, ie. no validity check on the input at all. add_utf32
942 now replaces invalid Unicode codepoints with the replacement
943 character (see below).
944 * hb_buffer_set_replacement_codepoint()
945 * hb_buffer_get_replacement_codepoint()
946 Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when
947 we detected broken input, we replaced that with (hb_codepoint_t)-1.
948 This has changed to use U+FFFD now, but can be changed using these
949 new API.
950
951
Behdad Esfahbodea001372014-07-09 17:28:43 -0400952Overview of changes leading to 0.9.30
953Wednesday, July 9, 2014
954=====================================
Behdad Esfahboda18897f2014-07-16 16:02:15 -0400955
Behdad Esfahbodea001372014-07-09 17:28:43 -0400956- Update to Unicode 7.0.0:
957 * New scripts Manichaean and Psalter Pahlavi are shaped using
958 Arabic shaper.
959 * All the other new scripts to through the generic shaper for
960 now.
961- Minor Indic improvements.
962- Fix graphite2 backend cluster mapping [crasher!]
963- API changes:
964 * New HB_SCRIPT_* values for Unicode 7.0 scripts.
965 * New function hb_ot_layout_language_get_required_feature().
966- Build fixes.
967
968
Behdad Esfahbod5875ad92014-05-29 15:48:16 -0400969Overview of changes leading to 0.9.29
970Thursday, May 29, 2014
971=====================================
972
973- Implement cmap in hb-ot-font.h. No variation-selectors yet.
974- Myanmar: Allow MedialYa+Asat.
975- Various Indic fixes:
976 * Support most characters in Extended Devanagary and Vedic
977 Unicode blocks.
978 * Allow digits and a some punctuation as consonant placeholders.
979- Build fixes.
980
Behdad Esfahbodea001372014-07-09 17:28:43 -0400981
Behdad Esfahbod79ecdc32014-04-28 14:24:23 -0700982Overview of changes leading to 0.9.28
983Monday, April 28, 2014
984=====================================
985
986- Unbreak old-spec Indic shaping. (bug 76705)
987- Fix shaping of U+17DD and U+0FC6.
988- Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default
989 for shipping libraries. It's an option for further experimentation
990 right now. When we are sure how to do it properly, we will add
991 public run-time API for the functionality.
992- Build fixes.
993
994
Dominik Röttschesba8c9d92014-03-18 14:39:03 +0200995Overview of changes leading to 0.9.27
996Tuesday, March 18, 2014
997=====================================
998
999- Don't use "register" storage class specifier
1000- Wrap definition of free_langs() with HAVE_ATEXIT
1001- Add coretext_aat shaper and hb_coretext_face_create() constructor
1002- If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
1003- Add Myanmar test case from OpenType Myanmar spec
1004- Only do fallback Hebrew composition if no GPOS 'mark' available
1005- Allow bootstrapping without gtk-doc
1006- Use AM_MISSING_PROG for ragel and git
1007- Typo in ucdn's Makefile.am
1008- Improve MemoryBarrier() implementation
1009
1010
Behdad Esfahbod189bf232014-01-30 15:14:58 -05001011Overview of changes leading to 0.9.26
1012Thursday, January 30, 2014
1013=====================================
1014
1015- Misc fixes.
1016- Fix application of 'rtlm' feature.
1017- Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH.
1018- New header: hb-ot-shape.h
1019- Uniscribe: fix scratch-buffer accounting.
1020- Reorder Tai Tham SAKOT to after tone-marks.
1021- Add Hangul shaper.
1022- New files:
1023 hb-ot-shape-complex-hangul.cc
1024 hb-ot-shape-complex-hebrew.cc
1025 hb-ot-shape-complex-tibetan.cc
1026- Disable 'cswh' feature in Arabic shaper.
1027- Coretext: better handle surrogate pairs.
1028- Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE.
1029
1030
Behdad Esfahbod860fc9a2013-12-04 20:06:59 -05001031Overview of changes leading to 0.9.25
1032Wednesday, December 4, 2013
1033=====================================
1034
1035- Myanmar shaper improvements.
1036- Avoid font fallback in CoreText backend.
1037- Additional OpenType language tag mappiongs.
1038- More aggressive shape-plan caching.
1039- Build with / require automake 1.13.
1040- Build with libtool 2.4.2.418 alpha to support ppc64le.
1041
1042
Behdad Esfahbod63006942013-11-13 14:54:07 -05001043Overview of changes leading to 0.9.24
1044Tuesday, November 13, 2013
1045=====================================
1046
1047- Misc compiler warning fixes with clang.
1048- No functional changes.
1049
1050
Behdad Esfahboddce79c22013-10-28 20:26:40 +01001051Overview of changes leading to 0.9.23
1052Monday, October 28, 2013
1053=====================================
1054
1055- "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
1056- Fix (Chain)Context recursion with non-monotone lookup positions.
1057- Misc Indic bug fixes.
1058- New Javanese / Buginese shaping, similar to Windows 8.1.
1059
1060
Behdad Esfahbode152d1a2013-10-03 15:09:37 -04001061Overview of changes leading to 0.9.22
1062Thursday, October 3, 2013
1063=====================================
1064
1065- Fix use-after-end-of-scope in hb_language_from_string().
1066- Fix hiding of default_ignorables if font doesn't have space glyph.
1067- Protect against out-of-range lookup indices.
1068
1069- API Changes:
1070
1071 * Added hb_ot_layout_table_get_lookup_count()
1072
1073
Behdad Esfahbodb61f97d2013-09-16 22:07:22 -04001074Overview of changes leading to 0.9.21
1075Monday, September 16, 2013
1076=====================================
1077
1078- Rename gobject-introspection library name from harfbuzz to HarfBuzz.
1079- Remove (long disabled) hb-old and hb-icu-le test shapers.
1080- Misc gtk-doc and gobject-introspection annotations.
1081- Misc fixes.
1082- API changes:
1083
1084 * Add HB_SET_VALUE_INVALID
1085
Behdad Esfahbodf730b5d2013-08-29 15:53:33 -04001086Overview of changes leading to 0.9.20
1087Thursday, August 29, 2013
1088=====================================
1089
1090General:
1091- Misc substitute_closure() fixes.
1092- Build fixes.
1093
1094Documentation:
1095- gtk-doc boilerplate integrated. Docs are built now, but
1096 contain no contents. By next release hopefully we have
1097 some content in. Enable using --enable-gtk-doc.
1098
1099GObject and Introspection:
1100- Added harfbuzz-gobject library (hb-gobject.h) that has type
1101 bindings for all HarfBuzz objects and enums. Enable using
1102 --with-gobject.
1103- Added gobject-introspection boilerplate. Nothing useful
1104 right now. Work in progress. Gets enabled automatically if
1105 --with-gobject is used. Override with --disable-introspection.
1106
1107OpenType shaper:
1108- Apply 'mark' in Myanmar shaper.
1109- Don't apply 'dlig' by default.
1110
1111Uniscribe shaper:
1112- Support user features.
1113- Fix loading of fonts that are also installed on the system.
1114- Fix shaping of Arabic Presentation Forms.
1115- Fix build with wide chars.
1116
1117CoreText shaper:
1118- Support user features.
1119
1120Source changes:
1121- hb_face_t code moved to hb-face.h / hb-face.cc.
1122- Added hb-deprecated.h.
1123
1124API changes:
1125- Added HB_DISABLE_DEPRECATED.
1126- Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
1127 HB_SCRIPT_CANADIAN_SYLLABICS.
1128- Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
1129 HB_BUFFER_FLAG_DEFAULT.
1130- Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
1131 HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
1132
1133
Behdad Esfahbod2b78d672013-07-16 16:06:27 -04001134Overview of changes leading to 0.9.19
1135Tuesday, July 16, 2013
1136=====================================
1137
1138- Build fixes.
1139- Better handling of multiple variation selectors in a row.
1140- Pass on variation selector to GSUB if not consumed by cmap.
1141- Fix undefined memory access.
1142- Add Javanese config to Indic shaper.
1143- Misc bug fixes.
1144
Behdad Esfahbod4014aa42013-05-28 17:28:59 -04001145Overview of changes leading to 0.9.18
1146Tuesday, May 28, 2013
1147=====================================
1148
1149New build system:
1150
1151- All unneeded code is all disabled by default,
1152
1153- Uniscribe and CoreText shapers can be enabled with their --with options,
1154
1155- icu_le and old shapers cannot be enabled for now,
1156
1157- glib, freetype, and cairo will be detected automatically.
1158 They can be force on/off'ed with their --with options,
1159
1160- icu and graphite2 are default off, can be enabled with their --with
1161 options,
1162
1163Moreover, ICU support is now build into a separate library:
1164libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
1165Distros can enable ICU now without every application on earth
1166getting linked to via libharfbuzz.so.
1167
1168For distros I recommend that they make sure they are building --with-glib
1169--with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
1170And package harfbuzz and harfbuzz-icu separately.
1171
1172
Behdad Esfahbodf1b02f42013-05-20 09:23:58 -04001173Overview of changes leading to 0.9.17
1174Monday, May 20, 2013
1175=====================================
1176
1177- Build fixes.
1178- Fix bug in hb_set_get_min().
1179- Fix regression with Arabic mark positioning / width-zeroing.
1180
Behdad Esfahboda408d232013-04-19 16:32:06 -04001181Overview of changes leading to 0.9.16
1182Friday, April 19, 2013
1183=====================================
1184
1185- Major speedup in OpenType lookup processing. With the Amiri
1186 Arabic font, this release is over 3x faster than previous
1187 release. All scripts / languages should see this speedup.
1188
1189- New --num-iterations option for hb-shape / hb-view; useful for
1190 profiling.
1191
Behdad Esfahbod22e47452013-04-05 18:02:43 -04001192Overview of changes leading to 0.9.15
Behdad Esfahboda408d232013-04-19 16:32:06 -04001193Friday, April 05, 2013
Behdad Esfahbod22e47452013-04-05 18:02:43 -04001194=====================================
1195
1196- Build fixes.
1197- Fix crasher in graphite2 shaper.
1198- Fix Arabic mark width zeroing regression.
1199- Don't compose Hangul jamo into Unicode syllables.
1200
1201
Behdad Esfahbodf872a172013-03-21 13:38:06 -04001202Overview of changes leading to 0.9.14
1203Thursday, March 21, 2013
1204=====================================
1205
1206- Build fixes.
1207- Fix time-consuming sanitize with malicious fonts.
1208- Implement hb_buffer_deserialize_glyphs() for both json and text.
1209- Do not ignore Hangul filler characters.
1210- Indic fixes:
1211 * Fix Malayalam pre-base reordering interaction with post-forms.
1212 * Further adjust ZWJ handling. Should fix known regressions from
1213 0.9.13.
1214
1215
Behdad Esfahbod05686b52013-02-25 18:19:20 -05001216Overview of changes leading to 0.9.13
1217Thursday, February 25, 2013
1218=====================================
1219
1220- Build fixes.
1221- Ngapi HarfBuzz Hackfest in London (February 2013):
1222 * Fixed all known Indic bugs,
1223 * New Win8-style Myanmar shaper,
1224 * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
1225 * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
1226 matching GSUB/GPOS lookups,
1227 * Fix 'Phags-Pa U+A872 shaping,
1228 * Fix partial disabling of default-on features,
1229 * Allow disabling of TrueType kerning.
1230- Fix possible crasher with broken fonts with overlapping tables.
1231- Removed generated files from git again. So, one needs ragel to
1232 bootstrap from the git tree.
1233
1234API changes:
1235- hb_shape() and related APIs now abort if buffer direction is
1236 HB_DIRECTION_INVALID. Previously, hb_shape() was calling
1237 hb_buffer_guess_segment_properties() on the buffer before
1238 shaping. The heuristics in that function are fragile. If the
1239 user really wants the old behvaior, they can call that function
1240 right before calling hb_shape() to get the old behavior.
1241- hb_blob_create_sub_blob() always creates sub-blob with
1242 HB_MEMORY_MODE_READONLY. See comments for the reason.
1243
1244
Behdad Esfahbod09b53932013-01-18 17:10:47 -06001245Overview of changes leading to 0.9.12
1246Thursday, January 18, 2013
1247=====================================
1248
1249- Build fixes for Sun compiler.
1250- Minor bug fix.
1251
Behdad Esfahbodcf81fb32013-01-10 09:06:34 -06001252Overview of changes leading to 0.9.11
1253Thursday, January 10, 2013
1254=====================================
1255
1256- Build fixes.
1257- Fix GPOS mark attachment with null Anchor offsets.
1258- [Indic] Fix old-spec reordering of viramas if sequence ends in one.
1259- Fix multi-threaded shaper data creation crash.
1260- Add atomic ops for Solaris.
1261
1262API changes:
1263- Rename hb_buffer_clear() to hb_buffer_clear_contents().
1264
1265
Behdad Esfahbod34e6c3e2013-01-03 00:14:24 -06001266Overview of changes leading to 0.9.10
1267Thursday, January 3, 2013
1268=====================================
1269
1270- [Indic] Fixed rendering of Malayalam dot-reph
1271- Updated OT language tags.
1272- Updated graphite2 backend.
1273- Improved hb_ot_layout_get_size_params() logic.
1274- Improve hb-shape/hb-view help output.
1275- Fixed hb-set.h implementation to not crash.
1276- Fixed various issues with hb_ot_layout_collect_lookups().
1277- Various build fixes.
1278
1279New API:
1280
1281hb_graphite2_face_get_gr_face()
1282hb_graphite2_font_get_gr_font()
1283hb_coretext_face_get_cg_font()
1284
1285Modified API:
1286
1287hb_ot_layout_get_size_params()
1288
1289
Behdad Esfahbodc6408a12012-12-05 17:36:52 -05001290Overview of changes leading to 0.9.9
1291Wednesday, December 5, 2012
1292====================================
1293
1294- Fix build on Windows.
1295- Minor improvements.
1296
1297
Behdad Esfahboda52f51b2012-12-04 15:43:38 -05001298Overview of changes leading to 0.9.8
1299Tuesday, December 4, 2012
1300====================================
1301
1302
1303- Actually implement hb_shape_plan_get_shaper ().
1304- Make UCDB data tables const.
1305- Lots of internal refactoring in OTLayout tables.
1306- Flesh out hb_ot_layout_lookup_collect_glyphs().
1307
1308New API:
1309
1310hb_ot_layout_collect_lookups()
1311hb_ot_layout_get_size_params()
1312
1313
Behdad Esfahbod4c896352012-11-21 01:20:56 -05001314Overview of changes leading to 0.9.7
1315Sunday, November 21, 2012
1316====================================
1317
1318
1319HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
1320
1321- Fix Arabic contextual joining using pre-context text.
1322- Fix Sinhala "split matra" mess.
1323- Fix Khmer shaping with broken fonts.
1324- Implement Thai "PUA" shaping for old fonts.
1325- Do NOT route Kharoshthi script through the Indic shaper.
1326- Disable fallback positioning for Indic and Thai shapers.
1327- Misc fixes.
1328
1329
1330hb-shape / hb-view changes:
1331
1332- Add --text-before and --text-after
1333- Add --bot / --eot / --preserve-default-ignorables
1334- hb-shape --output-format=json
1335
1336
1337New API:
1338
1339hb_buffer_clear()
1340
1341hb_buffer_flags_t
1342
1343HB_BUFFER_FLAGS_DEFAULT
1344HB_BUFFER_FLAG_BOT
1345HB_BUFFER_FLAG_EOT
1346HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
1347
1348hb_buffer_set_flags()
1349hb_buffer_get_flags()
1350
1351HB_BUFFER_SERIALIZE_FLAGS
1352hb_buffer_serialize_glyphs()
1353hb_buffer_deserialize_glyphs()
1354hb_buffer_serialize_list_formats()
1355
1356hb_set_add_range()
1357hb_set_del_range()
1358hb_set_get_population()
1359hb_set_next_range()
1360
1361hb_face_[sg]et_glyph_count()
1362
1363hb_segment_properties_t
1364HB_SEGMENT_PROPERTIES_DEFAULT
1365hb_segment_properties_equal()
1366hb_segment_properties_hash()
1367
1368hb_buffer_set_segment_properties()
1369hb_buffer_get_segment_properties()
1370
1371hb_ot_layout_glyph_class_t
1372hb_ot_layout_get_glyph_class()
1373hb_ot_layout_get_glyphs_in_class()
1374
1375hb_shape_plan_t
1376hb_shape_plan_create()
1377hb_shape_plan_create_cached()
1378hb_shape_plan_get_empty()
1379hb_shape_plan_reference()
1380hb_shape_plan_destroy()
1381hb_shape_plan_set_user_data()
1382hb_shape_plan_get_user_data()
1383hb_shape_plan_execute()
1384hb_shape_plan_get_shaper()
1385
1386hb_ot_shape_plan_collect_lookups()
1387
1388
1389API changes:
1390
1391- Remove "mask" parameter from hb_buffer_add().
1392- Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
1393- hb-set.h API const correction.
1394- Renamed hb_set_min/max() to hb_set_get_min/max().
1395- Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
1396- Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
1397
1398
1399
Behdad Esfahbodda43a922012-11-13 13:48:26 -08001400Overview of changes leading to 0.9.6
1401Sunday, November 13, 2012
1402====================================
1403
1404- Don't clear pre-context text if no new context is provided.
1405- Fix ReverseChainingSubstLookup, which was totally borked.
1406- Adjust output format of hb-shape a bit.
1407- Include config.h.in in-tree. Makes it easier for alternate build systems.
1408- Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
1409- Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
1410- Drop glyphs for all of Unicode Default_Ignorable characters.
1411- Misc build fixes.
1412
1413Arabic shaper:
1414- Enable 'dlig' and 'mset' features in Arabic shaper.
1415- Implement 'Phags-pa shaping, improve Mongolian.
1416
1417Indic shaper:
1418- Decompose Sinhala split matras the way old HarfBuzz / Pango did.
1419- Initial support for Consonant Medials.
1420- Start adding new-style Myanmar shaping.
1421- Make reph and 'pref' logic introspect the font.
1422- Route Meetei-Mayek through the Indic shaper.
1423- Don't apply 'liga' in Indic shaper.
1424- Improve Malayalam pre-base reordering Ra interaction with Chillus.
1425
1426
1427
Behdad Esfahbod13c05842012-10-14 18:37:09 -05001428Overview of changes leading to 0.9.5
1429Sunday, October 14, 2012
1430====================================
1431
1432- Synthetic-GSUB Arabic fallback shaping.
1433
1434- Misc Indic improvements.
1435
1436- Add build system support for pthread.
1437
1438- Imported UCDN for in-tree Unicode callbacks implementation.
1439
1440- Context-aware Arabic joining.
1441
1442- Misc other fixes.
1443
1444- New API:
1445
1446 hb_feature_to/from-string()
1447 hb_buffer_[sg]et_content_type()
1448
1449
1450
Behdad Esfahbodf7e81ce2012-09-04 15:32:37 -04001451Overview of changes leading to 0.9.4
1452Tuesday, Sep 03, 2012
1453====================================
1454
1455- Indic improvements with old-spec Malayalam.
1456
1457- Better fallback glyph positioning, specially with Thai / Lao marks.
1458
1459- Implement dotted-circle insertion.
1460
1461- Better Arabic fallback shaping / ligation.
1462
1463- Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
1464
1465- Misc fixes.
1466
1467
1468
Behdad Esfahbod7fe00d12012-08-18 13:59:46 -04001469Overview of changes leading to 0.9.3
1470Friday, Aug 18, 2012
1471====================================
1472
1473- Fixed fallback mark positioning for left-to-right text.
1474
1475- Improve mark positioning for the remaining combining classes.
1476
1477- Unbreak Thai and fallback Arabic shaping.
1478
1479- Port Arabic shaper to shape-plan caching.
1480
1481- Use new ICU normalizer functions.
1482
1483
1484
Behdad Esfahbode297ee42012-08-10 14:49:37 -04001485Overview of changes leading to 0.9.2
Behdad Esfahbod9fe76052012-08-15 17:24:28 -04001486Friday, Aug 10, 2012
Behdad Esfahbode297ee42012-08-10 14:49:37 -04001487====================================
1488
1489- Over a thousand commits! This is the first major release of HarfBuzz.
1490
1491- HarfBuzz is feature-complete now! It should be in par, or better, than
1492 both Pango's shapers and old HarfBuzz / Qt shapers.
1493
1494- New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
1495
1496- Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
1497 Sinhala, N'ko, Mongolian, and Mandaic.
1498
1499- New Thai / Lao shaper.
1500
1501- Tibetan / Hangul support in the generic shaper.
1502
1503- Synthetic GDEF support for fonts without a GDEF table.
1504
1505- Fallback mark positioning for fonts without a GPOS table.
1506
1507- Unicode normalization shaping heuristic during glyph mapping.
1508
1509- New experimental Graphite2 backend.
1510
1511- New Uniscribe backend (primarily for testing).
1512
1513- New CoreText backend (primarily for testing).
1514
1515- Major optimization and speedup.
1516
1517- Test suites and testing infrastructure (work in progress).
1518
1519- Greatly improved hb-view cmdline tool.
1520
1521- hb-shape cmdline tool.
1522
1523- Unicode 6.1 support.
1524
1525Summary of API changes:
1526
1527o Changed API:
1528
1529 - Users are expected to only include main header files now (ie. hb.h,
1530 hb-glib.h, hb-ft.h, ...)
1531
1532 - All struct tag names had their initial underscore removed.
1533 Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
1534
1535 - All set_user_data() functions now take a "replace" boolean parameter.
1536
1537 - hb_buffer_create() takes zero arguments now.
1538 Use hb_buffer_pre_allocate() to pre-allocate.
1539
1540 - hb_buffer_add_utf*() now accept -1 for length parameteres,
1541 meaning "nul-terminated".
1542
1543 - hb_direction_t enum values changed.
1544
1545 - All *_from_string() APIs now take a length parameter to allow for
1546 non-nul-terminated strings. A -1 length means "nul-terminated".
1547
1548 - Typedef for hb_language_t changed.
1549
1550 - hb_get_table_func_t renamed to hb_reference_table_func_t.
1551
1552 - hb_ot_layout_table_choose_script()
1553
1554 - Various renames in hb-unicode.h.
1555
1556o New API:
1557
1558 - hb_buffer_guess_properties()
1559 Automatically called by hb_shape().
1560
1561 - hb_buffer_normalize_glyphs()
1562
1563 - hb_tag_from_string()
1564
1565 - hb-coretext.h
1566
1567 - hb-uniscribe.h
1568
1569 - hb_face_reference_blob()
1570 - hb_face_[sg]et_index()
1571 - hb_face_set_upem()
1572
1573 - hb_font_get_glyph_name_func_t
1574 hb_font_get_glyph_from_name_func_t
1575 hb_font_funcs_set_glyph_name_func()
1576 hb_font_funcs_set_glyph_from_name_func()
1577 hb_font_get_glyph_name()
1578 hb_font_get_glyph_from_name()
1579 hb_font_glyph_to_string()
1580 hb_font_glyph_from_string()
1581
1582 - hb_font_set_funcs_data()
1583
1584 - hb_ft_font_set_funcs()
1585 - hb_ft_font_get_face()
1586
1587 - hb-gobject.h (work in progress)
1588
1589 - hb_ot_shape_glyphs_closure()
1590 hb_ot_layout_substitute_closure_lookup()
1591
1592 - hb-set.h
1593
1594 - hb_shape_full()
1595
1596 - hb_unicode_combining_class_t
1597
1598 - hb_unicode_compose_func_t
1599 hb_unicode_decompose_func_t
1600 hb_unicode_decompose_compatibility_func_t
1601 hb_unicode_funcs_set_compose_func()
1602 hb_unicode_funcs_set_decompose_func()
1603 hb_unicode_funcs_set_decompose_compatibility_func()
1604 hb_unicode_compose()
1605 hb_unicode_decompose()
1606 hb_unicode_decompose_compatibility()
1607
1608o Removed API:
1609
1610 - hb_ft_get_font_funcs()
1611
1612 - hb_ot_layout_substitute_start()
1613 hb_ot_layout_substitute_lookup()
1614 hb_ot_layout_substitute_finish()
1615 hb_ot_layout_position_start()
1616 hb_ot_layout_position_lookup()
1617 hb_ot_layout_position_finish()
1618
1619
1620
Behdad Esfahbodf2455762011-05-25 16:08:06 -04001621Overview of changes leading to 0.6.0
1622Friday, May 27, 2011
1623====================================
1624
1625- Vertical text support in GPOS
1626- Almost all API entries have unit tests now, under test/
1627- All thread-safety issues are fixed
1628
1629Summary of API changes follows.
1630
1631
1632* Simple Types API:
1633
1634 o New API:
1635 HB_LANGUAGE_INVALID
1636 hb_language_get_default()
1637 hb_direction_to_string()
1638 hb_direction_from_string()
1639 hb_script_get_horizontal_direction()
1640 HB_UNTAG()
1641
1642 o Renamed API:
1643 hb_category_t renamed to hb_unicode_general_category_t
1644
1645 o Changed API:
1646 hb_language_t is a typed pointers now
1647
1648 o Removed API:
1649 HB_TAG_STR()
1650
1651
1652* Use ISO 15924 tags for hb_script_t:
1653
1654 o New API:
1655 hb_script_from_iso15924_tag()
1656 hb_script_to_iso15924_tag()
1657 hb_script_from_string()
1658
1659 o Changed API:
1660 HB_SCRIPT_* enum members changed value.
1661
1662
1663* Buffer API streamlined:
1664
1665 o New API:
1666 hb_buffer_reset()
1667 hb_buffer_set_length()
1668 hb_buffer_allocation_successful()
1669
1670 o Renamed API:
1671 hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
1672 hb_buffer_add_glyph() renamed to hb_buffer_add()
1673
1674 o Removed API:
1675 hb_buffer_clear()
1676 hb_buffer_clear_positions()
1677
1678 o Changed API:
1679 hb_buffer_get_glyph_infos() takes an out length parameter now
1680 hb_buffer_get_glyph_positions() takes an out length parameter now
1681
1682
1683* Blob API streamlined:
1684
1685 o New API:
1686 hb_blob_get_data()
1687 hb_blob_get_data_writable()
1688
1689 o Renamed API:
1690 hb_blob_create_empty() renamed to hb_blob_get_empty()
1691
1692 o Removed API:
1693 hb_blob_lock()
1694 hb_blob_unlock()
1695 hb_blob_is_writable()
1696 hb_blob_try_writable()
1697
1698 o Changed API:
1699 hb_blob_create() takes user_data before destroy now
1700
1701
1702* Unicode functions API:
1703
1704 o Unicode function vectors can subclass other unicode function vectors now.
1705 Unimplemented callbacks in the subclass automatically chainup to the parent.
1706
1707 o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
1708 take a user_data and its respective destroy callback.
1709
1710 o New API:
1711 hb_unicode_funcs_get_empty()
1712 hb_unicode_funcs_get_default()
1713 hb_unicode_funcs_get_parent()
1714
1715 o Changed API:
1716 hb_unicode_funcs_create() now takes a parent_funcs.
1717
1718 o Removed func getter functions:
1719 hb_unicode_funcs_get_mirroring_func()
1720 hb_unicode_funcs_get_general_category_func()
1721 hb_unicode_funcs_get_script_func()
1722 hb_unicode_funcs_get_combining_class_func()
1723 hb_unicode_funcs_get_eastasian_width_func()
1724
1725
1726* Face API:
1727
1728 o Renamed API:
1729 hb_face_get_table() renamed to hb_face_reference_table()
1730 hb_face_create_for_data() renamed to hb_face_create()
1731
1732 o Changed API:
1733 hb_face_create_for_tables() takes user_data before destroy now
1734 hb_face_reference_table() returns empty blob instead of NULL
1735 hb_get_table_func_t accepts the face as first parameter now
1736
1737* Font API:
1738
1739 o Fonts can subclass other fonts now. Unimplemented callbacks in the
1740 subclass automatically chainup to the parent. When chaining up,
1741 scale is adjusted if the parent font has a different scale.
1742
1743 o All hb_font_funcs_t callbacks take a user_data now. Their setters
1744 take a user_data and its respective destroy callback.
1745
1746 o New API:
1747 hb_font_get_parent()
1748 hb_font_funcs_get_empty()
1749 hb_font_create_sub_font()
1750
1751 o Removed API:
1752 hb_font_funcs_copy()
1753 hb_font_unset_funcs()
1754
1755 o Removed func getter functions:
1756 hb_font_funcs_get_glyph_func()
1757 hb_font_funcs_get_glyph_advance_func()
1758 hb_font_funcs_get_glyph_extents_func()
1759 hb_font_funcs_get_contour_point_func()
1760 hb_font_funcs_get_kerning_func()
1761
1762 o Changed API:
1763 hb_font_create() takes a face and references it now
1764 hb_font_set_funcs() takes user_data before destroy now
1765 hb_font_set_scale() accepts signed integers now
1766 hb_font_get_contour_point_func_t now takes glyph first, then point_index
1767 hb_font_get_glyph_func_t returns a success boolean now
1768
1769
1770* Changed object model:
1771
1772 o All object types have a _get_empty() now:
1773 hb_blob_get_empty()
1774 hb_buffer_get_empty()
1775 hb_face_get_empty()
1776 hb_font_get_empty()
1777 hb_font_funcs_get_empty()
1778 hb_unicode_funcs_get_empty()
1779
1780 o Added _set_user_data() and _get_user_data() for all object types:
1781 hb_blob_get_user_data()
1782 hb_blob_set_user_data()
1783 hb_buffer_get_user_data()
1784 hb_buffer_set_user_data()
1785 hb_face_get_user_data()
1786 hb_face_set_user_data()
1787 hb_font_funcs_get_user_data()
1788 hb_font_funcs_set_user_data()
1789 hb_font_get_user_data()
1790 hb_font_set_user_data()
1791 hb_unicode_funcs_get_user_data()
1792 hb_unicode_funcs_set_user_data()
1793
1794 o Removed the _get_reference_count() from all object types:
1795 hb_blob_get_reference_count()
1796 hb_buffer_get_reference_count()
1797 hb_face_get_reference_count()
1798 hb_font_funcs_get_reference_count()
1799 hb_font_get_reference_count()
1800 hb_unicode_funcs_get_reference_count()
1801
1802 o Added _make_immutable() and _is_immutable() for all object types except for buffer:
1803 hb_blob_make_immutable()
1804 hb_blob_is_immutable()
1805 hb_face_make_immutable()
1806 hb_face_is_immutable()
1807
1808
1809* Changed API for vertical text support
1810
1811 o The following callbacks where removed:
1812 hb_font_get_glyph_advance_func_t
1813 hb_font_get_kerning_func_t
1814
1815 o The following new callbacks added instead:
1816 hb_font_get_glyph_h_advance_func_t
1817 hb_font_get_glyph_v_advance_func_t
1818 hb_font_get_glyph_h_origin_func_t
1819 hb_font_get_glyph_v_origin_func_t
1820 hb_font_get_glyph_h_kerning_func_t
1821 hb_font_get_glyph_v_kerning_func_t
1822
1823 o The following API removed as such:
1824 hb_font_funcs_set_glyph_advance_func()
1825 hb_font_funcs_set_kerning_func()
1826 hb_font_get_glyph_advance()
1827 hb_font_get_kerning()
1828
1829 o New API added instead:
1830 hb_font_funcs_set_glyph_h_advance_func()
1831 hb_font_funcs_set_glyph_v_advance_func()
1832 hb_font_funcs_set_glyph_h_origin_func()
1833 hb_font_funcs_set_glyph_v_origin_func()
1834 hb_font_funcs_set_glyph_h_kerning_func()
1835 hb_font_funcs_set_glyph_v_kerning_func()
1836 hb_font_get_glyph_h_advance()
1837 hb_font_get_glyph_v_advance()
1838 hb_font_get_glyph_h_origin()
1839 hb_font_get_glyph_v_origin()
1840 hb_font_get_glyph_h_kerning()
1841 hb_font_get_glyph_v_kerning()
1842
1843 o The following higher-leve API added for convenience:
1844 hb_font_get_glyph_advance_for_direction()
1845 hb_font_get_glyph_origin_for_direction()
1846 hb_font_add_glyph_origin_for_direction()
1847 hb_font_subtract_glyph_origin_for_direction()
1848 hb_font_get_glyph_kerning_for_direction()
1849 hb_font_get_glyph_extents_for_origin()
1850 hb_font_get_glyph_contour_point_for_origin()
1851
1852
1853* OpenType Layout API:
1854
1855 o New API:
1856 hb_ot_layout_position_start()
1857 hb_ot_layout_substitute_start()
1858 hb_ot_layout_substitute_finish()
1859
1860
1861* Glue code:
1862
1863 o New API:
1864 hb_glib_script_to_script()
1865 hb_glib_script_from_script()
1866 hb_icu_script_to_script()
1867 hb_icu_script_from_script()
1868
1869
1870* Version API added:
1871
1872 o New API:
1873 HB_VERSION_MAJOR
1874 HB_VERSION_MINOR
1875 HB_VERSION_MICRO
1876 HB_VERSION_STRING
1877 HB_VERSION_CHECK()
1878 hb_version()
1879 hb_version_string()
1880 hb_version_check()
1881
1882