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