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