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