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