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