blob: 52686870c31de238cdbffb0eb0d5383e67da0204 [file] [log] [blame]
Behdad Esfahbodd22ab6c2016-09-07 14:28:47 -07001Overview of changes leading to 1.3.1
2Wednesday, September 7, 2016
3====================================
4
5- Blacklist bad GDEF of more fonts (Padauk).
6- More CoreText backend crash fixes with OS X 10.9.5.
7- Misc fixes.
8
9
Behdad Esfahboda732e002016-07-21 01:58:00 -070010Overview of changes leading to 1.3.0
11Thursday, July 21, 2016
12====================================
13
14- Update to Unicode 9.0.0
15- Move Javanese from Indic shaper to Universal Shaping Engine.
16- Allow MultipleSubst to delete a glyph (matching Windows engine).
17- Update Universal Shaping Engine to latest draft from Microsoft.
18- DirectWrite backend improvements. Note: this backend is for testing ONLY.
19- CoreText backend improvements with unreachable fonts.
20- Implement symbol fonts (cmap 3.0.0) in hb-ft and hb-ot-font.
21- Blacklist bad GDEF of more fonts (Tahoma & others).
22- Misc fixes.
23
24
Behdad Esfahboda5b7b0d2016-05-02 10:44:13 +020025Overview of changes leading to 1.2.7
26Monday, May 2, 2016
27====================================
28
29- Blacklist another version of Times New Roman (Bold) Italic from Windows 7.
30- Fix Mongolian Free Variation Selectors shaping with certain fonts.
31- Fix Tibetan shorthand contractions shaping.
32- Improved list of language tag mappings.
33- Unbreak build on Windows CE.
34- Make 'glyf' table loading lazy in hb-ot-font.
35
36
Behdad Esfahbod00ea66f2016-04-08 13:51:01 -070037Overview of changes leading to 1.2.6
38Friday, April 8, 2016
39====================================
40
41- Blacklist GDEF table of another set of Times New Roman (Bold) Italic.
42- DirectWrite backend improvements. Note: DirectWrite backend is
43 exclusively for our internal testing and should NOT be used in any
44 production system whatsoever.
45
46
Behdad Esfahboda0331b52016-04-04 16:25:32 -070047Overview of changes leading to 1.2.5
48Monday, April 4, 2016
49====================================
50
51- Fix GDEF mark-filtering-set, which was broken in 1.2.3.
52
53
Behdad Esfahbod0251b0c2016-03-17 14:37:11 -070054Overview of changes leading to 1.2.4
55Thursday, March 17, 2016
56====================================
57
58- Synthesize GDEF glyph class for any glyph that does not have one in GDEF.
59 I really hope we don't discover broken fonts that shape badly with this
60 change.
61- Misc build and other minor fixes.
62- API changes:
63 - Added HB_NDEBUG. It's fine for production systems to define this to
64 disable high-overhead debugging checks. However, I also reduced the
65 overhead of those checks, so it's a non-issue right now. You can
66 forget it. Just not defining anything at all is fine.
67
68
Behdad Esfahbod75568b02016-02-25 12:26:26 +090069Overview of changes leading to 1.2.3
70Thursday, February 25, 2016
71====================================
72
73- Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic,
74 due to bug in glyph class of ASCII double-quote character. This should
75 address "regression" introduced in 1.2.0 when we switched mark zeroing
76 in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE.
77 This fourth release in a week should finally stablize things...
78
79- hb-ot-font's get_glyph() implementation saw some optimizations. Though,
80 might be really hard to measure in real-world situations.
81
82- Also, two rather small API changes:
83
84We now disable some time-consuming internal bookkeeping if built with NDEBUG
85defined. This is a first time that we use NDEBUG to disable debug code. If
86there exist production systems that do NOT want to enable NDEBUG, please let
87me know and I'll add HB_NDEBUG.
88
89Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()
90
91New API:
92- hb_font_get_nominal_glyph_func_t
93- hb_font_get_variation_glyph_func_t
94- hb_font_funcs_set_nominal_glyph_func()
95- hb_font_funcs_set_variation_glyph_func()
96- hb_font_get_nominal_glyph()
97- hb_font_get_variation_glyph()
98
99Deprecated API:
100- hb_font_get_glyph_func_t
101- hb_font_funcs_set_glyph_func()
102
103Clients that implement their own font-funcs are encouraged to replace
104their get_glyph() implementation with a get_nominal_glyph() and
105get_variation_glyph() pair. The variation version can assume that
106variation_selector argument is not zero. Old (deprecated) functions
107will continue working indefinitely using internal gymnastics; it is
108just more efficient to use the new functions.
109
110
Behdad Esfahbodb30a9712016-02-24 17:32:22 +0900111Overview of changes leading to 1.2.2
112Wednesday, February 24, 2016
113====================================
114
115- Fix regression with mark positioning with fonts that have
116 non-zero mark advances. This was introduced in 1.2.0 while
117 trying to make mark and cursive attachments to work together.
118 I have partially reverted that, so this version is much more
119 like what we had before. All clients who updated to 1.2.0
120 should update to this version.
121
122
Behdad Esfahboddabf32a2016-02-23 15:38:43 +0900123Overview of changes leading to 1.2.1
Behdad Esfahbodb30a9712016-02-24 17:32:22 +0900124Tuesday, February 23, 2016
Behdad Esfahboddabf32a2016-02-23 15:38:43 +0900125====================================
126
127- CoreText: Fix bug with wrong scale if font scale was changed later.
128 https://github.com/libass/libass/issues/212
129- CoreText: Drastically speed up font initialization.
130- CoreText: Fix tiny leak.
131- Group ZWJ/ZWNJ with previous syllable under cluster-level=0.
132 https://github.com/behdad/harfbuzz/issues/217
133- Add test/shaping/README.md about how to add tests to the suite.
134
135
Behdad Esfahbod27847ca2016-02-19 15:56:50 +0700136Overview of changes leading to 1.2.0
137Friday, February 19, 2016
138====================================
139
140- Fix various issues (hangs mostly) in case of memory allocation failure.
141- Change mark zeroing types of most shapers from BY_UNICODE_LATE to
142 BY_GDEF_LATE. This seems to be what Uniscribe does.
143- Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's
144 what Windows does.
145- Allow GPOS cursive connection on marks, and fix the interaction with
146 mark attachment. This work resulted in some changes to how mark
147 attachments work. See:
148 https://github.com/behdad/harfbuzz/issues/211
149 https://github.com/behdad/harfbuzz/commit/86c68c7a2c971efe8e35b1f1bd99401dc8b688d2
150- Graphite2 shaper: improved negative advance handling (eg. Nastaliq).
151- Add nmake-based build system for Windows.
152- Minor speedup.
153- Misc. improvements.
154
155
Behdad Esfahbod11441292016-01-11 13:16:35 +0000156Overview of changes leading to 1.1.3
157Monday, January 11, 2016
158====================================
159
160- Ported Indic shaper to Unicode 8.0 data.
161- Universal Shaping Engine fixes.
162- Speed up CoreText shaper when font fallback happens in CoreText.
163- Documentation improvements, thanks to Khaled Hosny.
164- Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi.
165- Misc bug fixes.
166- New API:
167
168 * Font extents:
169 hb_font_extents_t
170 hb_font_get_font_extents_func_t
171 hb_font_get_font_h_extents_func_t
172 hb_font_get_font_v_extents_func_t
173 hb_font_funcs_set_font_h_extents_func
174 hb_font_funcs_set_font_v_extents_func
175 hb_font_get_h_extents
176 hb_font_get_v_extents
177 hb_font_get_extents_for_direction
178
179 * Buffer message (aka debug):
180 hb_buffer_message_func_t
181 hb_buffer_set_message_func()
182 Actual message protocol to be fleshed out later.
183
184
Behdad Esfahbodd44d52b2015-11-26 19:35:43 -0500185Overview of changes leading to 1.1.2
186Wednesday, November 26, 2015
187====================================
188
189- Fix badly-broken fallback shaper that affected terminology.
190 https://github.com/behdad/harfbuzz/issues/187
191- Fix y_scaling in Graphite shaper.
192- API changes:
193 * An unset glyph_h_origin() function in font-funcs now (sensibly)
194 implies horizontal origin at 0,0. Ie, the nil callback returns
195 true instead of false. As such, implementations that have a
196 glyph_h_origin() that simply returns true, can remove that function
197 with HarfBuzz >= 1.1.2. This results in a tiny speedup.
198
199
Behdad Esfahbodb24e93e2015-11-24 13:18:20 -0600200Overview of changes leading to 1.1.1
201Wednesday, November 24, 2015
202====================================
203
204- Build fixes, specially for hb-coretext.
205
206
Behdad Esfahbode1118ae2015-11-18 23:40:47 -0800207Overview of changes leading to 1.1.0
208Wednesday, November 18, 2015
209====================================
210
211- Implement 'stch' stretch feature for Syriac Abbreviation Mark.
212 https://github.com/behdad/harfbuzz/issues/141
213- Disable use of decompose_compatibility() callback.
214- Implement "shaping" of various Unicode space characters, even
215 if the font does not support them.
216 https://github.com/behdad/harfbuzz/issues/153
217- If font does not support U+2011 NO-BREAK HYPHEN, fallback to
218 U+2010 HYPHEN.
219- Changes resulting from libFuzzer continuous fuzzing:
220 * Reject font tables that need more than 8 edits,
221 * Bound buffer growth during shaping to 32x,
222 * Fix assertions and other issues at OOM / buffer max-growth.
223- Misc fixes and optimizations.
224- API changes:
225 * All fonts created with hb_font_create() now inherit from
226 (ie. have parent) hb_font_get_empty().
227
228
Behdad Esfahbod86cadc22015-10-15 20:25:29 -0300229Overview of changes leading to 1.0.6
230Thursday, October 15, 2015
231====================================
232
233- Reduce max nesting level in OT lookups from 8 to 6.
234 Should not affect any real font as far as I know.
235- Fix memory access issue in ot-font.
236- Revert default load-flags of fonts created using hb_ft_font_create()
237 back to FT_LOAD_DEFAULT|FT_LOAD_NO_HINTING. This was changed in
238 last release (1.0.5), but caused major issues, so revert.
239 https://github.com/behdad/harfbuzz/issues/143
240
241
Behdad Esfahbodab170522015-10-13 10:55:33 -0300242Overview of changes leading to 1.0.5
243Tuesday, October 13, 2015
244====================================
245
246- Fix multiple memory access bugs discovered using libFuzzer.
247 https://github.com/behdad/harfbuzz/issues/139
248 Everyone should upgrade to this version as soon as possible.
249 We now have continuous fuzzing set up, to avoid issues like
250 these creeping in again.
251- Misc fixes.
252
253- New API:
254 * hb_font_set_parent().
255 * hb_ft_font_[sg]et_load_flags()
256 The default flags for fonts created using hb_ft_font_create()
257 has changed to default to FT_LOAD_DEFAULT now. Previously it
258 was defaulting to FT_LOAD_DFEAULT|FT_LOAD_NO_HINTING.
259
260- API changes:
261 * Fonts now default to units-per-EM as their scale, instead of 0.
262 * hb_font_create_sub_font() does NOT make parent font immutable
263 anymore. hb_font_make_immutable() does.
264
265
Behdad Esfahbod432ffc42015-09-30 22:51:16 +0100266Overview of changes leading to 1.0.4
267Wednesday, September 30, 2015
268====================================
269
270- Fix minor out-of-bounds read error.
271
272
Behdad Esfahbod7f540532015-09-01 17:03:50 +0100273Overview of changes leading to 1.0.3
274Tuesday, September 1, 2015
275====================================
276
277- Start of user documentation, from Simon Cozens!
278- Implement glyph_extents() for TrueType fonts in hb-ot-font.
279- Improve GPOS cursive attachments with conflicting lookups.
280- More fixes for cluster-level = 1.
281- Uniscribe positioning fix.
282
283
Behdad Esfahbod789b89e2015-08-19 13:39:57 +0100284Overview of changes leading to 1.0.2
285Wednesday, August 19, 2015
286====================================
287
288- Fix shaping with cluster-level > 0.
289- Fix Uniscribe backend font-size scaling.
290- Declare dependencies in harfbuzz.pc.
291 FreeType is not declared though, to avoid bugs in pkg-config
292 0.26 with recursive dependencies.
293- Slightly improved debug infrastructure. More to come later.
294- Misc build fixes.
295
296
Behdad Esfahbod9002c272015-07-27 12:17:54 +0200297Overview of changes leading to 1.0.1
298Monday, July 27, 2015
299====================================
300
301- Fix out-of-bounds access in USE shaper.
302
303
Behdad Esfahbod26044232015-07-26 23:39:10 +0200304Overview of changes leading to 1.0.0
Behdad Esfahbod9002c272015-07-27 12:17:54 +0200305Sunday, July 26, 2015
Behdad Esfahbod26044232015-07-26 23:39:10 +0200306====================================
307
308- Implement Universal Shaping Engine:
309 https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm
310 http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/
311- Bump version to 1.0.0. The soname was NOT bumped.
312
313
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +0200314Overview of changes leading to 0.9.42
315Thursday, July 26, 2015
316=====================================
Behdad Esfahbod376d5872015-07-22 16:51:12 +0100317
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +0200318- New API to allow for retrieving finer-grained cluster
319 mappings if the client desires to handle them. Default
320 behavior is unchanged.
321- Fix cluster merging when removing default-ignorables.
322- Update to Unicode 8.0
323- hb-graphite2 fixes.
324- Misc fixes.
Behdad Esfahbod376d5872015-07-22 16:51:12 +0100325- Removed HB_NO_MERGE_CLUSTERS hack.
326- New API:
327 hb_buffer_cluster_level_t enum
328 hb_buffer_get_cluster_level()
329 hb_buffer_set_cluster_level()
330 hb-shape / hb-view --cluster-level
331
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +0200332
Behdad Esfahboda6446d42015-06-18 11:14:56 -0700333Overview of changes leading to 0.9.41
334Thursday, June 18, 2015
335=====================================
336
337- Fix hb-coretext with trailing whitespace in right-to-left.
338- New API: hb_buffer_reverse_range().
339- Allow implementing atomic ops in config.h.
340- Fix hb_language_t in language bindings.
341- Misc fixes.
342
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +0200343
Behdad Esfahbode3671b82015-03-20 18:03:02 -0400344Overview of changes leading to 0.9.40
345Friday, March 20, 2015
346=====================================
347
348- Another hb-coretext crasher fix. Ouch!
349- Happy Norouz!
350
351
Behdad Esfahbod02a04e62015-03-04 12:32:03 -0800352Overview of changes leading to 0.9.39
353Wednesday, March 4, 2015
354=====================================
355
356- Critical hb-coretext fixes.
357- Optimizations and refactoring; no functional change
358 expected.
359- Misc build fixes.
360
361
Behdad Esfahbod28f5e0b2015-01-23 12:45:35 -0800362Overview of changes leading to 0.9.38
363Friday, January 23, 2015
364=====================================
365
366- Fix minor out-of-bounds access in Indic shaper.
367- Change New Tai Lue shaping engine from South-East Asian to default,
368 reflecting change in Unicode encoding model.
369- Add hb-shape --font-size. Can take up to two numbers for separate
370 x / y size.
371- Fix CoreText and FreeType scale issues with negative scales.
372- Reject blobs larger than 2GB. This might break some icu-le-hb clients
373 that need security fixes. See:
374 http://www.icu-project.org/trac/ticket/11450
375- Avoid accessing font tables during face destruction, in casce rogue
376 clients released face data already.
377- Fix up gobject-introspection a bit. Python bindings kinda working.
378 See README.python.
379- Misc fixes.
380- API additions:
381 hb_ft_face_create_referenced()
382 hb_ft_font_create_referenced()
383
384
Behdad Esfahbod66e37402014-12-17 12:09:17 -0800385Overview of changes leading to 0.9.37
386Wednesday, December 17, 2014
387=====================================
388
389- Fix out-of-bounds access in Context lookup format 3.
390- Indic: Allow ZWJ/ZWNJ before syllable modifiers.
391
392
Behdad Esfahbodc0e95ab2014-11-20 14:42:24 -0800393Overview of changes leading to 0.9.36
394Thursday, November 20, 2014
395=====================================
396
397- First time that three months went by without a release since
398 0.9.2 was released on August 10, 2012!
399- Fix performance bug in hb_ot_collect_glyphs():
400 https://bugzilla.mozilla.org/show_bug.cgi?id=1090869
401- Add basic vertical-text support to hb-ot-font.
402- Misc build fixes.
403
404
Behdad Esfahbodcd5a1142014-08-13 12:39:34 -0400405Overview of changes leading to 0.9.35
406Saturday, August 13, 2014
407=====================================
408
409- Fix major shape-plan caching bug when more than one shaper were
410 provided to hb_shape_full() (as exercised by XeTeX).
411 http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
412- Fix Arabic fallback shaping regression. This was broken in 0.9.32.
413- Major hb-coretext fixes. That backend is complete now, including
414 respecing buffer direction and language, down to vertical writing.
415- Build fixes for Windows CE. Should build fine now.
416- Misc fixes:
417 Use atexit() only if it's safe to call from shared library
418 https://bugs.freedesktop.org/show_bug.cgi?id=82246
419 Mandaic had errors in its Unicode Joining_Type
420 https://bugs.freedesktop.org/show_bug.cgi?id=82306
421- API changes:
422
423 * hb_buffer_clear_contents() does not reset buffer flags now.
424
425 After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't
426 need to set flags for different pieces of text. The flags now
427 are something the client sets up once, depending on how it
428 actually uses the buffer. As such, don't clear it in
429 clear_contents().
430
431 I don't expect any changes to be needed to any existing client.
432
433
Behdad Esfahbod91c2c0f2014-08-02 19:24:55 -0400434Overview of changes leading to 0.9.34
435Saturday, August 2, 2014
436=====================================
437
438- hb_feature_from_string() now accepts CSS font-feature-settings format.
439- As a result, hb-shape / hb-view --features also accept CSS-style strings.
440 Eg, "'liga' off" is accepted now.
441- Add old-spec Myanmar shaper:
442 https://bugs.freedesktop.org/show_bug.cgi?id=81775
443- Don't apply 'calt' in Hangul shaper.
444- Fix mark advance zeroing for Hebrew shaper:
445 https://bugs.freedesktop.org/show_bug.cgi?id=76767
446- Implement Windows-1256 custom Arabic shaping. Only built on Windows,
447 and requires help from get_glyph(). Used by Firefox.
448 https://bugzilla.mozilla.org/show_bug.cgi?id=1045139
449- Disable 'liga' in vertical text.
450- Build fixes.
451- API changes:
452
453 * Make HB_BUFFER_FLAG_BOT/EOT easier to use.
454
455 Previously, we expected users to provide BOT/EOT flags when the
456 text *segment* was at paragraph boundaries. This meant that for
457 clients that provide full paragraph to HarfBuzz (eg. Pango), they
458 had code like this:
459
460 hb_buffer_set_flags (hb_buffer,
461 (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) |
462 (item_offset + item_length == paragraph_length ?
463 HB_BUFFER_FLAG_EOT : 0));
464
465 hb_buffer_add_utf8 (hb_buffer,
466 paragraph_text, paragraph_length,
467 item_offset, item_length);
468
469 After this change such clients can simply say:
470
471 hb_buffer_set_flags (hb_buffer,
472 HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT);
473
474 hb_buffer_add_utf8 (hb_buffer,
475 paragraph_text, paragraph_length,
476 item_offset, item_length);
477
478 Ie, HarfBuzz itself checks whether the segment is at the beginning/end
479 of the paragraph. Clients that only pass item-at-a-time to HarfBuzz
480 continue not setting any flags whatsoever.
481
482 Another way to put it is: if there's pre-context text in the buffer,
483 HarfBuzz ignores the BOT flag. If there's post-context, it ignores
484 EOT flag.
485
486
Behdad Esfahbod8c1bdb42014-07-22 17:56:43 -0400487Overview of changes leading to 0.9.33
488Tuesday, July 22, 2014
489=====================================
490
491- Turn off ARabic 'cswh' feature that was accidentally turned on.
492- Add HB_TAG_MAX_SIGNED.
493- Make hb_face_make_immutable() really make face immutable!
494- Windows build fixes.
495
496
Behdad Esfahbod66f30912014-07-17 16:05:47 -0400497Overview of changes leading to 0.9.32
498Thursday, July 17, 2014
499=====================================
500
501- Apply Arabic shaping features in spec order exactly.
502- Another fix for Mongolian free variation selectors.
503- For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt'
504 together.
505- Minor adjustment to U+FFFD logic.
506- Fix hb-coretext build.
507
508
Behdad Esfahboda18897f2014-07-16 16:02:15 -0400509Overview of changes leading to 0.9.31
510Wednesday, July 16, 2014
511=====================================
512
513- Only accept valid UTF-8/16/32; we missed many cases before.
514- Better shaping of invalid UTF-8/16/32. Falls back to
515 U+FFFD REPLACEMENT CHARACTER now.
516- With all changes in this release, the buffer will contain fully
517 valid Unicode after hb_buffer_add_utf8/16/32 no matter how
518 broken the input is. This can be overriden though. See below.
519- Fix Mongolian Variation Selectors for fonts without GDEF.
520- Fix minor invalid buffer access.
521- Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language()
522 now uses these instead of private tags.
523- Build fixes.
524- New API:
525 * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32()
526 used to do, ie. no validity check on the input at all. add_utf32
527 now replaces invalid Unicode codepoints with the replacement
528 character (see below).
529 * hb_buffer_set_replacement_codepoint()
530 * hb_buffer_get_replacement_codepoint()
531 Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when
532 we detected broken input, we replaced that with (hb_codepoint_t)-1.
533 This has changed to use U+FFFD now, but can be changed using these
534 new API.
535
536
Behdad Esfahbodea001372014-07-09 17:28:43 -0400537Overview of changes leading to 0.9.30
538Wednesday, July 9, 2014
539=====================================
Behdad Esfahboda18897f2014-07-16 16:02:15 -0400540
Behdad Esfahbodea001372014-07-09 17:28:43 -0400541- Update to Unicode 7.0.0:
542 * New scripts Manichaean and Psalter Pahlavi are shaped using
543 Arabic shaper.
544 * All the other new scripts to through the generic shaper for
545 now.
546- Minor Indic improvements.
547- Fix graphite2 backend cluster mapping [crasher!]
548- API changes:
549 * New HB_SCRIPT_* values for Unicode 7.0 scripts.
550 * New function hb_ot_layout_language_get_required_feature().
551- Build fixes.
552
553
Behdad Esfahbod5875ad92014-05-29 15:48:16 -0400554Overview of changes leading to 0.9.29
555Thursday, May 29, 2014
556=====================================
557
558- Implement cmap in hb-ot-font.h. No variation-selectors yet.
559- Myanmar: Allow MedialYa+Asat.
560- Various Indic fixes:
561 * Support most characters in Extended Devanagary and Vedic
562 Unicode blocks.
563 * Allow digits and a some punctuation as consonant placeholders.
564- Build fixes.
565
Behdad Esfahbodea001372014-07-09 17:28:43 -0400566
Behdad Esfahbod79ecdc32014-04-28 14:24:23 -0700567Overview of changes leading to 0.9.28
568Monday, April 28, 2014
569=====================================
570
571- Unbreak old-spec Indic shaping. (bug 76705)
572- Fix shaping of U+17DD and U+0FC6.
573- Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default
574 for shipping libraries. It's an option for further experimentation
575 right now. When we are sure how to do it properly, we will add
576 public run-time API for the functionality.
577- Build fixes.
578
579
Dominik Röttschesba8c9d92014-03-18 14:39:03 +0200580Overview of changes leading to 0.9.27
581Tuesday, March 18, 2014
582=====================================
583
584- Don't use "register" storage class specifier
585- Wrap definition of free_langs() with HAVE_ATEXIT
586- Add coretext_aat shaper and hb_coretext_face_create() constructor
587- If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
588- Add Myanmar test case from OpenType Myanmar spec
589- Only do fallback Hebrew composition if no GPOS 'mark' available
590- Allow bootstrapping without gtk-doc
591- Use AM_MISSING_PROG for ragel and git
592- Typo in ucdn's Makefile.am
593- Improve MemoryBarrier() implementation
594
595
Behdad Esfahbod189bf232014-01-30 15:14:58 -0500596Overview of changes leading to 0.9.26
597Thursday, January 30, 2014
598=====================================
599
600- Misc fixes.
601- Fix application of 'rtlm' feature.
602- Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH.
603- New header: hb-ot-shape.h
604- Uniscribe: fix scratch-buffer accounting.
605- Reorder Tai Tham SAKOT to after tone-marks.
606- Add Hangul shaper.
607- New files:
608 hb-ot-shape-complex-hangul.cc
609 hb-ot-shape-complex-hebrew.cc
610 hb-ot-shape-complex-tibetan.cc
611- Disable 'cswh' feature in Arabic shaper.
612- Coretext: better handle surrogate pairs.
613- Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE.
614
615
Behdad Esfahbod860fc9a2013-12-04 20:06:59 -0500616Overview of changes leading to 0.9.25
617Wednesday, December 4, 2013
618=====================================
619
620- Myanmar shaper improvements.
621- Avoid font fallback in CoreText backend.
622- Additional OpenType language tag mappiongs.
623- More aggressive shape-plan caching.
624- Build with / require automake 1.13.
625- Build with libtool 2.4.2.418 alpha to support ppc64le.
626
627
Behdad Esfahbod63006942013-11-13 14:54:07 -0500628Overview of changes leading to 0.9.24
629Tuesday, November 13, 2013
630=====================================
631
632- Misc compiler warning fixes with clang.
633- No functional changes.
634
635
Behdad Esfahboddce79c22013-10-28 20:26:40 +0100636Overview of changes leading to 0.9.23
637Monday, October 28, 2013
638=====================================
639
640- "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
641- Fix (Chain)Context recursion with non-monotone lookup positions.
642- Misc Indic bug fixes.
643- New Javanese / Buginese shaping, similar to Windows 8.1.
644
645
Behdad Esfahbode152d1a2013-10-03 15:09:37 -0400646Overview of changes leading to 0.9.22
647Thursday, October 3, 2013
648=====================================
649
650- Fix use-after-end-of-scope in hb_language_from_string().
651- Fix hiding of default_ignorables if font doesn't have space glyph.
652- Protect against out-of-range lookup indices.
653
654- API Changes:
655
656 * Added hb_ot_layout_table_get_lookup_count()
657
658
Behdad Esfahbodb61f97d2013-09-16 22:07:22 -0400659Overview of changes leading to 0.9.21
660Monday, September 16, 2013
661=====================================
662
663- Rename gobject-introspection library name from harfbuzz to HarfBuzz.
664- Remove (long disabled) hb-old and hb-icu-le test shapers.
665- Misc gtk-doc and gobject-introspection annotations.
666- Misc fixes.
667- API changes:
668
669 * Add HB_SET_VALUE_INVALID
670
Behdad Esfahbodf730b5d2013-08-29 15:53:33 -0400671Overview of changes leading to 0.9.20
672Thursday, August 29, 2013
673=====================================
674
675General:
676- Misc substitute_closure() fixes.
677- Build fixes.
678
679Documentation:
680- gtk-doc boilerplate integrated. Docs are built now, but
681 contain no contents. By next release hopefully we have
682 some content in. Enable using --enable-gtk-doc.
683
684GObject and Introspection:
685- Added harfbuzz-gobject library (hb-gobject.h) that has type
686 bindings for all HarfBuzz objects and enums. Enable using
687 --with-gobject.
688- Added gobject-introspection boilerplate. Nothing useful
689 right now. Work in progress. Gets enabled automatically if
690 --with-gobject is used. Override with --disable-introspection.
691
692OpenType shaper:
693- Apply 'mark' in Myanmar shaper.
694- Don't apply 'dlig' by default.
695
696Uniscribe shaper:
697- Support user features.
698- Fix loading of fonts that are also installed on the system.
699- Fix shaping of Arabic Presentation Forms.
700- Fix build with wide chars.
701
702CoreText shaper:
703- Support user features.
704
705Source changes:
706- hb_face_t code moved to hb-face.h / hb-face.cc.
707- Added hb-deprecated.h.
708
709API changes:
710- Added HB_DISABLE_DEPRECATED.
711- Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
712 HB_SCRIPT_CANADIAN_SYLLABICS.
713- Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
714 HB_BUFFER_FLAG_DEFAULT.
715- Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
716 HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
717
718
Behdad Esfahbod2b78d672013-07-16 16:06:27 -0400719Overview of changes leading to 0.9.19
720Tuesday, July 16, 2013
721=====================================
722
723- Build fixes.
724- Better handling of multiple variation selectors in a row.
725- Pass on variation selector to GSUB if not consumed by cmap.
726- Fix undefined memory access.
727- Add Javanese config to Indic shaper.
728- Misc bug fixes.
729
Behdad Esfahbod4014aa42013-05-28 17:28:59 -0400730Overview of changes leading to 0.9.18
731Tuesday, May 28, 2013
732=====================================
733
734New build system:
735
736- All unneeded code is all disabled by default,
737
738- Uniscribe and CoreText shapers can be enabled with their --with options,
739
740- icu_le and old shapers cannot be enabled for now,
741
742- glib, freetype, and cairo will be detected automatically.
743 They can be force on/off'ed with their --with options,
744
745- icu and graphite2 are default off, can be enabled with their --with
746 options,
747
748Moreover, ICU support is now build into a separate library:
749libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
750Distros can enable ICU now without every application on earth
751getting linked to via libharfbuzz.so.
752
753For distros I recommend that they make sure they are building --with-glib
754--with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
755And package harfbuzz and harfbuzz-icu separately.
756
757
Behdad Esfahbodf1b02f42013-05-20 09:23:58 -0400758Overview of changes leading to 0.9.17
759Monday, May 20, 2013
760=====================================
761
762- Build fixes.
763- Fix bug in hb_set_get_min().
764- Fix regression with Arabic mark positioning / width-zeroing.
765
Behdad Esfahboda408d232013-04-19 16:32:06 -0400766Overview of changes leading to 0.9.16
767Friday, April 19, 2013
768=====================================
769
770- Major speedup in OpenType lookup processing. With the Amiri
771 Arabic font, this release is over 3x faster than previous
772 release. All scripts / languages should see this speedup.
773
774- New --num-iterations option for hb-shape / hb-view; useful for
775 profiling.
776
Behdad Esfahbod22e47452013-04-05 18:02:43 -0400777Overview of changes leading to 0.9.15
Behdad Esfahboda408d232013-04-19 16:32:06 -0400778Friday, April 05, 2013
Behdad Esfahbod22e47452013-04-05 18:02:43 -0400779=====================================
780
781- Build fixes.
782- Fix crasher in graphite2 shaper.
783- Fix Arabic mark width zeroing regression.
784- Don't compose Hangul jamo into Unicode syllables.
785
786
Behdad Esfahbodf872a172013-03-21 13:38:06 -0400787Overview of changes leading to 0.9.14
788Thursday, March 21, 2013
789=====================================
790
791- Build fixes.
792- Fix time-consuming sanitize with malicious fonts.
793- Implement hb_buffer_deserialize_glyphs() for both json and text.
794- Do not ignore Hangul filler characters.
795- Indic fixes:
796 * Fix Malayalam pre-base reordering interaction with post-forms.
797 * Further adjust ZWJ handling. Should fix known regressions from
798 0.9.13.
799
800
Behdad Esfahbod05686b52013-02-25 18:19:20 -0500801Overview of changes leading to 0.9.13
802Thursday, February 25, 2013
803=====================================
804
805- Build fixes.
806- Ngapi HarfBuzz Hackfest in London (February 2013):
807 * Fixed all known Indic bugs,
808 * New Win8-style Myanmar shaper,
809 * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
810 * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
811 matching GSUB/GPOS lookups,
812 * Fix 'Phags-Pa U+A872 shaping,
813 * Fix partial disabling of default-on features,
814 * Allow disabling of TrueType kerning.
815- Fix possible crasher with broken fonts with overlapping tables.
816- Removed generated files from git again. So, one needs ragel to
817 bootstrap from the git tree.
818
819API changes:
820- hb_shape() and related APIs now abort if buffer direction is
821 HB_DIRECTION_INVALID. Previously, hb_shape() was calling
822 hb_buffer_guess_segment_properties() on the buffer before
823 shaping. The heuristics in that function are fragile. If the
824 user really wants the old behvaior, they can call that function
825 right before calling hb_shape() to get the old behavior.
826- hb_blob_create_sub_blob() always creates sub-blob with
827 HB_MEMORY_MODE_READONLY. See comments for the reason.
828
829
Behdad Esfahbod09b53932013-01-18 17:10:47 -0600830Overview of changes leading to 0.9.12
831Thursday, January 18, 2013
832=====================================
833
834- Build fixes for Sun compiler.
835- Minor bug fix.
836
Behdad Esfahbodcf81fb32013-01-10 09:06:34 -0600837Overview of changes leading to 0.9.11
838Thursday, January 10, 2013
839=====================================
840
841- Build fixes.
842- Fix GPOS mark attachment with null Anchor offsets.
843- [Indic] Fix old-spec reordering of viramas if sequence ends in one.
844- Fix multi-threaded shaper data creation crash.
845- Add atomic ops for Solaris.
846
847API changes:
848- Rename hb_buffer_clear() to hb_buffer_clear_contents().
849
850
Behdad Esfahbod34e6c3e2013-01-03 00:14:24 -0600851Overview of changes leading to 0.9.10
852Thursday, January 3, 2013
853=====================================
854
855- [Indic] Fixed rendering of Malayalam dot-reph
856- Updated OT language tags.
857- Updated graphite2 backend.
858- Improved hb_ot_layout_get_size_params() logic.
859- Improve hb-shape/hb-view help output.
860- Fixed hb-set.h implementation to not crash.
861- Fixed various issues with hb_ot_layout_collect_lookups().
862- Various build fixes.
863
864New API:
865
866hb_graphite2_face_get_gr_face()
867hb_graphite2_font_get_gr_font()
868hb_coretext_face_get_cg_font()
869
870Modified API:
871
872hb_ot_layout_get_size_params()
873
874
Behdad Esfahbodc6408a12012-12-05 17:36:52 -0500875Overview of changes leading to 0.9.9
876Wednesday, December 5, 2012
877====================================
878
879- Fix build on Windows.
880- Minor improvements.
881
882
Behdad Esfahboda52f51b2012-12-04 15:43:38 -0500883Overview of changes leading to 0.9.8
884Tuesday, December 4, 2012
885====================================
886
887
888- Actually implement hb_shape_plan_get_shaper ().
889- Make UCDB data tables const.
890- Lots of internal refactoring in OTLayout tables.
891- Flesh out hb_ot_layout_lookup_collect_glyphs().
892
893New API:
894
895hb_ot_layout_collect_lookups()
896hb_ot_layout_get_size_params()
897
898
Behdad Esfahbod4c896352012-11-21 01:20:56 -0500899Overview of changes leading to 0.9.7
900Sunday, November 21, 2012
901====================================
902
903
904HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
905
906- Fix Arabic contextual joining using pre-context text.
907- Fix Sinhala "split matra" mess.
908- Fix Khmer shaping with broken fonts.
909- Implement Thai "PUA" shaping for old fonts.
910- Do NOT route Kharoshthi script through the Indic shaper.
911- Disable fallback positioning for Indic and Thai shapers.
912- Misc fixes.
913
914
915hb-shape / hb-view changes:
916
917- Add --text-before and --text-after
918- Add --bot / --eot / --preserve-default-ignorables
919- hb-shape --output-format=json
920
921
922New API:
923
924hb_buffer_clear()
925
926hb_buffer_flags_t
927
928HB_BUFFER_FLAGS_DEFAULT
929HB_BUFFER_FLAG_BOT
930HB_BUFFER_FLAG_EOT
931HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
932
933hb_buffer_set_flags()
934hb_buffer_get_flags()
935
936HB_BUFFER_SERIALIZE_FLAGS
937hb_buffer_serialize_glyphs()
938hb_buffer_deserialize_glyphs()
939hb_buffer_serialize_list_formats()
940
941hb_set_add_range()
942hb_set_del_range()
943hb_set_get_population()
944hb_set_next_range()
945
946hb_face_[sg]et_glyph_count()
947
948hb_segment_properties_t
949HB_SEGMENT_PROPERTIES_DEFAULT
950hb_segment_properties_equal()
951hb_segment_properties_hash()
952
953hb_buffer_set_segment_properties()
954hb_buffer_get_segment_properties()
955
956hb_ot_layout_glyph_class_t
957hb_ot_layout_get_glyph_class()
958hb_ot_layout_get_glyphs_in_class()
959
960hb_shape_plan_t
961hb_shape_plan_create()
962hb_shape_plan_create_cached()
963hb_shape_plan_get_empty()
964hb_shape_plan_reference()
965hb_shape_plan_destroy()
966hb_shape_plan_set_user_data()
967hb_shape_plan_get_user_data()
968hb_shape_plan_execute()
969hb_shape_plan_get_shaper()
970
971hb_ot_shape_plan_collect_lookups()
972
973
974API changes:
975
976- Remove "mask" parameter from hb_buffer_add().
977- Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
978- hb-set.h API const correction.
979- Renamed hb_set_min/max() to hb_set_get_min/max().
980- Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
981- Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
982
983
984
Behdad Esfahbodda43a922012-11-13 13:48:26 -0800985Overview of changes leading to 0.9.6
986Sunday, November 13, 2012
987====================================
988
989- Don't clear pre-context text if no new context is provided.
990- Fix ReverseChainingSubstLookup, which was totally borked.
991- Adjust output format of hb-shape a bit.
992- Include config.h.in in-tree. Makes it easier for alternate build systems.
993- Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
994- Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
995- Drop glyphs for all of Unicode Default_Ignorable characters.
996- Misc build fixes.
997
998Arabic shaper:
999- Enable 'dlig' and 'mset' features in Arabic shaper.
1000- Implement 'Phags-pa shaping, improve Mongolian.
1001
1002Indic shaper:
1003- Decompose Sinhala split matras the way old HarfBuzz / Pango did.
1004- Initial support for Consonant Medials.
1005- Start adding new-style Myanmar shaping.
1006- Make reph and 'pref' logic introspect the font.
1007- Route Meetei-Mayek through the Indic shaper.
1008- Don't apply 'liga' in Indic shaper.
1009- Improve Malayalam pre-base reordering Ra interaction with Chillus.
1010
1011
1012
Behdad Esfahbod13c05842012-10-14 18:37:09 -05001013Overview of changes leading to 0.9.5
1014Sunday, October 14, 2012
1015====================================
1016
1017- Synthetic-GSUB Arabic fallback shaping.
1018
1019- Misc Indic improvements.
1020
1021- Add build system support for pthread.
1022
1023- Imported UCDN for in-tree Unicode callbacks implementation.
1024
1025- Context-aware Arabic joining.
1026
1027- Misc other fixes.
1028
1029- New API:
1030
1031 hb_feature_to/from-string()
1032 hb_buffer_[sg]et_content_type()
1033
1034
1035
Behdad Esfahbodf7e81ce2012-09-04 15:32:37 -04001036Overview of changes leading to 0.9.4
1037Tuesday, Sep 03, 2012
1038====================================
1039
1040- Indic improvements with old-spec Malayalam.
1041
1042- Better fallback glyph positioning, specially with Thai / Lao marks.
1043
1044- Implement dotted-circle insertion.
1045
1046- Better Arabic fallback shaping / ligation.
1047
1048- Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
1049
1050- Misc fixes.
1051
1052
1053
Behdad Esfahbod7fe00d12012-08-18 13:59:46 -04001054Overview of changes leading to 0.9.3
1055Friday, Aug 18, 2012
1056====================================
1057
1058- Fixed fallback mark positioning for left-to-right text.
1059
1060- Improve mark positioning for the remaining combining classes.
1061
1062- Unbreak Thai and fallback Arabic shaping.
1063
1064- Port Arabic shaper to shape-plan caching.
1065
1066- Use new ICU normalizer functions.
1067
1068
1069
Behdad Esfahbode297ee42012-08-10 14:49:37 -04001070Overview of changes leading to 0.9.2
Behdad Esfahbod9fe76052012-08-15 17:24:28 -04001071Friday, Aug 10, 2012
Behdad Esfahbode297ee42012-08-10 14:49:37 -04001072====================================
1073
1074- Over a thousand commits! This is the first major release of HarfBuzz.
1075
1076- HarfBuzz is feature-complete now! It should be in par, or better, than
1077 both Pango's shapers and old HarfBuzz / Qt shapers.
1078
1079- New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
1080
1081- Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
1082 Sinhala, N'ko, Mongolian, and Mandaic.
1083
1084- New Thai / Lao shaper.
1085
1086- Tibetan / Hangul support in the generic shaper.
1087
1088- Synthetic GDEF support for fonts without a GDEF table.
1089
1090- Fallback mark positioning for fonts without a GPOS table.
1091
1092- Unicode normalization shaping heuristic during glyph mapping.
1093
1094- New experimental Graphite2 backend.
1095
1096- New Uniscribe backend (primarily for testing).
1097
1098- New CoreText backend (primarily for testing).
1099
1100- Major optimization and speedup.
1101
1102- Test suites and testing infrastructure (work in progress).
1103
1104- Greatly improved hb-view cmdline tool.
1105
1106- hb-shape cmdline tool.
1107
1108- Unicode 6.1 support.
1109
1110Summary of API changes:
1111
1112o Changed API:
1113
1114 - Users are expected to only include main header files now (ie. hb.h,
1115 hb-glib.h, hb-ft.h, ...)
1116
1117 - All struct tag names had their initial underscore removed.
1118 Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
1119
1120 - All set_user_data() functions now take a "replace" boolean parameter.
1121
1122 - hb_buffer_create() takes zero arguments now.
1123 Use hb_buffer_pre_allocate() to pre-allocate.
1124
1125 - hb_buffer_add_utf*() now accept -1 for length parameteres,
1126 meaning "nul-terminated".
1127
1128 - hb_direction_t enum values changed.
1129
1130 - All *_from_string() APIs now take a length parameter to allow for
1131 non-nul-terminated strings. A -1 length means "nul-terminated".
1132
1133 - Typedef for hb_language_t changed.
1134
1135 - hb_get_table_func_t renamed to hb_reference_table_func_t.
1136
1137 - hb_ot_layout_table_choose_script()
1138
1139 - Various renames in hb-unicode.h.
1140
1141o New API:
1142
1143 - hb_buffer_guess_properties()
1144 Automatically called by hb_shape().
1145
1146 - hb_buffer_normalize_glyphs()
1147
1148 - hb_tag_from_string()
1149
1150 - hb-coretext.h
1151
1152 - hb-uniscribe.h
1153
1154 - hb_face_reference_blob()
1155 - hb_face_[sg]et_index()
1156 - hb_face_set_upem()
1157
1158 - hb_font_get_glyph_name_func_t
1159 hb_font_get_glyph_from_name_func_t
1160 hb_font_funcs_set_glyph_name_func()
1161 hb_font_funcs_set_glyph_from_name_func()
1162 hb_font_get_glyph_name()
1163 hb_font_get_glyph_from_name()
1164 hb_font_glyph_to_string()
1165 hb_font_glyph_from_string()
1166
1167 - hb_font_set_funcs_data()
1168
1169 - hb_ft_font_set_funcs()
1170 - hb_ft_font_get_face()
1171
1172 - hb-gobject.h (work in progress)
1173
1174 - hb_ot_shape_glyphs_closure()
1175 hb_ot_layout_substitute_closure_lookup()
1176
1177 - hb-set.h
1178
1179 - hb_shape_full()
1180
1181 - hb_unicode_combining_class_t
1182
1183 - hb_unicode_compose_func_t
1184 hb_unicode_decompose_func_t
1185 hb_unicode_decompose_compatibility_func_t
1186 hb_unicode_funcs_set_compose_func()
1187 hb_unicode_funcs_set_decompose_func()
1188 hb_unicode_funcs_set_decompose_compatibility_func()
1189 hb_unicode_compose()
1190 hb_unicode_decompose()
1191 hb_unicode_decompose_compatibility()
1192
1193o Removed API:
1194
1195 - hb_ft_get_font_funcs()
1196
1197 - hb_ot_layout_substitute_start()
1198 hb_ot_layout_substitute_lookup()
1199 hb_ot_layout_substitute_finish()
1200 hb_ot_layout_position_start()
1201 hb_ot_layout_position_lookup()
1202 hb_ot_layout_position_finish()
1203
1204
1205
Behdad Esfahbodf2455762011-05-25 16:08:06 -04001206Overview of changes leading to 0.6.0
1207Friday, May 27, 2011
1208====================================
1209
1210- Vertical text support in GPOS
1211- Almost all API entries have unit tests now, under test/
1212- All thread-safety issues are fixed
1213
1214Summary of API changes follows.
1215
1216
1217* Simple Types API:
1218
1219 o New API:
1220 HB_LANGUAGE_INVALID
1221 hb_language_get_default()
1222 hb_direction_to_string()
1223 hb_direction_from_string()
1224 hb_script_get_horizontal_direction()
1225 HB_UNTAG()
1226
1227 o Renamed API:
1228 hb_category_t renamed to hb_unicode_general_category_t
1229
1230 o Changed API:
1231 hb_language_t is a typed pointers now
1232
1233 o Removed API:
1234 HB_TAG_STR()
1235
1236
1237* Use ISO 15924 tags for hb_script_t:
1238
1239 o New API:
1240 hb_script_from_iso15924_tag()
1241 hb_script_to_iso15924_tag()
1242 hb_script_from_string()
1243
1244 o Changed API:
1245 HB_SCRIPT_* enum members changed value.
1246
1247
1248* Buffer API streamlined:
1249
1250 o New API:
1251 hb_buffer_reset()
1252 hb_buffer_set_length()
1253 hb_buffer_allocation_successful()
1254
1255 o Renamed API:
1256 hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
1257 hb_buffer_add_glyph() renamed to hb_buffer_add()
1258
1259 o Removed API:
1260 hb_buffer_clear()
1261 hb_buffer_clear_positions()
1262
1263 o Changed API:
1264 hb_buffer_get_glyph_infos() takes an out length parameter now
1265 hb_buffer_get_glyph_positions() takes an out length parameter now
1266
1267
1268* Blob API streamlined:
1269
1270 o New API:
1271 hb_blob_get_data()
1272 hb_blob_get_data_writable()
1273
1274 o Renamed API:
1275 hb_blob_create_empty() renamed to hb_blob_get_empty()
1276
1277 o Removed API:
1278 hb_blob_lock()
1279 hb_blob_unlock()
1280 hb_blob_is_writable()
1281 hb_blob_try_writable()
1282
1283 o Changed API:
1284 hb_blob_create() takes user_data before destroy now
1285
1286
1287* Unicode functions API:
1288
1289 o Unicode function vectors can subclass other unicode function vectors now.
1290 Unimplemented callbacks in the subclass automatically chainup to the parent.
1291
1292 o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
1293 take a user_data and its respective destroy callback.
1294
1295 o New API:
1296 hb_unicode_funcs_get_empty()
1297 hb_unicode_funcs_get_default()
1298 hb_unicode_funcs_get_parent()
1299
1300 o Changed API:
1301 hb_unicode_funcs_create() now takes a parent_funcs.
1302
1303 o Removed func getter functions:
1304 hb_unicode_funcs_get_mirroring_func()
1305 hb_unicode_funcs_get_general_category_func()
1306 hb_unicode_funcs_get_script_func()
1307 hb_unicode_funcs_get_combining_class_func()
1308 hb_unicode_funcs_get_eastasian_width_func()
1309
1310
1311* Face API:
1312
1313 o Renamed API:
1314 hb_face_get_table() renamed to hb_face_reference_table()
1315 hb_face_create_for_data() renamed to hb_face_create()
1316
1317 o Changed API:
1318 hb_face_create_for_tables() takes user_data before destroy now
1319 hb_face_reference_table() returns empty blob instead of NULL
1320 hb_get_table_func_t accepts the face as first parameter now
1321
1322* Font API:
1323
1324 o Fonts can subclass other fonts now. Unimplemented callbacks in the
1325 subclass automatically chainup to the parent. When chaining up,
1326 scale is adjusted if the parent font has a different scale.
1327
1328 o All hb_font_funcs_t callbacks take a user_data now. Their setters
1329 take a user_data and its respective destroy callback.
1330
1331 o New API:
1332 hb_font_get_parent()
1333 hb_font_funcs_get_empty()
1334 hb_font_create_sub_font()
1335
1336 o Removed API:
1337 hb_font_funcs_copy()
1338 hb_font_unset_funcs()
1339
1340 o Removed func getter functions:
1341 hb_font_funcs_get_glyph_func()
1342 hb_font_funcs_get_glyph_advance_func()
1343 hb_font_funcs_get_glyph_extents_func()
1344 hb_font_funcs_get_contour_point_func()
1345 hb_font_funcs_get_kerning_func()
1346
1347 o Changed API:
1348 hb_font_create() takes a face and references it now
1349 hb_font_set_funcs() takes user_data before destroy now
1350 hb_font_set_scale() accepts signed integers now
1351 hb_font_get_contour_point_func_t now takes glyph first, then point_index
1352 hb_font_get_glyph_func_t returns a success boolean now
1353
1354
1355* Changed object model:
1356
1357 o All object types have a _get_empty() now:
1358 hb_blob_get_empty()
1359 hb_buffer_get_empty()
1360 hb_face_get_empty()
1361 hb_font_get_empty()
1362 hb_font_funcs_get_empty()
1363 hb_unicode_funcs_get_empty()
1364
1365 o Added _set_user_data() and _get_user_data() for all object types:
1366 hb_blob_get_user_data()
1367 hb_blob_set_user_data()
1368 hb_buffer_get_user_data()
1369 hb_buffer_set_user_data()
1370 hb_face_get_user_data()
1371 hb_face_set_user_data()
1372 hb_font_funcs_get_user_data()
1373 hb_font_funcs_set_user_data()
1374 hb_font_get_user_data()
1375 hb_font_set_user_data()
1376 hb_unicode_funcs_get_user_data()
1377 hb_unicode_funcs_set_user_data()
1378
1379 o Removed the _get_reference_count() from all object types:
1380 hb_blob_get_reference_count()
1381 hb_buffer_get_reference_count()
1382 hb_face_get_reference_count()
1383 hb_font_funcs_get_reference_count()
1384 hb_font_get_reference_count()
1385 hb_unicode_funcs_get_reference_count()
1386
1387 o Added _make_immutable() and _is_immutable() for all object types except for buffer:
1388 hb_blob_make_immutable()
1389 hb_blob_is_immutable()
1390 hb_face_make_immutable()
1391 hb_face_is_immutable()
1392
1393
1394* Changed API for vertical text support
1395
1396 o The following callbacks where removed:
1397 hb_font_get_glyph_advance_func_t
1398 hb_font_get_kerning_func_t
1399
1400 o The following new callbacks added instead:
1401 hb_font_get_glyph_h_advance_func_t
1402 hb_font_get_glyph_v_advance_func_t
1403 hb_font_get_glyph_h_origin_func_t
1404 hb_font_get_glyph_v_origin_func_t
1405 hb_font_get_glyph_h_kerning_func_t
1406 hb_font_get_glyph_v_kerning_func_t
1407
1408 o The following API removed as such:
1409 hb_font_funcs_set_glyph_advance_func()
1410 hb_font_funcs_set_kerning_func()
1411 hb_font_get_glyph_advance()
1412 hb_font_get_kerning()
1413
1414 o New API added instead:
1415 hb_font_funcs_set_glyph_h_advance_func()
1416 hb_font_funcs_set_glyph_v_advance_func()
1417 hb_font_funcs_set_glyph_h_origin_func()
1418 hb_font_funcs_set_glyph_v_origin_func()
1419 hb_font_funcs_set_glyph_h_kerning_func()
1420 hb_font_funcs_set_glyph_v_kerning_func()
1421 hb_font_get_glyph_h_advance()
1422 hb_font_get_glyph_v_advance()
1423 hb_font_get_glyph_h_origin()
1424 hb_font_get_glyph_v_origin()
1425 hb_font_get_glyph_h_kerning()
1426 hb_font_get_glyph_v_kerning()
1427
1428 o The following higher-leve API added for convenience:
1429 hb_font_get_glyph_advance_for_direction()
1430 hb_font_get_glyph_origin_for_direction()
1431 hb_font_add_glyph_origin_for_direction()
1432 hb_font_subtract_glyph_origin_for_direction()
1433 hb_font_get_glyph_kerning_for_direction()
1434 hb_font_get_glyph_extents_for_origin()
1435 hb_font_get_glyph_contour_point_for_origin()
1436
1437
1438* OpenType Layout API:
1439
1440 o New API:
1441 hb_ot_layout_position_start()
1442 hb_ot_layout_substitute_start()
1443 hb_ot_layout_substitute_finish()
1444
1445
1446* Glue code:
1447
1448 o New API:
1449 hb_glib_script_to_script()
1450 hb_glib_script_from_script()
1451 hb_icu_script_to_script()
1452 hb_icu_script_from_script()
1453
1454
1455* Version API added:
1456
1457 o New API:
1458 HB_VERSION_MAJOR
1459 HB_VERSION_MINOR
1460 HB_VERSION_MICRO
1461 HB_VERSION_STRING
1462 HB_VERSION_CHECK()
1463 hb_version()
1464 hb_version_string()
1465 hb_version_check()
1466
1467