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