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