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