1 Overview of changes leading to 1.0.1
3 ====================================
5 - Fix out-of-bounds access in USE shaper.
8 Overview of changes leading to 1.0.0
9 Thursday, July 26, 2015
10 ====================================
12 - Implement Universal Shaping Engine:
13 https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm
14 http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/
15 - Bump version to 1.0.0. The soname was NOT bumped.
18 Overview of changes leading to 0.9.42
19 Thursday, July 26, 2015
20 =====================================
22 - New API to allow for retrieving finer-grained cluster
23 mappings if the client desires to handle them. Default
24 behavior is unchanged.
25 - Fix cluster merging when removing default-ignorables.
26 - Update to Unicode 8.0
29 - Removed HB_NO_MERGE_CLUSTERS hack.
31 hb_buffer_cluster_level_t enum
32 hb_buffer_get_cluster_level()
33 hb_buffer_set_cluster_level()
34 hb-shape / hb-view --cluster-level
37 Overview of changes leading to 0.9.41
38 Thursday, June 18, 2015
39 =====================================
41 - Fix hb-coretext with trailing whitespace in right-to-left.
42 - New API: hb_buffer_reverse_range().
43 - Allow implementing atomic ops in config.h.
44 - Fix hb_language_t in language bindings.
48 Overview of changes leading to 0.9.40
49 Friday, March 20, 2015
50 =====================================
52 - Another hb-coretext crasher fix. Ouch!
56 Overview of changes leading to 0.9.39
57 Wednesday, March 4, 2015
58 =====================================
60 - Critical hb-coretext fixes.
61 - Optimizations and refactoring; no functional change
66 Overview of changes leading to 0.9.38
67 Friday, January 23, 2015
68 =====================================
70 - Fix minor out-of-bounds access in Indic shaper.
71 - Change New Tai Lue shaping engine from South-East Asian to default,
72 reflecting change in Unicode encoding model.
73 - Add hb-shape --font-size. Can take up to two numbers for separate
75 - Fix CoreText and FreeType scale issues with negative scales.
76 - Reject blobs larger than 2GB. This might break some icu-le-hb clients
77 that need security fixes. See:
78 http://www.icu-project.org/trac/ticket/11450
79 - Avoid accessing font tables during face destruction, in casce rogue
80 clients released face data already.
81 - Fix up gobject-introspection a bit. Python bindings kinda working.
85 hb_ft_face_create_referenced()
86 hb_ft_font_create_referenced()
89 Overview of changes leading to 0.9.37
90 Wednesday, December 17, 2014
91 =====================================
93 - Fix out-of-bounds access in Context lookup format 3.
94 - Indic: Allow ZWJ/ZWNJ before syllable modifiers.
97 Overview of changes leading to 0.9.36
98 Thursday, November 20, 2014
99 =====================================
101 - First time that three months went by without a release since
102 0.9.2 was released on August 10, 2012!
103 - Fix performance bug in hb_ot_collect_glyphs():
104 https://bugzilla.mozilla.org/show_bug.cgi?id=1090869
105 - Add basic vertical-text support to hb-ot-font.
109 Overview of changes leading to 0.9.35
110 Saturday, August 13, 2014
111 =====================================
113 - Fix major shape-plan caching bug when more than one shaper were
114 provided to hb_shape_full() (as exercised by XeTeX).
115 http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
116 - Fix Arabic fallback shaping regression. This was broken in 0.9.32.
117 - Major hb-coretext fixes. That backend is complete now, including
118 respecing buffer direction and language, down to vertical writing.
119 - Build fixes for Windows CE. Should build fine now.
121 Use atexit() only if it's safe to call from shared library
122 https://bugs.freedesktop.org/show_bug.cgi?id=82246
123 Mandaic had errors in its Unicode Joining_Type
124 https://bugs.freedesktop.org/show_bug.cgi?id=82306
127 * hb_buffer_clear_contents() does not reset buffer flags now.
129 After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't
130 need to set flags for different pieces of text. The flags now
131 are something the client sets up once, depending on how it
132 actually uses the buffer. As such, don't clear it in
135 I don't expect any changes to be needed to any existing client.
138 Overview of changes leading to 0.9.34
139 Saturday, August 2, 2014
140 =====================================
142 - hb_feature_from_string() now accepts CSS font-feature-settings format.
143 - As a result, hb-shape / hb-view --features also accept CSS-style strings.
144 Eg, "'liga' off" is accepted now.
145 - Add old-spec Myanmar shaper:
146 https://bugs.freedesktop.org/show_bug.cgi?id=81775
147 - Don't apply 'calt' in Hangul shaper.
148 - Fix mark advance zeroing for Hebrew shaper:
149 https://bugs.freedesktop.org/show_bug.cgi?id=76767
150 - Implement Windows-1256 custom Arabic shaping. Only built on Windows,
151 and requires help from get_glyph(). Used by Firefox.
152 https://bugzilla.mozilla.org/show_bug.cgi?id=1045139
153 - Disable 'liga' in vertical text.
157 * Make HB_BUFFER_FLAG_BOT/EOT easier to use.
159 Previously, we expected users to provide BOT/EOT flags when the
160 text *segment* was at paragraph boundaries. This meant that for
161 clients that provide full paragraph to HarfBuzz (eg. Pango), they
164 hb_buffer_set_flags (hb_buffer,
165 (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) |
166 (item_offset + item_length == paragraph_length ?
167 HB_BUFFER_FLAG_EOT : 0));
169 hb_buffer_add_utf8 (hb_buffer,
170 paragraph_text, paragraph_length,
171 item_offset, item_length);
173 After this change such clients can simply say:
175 hb_buffer_set_flags (hb_buffer,
176 HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT);
178 hb_buffer_add_utf8 (hb_buffer,
179 paragraph_text, paragraph_length,
180 item_offset, item_length);
182 Ie, HarfBuzz itself checks whether the segment is at the beginning/end
183 of the paragraph. Clients that only pass item-at-a-time to HarfBuzz
184 continue not setting any flags whatsoever.
186 Another way to put it is: if there's pre-context text in the buffer,
187 HarfBuzz ignores the BOT flag. If there's post-context, it ignores
191 Overview of changes leading to 0.9.33
192 Tuesday, July 22, 2014
193 =====================================
195 - Turn off ARabic 'cswh' feature that was accidentally turned on.
196 - Add HB_TAG_MAX_SIGNED.
197 - Make hb_face_make_immutable() really make face immutable!
198 - Windows build fixes.
201 Overview of changes leading to 0.9.32
202 Thursday, July 17, 2014
203 =====================================
205 - Apply Arabic shaping features in spec order exactly.
206 - Another fix for Mongolian free variation selectors.
207 - For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt'
209 - Minor adjustment to U+FFFD logic.
210 - Fix hb-coretext build.
213 Overview of changes leading to 0.9.31
214 Wednesday, July 16, 2014
215 =====================================
217 - Only accept valid UTF-8/16/32; we missed many cases before.
218 - Better shaping of invalid UTF-8/16/32. Falls back to
219 U+FFFD REPLACEMENT CHARACTER now.
220 - With all changes in this release, the buffer will contain fully
221 valid Unicode after hb_buffer_add_utf8/16/32 no matter how
222 broken the input is. This can be overriden though. See below.
223 - Fix Mongolian Variation Selectors for fonts without GDEF.
224 - Fix minor invalid buffer access.
225 - Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language()
226 now uses these instead of private tags.
229 * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32()
230 used to do, ie. no validity check on the input at all. add_utf32
231 now replaces invalid Unicode codepoints with the replacement
232 character (see below).
233 * hb_buffer_set_replacement_codepoint()
234 * hb_buffer_get_replacement_codepoint()
235 Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when
236 we detected broken input, we replaced that with (hb_codepoint_t)-1.
237 This has changed to use U+FFFD now, but can be changed using these
241 Overview of changes leading to 0.9.30
242 Wednesday, July 9, 2014
243 =====================================
245 - Update to Unicode 7.0.0:
246 * New scripts Manichaean and Psalter Pahlavi are shaped using
248 * All the other new scripts to through the generic shaper for
250 - Minor Indic improvements.
251 - Fix graphite2 backend cluster mapping [crasher!]
253 * New HB_SCRIPT_* values for Unicode 7.0 scripts.
254 * New function hb_ot_layout_language_get_required_feature().
258 Overview of changes leading to 0.9.29
259 Thursday, May 29, 2014
260 =====================================
262 - Implement cmap in hb-ot-font.h. No variation-selectors yet.
263 - Myanmar: Allow MedialYa+Asat.
264 - Various Indic fixes:
265 * Support most characters in Extended Devanagary and Vedic
267 * Allow digits and a some punctuation as consonant placeholders.
271 Overview of changes leading to 0.9.28
272 Monday, April 28, 2014
273 =====================================
275 - Unbreak old-spec Indic shaping. (bug 76705)
276 - Fix shaping of U+17DD and U+0FC6.
277 - Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default
278 for shipping libraries. It's an option for further experimentation
279 right now. When we are sure how to do it properly, we will add
280 public run-time API for the functionality.
284 Overview of changes leading to 0.9.27
285 Tuesday, March 18, 2014
286 =====================================
288 - Don't use "register" storage class specifier
289 - Wrap definition of free_langs() with HAVE_ATEXIT
290 - Add coretext_aat shaper and hb_coretext_face_create() constructor
291 - If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
292 - Add Myanmar test case from OpenType Myanmar spec
293 - Only do fallback Hebrew composition if no GPOS 'mark' available
294 - Allow bootstrapping without gtk-doc
295 - Use AM_MISSING_PROG for ragel and git
296 - Typo in ucdn's Makefile.am
297 - Improve MemoryBarrier() implementation
300 Overview of changes leading to 0.9.26
301 Thursday, January 30, 2014
302 =====================================
305 - Fix application of 'rtlm' feature.
306 - Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH.
307 - New header: hb-ot-shape.h
308 - Uniscribe: fix scratch-buffer accounting.
309 - Reorder Tai Tham SAKOT to after tone-marks.
312 hb-ot-shape-complex-hangul.cc
313 hb-ot-shape-complex-hebrew.cc
314 hb-ot-shape-complex-tibetan.cc
315 - Disable 'cswh' feature in Arabic shaper.
316 - Coretext: better handle surrogate pairs.
317 - Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE.
320 Overview of changes leading to 0.9.25
321 Wednesday, December 4, 2013
322 =====================================
324 - Myanmar shaper improvements.
325 - Avoid font fallback in CoreText backend.
326 - Additional OpenType language tag mappiongs.
327 - More aggressive shape-plan caching.
328 - Build with / require automake 1.13.
329 - Build with libtool 2.4.2.418 alpha to support ppc64le.
332 Overview of changes leading to 0.9.24
333 Tuesday, November 13, 2013
334 =====================================
336 - Misc compiler warning fixes with clang.
337 - No functional changes.
340 Overview of changes leading to 0.9.23
341 Monday, October 28, 2013
342 =====================================
344 - "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
345 - Fix (Chain)Context recursion with non-monotone lookup positions.
346 - Misc Indic bug fixes.
347 - New Javanese / Buginese shaping, similar to Windows 8.1.
350 Overview of changes leading to 0.9.22
351 Thursday, October 3, 2013
352 =====================================
354 - Fix use-after-end-of-scope in hb_language_from_string().
355 - Fix hiding of default_ignorables if font doesn't have space glyph.
356 - Protect against out-of-range lookup indices.
360 * Added hb_ot_layout_table_get_lookup_count()
363 Overview of changes leading to 0.9.21
364 Monday, September 16, 2013
365 =====================================
367 - Rename gobject-introspection library name from harfbuzz to HarfBuzz.
368 - Remove (long disabled) hb-old and hb-icu-le test shapers.
369 - Misc gtk-doc and gobject-introspection annotations.
373 * Add HB_SET_VALUE_INVALID
375 Overview of changes leading to 0.9.20
376 Thursday, August 29, 2013
377 =====================================
380 - Misc substitute_closure() fixes.
384 - gtk-doc boilerplate integrated. Docs are built now, but
385 contain no contents. By next release hopefully we have
386 some content in. Enable using --enable-gtk-doc.
388 GObject and Introspection:
389 - Added harfbuzz-gobject library (hb-gobject.h) that has type
390 bindings for all HarfBuzz objects and enums. Enable using
392 - Added gobject-introspection boilerplate. Nothing useful
393 right now. Work in progress. Gets enabled automatically if
394 --with-gobject is used. Override with --disable-introspection.
397 - Apply 'mark' in Myanmar shaper.
398 - Don't apply 'dlig' by default.
401 - Support user features.
402 - Fix loading of fonts that are also installed on the system.
403 - Fix shaping of Arabic Presentation Forms.
404 - Fix build with wide chars.
407 - Support user features.
410 - hb_face_t code moved to hb-face.h / hb-face.cc.
411 - Added hb-deprecated.h.
414 - Added HB_DISABLE_DEPRECATED.
415 - Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
416 HB_SCRIPT_CANADIAN_SYLLABICS.
417 - Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
418 HB_BUFFER_FLAG_DEFAULT.
419 - Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
420 HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
423 Overview of changes leading to 0.9.19
424 Tuesday, July 16, 2013
425 =====================================
428 - Better handling of multiple variation selectors in a row.
429 - Pass on variation selector to GSUB if not consumed by cmap.
430 - Fix undefined memory access.
431 - Add Javanese config to Indic shaper.
434 Overview of changes leading to 0.9.18
435 Tuesday, May 28, 2013
436 =====================================
440 - All unneeded code is all disabled by default,
442 - Uniscribe and CoreText shapers can be enabled with their --with options,
444 - icu_le and old shapers cannot be enabled for now,
446 - glib, freetype, and cairo will be detected automatically.
447 They can be force on/off'ed with their --with options,
449 - icu and graphite2 are default off, can be enabled with their --with
452 Moreover, ICU support is now build into a separate library:
453 libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
454 Distros can enable ICU now without every application on earth
455 getting linked to via libharfbuzz.so.
457 For distros I recommend that they make sure they are building --with-glib
458 --with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
459 And package harfbuzz and harfbuzz-icu separately.
462 Overview of changes leading to 0.9.17
464 =====================================
467 - Fix bug in hb_set_get_min().
468 - Fix regression with Arabic mark positioning / width-zeroing.
470 Overview of changes leading to 0.9.16
471 Friday, April 19, 2013
472 =====================================
474 - Major speedup in OpenType lookup processing. With the Amiri
475 Arabic font, this release is over 3x faster than previous
476 release. All scripts / languages should see this speedup.
478 - New --num-iterations option for hb-shape / hb-view; useful for
481 Overview of changes leading to 0.9.15
482 Friday, April 05, 2013
483 =====================================
486 - Fix crasher in graphite2 shaper.
487 - Fix Arabic mark width zeroing regression.
488 - Don't compose Hangul jamo into Unicode syllables.
491 Overview of changes leading to 0.9.14
492 Thursday, March 21, 2013
493 =====================================
496 - Fix time-consuming sanitize with malicious fonts.
497 - Implement hb_buffer_deserialize_glyphs() for both json and text.
498 - Do not ignore Hangul filler characters.
500 * Fix Malayalam pre-base reordering interaction with post-forms.
501 * Further adjust ZWJ handling. Should fix known regressions from
505 Overview of changes leading to 0.9.13
506 Thursday, February 25, 2013
507 =====================================
510 - Ngapi HarfBuzz Hackfest in London (February 2013):
511 * Fixed all known Indic bugs,
512 * New Win8-style Myanmar shaper,
513 * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
514 * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
515 matching GSUB/GPOS lookups,
516 * Fix 'Phags-Pa U+A872 shaping,
517 * Fix partial disabling of default-on features,
518 * Allow disabling of TrueType kerning.
519 - Fix possible crasher with broken fonts with overlapping tables.
520 - Removed generated files from git again. So, one needs ragel to
521 bootstrap from the git tree.
524 - hb_shape() and related APIs now abort if buffer direction is
525 HB_DIRECTION_INVALID. Previously, hb_shape() was calling
526 hb_buffer_guess_segment_properties() on the buffer before
527 shaping. The heuristics in that function are fragile. If the
528 user really wants the old behvaior, they can call that function
529 right before calling hb_shape() to get the old behavior.
530 - hb_blob_create_sub_blob() always creates sub-blob with
531 HB_MEMORY_MODE_READONLY. See comments for the reason.
534 Overview of changes leading to 0.9.12
535 Thursday, January 18, 2013
536 =====================================
538 - Build fixes for Sun compiler.
541 Overview of changes leading to 0.9.11
542 Thursday, January 10, 2013
543 =====================================
546 - Fix GPOS mark attachment with null Anchor offsets.
547 - [Indic] Fix old-spec reordering of viramas if sequence ends in one.
548 - Fix multi-threaded shaper data creation crash.
549 - Add atomic ops for Solaris.
552 - Rename hb_buffer_clear() to hb_buffer_clear_contents().
555 Overview of changes leading to 0.9.10
556 Thursday, January 3, 2013
557 =====================================
559 - [Indic] Fixed rendering of Malayalam dot-reph
560 - Updated OT language tags.
561 - Updated graphite2 backend.
562 - Improved hb_ot_layout_get_size_params() logic.
563 - Improve hb-shape/hb-view help output.
564 - Fixed hb-set.h implementation to not crash.
565 - Fixed various issues with hb_ot_layout_collect_lookups().
566 - Various build fixes.
570 hb_graphite2_face_get_gr_face()
571 hb_graphite2_font_get_gr_font()
572 hb_coretext_face_get_cg_font()
576 hb_ot_layout_get_size_params()
579 Overview of changes leading to 0.9.9
580 Wednesday, December 5, 2012
581 ====================================
583 - Fix build on Windows.
584 - Minor improvements.
587 Overview of changes leading to 0.9.8
588 Tuesday, December 4, 2012
589 ====================================
592 - Actually implement hb_shape_plan_get_shaper ().
593 - Make UCDB data tables const.
594 - Lots of internal refactoring in OTLayout tables.
595 - Flesh out hb_ot_layout_lookup_collect_glyphs().
599 hb_ot_layout_collect_lookups()
600 hb_ot_layout_get_size_params()
603 Overview of changes leading to 0.9.7
604 Sunday, November 21, 2012
605 ====================================
608 HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
610 - Fix Arabic contextual joining using pre-context text.
611 - Fix Sinhala "split matra" mess.
612 - Fix Khmer shaping with broken fonts.
613 - Implement Thai "PUA" shaping for old fonts.
614 - Do NOT route Kharoshthi script through the Indic shaper.
615 - Disable fallback positioning for Indic and Thai shapers.
619 hb-shape / hb-view changes:
621 - Add --text-before and --text-after
622 - Add --bot / --eot / --preserve-default-ignorables
623 - hb-shape --output-format=json
632 HB_BUFFER_FLAGS_DEFAULT
635 HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
637 hb_buffer_set_flags()
638 hb_buffer_get_flags()
640 HB_BUFFER_SERIALIZE_FLAGS
641 hb_buffer_serialize_glyphs()
642 hb_buffer_deserialize_glyphs()
643 hb_buffer_serialize_list_formats()
647 hb_set_get_population()
650 hb_face_[sg]et_glyph_count()
652 hb_segment_properties_t
653 HB_SEGMENT_PROPERTIES_DEFAULT
654 hb_segment_properties_equal()
655 hb_segment_properties_hash()
657 hb_buffer_set_segment_properties()
658 hb_buffer_get_segment_properties()
660 hb_ot_layout_glyph_class_t
661 hb_ot_layout_get_glyph_class()
662 hb_ot_layout_get_glyphs_in_class()
665 hb_shape_plan_create()
666 hb_shape_plan_create_cached()
667 hb_shape_plan_get_empty()
668 hb_shape_plan_reference()
669 hb_shape_plan_destroy()
670 hb_shape_plan_set_user_data()
671 hb_shape_plan_get_user_data()
672 hb_shape_plan_execute()
673 hb_shape_plan_get_shaper()
675 hb_ot_shape_plan_collect_lookups()
680 - Remove "mask" parameter from hb_buffer_add().
681 - Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
682 - hb-set.h API const correction.
683 - Renamed hb_set_min/max() to hb_set_get_min/max().
684 - Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
685 - Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
689 Overview of changes leading to 0.9.6
690 Sunday, November 13, 2012
691 ====================================
693 - Don't clear pre-context text if no new context is provided.
694 - Fix ReverseChainingSubstLookup, which was totally borked.
695 - Adjust output format of hb-shape a bit.
696 - Include config.h.in in-tree. Makes it easier for alternate build systems.
697 - Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
698 - Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
699 - Drop glyphs for all of Unicode Default_Ignorable characters.
703 - Enable 'dlig' and 'mset' features in Arabic shaper.
704 - Implement 'Phags-pa shaping, improve Mongolian.
707 - Decompose Sinhala split matras the way old HarfBuzz / Pango did.
708 - Initial support for Consonant Medials.
709 - Start adding new-style Myanmar shaping.
710 - Make reph and 'pref' logic introspect the font.
711 - Route Meetei-Mayek through the Indic shaper.
712 - Don't apply 'liga' in Indic shaper.
713 - Improve Malayalam pre-base reordering Ra interaction with Chillus.
717 Overview of changes leading to 0.9.5
718 Sunday, October 14, 2012
719 ====================================
721 - Synthetic-GSUB Arabic fallback shaping.
723 - Misc Indic improvements.
725 - Add build system support for pthread.
727 - Imported UCDN for in-tree Unicode callbacks implementation.
729 - Context-aware Arabic joining.
735 hb_feature_to/from-string()
736 hb_buffer_[sg]et_content_type()
740 Overview of changes leading to 0.9.4
741 Tuesday, Sep 03, 2012
742 ====================================
744 - Indic improvements with old-spec Malayalam.
746 - Better fallback glyph positioning, specially with Thai / Lao marks.
748 - Implement dotted-circle insertion.
750 - Better Arabic fallback shaping / ligation.
752 - Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
758 Overview of changes leading to 0.9.3
760 ====================================
762 - Fixed fallback mark positioning for left-to-right text.
764 - Improve mark positioning for the remaining combining classes.
766 - Unbreak Thai and fallback Arabic shaping.
768 - Port Arabic shaper to shape-plan caching.
770 - Use new ICU normalizer functions.
774 Overview of changes leading to 0.9.2
776 ====================================
778 - Over a thousand commits! This is the first major release of HarfBuzz.
780 - HarfBuzz is feature-complete now! It should be in par, or better, than
781 both Pango's shapers and old HarfBuzz / Qt shapers.
783 - New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
785 - Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
786 Sinhala, N'ko, Mongolian, and Mandaic.
788 - New Thai / Lao shaper.
790 - Tibetan / Hangul support in the generic shaper.
792 - Synthetic GDEF support for fonts without a GDEF table.
794 - Fallback mark positioning for fonts without a GPOS table.
796 - Unicode normalization shaping heuristic during glyph mapping.
798 - New experimental Graphite2 backend.
800 - New Uniscribe backend (primarily for testing).
802 - New CoreText backend (primarily for testing).
804 - Major optimization and speedup.
806 - Test suites and testing infrastructure (work in progress).
808 - Greatly improved hb-view cmdline tool.
810 - hb-shape cmdline tool.
812 - Unicode 6.1 support.
814 Summary of API changes:
818 - Users are expected to only include main header files now (ie. hb.h,
819 hb-glib.h, hb-ft.h, ...)
821 - All struct tag names had their initial underscore removed.
822 Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
824 - All set_user_data() functions now take a "replace" boolean parameter.
826 - hb_buffer_create() takes zero arguments now.
827 Use hb_buffer_pre_allocate() to pre-allocate.
829 - hb_buffer_add_utf*() now accept -1 for length parameteres,
830 meaning "nul-terminated".
832 - hb_direction_t enum values changed.
834 - All *_from_string() APIs now take a length parameter to allow for
835 non-nul-terminated strings. A -1 length means "nul-terminated".
837 - Typedef for hb_language_t changed.
839 - hb_get_table_func_t renamed to hb_reference_table_func_t.
841 - hb_ot_layout_table_choose_script()
843 - Various renames in hb-unicode.h.
847 - hb_buffer_guess_properties()
848 Automatically called by hb_shape().
850 - hb_buffer_normalize_glyphs()
852 - hb_tag_from_string()
858 - hb_face_reference_blob()
859 - hb_face_[sg]et_index()
862 - hb_font_get_glyph_name_func_t
863 hb_font_get_glyph_from_name_func_t
864 hb_font_funcs_set_glyph_name_func()
865 hb_font_funcs_set_glyph_from_name_func()
866 hb_font_get_glyph_name()
867 hb_font_get_glyph_from_name()
868 hb_font_glyph_to_string()
869 hb_font_glyph_from_string()
871 - hb_font_set_funcs_data()
873 - hb_ft_font_set_funcs()
874 - hb_ft_font_get_face()
876 - hb-gobject.h (work in progress)
878 - hb_ot_shape_glyphs_closure()
879 hb_ot_layout_substitute_closure_lookup()
885 - hb_unicode_combining_class_t
887 - hb_unicode_compose_func_t
888 hb_unicode_decompose_func_t
889 hb_unicode_decompose_compatibility_func_t
890 hb_unicode_funcs_set_compose_func()
891 hb_unicode_funcs_set_decompose_func()
892 hb_unicode_funcs_set_decompose_compatibility_func()
894 hb_unicode_decompose()
895 hb_unicode_decompose_compatibility()
899 - hb_ft_get_font_funcs()
901 - hb_ot_layout_substitute_start()
902 hb_ot_layout_substitute_lookup()
903 hb_ot_layout_substitute_finish()
904 hb_ot_layout_position_start()
905 hb_ot_layout_position_lookup()
906 hb_ot_layout_position_finish()
910 Overview of changes leading to 0.6.0
912 ====================================
914 - Vertical text support in GPOS
915 - Almost all API entries have unit tests now, under test/
916 - All thread-safety issues are fixed
918 Summary of API changes follows.
925 hb_language_get_default()
926 hb_direction_to_string()
927 hb_direction_from_string()
928 hb_script_get_horizontal_direction()
932 hb_category_t renamed to hb_unicode_general_category_t
935 hb_language_t is a typed pointers now
941 * Use ISO 15924 tags for hb_script_t:
944 hb_script_from_iso15924_tag()
945 hb_script_to_iso15924_tag()
946 hb_script_from_string()
949 HB_SCRIPT_* enum members changed value.
952 * Buffer API streamlined:
956 hb_buffer_set_length()
957 hb_buffer_allocation_successful()
960 hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
961 hb_buffer_add_glyph() renamed to hb_buffer_add()
965 hb_buffer_clear_positions()
968 hb_buffer_get_glyph_infos() takes an out length parameter now
969 hb_buffer_get_glyph_positions() takes an out length parameter now
972 * Blob API streamlined:
976 hb_blob_get_data_writable()
979 hb_blob_create_empty() renamed to hb_blob_get_empty()
984 hb_blob_is_writable()
985 hb_blob_try_writable()
988 hb_blob_create() takes user_data before destroy now
991 * Unicode functions API:
993 o Unicode function vectors can subclass other unicode function vectors now.
994 Unimplemented callbacks in the subclass automatically chainup to the parent.
996 o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
997 take a user_data and its respective destroy callback.
1000 hb_unicode_funcs_get_empty()
1001 hb_unicode_funcs_get_default()
1002 hb_unicode_funcs_get_parent()
1005 hb_unicode_funcs_create() now takes a parent_funcs.
1007 o Removed func getter functions:
1008 hb_unicode_funcs_get_mirroring_func()
1009 hb_unicode_funcs_get_general_category_func()
1010 hb_unicode_funcs_get_script_func()
1011 hb_unicode_funcs_get_combining_class_func()
1012 hb_unicode_funcs_get_eastasian_width_func()
1018 hb_face_get_table() renamed to hb_face_reference_table()
1019 hb_face_create_for_data() renamed to hb_face_create()
1022 hb_face_create_for_tables() takes user_data before destroy now
1023 hb_face_reference_table() returns empty blob instead of NULL
1024 hb_get_table_func_t accepts the face as first parameter now
1028 o Fonts can subclass other fonts now. Unimplemented callbacks in the
1029 subclass automatically chainup to the parent. When chaining up,
1030 scale is adjusted if the parent font has a different scale.
1032 o All hb_font_funcs_t callbacks take a user_data now. Their setters
1033 take a user_data and its respective destroy callback.
1036 hb_font_get_parent()
1037 hb_font_funcs_get_empty()
1038 hb_font_create_sub_font()
1041 hb_font_funcs_copy()
1042 hb_font_unset_funcs()
1044 o Removed func getter functions:
1045 hb_font_funcs_get_glyph_func()
1046 hb_font_funcs_get_glyph_advance_func()
1047 hb_font_funcs_get_glyph_extents_func()
1048 hb_font_funcs_get_contour_point_func()
1049 hb_font_funcs_get_kerning_func()
1052 hb_font_create() takes a face and references it now
1053 hb_font_set_funcs() takes user_data before destroy now
1054 hb_font_set_scale() accepts signed integers now
1055 hb_font_get_contour_point_func_t now takes glyph first, then point_index
1056 hb_font_get_glyph_func_t returns a success boolean now
1059 * Changed object model:
1061 o All object types have a _get_empty() now:
1063 hb_buffer_get_empty()
1066 hb_font_funcs_get_empty()
1067 hb_unicode_funcs_get_empty()
1069 o Added _set_user_data() and _get_user_data() for all object types:
1070 hb_blob_get_user_data()
1071 hb_blob_set_user_data()
1072 hb_buffer_get_user_data()
1073 hb_buffer_set_user_data()
1074 hb_face_get_user_data()
1075 hb_face_set_user_data()
1076 hb_font_funcs_get_user_data()
1077 hb_font_funcs_set_user_data()
1078 hb_font_get_user_data()
1079 hb_font_set_user_data()
1080 hb_unicode_funcs_get_user_data()
1081 hb_unicode_funcs_set_user_data()
1083 o Removed the _get_reference_count() from all object types:
1084 hb_blob_get_reference_count()
1085 hb_buffer_get_reference_count()
1086 hb_face_get_reference_count()
1087 hb_font_funcs_get_reference_count()
1088 hb_font_get_reference_count()
1089 hb_unicode_funcs_get_reference_count()
1091 o Added _make_immutable() and _is_immutable() for all object types except for buffer:
1092 hb_blob_make_immutable()
1093 hb_blob_is_immutable()
1094 hb_face_make_immutable()
1095 hb_face_is_immutable()
1098 * Changed API for vertical text support
1100 o The following callbacks where removed:
1101 hb_font_get_glyph_advance_func_t
1102 hb_font_get_kerning_func_t
1104 o The following new callbacks added instead:
1105 hb_font_get_glyph_h_advance_func_t
1106 hb_font_get_glyph_v_advance_func_t
1107 hb_font_get_glyph_h_origin_func_t
1108 hb_font_get_glyph_v_origin_func_t
1109 hb_font_get_glyph_h_kerning_func_t
1110 hb_font_get_glyph_v_kerning_func_t
1112 o The following API removed as such:
1113 hb_font_funcs_set_glyph_advance_func()
1114 hb_font_funcs_set_kerning_func()
1115 hb_font_get_glyph_advance()
1116 hb_font_get_kerning()
1118 o New API added instead:
1119 hb_font_funcs_set_glyph_h_advance_func()
1120 hb_font_funcs_set_glyph_v_advance_func()
1121 hb_font_funcs_set_glyph_h_origin_func()
1122 hb_font_funcs_set_glyph_v_origin_func()
1123 hb_font_funcs_set_glyph_h_kerning_func()
1124 hb_font_funcs_set_glyph_v_kerning_func()
1125 hb_font_get_glyph_h_advance()
1126 hb_font_get_glyph_v_advance()
1127 hb_font_get_glyph_h_origin()
1128 hb_font_get_glyph_v_origin()
1129 hb_font_get_glyph_h_kerning()
1130 hb_font_get_glyph_v_kerning()
1132 o The following higher-leve API added for convenience:
1133 hb_font_get_glyph_advance_for_direction()
1134 hb_font_get_glyph_origin_for_direction()
1135 hb_font_add_glyph_origin_for_direction()
1136 hb_font_subtract_glyph_origin_for_direction()
1137 hb_font_get_glyph_kerning_for_direction()
1138 hb_font_get_glyph_extents_for_origin()
1139 hb_font_get_glyph_contour_point_for_origin()
1142 * OpenType Layout API:
1145 hb_ot_layout_position_start()
1146 hb_ot_layout_substitute_start()
1147 hb_ot_layout_substitute_finish()
1153 hb_glib_script_to_script()
1154 hb_glib_script_from_script()
1155 hb_icu_script_to_script()
1156 hb_icu_script_from_script()
1159 * Version API added: