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