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