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