1Overview of changes leading to 2.8.1 2Tuesday, May 4, 2021 3==================================== 4- Subsetter now fully supports GSUB/GPOS/GDEF tables (including variations); as 5 such, layout tables are retained by subsetter by default. (Garret Rieger, Qunxin Liu) 6- Build scripts no longer check for FontConfig as HarfBuzz does not use it. 7- hb-view supports iTerm2 and kitty inline image protocols (Khaled Hosny), 8 it can also use Chafa for terminal graphics if available (Hans Petter Jansson). 9 10Overview of changes leading to 2.8.0 11Tuesday, March 16, 2021 12==================================== 13- Shape joining scripts other than Arabic/Syriac using the Universal Shaping Engine. 14 Previously these were shaped using the generalized Arabic shaper. (David Corbett) 15- Fix regression in shaping of U+0B55 ORIYA SIGN OVERLINE. (David Corbett) 16- Update language tags. (David Corbett) 17- Variations: reduce error: do not round each interpolated delta. (Just van Rossum) 18- Documentation improvements. (Khaled Hosny, Nathan Willis) 19- Subsetter improvements: subsets most, if not all, lookup types now. (Garret Rieger, Qunxin Liu) 20- Fuzzer-found fixes and other improvements when memory failures happen. (Behdad) 21- Removed most atomic implementations now that we have C++11 atomic impl. (Behdad) 22- General codebase upkeep; using more C++11 features: constexpr constructors, etc. (Behdad) 23 24 25Overview of changes leading to 2.7.4 26Sunday, December 27, 2020 27==================================== 28- Fix missing --enable-introspection configure option from previous release 29 tarball. 30- Documentation updates. 31 32Overview of changes leading to 2.7.3 33Wednesday, December 23, 2020 34==================================== 35- Update USE shaper to 2020-08-13 specification, and other improvements. 36- Don’t disable liga feature in myanmar shaper, to match Uniscribe. 37- Improvements to language and script tags handling. 38- Update language system tag registry to OpenType 1.8.4 39- Support for serializing and deserializing Unicode buffers. Serialized buffers 40 are now delimited with `<>` or `[]` based on whether it is a Unicode or 41 glyphs buffer. 42- Increase buffer work limits to handle fonts with many complex lookups. 43- Handle more shaping operations in trace output. 44- Memory access fixes. 45- More OOM fixes. 46- Improved documentation. 47- Build system improvements. 48- New API: 49+hb_buffer_has_positions() 50+hb_buffer_serialize() 51+hb_buffer_serialize_unicode() 52+hb_buffer_deserialize_unicode() 53 54 55Overview of changes leading to 2.7.2 56Saturday, August 29, 2020 57==================================== 58- Fix a regression in the previous release that caused a crash with Kaithi. 59- More OOM fixes. 60 61 62Overview of changes leading to 2.7.1 63Thursday, August 13, 2020 64==================================== 65- ot-funcs now handles variable empty glyphs better when hvar/vvar isn't present. 66- Reverted a GDEF processing regression. 67- A couple of fixes to handle OOM better. 68 69 70Overview of changes leading to 2.7.0 71Saturday, July 25, 2020 72==================================== 73- Use an implementation for round that always rounds up, some minor fluctuations 74 are expected on var font specially when hb-ot callback is used. 75- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN. 76- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much 77 use on macOS installed fonts (only two files). GDEF support is the recommended 78 one and expected to work properly after issues fixed two releases ago. 79- Minor memory fixes to handle OOM better specially in hb-ft. 80- Minor .so files versioning scheme change and remove stable/unstable scheme 81 differences, was never used in practice (always default to stable scheme). 82- We are now suggesting careful packaging of the library using meson, 83 https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson 84 for more information. 85- Distribution package URL is changed, either use GitHub generated tarballs, 86 `https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz` 87 or, even more preferably use commit hash of the release and git checkouts like, 88 `git+https://github.com/harfbuzz/harfbuzz#commit=$commit` 89 90 91Overview of changes leading to 2.6.8 92Monday, June 22, 2020 93==================================== 94- New API to fetch glyph alternates from GSUB table. 95- hb-coretext build fix for macOS < 10.10. 96- Meson build fixes, cmake port removal is postponed but please prepare for 97 it and give us feedback. 98 Autotools is still our main build system however please consider 99 experimenting with meson also for packaging the library. 100- New API: 101+hb_ot_layout_lookup_get_glyph_alternates() 102 103 104Overview of changes leading to 2.6.7 105Wednesday, June 3, 2020 106==================================== 107- Update to Unicode 13.0.0. 108- Fix hb_ot_layout_get_ligature_carets for fonts without lcar table, it was 109 completely broken for all the other fonts since 2.1.2. 110- As a part of our migration to meson, this release will be the last one 111 to provide cmake port files but autotools still is our main build system. 112 There is a possibility that the next version or the after be released 113 using meson. 114 115 116Overview of changes leading to 2.6.6 117Tuesday, May 12, 2020 118==================================== 119- A fix in AAT kerning for Geeza Pro. 120- Better support for resource fork fonts on macOS. 121 122 123Overview of changes leading to 2.6.5 124Friday, April 17, 2020 125==================================== 126- Add experimental meson build system. Autotools is still the primary 127 and supported build system. 128- AAT is now always preferred for horizontal scripts when both AAT and OT 129 layout tables exist at the same time. 130- Subsetter improvements. 131- New API: 132+hb_ft_font_lock_face() 133+hb_ft_font_unlock_face() 134 135 136Overview of changes leading to 2.6.4 137Monday, October 29, 2019 138==================================== 139- Small bug fix. 140- Build fixes. 141 142 143Overview of changes leading to 2.6.3 144Monday, October 28, 2019 145==================================== 146- Misc small fixes, mostly to build-related issues. 147- New API: 148+hb_font_get_nominal_glyphs() 149 150 151Overview of changes leading to 2.6.2 152Monday, September 30, 2019 153==================================== 154- Misc small fixes, mostly to build-related issues. 155 156 157Overview of changes leading to 2.6.1 158Thursday, August 22, 2019 159==================================== 160- Fix regression with hb_font_create_sub_font scaling introduced in 2.6.0. 161- Change interpretation of font PTEM size / CoreText font size handling. 162 See https://github.com/harfbuzz/harfbuzz/pull/1484 163- hb-ot-font: Prefer symbol cmap subtable if present. 164- Apply 'dist'/'abvm'/'blwm' features to all scripts. 165- Drop experimental DirectWrite API. 166 167 168Overview of changes leading to 2.6.0 169Tuesday, August 13, 2019 170==================================== 171- New OpenType metrics, baseline, and metadata table access APIs. 172- New API to set font variations to a named-instance. 173- New hb-gdi.h header and API for creating hb_face_t from HFONT. 174- Amalgam: Provide a single-file harfbuzz.cc file for easier alternate building. 175- More size-reduction configurable options, enabled by HB_TINY. 176- New API: 177+hb_font_set_var_named_instance() 178+hb_gdi_face_create() 179+hb_ot_layout_baseline_tag_t 180+hb_ot_layout_get_baseline() 181+hb_ot_meta_tag_t 182+hb_ot_meta_get_entry_tags() 183+hb_ot_meta_reference_entry() 184+hb_ot_metrics_tag_t 185+hb_ot_metrics_get_position() 186+hb_ot_metrics_get_variation() 187+hb_ot_metrics_get_x_variation() 188+hb_ot_metrics_get_y_variation() 189 190 191Overview of changes leading to 2.5.3 192Wednesday, June 26, 2019 193==================================== 194- Fix UCD script data for Unicode 10+ scripts. This was broken since 2.5.0. 195- More optimizations for HB_TINY. 196 197 198Overview of changes leading to 2.5.2 199Thursday, June 20, 2019 200==================================== 201- More hb-config.hh facilities to shrink library size, namely when built as 202 HB_TINY. 203- New documentation of custom configurations in CONFIG.md. 204- Fix build on gcc 4.8. That's supported again. 205- Universal Shaping Engine improvements thanks to David Corbett. 206- API Changes: Undeprecate some horizontal-kerning API and re-enable in hb-ft, 207 such that Type1 fonts will continue kerning. 208 209 210Overview of changes leading to 2.5.1 211Friday, May 31, 2019 212==================================== 213- Fix build with various versions of Visual Studio. 214- Improved documentation, thanks to Nathan Willis. 215- Bugfix in subsetting glyf table. 216- Improved scripts for cross-compiling for Windows using mingw. 217- Rename HB_MATH_GLYPH_PART_FLAG_EXTENDER to HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER. 218 A deprecated macro is added for backwards-compatibility. 219 220 221Overview of changes leading to 2.5.0 222Friday, May 24, 2019 223==================================== 224- This release does not include much functional changes, but includes major internal 225 code-base changes. We now require C++11. Support for gcc 4.8 and earlier has been 226 dropped. 227- New hb-config.hh facility for compiling smaller library for embedded and web usecases. 228- New Unicode Character Databse implementation that is half the size of previously-used 229 UCDN. 230- Subsetter improvements. 231- Improved documentation, thanks to Nathan Willis. 232- Misc shaping fixes. 233 234 235Overview of changes leading to 2.4.0 236Monday, March 25, 2019 237==================================== 238- Unicode 12. 239- Misc fixes. 240- Subsetter improvements. 241- New API: 242HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE 243hb_directwrite_face_create() 244 245 246Overview of changes leading to 2.3.1 247Wednesday, January 30, 2019 248==================================== 249- AAT bug fixes. 250- Misc internal housekeeping cleanup. 251 252 253Overview of changes leading to 2.3.0 254Thursday, December 20, 2018 255==================================== 256- Fix regression on big-endian architectures. Ouch! 257- Misc bug and build fixes. 258- Fix subsetting of simple GSUB/GDEF. 259- Merge CFF / CFF2 support contributed by Adobe. This mostly involves 260 the subsetter, but also get_glyph_extents on CFF fonts. 261 262New API in hb-aat.h: 263+hb_aat_layout_has_substitution() 264+hb_aat_layout_has_positioning() 265+hb_aat_layout_has_tracking() 266 267 268Overview of changes leading to 2.2.0 269Thursday, November 29, 2018 270==================================== 271- Misc shaping bug fixes. 272- Add font variations named-instance API. 273- Deprecate font variations axis enumeration API and add replacement. 274- AAT shaping improvements: 275 o Fixed 'kern' table Format 2 implementation. 276 o Implement 'feat' table API for feature detection. 277 o Blacklist 'GSUB' table of fonts from 'MUTF' foundry that also have 'morx'. 278 279New API: 280+hb_aat_layout_feature_type_t 281+hb_aat_layout_feature_selector_t 282+hb_aat_layout_get_feature_types() 283+hb_aat_layout_feature_type_get_name_id 284+hb_aat_layout_feature_selector_info_t 285+HB_AAT_LAYOUT_NO_SELECTOR_INDEX 286+hb_aat_layout_feature_type_get_selector_infos() 287+hb_ot_var_axis_flags_t 288+hb_ot_var_axis_info_t 289+hb_ot_var_get_axis_infos() 290+hb_ot_var_find_axis_info() 291+hb_ot_var_get_named_instance_count() 292+hb_ot_var_named_instance_get_subfamily_name_id() 293+hb_ot_var_named_instance_get_postscript_name_id() 294+hb_ot_var_named_instance_get_design_coords() 295 296Deprecated API: 297+HB_OT_VAR_NO_AXIS_INDEX 298+hb_ot_var_axis_t 299+hb_ot_var_get_axes() 300+hb_ot_var_find_axis() 301 302 303Overview of changes leading to 2.1.3 304Friday, November 16, 2018 305==================================== 306- Fix AAT 'mort' shaping, which was broken in 2.1.2 307 308 309Overview of changes leading to 2.1.2 310Friday, November 16, 2018 311==================================== 312- Various internal changes. 313- AAT shaping improvements: 314 o Implement kern table Format 1 state-machine-based kerning. 315 o Implement cross-stream kerning (cursive positioning, etc). 316 o Ignore emptyish GSUB tables (zero scripts) if morx present. 317 o Don't apply GPOS if morx is being applied. Matches Apple. 318 319 320-Overview of changes leading to 2.1.1 321Monday, November 5, 2018 322==================================== 323- AAT improvements: 324 o Implement 'mort' table. 325 o Implement 'kern' subtables Format 1 and Format 3. 326 327 328Overview of changes leading to 2.1.0 329Tuesday, October 30, 2018 330==================================== 331- AAT shaping improvements: 332 o Allow user controlling AAT features, for whole buffer only currently. 333 o Several 'morx' fixes. 334 o Implement tuple-kerns in 'kerx'; Fixes kerning with Apple default 335 San Francisco fonts. 336- Support for color fonts: 337 o COLR/CPAL API to fetch color layers. 338 o SVG table to fetch SVG documents. 339 o CBDT/sbix API to fetch PNG images. 340- New 'name' table API. 341- hb-ot-font now uses 'VORG' table to correctly position CFF glyphs 342 in vertical layout. 343- Various fuzzer-found bug fixes. 344 345Changed API: 346 347A type and a macro added in 2.0.0 were renamed: 348 349hb_name_id_t -> hb_ot_name_id_t 350HB_NAME_ID_INVALID -> HB_OT_NAME_ID_INVALID 351 352New API: 353 354+hb_color_t 355+HB_COLOR 356+hb_color_get_alpha() 357+hb_color_get_red() 358+hb_color_get_green() 359+hb_color_get_blue() 360+hb_ot_color_has_palettes() 361+hb_ot_color_palette_get_count() 362+hb_ot_color_palette_get_name_id() 363+hb_ot_color_palette_color_get_name_id() 364+hb_ot_color_palette_flags_t 365+hb_ot_color_palette_get_flags() 366+hb_ot_color_palette_get_colors() 367+hb_ot_color_has_layers() 368+hb_ot_color_layer_t 369+hb_ot_color_glyph_get_layers() 370+hb_ot_color_has_svg() 371+hb_ot_color_glyph_reference_svg() 372+hb_ot_color_has_png() 373+hb_ot_color_glyph_reference_png() 374 375+hb_ot_name_id_t 376+HB_OT_NAME_ID_INVALID 377+HB_OT_NAME_ID_COPYRIGHT 378+HB_OT_NAME_ID_FONT_FAMILY 379+HB_OT_NAME_ID_FONT_SUBFAMILY 380+HB_OT_NAME_ID_UNIQUE_ID 381+HB_OT_NAME_ID_FULL_NAME 382+HB_OT_NAME_ID_VERSION_STRING 383+HB_OT_NAME_ID_POSTSCRIPT_NAME 384+HB_OT_NAME_ID_TRADEMARK 385+HB_OT_NAME_ID_MANUFACTURER 386+HB_OT_NAME_ID_DESIGNER 387+HB_OT_NAME_ID_DESCRIPTION 388+HB_OT_NAME_ID_VENDOR_URL 389+HB_OT_NAME_ID_DESIGNER_URL 390+HB_OT_NAME_ID_LICENSE 391+HB_OT_NAME_ID_LICENSE_URL 392+HB_OT_NAME_ID_TYPOGRAPHIC_FAMILY 393+HB_OT_NAME_ID_TYPOGRAPHIC_SUBFAMILY 394+HB_OT_NAME_ID_MAC_FULL_NAME 395+HB_OT_NAME_ID_SAMPLE_TEXT 396+HB_OT_NAME_ID_CID_FINDFONT_NAME 397+HB_OT_NAME_ID_WWS_FAMILY 398+HB_OT_NAME_ID_WWS_SUBFAMILY 399+HB_OT_NAME_ID_LIGHT_BACKGROUND 400+HB_OT_NAME_ID_DARK_BACKGROUND 401+HB_OT_NAME_ID_VARIATIONS_PS_PREFIX 402+hb_ot_name_entry_t 403+hb_ot_name_list_names() 404+hb_ot_name_get_utf8() 405+hb_ot_name_get_utf16() 406+hb_ot_name_get_utf32() 407 408 409Overview of changes leading to 2.0.2 410Saturday, October 20, 2018 411==================================== 412- Fix two minor memory access issues in AAT tables. 413 414 415Overview of changes leading to 2.0.1 416Friday, October 19, 2018 417==================================== 418- Fix hb-version.h reported release version that went wrong (1.8.0) 419 with previous release. 420- Fix extrapolation in 'trak' table. 421- Fix hb-font infinite-recursion issue with some font funcs and 422 subclassed fonts. 423- Implement variation-kerning format in kerx table, although without 424 variation. 425- Fix return value of hb_map_is_empty(). 426 427 428Overview of changes leading to 2.0.0 429Thursday, October 18, 2018 430==================================== 431- Added AAT shaping support (morx/kerx/trak). 432 Automatically used if GSUB/GPOS are not available respectively. 433 Set HB_OPTIONS=aat env var to have morx/kerx preferred over 434 GSUB/GPOS. 435- Apply TrueType kern table internally, instead of relying on 436 hb_font_t callbacks. 437- Khmer shaper significantly rewritten to better match Uniscribe. 438- Indic3 tags ('dev3', etc) are passed to USE shaper. 439- .dfont Mac font containers implemented. 440- Script- and language-mapping revamped to better use BCP 47. 441- Misc USE and Indic fixes. 442- Misc everything fixes. 443- Too many things to list. Biggest release since 0.9.1, with 444 over 500 commits in just over 5 weeks! Didn't intend it to 445 be a big release. Just happened to become. 446- hb-ft now locks underlying FT_Face during use. 447 448API changes: 449 450- Newly-created hb_font_t's now have our internal "hb-ot-font" 451 callbacks set on them, so they should work out of the box 452 without any callbacks set. If callbacks are set, everything 453 is back to what it was before, the fallback callbacks are 454 null. If you to get the internal implementation modified, 455 sub_font it. 456 457- New hb_font_funcs_set_nominal_glyphs_func() allows speeding 458 up character to glyph mapping. 459 460New API: 461+HB_FEATURE_GLOBAL_START 462+HB_FEATURE_GLOBAL_END 463+hb_buffer_set_invisible_glyph() 464+hb_buffer_get_invisible_glyph() 465+hb_font_funcs_set_nominal_glyphs_func() 466+hb_ot_layout_table_select_script() 467+hb_ot_layout_script_select_language() 468+hb_ot_layout_feature_get_name_ids() 469+hb_ot_layout_feature_get_characters() 470+hb_name_id_t 471+HB_NAME_ID_INVALID 472+HB_OT_MAX_TAGS_PER_SCRIPT 473+hb_ot_tags_from_script_and_language() 474+hb_ot_tags_to_script_and_language() 475 476Deprecated API: 477-hb_font_funcs_set_glyph_func() 478-hb_unicode_eastasian_width_func_t 479-hb_unicode_funcs_set_eastasian_width_func() 480-hb_unicode_eastasian_width() 481-hb_unicode_decompose_compatibility_func_t 482-HB_UNICODE_MAX_DECOMPOSITION_LEN 483-hb_unicode_funcs_set_decompose_compatibility_func() 484-hb_unicode_decompose_compatibility() 485-hb_font_funcs_set_glyph_h_kerning_func() 486-hb_font_funcs_set_glyph_v_kerning_func() 487-hb_font_get_glyph_h_kerning() 488-hb_font_get_glyph_v_kerning() 489-hb_font_get_glyph_kerning_for_direction() 490-hb_ot_layout_table_choose_script() 491-hb_ot_layout_script_find_language() 492-hb_ot_tags_from_script() 493-hb_ot_tag_from_language() 494 495 496Overview of changes leading to 1.9.0 497Monday, September 10, 2018 498==================================== 499- Added 'cmap' API to hb_face_t. 500- Face-builder API. 501- hb-ot-font re-creation should be much leaner now, as the 502 font tables it uses are cached on hb_face_t now. 503- Internal source header file name changes: 504 hb-*-private.hh is renamed to hb-*.hh. 505 506New API: 507+HB_UNICODE_MAX 508+hb_face_collect_unicodes() 509+hb_face_collect_variation_selectors() 510+hb_face_collect_variation_unicodes() 511+hb_face_builder_create() 512+hb_face_builder_add_table() 513 514 515Overview of changes leading to 1.8.8 516Tuesday, August 14, 2018 517==================================== 518- Fix hb-icu crash on architectures where compare_exchange_weak() can 519 fail falsely. This bug was introduced in 1.8.4. 520 https://bugs.chromium.org/p/chromium/issues/detail?id=873568 521- More internal refactoring of atomic operations and singletons. 522- API changes: 523 The following functions do NOT reference their return value before 524 returning: 525 * hb_unicode_funcs_get_default() 526 * hb_glib_get_unicode_funcs() 527 * hb_icu_get_unicode_funcs() 528 This is consistent with their naming ("get", instead of "reference") 529 as well as how they are used in the wild (ie. no one calls destroy() 530 on their return value.) 531 532 533Overview of changes leading to 1.8.7 534Wednesday, August 8, 2018 535==================================== 536- Fix assertion failure with GDEF-blacklisted fonts. 537 538 539Overview of changes leading to 1.8.6 540Tuesday, August 7, 2018 541==================================== 542- Internal code shuffling. 543- New API to speed up getting advance widths for implementations 544 that have heavy overhead in get_h_advance callback: 545+hb_font_funcs_set_glyph_h_advances_func 546+hb_font_funcs_set_glyph_v_advances_func 547+hb_font_get_glyph_advances_for_direction 548+hb_font_get_glyph_h_advances 549+hb_font_get_glyph_h_advances_func_t 550+hb_font_get_glyph_v_advances 551+hb_font_get_glyph_v_advances_func_t 552 553 554Overview of changes leading to 1.8.5 555Wednesday, August 1, 2018 556==================================== 557- Major Khmer shaper improvements to better match Microsoft. 558- Indic bug fixes. 559- Internal improvements to atomic operations. 560 561 562Overview of changes leading to 1.8.4 563Tuesday, July 17, 2018 564==================================== 565- Fix build on non-C++11. 566- Use C++-style GCC atomics and C++11 atomics. 567 568 569Overview of changes leading to 1.8.3 570Wednesday, July 11, 2018 571==================================== 572- A couple of Indic / USE bug fixes. 573- Disable vectorization, as it was causing unaligned access bus error on 574 certain 32bit architectures. 575 576 577Overview of changes leading to 1.8.2 578Tuesday, July 3, 2018 579==================================== 580- Fix infinite loop in Khmer shaper. 581- Improve hb_blob_create_from_file() for streams. 582 583 584Overview of changes leading to 1.8.1 585Tuesday, June 12, 2018 586==================================== 587- Fix hb-version.h file generation; last two releases went out with wrong ones. 588- Add correctness bug in hb_set_t operations, introduced in 1.7.7. 589- Remove HB_SUBSET_BUILTIN build option. Not necessary. 590 591 592Overview of changes leading to 1.8.0 593Tuesday, June 5, 2018 594==================================== 595- Update to Unicode 11.0.0. 596 597 598Overview of changes leading to 1.7.7 599Tuesday, June 5, 2018 600==================================== 601- Lots of internal changes, but not yet exposed externally. 602- All HarfBuzz objects are significantly smaller in size now. 603- Sinhala: Position repha on top of post-consonant, not base. 604 This better matches Windows 10 behavior, which was changed 605 from previous Windows versions. 606- New build options: 607 o New cpp macro HB_NO_ATEXIT 608 o New cpp macro HB_SUBSET_BUILTIN 609- Significant libharfbuzz-subset changes. API subject to change. 610- New API in libharfbuzz: 611 612+hb_blob_create_from_file() 613+hb_face_count() 614 615A hashmap implementation: 616+hb-map.h 617+HB_MAP_VALUE_INVALID 618+hb_map_t 619+hb_map_create() 620+hb_map_get_empty() 621+hb_map_reference() 622+hb_map_destroy() 623+hb_map_set_user_data() 624+hb_map_get_user_data() 625+hb_map_allocation_successful() 626+hb_map_clear() 627+hb_map_is_empty() 628+hb_map_get_population() 629+hb_map_set() 630+hb_map_get() 631+hb_map_del() 632+hb_map_has() 633 634 635Overview of changes leading to 1.7.6 636Wednesday, March 7, 2018 637==================================== 638 639- Fix to hb_set_t binary operations. Ouch. 640- New experimental harfbuzz-subset library. All of hb-subset.h 641 is experimental right now and API WILL change. 642 643- New API: 644hb_blob_copy_writable_or_fail() 645HB_OT_TAG_BASE 646hb_set_previous() 647hb_set_previous_range() 648 649 650Overview of changes leading to 1.7.5 651Tuesday, January 30, 2018 652==================================== 653 654- Separate Khmer shaper from Indic. 655- First stab at AAT morx. Not hooked up. 656- Misc bug fixes. 657 658 659Overview of changes leading to 1.7.4 660Wednesday, December 20, 2017 661==================================== 662 663- Fix collect_glyphs() regression caused by hb_set_t changes. 664 665 666Overview of changes leading to 1.7.3 667Monday, December 18, 2017 668==================================== 669 670- hb_set_t performance tuning and optimizations. 671- Speed up collect_glyphs() and reject garbage data. 672- In hb_coretext_font_create() set font point-size (ptem). 673- Misc fixes. 674 675 676Overview of changes leading to 1.7.2 677Monday, December 4, 2017 678==================================== 679 680- Optimize hb_set_add_range(). 681- Misc fixes. 682- New API: 683hb_coretext_font_create() 684 685 686Overview of changes leading to 1.7.1 687Tuesday, November 14, 2017 688==================================== 689 690- Fix atexit object destruction regression. 691- Fix minor integer-overflow. 692 693 694Overview of changes leading to 1.7.0 695Monday, November 13, 2017 696==================================== 697 698- Minor Indic fixes. 699- Implement kerning and glyph names in hb-ot-font. 700- Various DSO optimization re .data and .bss sizes. 701- Make C++11 optional; build fixes. 702- Mark all other backends "unsafe-to-break". 703- Graphite fix. 704 705 706Overview of changes leading to 1.6.3 707Thursday, October 26th, 2017 708==================================== 709 710- Fix hb_set_t some more. Should be solid now. 711- Implement get_glyph_name() for hb-ot-font. 712- Misc fixes. 713 714 715Overview of changes leading to 1.6.2 716Monday, October 23nd, 2017 717==================================== 718 719- Yesterday's release had a bad crasher; don't use it. That's what 720 happens when one works on Sunday... 721 https://github.com/harfbuzz/harfbuzz/issues/578 722- Build fixes for FreeBSD and Chrome Android. 723 724 725Overview of changes leading to 1.6.1 726Sunday, October 22nd, 2017 727==================================== 728 729- Don't skip over COMBINING GRAPHEME JOINER when ligating, etc. 730 To be refined: https://github.com/harfbuzz/harfbuzz/issues/554 731- Faster hb_set_t implementation. 732- Don't use deprecated ICU API. 733- Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0 734- Deprecated API: 735 hb_set_invert() 736 737 738Overview of changes leading to 1.6.0 739Friday, October the 13th, 2017 740==================================== 741 742- Update to Unicode 10. 743 744- Various Indic and Universal Shaping Engine fixes as a result of 745 HarfBuzz Hackfest with Jonathan Kew at Web Engines Hackfest at 746 the Igalia offices in A Coruña, Spain. Thanks Igalia for having 747 us! 748 749- Implement Unicode Arabic Mark Ordering Algorithm UTR#53. 750 751- Implement optical sizing / tracking in CoreText backend, using 752 new API hb_font_set_ptem(). 753 754- Allow notifying hb_font_t that underlying FT_Face changed sizing, 755 using new API hb_ft_font_changed(). 756 757- More Graphite backend RTL fixes. 758 759- Fix caching of variable font shaping plans. 760 761- hb-view / hb-shape now accept following new arguments: 762 763 o --unicodes: takes a list of hex numbers that represent Unicode 764 codepoints. 765 766New API: 767+hb_face_get_table_tags() 768+hb_font_set_ptem() 769+hb_font_get_ptem() 770+hb_ft_font_changed() 771 772 773Overview of changes leading to 1.5.1 774Tuesday, September 5, 2017 775==================================== 776 777- Fix "unsafe-to-break" in fallback shaping and other corner cases. 778 All our tests pass with --verify now, meaning unsafe-to-break API 779 works as expected. 780- Add --unicodes to hb-view / hb-shape. 781- [indic] Treat Consonant_With_Stacker as consonant. This will need 782 further tweaking. 783- hb_buffer_diff() tweaks. 784 785 786Overview of changes leading to 1.5.0 787Wednesday, August 23, 2017 788==================================== 789 790- Misc new API, for appending a buffer to another, and for comparing 791 contents of two buffers for types of differences. 792 793- New "unsafe-to-break" API. Can be used to speed up reshaping 794 in line-breaking situations. Essentially, after shaping, it returns 795 positions in the input string (some of the cluster boundaries) that 796 are "safe to break" in that if the text is segmented at that position 797 and two sides reshaped and concatenated, the shaping result is 798 exactly the same as shaping the text in one piece. 799 800 hb-view and hb-shape and hb-shape now take --verify, which verifies 801 the above property. 802 803 Some corner cases of the implementation are still not quite working. 804 Those will be fixed in subsequent releases. 805 806- New API: 807 808hb_buffer_append() 809 810hb_glyph_flags_t 811HB_GLYPH_FLAG_UNSAFE_TO_BREAK 812HB_GLYPH_FLAG_DEFINED 813hb_glyph_info_get_glyph_flags() 814 815HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS 816 817hb_buffer_diff_flags_t 818HB_BUFFER_DIFF_FLAG_EQUAL 819HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH 820HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH 821HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT 822HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT 823HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH 824HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH 825HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH 826HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH 827hb_buffer_diff 828 829 830Overview of changes leading to 1.4.8 831Tuesday, August 8, 2017 832==================================== 833 834- Major fix to avar table handling. 835- Rename hb-shape --show-message to --trace. 836- Build fixes. 837 838 839Overview of changes leading to 1.4.7 840Tuesday, July 18, 2017 841==================================== 842 843- Multiple Indic, Tibetan, and Cham fixes. 844- CoreText: Allow disabling kerning. 845- Adjust Arabic feature order again. 846- Misc build fixes. 847 848 849Overview of changes leading to 1.4.6 850Sunday, April 23, 2017 851==================================== 852 853- Graphite2: Fix RTL positioning issue. 854- Backlist GDEF of more versions of Padauk and Tahoma. 855- New, experimental, cmake alternative build system. 856 857 858Overview of changes leading to 1.4.5 859Friday, March 10, 2017 860==================================== 861 862- Revert "Fix Context lookup application when moving back after a glyph..." 863 This introduced memory access problems. To be fixed properly soon. 864 865 866Overview of changes leading to 1.4.4 867Sunday, March 5, 2017 868==================================== 869 870- Fix Context lookup application when moving back after a glyph deletion. 871- Fix buffer-overrun in Bengali. 872 873 874Overview of changes leading to 1.4.3 875Saturday, February 25, 2017 876==================================== 877 878- Route Adlam script to Arabic shaper. 879- Misc fixes. 880- New API: 881 hb_font_set_face() 882- Deprecate API: 883 hb_graphite2_font_get_gr_font() 884 885 886Overview of changes leading to 1.4.2 887Monday, January 23, 2017 888==================================== 889 890- Implement OpenType Font Variation tables avar/fvar/HVAR/VVAR. 891- hb-shape and hb-view now accept --variations. 892- New API: 893 894hb_variation_t 895hb_variation_from_string() 896hb_variation_to_string() 897 898hb_font_set_variations() 899hb_font_set_var_coords_design() 900hb_font_get_var_coords_normalized() 901 902hb-ot-var.h: 903hb_ot_var_axis_t 904hb_ot_var_has_data() 905hb_ot_var_get_axis_count() 906hb_ot_var_get_axes() 907hb_ot_var_find_axis() 908hb_ot_var_normalize_variations() 909hb_ot_var_normalize_coords() 910 911- MVAR to be implemented later. Access to named instances to be 912 implemented later as well. 913 914- Misc fixes. 915 916 917Overview of changes leading to 1.4.1 918Thursday, January 5, 2017 919==================================== 920 921- Always build and use UCDN for Unicode data by default. 922 Reduces dependence on version of Unicode data in glib, 923 specially in the Windows bundles we are shipping, which 924 have very old glib. 925 926 927Overview of changes leading to 1.4.0 928Thursday, January 5, 2017 929==================================== 930 931- Merged "OpenType GX" branch which adds core of support for 932 OpenType 1.8 Font Variations. To that extent, the relevant 933 new API is: 934 935New API: 936hb_font_set_var_coords_normalized() 937 938 with supporting API: 939 940New API: 941HB_OT_LAYOUT_NO_VARIATIONS_INDEX 942hb_ot_layout_table_find_feature_variations() 943hb_ot_layout_feature_with_variations_get_lookups() 944hb_shape_plan_create2() 945hb_shape_plan_create_cached2() 946 947 Currently variations in GSUB/GPOS/GDEF are fully supported, 948 and no other tables are supported. In particular, fvar/avar 949 are NOT supported, hence the hb_font_set_var_coords_normalized() 950 taking normalized coordinates. API to take design coordinates 951 will be added in the future. 952 953 HVAR/VVAR/MVAR support will also be added to hb-ot-font in the 954 future. 955 956- Fix regression in GDEF glyph class processing. 957- Add decompositions for Chakma, Limbu, and Balinese in USE shaper. 958- Misc fixes. 959 960 961Overview of changes leading to 1.3.4 962Monday, December 5, 2016 963==================================== 964 965- Fix vertical glyph origin in hb-ot-font. 966- Implement CBDT/CBLC color font glyph extents in hb-ot-font. 967 968 969Overview of changes leading to 1.3.3 970Wednesday, September 28, 2016 971==================================== 972 973- Implement parsing of OpenType MATH table. 974New API: 975HB_OT_TAG_MATH 976HB_OT_MATH_SCRIPT 977hb_ot_math_constant_t 978hb_ot_math_kern_t 979hb_ot_math_glyph_variant_t 980hb_ot_math_glyph_part_flags_t 981hb_ot_math_glyph_part_t 982hb_ot_math_has_data 983hb_ot_math_get_constant 984hb_ot_math_get_glyph_italics_correction 985hb_ot_math_get_glyph_top_accent_attachment 986hb_ot_math_get_glyph_kerning 987hb_ot_math_is_glyph_extended_shape 988hb_ot_math_get_glyph_variants 989hb_ot_math_get_min_connector_overlap 990hb_ot_math_get_glyph_assembly 991 992 993Overview of changes leading to 1.3.2 994Wednesday, September 27, 2016 995==================================== 996 997- Fix build of hb-coretext on older OS X versions. 998 999 1000Overview of changes leading to 1.3.1 1001Wednesday, September 7, 2016 1002==================================== 1003 1004- Blacklist bad GDEF of more fonts (Padauk). 1005- More CoreText backend crash fixes with OS X 10.9.5. 1006- Misc fixes. 1007 1008 1009Overview of changes leading to 1.3.0 1010Thursday, July 21, 2016 1011==================================== 1012 1013- Update to Unicode 9.0.0 1014- Move Javanese from Indic shaper to Universal Shaping Engine. 1015- Allow MultipleSubst to delete a glyph (matching Windows engine). 1016- Update Universal Shaping Engine to latest draft from Microsoft. 1017- DirectWrite backend improvements. Note: this backend is for testing ONLY. 1018- CoreText backend improvements with unreachable fonts. 1019- Implement symbol fonts (cmap 3.0.0) in hb-ft and hb-ot-font. 1020- Blacklist bad GDEF of more fonts (Tahoma & others). 1021- Misc fixes. 1022 1023 1024Overview of changes leading to 1.2.7 1025Monday, May 2, 2016 1026==================================== 1027 1028- Blacklist another version of Times New Roman (Bold) Italic from Windows 7. 1029- Fix Mongolian Free Variation Selectors shaping with certain fonts. 1030- Fix Tibetan shorthand contractions shaping. 1031- Improved list of language tag mappings. 1032- Unbreak build on Windows CE. 1033- Make 'glyf' table loading lazy in hb-ot-font. 1034 1035 1036Overview of changes leading to 1.2.6 1037Friday, April 8, 2016 1038==================================== 1039 1040- Blacklist GDEF table of another set of Times New Roman (Bold) Italic. 1041- DirectWrite backend improvements. Note: DirectWrite backend is 1042 exclusively for our internal testing and should NOT be used in any 1043 production system whatsoever. 1044 1045 1046Overview of changes leading to 1.2.5 1047Monday, April 4, 2016 1048==================================== 1049 1050- Fix GDEF mark-filtering-set, which was broken in 1.2.3. 1051 1052 1053Overview of changes leading to 1.2.4 1054Thursday, March 17, 2016 1055==================================== 1056 1057- Synthesize GDEF glyph class for any glyph that does not have one in GDEF. 1058 I really hope we don't discover broken fonts that shape badly with this 1059 change. 1060- Misc build and other minor fixes. 1061- API changes: 1062 - Added HB_NDEBUG. It's fine for production systems to define this to 1063 disable high-overhead debugging checks. However, I also reduced the 1064 overhead of those checks, so it's a non-issue right now. You can 1065 forget it. Just not defining anything at all is fine. 1066 1067 1068Overview of changes leading to 1.2.3 1069Thursday, February 25, 2016 1070==================================== 1071 1072- Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic, 1073 due to bug in glyph class of ASCII double-quote character. This should 1074 address "regression" introduced in 1.2.0 when we switched mark zeroing 1075 in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE. 1076 This fourth release in a week should finally stablize things... 1077 1078- hb-ot-font's get_glyph() implementation saw some optimizations. Though, 1079 might be really hard to measure in real-world situations. 1080 1081- Also, two rather small API changes: 1082 1083We now disable some time-consuming internal bookkeeping if built with NDEBUG 1084defined. This is a first time that we use NDEBUG to disable debug code. If 1085there exist production systems that do NOT want to enable NDEBUG, please let 1086me know and I'll add HB_NDEBUG. 1087 1088Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph() 1089 1090New API: 1091- hb_font_get_nominal_glyph_func_t 1092- hb_font_get_variation_glyph_func_t 1093- hb_font_funcs_set_nominal_glyph_func() 1094- hb_font_funcs_set_variation_glyph_func() 1095- hb_font_get_nominal_glyph() 1096- hb_font_get_variation_glyph() 1097 1098Deprecated API: 1099- hb_font_get_glyph_func_t 1100- hb_font_funcs_set_glyph_func() 1101 1102Clients that implement their own font-funcs are encouraged to replace 1103their get_glyph() implementation with a get_nominal_glyph() and 1104get_variation_glyph() pair. The variation version can assume that 1105variation_selector argument is not zero. Old (deprecated) functions 1106will continue working indefinitely using internal gymnastics; it is 1107just more efficient to use the new functions. 1108 1109 1110Overview of changes leading to 1.2.2 1111Wednesday, February 24, 2016 1112==================================== 1113 1114- Fix regression with mark positioning with fonts that have 1115 non-zero mark advances. This was introduced in 1.2.0 while 1116 trying to make mark and cursive attachments to work together. 1117 I have partially reverted that, so this version is much more 1118 like what we had before. All clients who updated to 1.2.0 1119 should update to this version. 1120 1121 1122Overview of changes leading to 1.2.1 1123Tuesday, February 23, 2016 1124==================================== 1125 1126- CoreText: Fix bug with wrong scale if font scale was changed later. 1127 https://github.com/libass/libass/issues/212 1128- CoreText: Drastically speed up font initialization. 1129- CoreText: Fix tiny leak. 1130- Group ZWJ/ZWNJ with previous syllable under cluster-level=0. 1131 https://github.com/harfbuzz/harfbuzz/issues/217 1132- Add test/shaping/README.md about how to add tests to the suite. 1133 1134 1135Overview of changes leading to 1.2.0 1136Friday, February 19, 2016 1137==================================== 1138 1139- Fix various issues (hangs mostly) in case of memory allocation failure. 1140- Change mark zeroing types of most shapers from BY_UNICODE_LATE to 1141 BY_GDEF_LATE. This seems to be what Uniscribe does. 1142- Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's 1143 what Windows does. 1144- Allow GPOS cursive connection on marks, and fix the interaction with 1145 mark attachment. This work resulted in some changes to how mark 1146 attachments work. See: 1147 https://github.com/harfbuzz/harfbuzz/issues/211 1148 https://github.com/harfbuzz/harfbuzz/commit/86c68c7a2c971efe8e35b1f1bd99401dc8b688d2 1149- Graphite2 shaper: improved negative advance handling (eg. Nastaliq). 1150- Add nmake-based build system for Windows. 1151- Minor speedup. 1152- Misc. improvements. 1153 1154 1155Overview of changes leading to 1.1.3 1156Monday, January 11, 2016 1157==================================== 1158 1159- Ported Indic shaper to Unicode 8.0 data. 1160- Universal Shaping Engine fixes. 1161- Speed up CoreText shaper when font fallback happens in CoreText. 1162- Documentation improvements, thanks to Khaled Hosny. 1163- Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi. 1164- Misc bug fixes. 1165- New API: 1166 1167 * Font extents: 1168 hb_font_extents_t 1169 hb_font_get_font_extents_func_t 1170 hb_font_get_font_h_extents_func_t 1171 hb_font_get_font_v_extents_func_t 1172 hb_font_funcs_set_font_h_extents_func 1173 hb_font_funcs_set_font_v_extents_func 1174 hb_font_get_h_extents 1175 hb_font_get_v_extents 1176 hb_font_get_extents_for_direction 1177 1178 * Buffer message (aka debug): 1179 hb_buffer_message_func_t 1180 hb_buffer_set_message_func() 1181 Actual message protocol to be fleshed out later. 1182 1183 1184Overview of changes leading to 1.1.2 1185Wednesday, November 26, 2015 1186==================================== 1187 1188- Fix badly-broken fallback shaper that affected terminology. 1189 https://github.com/harfbuzz/harfbuzz/issues/187 1190- Fix y_scaling in Graphite shaper. 1191- API changes: 1192 * An unset glyph_h_origin() function in font-funcs now (sensibly) 1193 implies horizontal origin at 0,0. Ie, the nil callback returns 1194 true instead of false. As such, implementations that have a 1195 glyph_h_origin() that simply returns true, can remove that function 1196 with HarfBuzz >= 1.1.2. This results in a tiny speedup. 1197 1198 1199Overview of changes leading to 1.1.1 1200Wednesday, November 24, 2015 1201==================================== 1202 1203- Build fixes, specially for hb-coretext. 1204 1205 1206Overview of changes leading to 1.1.0 1207Wednesday, November 18, 2015 1208==================================== 1209 1210- Implement 'stch' stretch feature for Syriac Abbreviation Mark. 1211 https://github.com/harfbuzz/harfbuzz/issues/141 1212- Disable use of decompose_compatibility() callback. 1213- Implement "shaping" of various Unicode space characters, even 1214 if the font does not support them. 1215 https://github.com/harfbuzz/harfbuzz/issues/153 1216- If font does not support U+2011 NO-BREAK HYPHEN, fallback to 1217 U+2010 HYPHEN. 1218- Changes resulting from libFuzzer continuous fuzzing: 1219 * Reject font tables that need more than 8 edits, 1220 * Bound buffer growth during shaping to 32x, 1221 * Fix assertions and other issues at OOM / buffer max-growth. 1222- Misc fixes and optimizations. 1223- API changes: 1224 * All fonts created with hb_font_create() now inherit from 1225 (ie. have parent) hb_font_get_empty(). 1226 1227 1228Overview of changes leading to 1.0.6 1229Thursday, October 15, 2015 1230==================================== 1231 1232- Reduce max nesting level in OT lookups from 8 to 6. 1233 Should not affect any real font as far as I know. 1234- Fix memory access issue in ot-font. 1235- Revert default load-flags of fonts created using hb_ft_font_create() 1236 back to FT_LOAD_DEFAULT|FT_LOAD_NO_HINTING. This was changed in 1237 last release (1.0.5), but caused major issues, so revert. 1238 https://github.com/harfbuzz/harfbuzz/issues/143 1239 1240 1241Overview of changes leading to 1.0.5 1242Tuesday, October 13, 2015 1243==================================== 1244 1245- Fix multiple memory access bugs discovered using libFuzzer. 1246 https://github.com/harfbuzz/harfbuzz/issues/139 1247 Everyone should upgrade to this version as soon as possible. 1248 We now have continuous fuzzing set up, to avoid issues like 1249 these creeping in again. 1250- Misc fixes. 1251 1252- New API: 1253 * hb_font_set_parent(). 1254 * hb_ft_font_[sg]et_load_flags() 1255 The default flags for fonts created using hb_ft_font_create() 1256 has changed to default to FT_LOAD_DEFAULT now. Previously it 1257 was defaulting to FT_LOAD_DFEAULT|FT_LOAD_NO_HINTING. 1258 1259- API changes: 1260 * Fonts now default to units-per-EM as their scale, instead of 0. 1261 * hb_font_create_sub_font() does NOT make parent font immutable 1262 anymore. hb_font_make_immutable() does. 1263 1264 1265Overview of changes leading to 1.0.4 1266Wednesday, September 30, 2015 1267==================================== 1268 1269- Fix minor out-of-bounds read error. 1270 1271 1272Overview of changes leading to 1.0.3 1273Tuesday, September 1, 2015 1274==================================== 1275 1276- Start of user documentation, from Simon Cozens! 1277- Implement glyph_extents() for TrueType fonts in hb-ot-font. 1278- Improve GPOS cursive attachments with conflicting lookups. 1279- More fixes for cluster-level = 1. 1280- Uniscribe positioning fix. 1281 1282 1283Overview of changes leading to 1.0.2 1284Wednesday, August 19, 2015 1285==================================== 1286 1287- Fix shaping with cluster-level > 0. 1288- Fix Uniscribe backend font-size scaling. 1289- Declare dependencies in harfbuzz.pc. 1290 FreeType is not declared though, to avoid bugs in pkg-config 1291 0.26 with recursive dependencies. 1292- Slightly improved debug infrastructure. More to come later. 1293- Misc build fixes. 1294 1295 1296Overview of changes leading to 1.0.1 1297Monday, July 27, 2015 1298==================================== 1299 1300- Fix out-of-bounds access in USE shaper. 1301 1302 1303Overview of changes leading to 1.0.0 1304Sunday, July 26, 2015 1305==================================== 1306 1307- Implement Universal Shaping Engine: 1308 https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm 1309 http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/ 1310- Bump version to 1.0.0. The soname was NOT bumped. 1311 1312 1313Overview of changes leading to 0.9.42 1314Thursday, July 26, 2015 1315===================================== 1316 1317- New API to allow for retrieving finer-grained cluster 1318 mappings if the client desires to handle them. Default 1319 behavior is unchanged. 1320- Fix cluster merging when removing default-ignorables. 1321- Update to Unicode 8.0 1322- hb-graphite2 fixes. 1323- Misc fixes. 1324- Removed HB_NO_MERGE_CLUSTERS hack. 1325- New API: 1326 hb_buffer_cluster_level_t enum 1327 hb_buffer_get_cluster_level() 1328 hb_buffer_set_cluster_level() 1329 hb-shape / hb-view --cluster-level 1330 1331 1332Overview of changes leading to 0.9.41 1333Thursday, June 18, 2015 1334===================================== 1335 1336- Fix hb-coretext with trailing whitespace in right-to-left. 1337- New API: hb_buffer_reverse_range(). 1338- Allow implementing atomic ops in config.h. 1339- Fix hb_language_t in language bindings. 1340- Misc fixes. 1341 1342 1343Overview of changes leading to 0.9.40 1344Friday, March 20, 2015 1345===================================== 1346 1347- Another hb-coretext crasher fix. Ouch! 1348- Happy Norouz! 1349 1350 1351Overview of changes leading to 0.9.39 1352Wednesday, March 4, 2015 1353===================================== 1354 1355- Critical hb-coretext fixes. 1356- Optimizations and refactoring; no functional change 1357 expected. 1358- Misc build fixes. 1359 1360 1361Overview of changes leading to 0.9.38 1362Friday, January 23, 2015 1363===================================== 1364 1365- Fix minor out-of-bounds access in Indic shaper. 1366- Change New Tai Lue shaping engine from South-East Asian to default, 1367 reflecting change in Unicode encoding model. 1368- Add hb-shape --font-size. Can take up to two numbers for separate 1369 x / y size. 1370- Fix CoreText and FreeType scale issues with negative scales. 1371- Reject blobs larger than 2GB. This might break some icu-le-hb clients 1372 that need security fixes. See: 1373 http://www.icu-project.org/trac/ticket/11450 1374- Avoid accessing font tables during face destruction, in casce rogue 1375 clients released face data already. 1376- Fix up gobject-introspection a bit. Python bindings kinda working. 1377 See README.python. 1378- Misc fixes. 1379- API additions: 1380 hb_ft_face_create_referenced() 1381 hb_ft_font_create_referenced() 1382 1383 1384Overview of changes leading to 0.9.37 1385Wednesday, December 17, 2014 1386===================================== 1387 1388- Fix out-of-bounds access in Context lookup format 3. 1389- Indic: Allow ZWJ/ZWNJ before syllable modifiers. 1390 1391 1392Overview of changes leading to 0.9.36 1393Thursday, November 20, 2014 1394===================================== 1395 1396- First time that three months went by without a release since 1397 0.9.2 was released on August 10, 2012! 1398- Fix performance bug in hb_ot_collect_glyphs(): 1399 https://bugzilla.mozilla.org/show_bug.cgi?id=1090869 1400- Add basic vertical-text support to hb-ot-font. 1401- Misc build fixes. 1402 1403 1404Overview of changes leading to 0.9.35 1405Saturday, August 13, 2014 1406===================================== 1407 1408- Fix major shape-plan caching bug when more than one shaper were 1409 provided to hb_shape_full() (as exercised by XeTeX). 1410 http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html 1411- Fix Arabic fallback shaping regression. This was broken in 0.9.32. 1412- Major hb-coretext fixes. That backend is complete now, including 1413 respecing buffer direction and language, down to vertical writing. 1414- Build fixes for Windows CE. Should build fine now. 1415- Misc fixes: 1416 Use atexit() only if it's safe to call from shared library 1417 https://bugs.freedesktop.org/show_bug.cgi?id=82246 1418 Mandaic had errors in its Unicode Joining_Type 1419 https://bugs.freedesktop.org/show_bug.cgi?id=82306 1420- API changes: 1421 1422 * hb_buffer_clear_contents() does not reset buffer flags now. 1423 1424 After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't 1425 need to set flags for different pieces of text. The flags now 1426 are something the client sets up once, depending on how it 1427 actually uses the buffer. As such, don't clear it in 1428 clear_contents(). 1429 1430 I don't expect any changes to be needed to any existing client. 1431 1432 1433Overview of changes leading to 0.9.34 1434Saturday, August 2, 2014 1435===================================== 1436 1437- hb_feature_from_string() now accepts CSS font-feature-settings format. 1438- As a result, hb-shape / hb-view --features also accept CSS-style strings. 1439 Eg, "'liga' off" is accepted now. 1440- Add old-spec Myanmar shaper: 1441 https://bugs.freedesktop.org/show_bug.cgi?id=81775 1442- Don't apply 'calt' in Hangul shaper. 1443- Fix mark advance zeroing for Hebrew shaper: 1444 https://bugs.freedesktop.org/show_bug.cgi?id=76767 1445- Implement Windows-1256 custom Arabic shaping. Only built on Windows, 1446 and requires help from get_glyph(). Used by Firefox. 1447 https://bugzilla.mozilla.org/show_bug.cgi?id=1045139 1448- Disable 'liga' in vertical text. 1449- Build fixes. 1450- API changes: 1451 1452 * Make HB_BUFFER_FLAG_BOT/EOT easier to use. 1453 1454 Previously, we expected users to provide BOT/EOT flags when the 1455 text *segment* was at paragraph boundaries. This meant that for 1456 clients that provide full paragraph to HarfBuzz (eg. Pango), they 1457 had code like this: 1458 1459 hb_buffer_set_flags (hb_buffer, 1460 (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) | 1461 (item_offset + item_length == paragraph_length ? 1462 HB_BUFFER_FLAG_EOT : 0)); 1463 1464 hb_buffer_add_utf8 (hb_buffer, 1465 paragraph_text, paragraph_length, 1466 item_offset, item_length); 1467 1468 After this change such clients can simply say: 1469 1470 hb_buffer_set_flags (hb_buffer, 1471 HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT); 1472 1473 hb_buffer_add_utf8 (hb_buffer, 1474 paragraph_text, paragraph_length, 1475 item_offset, item_length); 1476 1477 Ie, HarfBuzz itself checks whether the segment is at the beginning/end 1478 of the paragraph. Clients that only pass item-at-a-time to HarfBuzz 1479 continue not setting any flags whatsoever. 1480 1481 Another way to put it is: if there's pre-context text in the buffer, 1482 HarfBuzz ignores the BOT flag. If there's post-context, it ignores 1483 EOT flag. 1484 1485 1486Overview of changes leading to 0.9.33 1487Tuesday, July 22, 2014 1488===================================== 1489 1490- Turn off ARabic 'cswh' feature that was accidentally turned on. 1491- Add HB_TAG_MAX_SIGNED. 1492- Make hb_face_make_immutable() really make face immutable! 1493- Windows build fixes. 1494 1495 1496Overview of changes leading to 0.9.32 1497Thursday, July 17, 2014 1498===================================== 1499 1500- Apply Arabic shaping features in spec order exactly. 1501- Another fix for Mongolian free variation selectors. 1502- For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt' 1503 together. 1504- Minor adjustment to U+FFFD logic. 1505- Fix hb-coretext build. 1506 1507 1508Overview of changes leading to 0.9.31 1509Wednesday, July 16, 2014 1510===================================== 1511 1512- Only accept valid UTF-8/16/32; we missed many cases before. 1513- Better shaping of invalid UTF-8/16/32. Falls back to 1514 U+FFFD REPLACEMENT CHARACTER now. 1515- With all changes in this release, the buffer will contain fully 1516 valid Unicode after hb_buffer_add_utf8/16/32 no matter how 1517 broken the input is. This can be overridden though. See below. 1518- Fix Mongolian Variation Selectors for fonts without GDEF. 1519- Fix minor invalid buffer access. 1520- Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language() 1521 now uses these instead of private tags. 1522- Build fixes. 1523- New API: 1524 * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32() 1525 used to do, ie. no validity check on the input at all. add_utf32 1526 now replaces invalid Unicode codepoints with the replacement 1527 character (see below). 1528 * hb_buffer_set_replacement_codepoint() 1529 * hb_buffer_get_replacement_codepoint() 1530 Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when 1531 we detected broken input, we replaced that with (hb_codepoint_t)-1. 1532 This has changed to use U+FFFD now, but can be changed using these 1533 new API. 1534 1535 1536Overview of changes leading to 0.9.30 1537Wednesday, July 9, 2014 1538===================================== 1539 1540- Update to Unicode 7.0.0: 1541 * New scripts Manichaean and Psalter Pahlavi are shaped using 1542 Arabic shaper. 1543 * All the other new scripts to through the generic shaper for 1544 now. 1545- Minor Indic improvements. 1546- Fix graphite2 backend cluster mapping [crasher!] 1547- API changes: 1548 * New HB_SCRIPT_* values for Unicode 7.0 scripts. 1549 * New function hb_ot_layout_language_get_required_feature(). 1550- Build fixes. 1551 1552 1553Overview of changes leading to 0.9.29 1554Thursday, May 29, 2014 1555===================================== 1556 1557- Implement cmap in hb-ot-font.h. No variation-selectors yet. 1558- Myanmar: Allow MedialYa+Asat. 1559- Various Indic fixes: 1560 * Support most characters in Extended Devanagary and Vedic 1561 Unicode blocks. 1562 * Allow digits and a some punctuation as consonant placeholders. 1563- Build fixes. 1564 1565 1566Overview of changes leading to 0.9.28 1567Monday, April 28, 2014 1568===================================== 1569 1570- Unbreak old-spec Indic shaping. (bug 76705) 1571- Fix shaping of U+17DD and U+0FC6. 1572- Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default 1573 for shipping libraries. It's an option for further experimentation 1574 right now. When we are sure how to do it properly, we will add 1575 public run-time API for the functionality. 1576- Build fixes. 1577 1578 1579Overview of changes leading to 0.9.27 1580Tuesday, March 18, 2014 1581===================================== 1582 1583- Don't use "register" storage class specifier 1584- Wrap definition of free_langs() with HAVE_ATEXIT 1585- Add coretext_aat shaper and hb_coretext_face_create() constructor 1586- If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks 1587- Add Myanmar test case from OpenType Myanmar spec 1588- Only do fallback Hebrew composition if no GPOS 'mark' available 1589- Allow bootstrapping without gtk-doc 1590- Use AM_MISSING_PROG for ragel and git 1591- Typo in ucdn's Makefile.am 1592- Improve MemoryBarrier() implementation 1593 1594 1595Overview of changes leading to 0.9.26 1596Thursday, January 30, 2014 1597===================================== 1598 1599- Misc fixes. 1600- Fix application of 'rtlm' feature. 1601- Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH. 1602- New header: hb-ot-shape.h 1603- Uniscribe: fix scratch-buffer accounting. 1604- Reorder Tai Tham SAKOT to after tone-marks. 1605- Add Hangul shaper. 1606- New files: 1607 hb-ot-shape-complex-hangul.cc 1608 hb-ot-shape-complex-hebrew.cc 1609 hb-ot-shape-complex-tibetan.cc 1610- Disable 'cswh' feature in Arabic shaper. 1611- Coretext: better handle surrogate pairs. 1612- Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE. 1613 1614 1615Overview of changes leading to 0.9.25 1616Wednesday, December 4, 2013 1617===================================== 1618 1619- Myanmar shaper improvements. 1620- Avoid font fallback in CoreText backend. 1621- Additional OpenType language tag mappiongs. 1622- More aggressive shape-plan caching. 1623- Build with / require automake 1.13. 1624- Build with libtool 2.4.2.418 alpha to support ppc64le. 1625 1626 1627Overview of changes leading to 0.9.24 1628Tuesday, November 13, 2013 1629===================================== 1630 1631- Misc compiler warning fixes with clang. 1632- No functional changes. 1633 1634 1635Overview of changes leading to 0.9.23 1636Monday, October 28, 2013 1637===================================== 1638 1639- "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013. 1640- Fix (Chain)Context recursion with non-monotone lookup positions. 1641- Misc Indic bug fixes. 1642- New Javanese / Buginese shaping, similar to Windows 8.1. 1643 1644 1645Overview of changes leading to 0.9.22 1646Thursday, October 3, 2013 1647===================================== 1648 1649- Fix use-after-end-of-scope in hb_language_from_string(). 1650- Fix hiding of default_ignorables if font doesn't have space glyph. 1651- Protect against out-of-range lookup indices. 1652 1653- API Changes: 1654 1655 * Added hb_ot_layout_table_get_lookup_count() 1656 1657 1658Overview of changes leading to 0.9.21 1659Monday, September 16, 2013 1660===================================== 1661 1662- Rename gobject-introspection library name from harfbuzz to HarfBuzz. 1663- Remove (long disabled) hb-old and hb-icu-le test shapers. 1664- Misc gtk-doc and gobject-introspection annotations. 1665- Misc fixes. 1666- API changes: 1667 1668 * Add HB_SET_VALUE_INVALID 1669 1670Overview of changes leading to 0.9.20 1671Thursday, August 29, 2013 1672===================================== 1673 1674General: 1675- Misc substitute_closure() fixes. 1676- Build fixes. 1677 1678Documentation: 1679- gtk-doc boilerplate integrated. Docs are built now, but 1680 contain no contents. By next release hopefully we have 1681 some content in. Enable using --enable-gtk-doc. 1682 1683GObject and Introspection: 1684- Added harfbuzz-gobject library (hb-gobject.h) that has type 1685 bindings for all HarfBuzz objects and enums. Enable using 1686 --with-gobject. 1687- Added gobject-introspection boilerplate. Nothing useful 1688 right now. Work in progress. Gets enabled automatically if 1689 --with-gobject is used. Override with --disable-introspection. 1690 1691OpenType shaper: 1692- Apply 'mark' in Myanmar shaper. 1693- Don't apply 'dlig' by default. 1694 1695Uniscribe shaper: 1696- Support user features. 1697- Fix loading of fonts that are also installed on the system. 1698- Fix shaping of Arabic Presentation Forms. 1699- Fix build with wide chars. 1700 1701CoreText shaper: 1702- Support user features. 1703 1704Source changes: 1705- hb_face_t code moved to hb-face.h / hb-face.cc. 1706- Added hb-deprecated.h. 1707 1708API changes: 1709- Added HB_DISABLE_DEPRECATED. 1710- Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by 1711 HB_SCRIPT_CANADIAN_SYLLABICS. 1712- Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by 1713 HB_BUFFER_FLAG_DEFAULT. 1714- Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by 1715 HB_BUFFER_SERIALIZE_FLAG_DEFAULT. 1716 1717 1718Overview of changes leading to 0.9.19 1719Tuesday, July 16, 2013 1720===================================== 1721 1722- Build fixes. 1723- Better handling of multiple variation selectors in a row. 1724- Pass on variation selector to GSUB if not consumed by cmap. 1725- Fix undefined memory access. 1726- Add Javanese config to Indic shaper. 1727- Misc bug fixes. 1728 1729Overview of changes leading to 0.9.18 1730Tuesday, May 28, 2013 1731===================================== 1732 1733New build system: 1734 1735- All unneeded code is all disabled by default, 1736 1737- Uniscribe and CoreText shapers can be enabled with their --with options, 1738 1739- icu_le and old shapers cannot be enabled for now, 1740 1741- glib, freetype, and cairo will be detected automatically. 1742 They can be force on/off'ed with their --with options, 1743 1744- icu and graphite2 are default off, can be enabled with their --with 1745 options, 1746 1747Moreover, ICU support is now build into a separate library: 1748libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it. 1749Distros can enable ICU now without every application on earth 1750getting linked to via libharfbuzz.so. 1751 1752For distros I recommend that they make sure they are building --with-glib 1753--with-freetype --with-cairo, --with-icu, and optionally --with-graphite2; 1754And package harfbuzz and harfbuzz-icu separately. 1755 1756 1757Overview of changes leading to 0.9.17 1758Monday, May 20, 2013 1759===================================== 1760 1761- Build fixes. 1762- Fix bug in hb_set_get_min(). 1763- Fix regression with Arabic mark positioning / width-zeroing. 1764 1765Overview of changes leading to 0.9.16 1766Friday, April 19, 2013 1767===================================== 1768 1769- Major speedup in OpenType lookup processing. With the Amiri 1770 Arabic font, this release is over 3x faster than previous 1771 release. All scripts / languages should see this speedup. 1772 1773- New --num-iterations option for hb-shape / hb-view; useful for 1774 profiling. 1775 1776Overview of changes leading to 0.9.15 1777Friday, April 05, 2013 1778===================================== 1779 1780- Build fixes. 1781- Fix crasher in graphite2 shaper. 1782- Fix Arabic mark width zeroing regression. 1783- Don't compose Hangul jamo into Unicode syllables. 1784 1785 1786Overview of changes leading to 0.9.14 1787Thursday, March 21, 2013 1788===================================== 1789 1790- Build fixes. 1791- Fix time-consuming sanitize with malicious fonts. 1792- Implement hb_buffer_deserialize_glyphs() for both json and text. 1793- Do not ignore Hangul filler characters. 1794- Indic fixes: 1795 * Fix Malayalam pre-base reordering interaction with post-forms. 1796 * Further adjust ZWJ handling. Should fix known regressions from 1797 0.9.13. 1798 1799 1800Overview of changes leading to 0.9.13 1801Thursday, February 25, 2013 1802===================================== 1803 1804- Build fixes. 1805- Ngapi HarfBuzz Hackfest in London (February 2013): 1806 * Fixed all known Indic bugs, 1807 * New Win8-style Myanmar shaper, 1808 * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue, 1809 * Smartly ignore Default_Ignorable characters (joiners, etc) wheb 1810 matching GSUB/GPOS lookups, 1811 * Fix 'Phags-Pa U+A872 shaping, 1812 * Fix partial disabling of default-on features, 1813 * Allow disabling of TrueType kerning. 1814- Fix possible crasher with broken fonts with overlapping tables. 1815- Removed generated files from git again. So, one needs ragel to 1816 bootstrap from the git tree. 1817 1818API changes: 1819- hb_shape() and related APIs now abort if buffer direction is 1820 HB_DIRECTION_INVALID. Previously, hb_shape() was calling 1821 hb_buffer_guess_segment_properties() on the buffer before 1822 shaping. The heuristics in that function are fragile. If the 1823 user really wants the old behvaior, they can call that function 1824 right before calling hb_shape() to get the old behavior. 1825- hb_blob_create_sub_blob() always creates sub-blob with 1826 HB_MEMORY_MODE_READONLY. See comments for the reason. 1827 1828 1829Overview of changes leading to 0.9.12 1830Thursday, January 18, 2013 1831===================================== 1832 1833- Build fixes for Sun compiler. 1834- Minor bug fix. 1835 1836Overview of changes leading to 0.9.11 1837Thursday, January 10, 2013 1838===================================== 1839 1840- Build fixes. 1841- Fix GPOS mark attachment with null Anchor offsets. 1842- [Indic] Fix old-spec reordering of viramas if sequence ends in one. 1843- Fix multi-threaded shaper data creation crash. 1844- Add atomic ops for Solaris. 1845 1846API changes: 1847- Rename hb_buffer_clear() to hb_buffer_clear_contents(). 1848 1849 1850Overview of changes leading to 0.9.10 1851Thursday, January 3, 2013 1852===================================== 1853 1854- [Indic] Fixed rendering of Malayalam dot-reph 1855- Updated OT language tags. 1856- Updated graphite2 backend. 1857- Improved hb_ot_layout_get_size_params() logic. 1858- Improve hb-shape/hb-view help output. 1859- Fixed hb-set.h implementation to not crash. 1860- Fixed various issues with hb_ot_layout_collect_lookups(). 1861- Various build fixes. 1862 1863New API: 1864 1865hb_graphite2_face_get_gr_face() 1866hb_graphite2_font_get_gr_font() 1867hb_coretext_face_get_cg_font() 1868 1869Modified API: 1870 1871hb_ot_layout_get_size_params() 1872 1873 1874Overview of changes leading to 0.9.9 1875Wednesday, December 5, 2012 1876==================================== 1877 1878- Fix build on Windows. 1879- Minor improvements. 1880 1881 1882Overview of changes leading to 0.9.8 1883Tuesday, December 4, 2012 1884==================================== 1885 1886 1887- Actually implement hb_shape_plan_get_shaper (). 1888- Make UCDB data tables const. 1889- Lots of internal refactoring in OTLayout tables. 1890- Flesh out hb_ot_layout_lookup_collect_glyphs(). 1891 1892New API: 1893 1894hb_ot_layout_collect_lookups() 1895hb_ot_layout_get_size_params() 1896 1897 1898Overview of changes leading to 0.9.7 1899Sunday, November 21, 2012 1900==================================== 1901 1902 1903HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes. 1904 1905- Fix Arabic contextual joining using pre-context text. 1906- Fix Sinhala "split matra" mess. 1907- Fix Khmer shaping with broken fonts. 1908- Implement Thai "PUA" shaping for old fonts. 1909- Do NOT route Kharoshthi script through the Indic shaper. 1910- Disable fallback positioning for Indic and Thai shapers. 1911- Misc fixes. 1912 1913 1914hb-shape / hb-view changes: 1915 1916- Add --text-before and --text-after 1917- Add --bot / --eot / --preserve-default-ignorables 1918- hb-shape --output-format=json 1919 1920 1921New API: 1922 1923hb_buffer_clear() 1924 1925hb_buffer_flags_t 1926 1927HB_BUFFER_FLAGS_DEFAULT 1928HB_BUFFER_FLAG_BOT 1929HB_BUFFER_FLAG_EOT 1930HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES 1931 1932hb_buffer_set_flags() 1933hb_buffer_get_flags() 1934 1935HB_BUFFER_SERIALIZE_FLAGS 1936hb_buffer_serialize_glyphs() 1937hb_buffer_deserialize_glyphs() 1938hb_buffer_serialize_list_formats() 1939 1940hb_set_add_range() 1941hb_set_del_range() 1942hb_set_get_population() 1943hb_set_next_range() 1944 1945hb_face_[sg]et_glyph_count() 1946 1947hb_segment_properties_t 1948HB_SEGMENT_PROPERTIES_DEFAULT 1949hb_segment_properties_equal() 1950hb_segment_properties_hash() 1951 1952hb_buffer_set_segment_properties() 1953hb_buffer_get_segment_properties() 1954 1955hb_ot_layout_glyph_class_t 1956hb_ot_layout_get_glyph_class() 1957hb_ot_layout_get_glyphs_in_class() 1958 1959hb_shape_plan_t 1960hb_shape_plan_create() 1961hb_shape_plan_create_cached() 1962hb_shape_plan_get_empty() 1963hb_shape_plan_reference() 1964hb_shape_plan_destroy() 1965hb_shape_plan_set_user_data() 1966hb_shape_plan_get_user_data() 1967hb_shape_plan_execute() 1968hb_shape_plan_get_shaper() 1969 1970hb_ot_shape_plan_collect_lookups() 1971 1972 1973API changes: 1974 1975- Remove "mask" parameter from hb_buffer_add(). 1976- Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup(). 1977- hb-set.h API const correction. 1978- Renamed hb_set_min/max() to hb_set_get_min/max(). 1979- Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups(). 1980- Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties(). 1981 1982 1983 1984Overview of changes leading to 0.9.6 1985Sunday, November 13, 2012 1986==================================== 1987 1988- Don't clear pre-context text if no new context is provided. 1989- Fix ReverseChainingSubstLookup, which was totally borked. 1990- Adjust output format of hb-shape a bit. 1991- Include config.h.in in-tree. Makes it easier for alternate build systems. 1992- Fix hb_buffer_set_length(buffer, 0) invalid memory allocation. 1993- Use ICU LayoutEngine's C API instead of C++. Avoids much headache. 1994- Drop glyphs for all of Unicode Default_Ignorable characters. 1995- Misc build fixes. 1996 1997Arabic shaper: 1998- Enable 'dlig' and 'mset' features in Arabic shaper. 1999- Implement 'Phags-pa shaping, improve Mongolian. 2000 2001Indic shaper: 2002- Decompose Sinhala split matras the way old HarfBuzz / Pango did. 2003- Initial support for Consonant Medials. 2004- Start adding new-style Myanmar shaping. 2005- Make reph and 'pref' logic introspect the font. 2006- Route Meetei-Mayek through the Indic shaper. 2007- Don't apply 'liga' in Indic shaper. 2008- Improve Malayalam pre-base reordering Ra interaction with Chillus. 2009 2010 2011 2012Overview of changes leading to 0.9.5 2013Sunday, October 14, 2012 2014==================================== 2015 2016- Synthetic-GSUB Arabic fallback shaping. 2017 2018- Misc Indic improvements. 2019 2020- Add build system support for pthread. 2021 2022- Imported UCDN for in-tree Unicode callbacks implementation. 2023 2024- Context-aware Arabic joining. 2025 2026- Misc other fixes. 2027 2028- New API: 2029 2030 hb_feature_to/from-string() 2031 hb_buffer_[sg]et_content_type() 2032 2033 2034 2035Overview of changes leading to 0.9.4 2036Tuesday, Sep 03, 2012 2037==================================== 2038 2039- Indic improvements with old-spec Malayalam. 2040 2041- Better fallback glyph positioning, specially with Thai / Lao marks. 2042 2043- Implement dotted-circle insertion. 2044 2045- Better Arabic fallback shaping / ligation. 2046 2047- Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name. 2048 2049- Misc fixes. 2050 2051 2052 2053Overview of changes leading to 0.9.3 2054Friday, Aug 18, 2012 2055==================================== 2056 2057- Fixed fallback mark positioning for left-to-right text. 2058 2059- Improve mark positioning for the remaining combining classes. 2060 2061- Unbreak Thai and fallback Arabic shaping. 2062 2063- Port Arabic shaper to shape-plan caching. 2064 2065- Use new ICU normalizer functions. 2066 2067 2068 2069Overview of changes leading to 0.9.2 2070Friday, Aug 10, 2012 2071==================================== 2072 2073- Over a thousand commits! This is the first major release of HarfBuzz. 2074 2075- HarfBuzz is feature-complete now! It should be in par, or better, than 2076 both Pango's shapers and old HarfBuzz / Qt shapers. 2077 2078- New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer. 2079 2080- Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic, 2081 Sinhala, N'ko, Mongolian, and Mandaic. 2082 2083- New Thai / Lao shaper. 2084 2085- Tibetan / Hangul support in the generic shaper. 2086 2087- Synthetic GDEF support for fonts without a GDEF table. 2088 2089- Fallback mark positioning for fonts without a GPOS table. 2090 2091- Unicode normalization shaping heuristic during glyph mapping. 2092 2093- New experimental Graphite2 backend. 2094 2095- New Uniscribe backend (primarily for testing). 2096 2097- New CoreText backend (primarily for testing). 2098 2099- Major optimization and speedup. 2100 2101- Test suites and testing infrastructure (work in progress). 2102 2103- Greatly improved hb-view cmdline tool. 2104 2105- hb-shape cmdline tool. 2106 2107- Unicode 6.1 support. 2108 2109Summary of API changes: 2110 2111o Changed API: 2112 2113 - Users are expected to only include main header files now (ie. hb.h, 2114 hb-glib.h, hb-ft.h, ...) 2115 2116 - All struct tag names had their initial underscore removed. 2117 Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now. 2118 2119 - All set_user_data() functions now take a "replace" boolean parameter. 2120 2121 - hb_buffer_create() takes zero arguments now. 2122 Use hb_buffer_pre_allocate() to pre-allocate. 2123 2124 - hb_buffer_add_utf*() now accept -1 for length parameteres, 2125 meaning "nul-terminated". 2126 2127 - hb_direction_t enum values changed. 2128 2129 - All *_from_string() APIs now take a length parameter to allow for 2130 non-nul-terminated strings. A -1 length means "nul-terminated". 2131 2132 - Typedef for hb_language_t changed. 2133 2134 - hb_get_table_func_t renamed to hb_reference_table_func_t. 2135 2136 - hb_ot_layout_table_choose_script() 2137 2138 - Various renames in hb-unicode.h. 2139 2140o New API: 2141 2142 - hb_buffer_guess_properties() 2143 Automatically called by hb_shape(). 2144 2145 - hb_buffer_normalize_glyphs() 2146 2147 - hb_tag_from_string() 2148 2149 - hb-coretext.h 2150 2151 - hb-uniscribe.h 2152 2153 - hb_face_reference_blob() 2154 - hb_face_[sg]et_index() 2155 - hb_face_set_upem() 2156 2157 - hb_font_get_glyph_name_func_t 2158 hb_font_get_glyph_from_name_func_t 2159 hb_font_funcs_set_glyph_name_func() 2160 hb_font_funcs_set_glyph_from_name_func() 2161 hb_font_get_glyph_name() 2162 hb_font_get_glyph_from_name() 2163 hb_font_glyph_to_string() 2164 hb_font_glyph_from_string() 2165 2166 - hb_font_set_funcs_data() 2167 2168 - hb_ft_font_set_funcs() 2169 - hb_ft_font_get_face() 2170 2171 - hb-gobject.h (work in progress) 2172 2173 - hb_ot_shape_glyphs_closure() 2174 hb_ot_layout_substitute_closure_lookup() 2175 2176 - hb-set.h 2177 2178 - hb_shape_full() 2179 2180 - hb_unicode_combining_class_t 2181 2182 - hb_unicode_compose_func_t 2183 hb_unicode_decompose_func_t 2184 hb_unicode_decompose_compatibility_func_t 2185 hb_unicode_funcs_set_compose_func() 2186 hb_unicode_funcs_set_decompose_func() 2187 hb_unicode_funcs_set_decompose_compatibility_func() 2188 hb_unicode_compose() 2189 hb_unicode_decompose() 2190 hb_unicode_decompose_compatibility() 2191 2192o Removed API: 2193 2194 - hb_ft_get_font_funcs() 2195 2196 - hb_ot_layout_substitute_start() 2197 hb_ot_layout_substitute_lookup() 2198 hb_ot_layout_substitute_finish() 2199 hb_ot_layout_position_start() 2200 hb_ot_layout_position_lookup() 2201 hb_ot_layout_position_finish() 2202 2203 2204 2205Overview of changes leading to 0.6.0 2206Friday, May 27, 2011 2207==================================== 2208 2209- Vertical text support in GPOS 2210- Almost all API entries have unit tests now, under test/ 2211- All thread-safety issues are fixed 2212 2213Summary of API changes follows. 2214 2215 2216* Simple Types API: 2217 2218 o New API: 2219 HB_LANGUAGE_INVALID 2220 hb_language_get_default() 2221 hb_direction_to_string() 2222 hb_direction_from_string() 2223 hb_script_get_horizontal_direction() 2224 HB_UNTAG() 2225 2226 o Renamed API: 2227 hb_category_t renamed to hb_unicode_general_category_t 2228 2229 o Changed API: 2230 hb_language_t is a typed pointers now 2231 2232 o Removed API: 2233 HB_TAG_STR() 2234 2235 2236* Use ISO 15924 tags for hb_script_t: 2237 2238 o New API: 2239 hb_script_from_iso15924_tag() 2240 hb_script_to_iso15924_tag() 2241 hb_script_from_string() 2242 2243 o Changed API: 2244 HB_SCRIPT_* enum members changed value. 2245 2246 2247* Buffer API streamlined: 2248 2249 o New API: 2250 hb_buffer_reset() 2251 hb_buffer_set_length() 2252 hb_buffer_allocation_successful() 2253 2254 o Renamed API: 2255 hb_buffer_ensure() renamed to hb_buffer_pre_allocate() 2256 hb_buffer_add_glyph() renamed to hb_buffer_add() 2257 2258 o Removed API: 2259 hb_buffer_clear() 2260 hb_buffer_clear_positions() 2261 2262 o Changed API: 2263 hb_buffer_get_glyph_infos() takes an out length parameter now 2264 hb_buffer_get_glyph_positions() takes an out length parameter now 2265 2266 2267* Blob API streamlined: 2268 2269 o New API: 2270 hb_blob_get_data() 2271 hb_blob_get_data_writable() 2272 2273 o Renamed API: 2274 hb_blob_create_empty() renamed to hb_blob_get_empty() 2275 2276 o Removed API: 2277 hb_blob_lock() 2278 hb_blob_unlock() 2279 hb_blob_is_writable() 2280 hb_blob_try_writable() 2281 2282 o Changed API: 2283 hb_blob_create() takes user_data before destroy now 2284 2285 2286* Unicode functions API: 2287 2288 o Unicode function vectors can subclass other unicode function vectors now. 2289 Unimplemented callbacks in the subclass automatically chainup to the parent. 2290 2291 o All hb_unicode_funcs_t callbacks take a user_data now. Their setters 2292 take a user_data and its respective destroy callback. 2293 2294 o New API: 2295 hb_unicode_funcs_get_empty() 2296 hb_unicode_funcs_get_default() 2297 hb_unicode_funcs_get_parent() 2298 2299 o Changed API: 2300 hb_unicode_funcs_create() now takes a parent_funcs. 2301 2302 o Removed func getter functions: 2303 hb_unicode_funcs_get_mirroring_func() 2304 hb_unicode_funcs_get_general_category_func() 2305 hb_unicode_funcs_get_script_func() 2306 hb_unicode_funcs_get_combining_class_func() 2307 hb_unicode_funcs_get_eastasian_width_func() 2308 2309 2310* Face API: 2311 2312 o Renamed API: 2313 hb_face_get_table() renamed to hb_face_reference_table() 2314 hb_face_create_for_data() renamed to hb_face_create() 2315 2316 o Changed API: 2317 hb_face_create_for_tables() takes user_data before destroy now 2318 hb_face_reference_table() returns empty blob instead of NULL 2319 hb_get_table_func_t accepts the face as first parameter now 2320 2321* Font API: 2322 2323 o Fonts can subclass other fonts now. Unimplemented callbacks in the 2324 subclass automatically chainup to the parent. When chaining up, 2325 scale is adjusted if the parent font has a different scale. 2326 2327 o All hb_font_funcs_t callbacks take a user_data now. Their setters 2328 take a user_data and its respective destroy callback. 2329 2330 o New API: 2331 hb_font_get_parent() 2332 hb_font_funcs_get_empty() 2333 hb_font_create_sub_font() 2334 2335 o Removed API: 2336 hb_font_funcs_copy() 2337 hb_font_unset_funcs() 2338 2339 o Removed func getter functions: 2340 hb_font_funcs_get_glyph_func() 2341 hb_font_funcs_get_glyph_advance_func() 2342 hb_font_funcs_get_glyph_extents_func() 2343 hb_font_funcs_get_contour_point_func() 2344 hb_font_funcs_get_kerning_func() 2345 2346 o Changed API: 2347 hb_font_create() takes a face and references it now 2348 hb_font_set_funcs() takes user_data before destroy now 2349 hb_font_set_scale() accepts signed integers now 2350 hb_font_get_contour_point_func_t now takes glyph first, then point_index 2351 hb_font_get_glyph_func_t returns a success boolean now 2352 2353 2354* Changed object model: 2355 2356 o All object types have a _get_empty() now: 2357 hb_blob_get_empty() 2358 hb_buffer_get_empty() 2359 hb_face_get_empty() 2360 hb_font_get_empty() 2361 hb_font_funcs_get_empty() 2362 hb_unicode_funcs_get_empty() 2363 2364 o Added _set_user_data() and _get_user_data() for all object types: 2365 hb_blob_get_user_data() 2366 hb_blob_set_user_data() 2367 hb_buffer_get_user_data() 2368 hb_buffer_set_user_data() 2369 hb_face_get_user_data() 2370 hb_face_set_user_data() 2371 hb_font_funcs_get_user_data() 2372 hb_font_funcs_set_user_data() 2373 hb_font_get_user_data() 2374 hb_font_set_user_data() 2375 hb_unicode_funcs_get_user_data() 2376 hb_unicode_funcs_set_user_data() 2377 2378 o Removed the _get_reference_count() from all object types: 2379 hb_blob_get_reference_count() 2380 hb_buffer_get_reference_count() 2381 hb_face_get_reference_count() 2382 hb_font_funcs_get_reference_count() 2383 hb_font_get_reference_count() 2384 hb_unicode_funcs_get_reference_count() 2385 2386 o Added _make_immutable() and _is_immutable() for all object types except for buffer: 2387 hb_blob_make_immutable() 2388 hb_blob_is_immutable() 2389 hb_face_make_immutable() 2390 hb_face_is_immutable() 2391 2392 2393* Changed API for vertical text support 2394 2395 o The following callbacks where removed: 2396 hb_font_get_glyph_advance_func_t 2397 hb_font_get_kerning_func_t 2398 2399 o The following new callbacks added instead: 2400 hb_font_get_glyph_h_advance_func_t 2401 hb_font_get_glyph_v_advance_func_t 2402 hb_font_get_glyph_h_origin_func_t 2403 hb_font_get_glyph_v_origin_func_t 2404 hb_font_get_glyph_h_kerning_func_t 2405 hb_font_get_glyph_v_kerning_func_t 2406 2407 o The following API removed as such: 2408 hb_font_funcs_set_glyph_advance_func() 2409 hb_font_funcs_set_kerning_func() 2410 hb_font_get_glyph_advance() 2411 hb_font_get_kerning() 2412 2413 o New API added instead: 2414 hb_font_funcs_set_glyph_h_advance_func() 2415 hb_font_funcs_set_glyph_v_advance_func() 2416 hb_font_funcs_set_glyph_h_origin_func() 2417 hb_font_funcs_set_glyph_v_origin_func() 2418 hb_font_funcs_set_glyph_h_kerning_func() 2419 hb_font_funcs_set_glyph_v_kerning_func() 2420 hb_font_get_glyph_h_advance() 2421 hb_font_get_glyph_v_advance() 2422 hb_font_get_glyph_h_origin() 2423 hb_font_get_glyph_v_origin() 2424 hb_font_get_glyph_h_kerning() 2425 hb_font_get_glyph_v_kerning() 2426 2427 o The following higher-leve API added for convenience: 2428 hb_font_get_glyph_advance_for_direction() 2429 hb_font_get_glyph_origin_for_direction() 2430 hb_font_add_glyph_origin_for_direction() 2431 hb_font_subtract_glyph_origin_for_direction() 2432 hb_font_get_glyph_kerning_for_direction() 2433 hb_font_get_glyph_extents_for_origin() 2434 hb_font_get_glyph_contour_point_for_origin() 2435 2436 2437* OpenType Layout API: 2438 2439 o New API: 2440 hb_ot_layout_position_start() 2441 hb_ot_layout_substitute_start() 2442 hb_ot_layout_substitute_finish() 2443 2444 2445* Glue code: 2446 2447 o New API: 2448 hb_glib_script_to_script() 2449 hb_glib_script_from_script() 2450 hb_icu_script_to_script() 2451 hb_icu_script_from_script() 2452 2453 2454* Version API added: 2455 2456 o New API: 2457 HB_VERSION_MAJOR 2458 HB_VERSION_MINOR 2459 HB_VERSION_MICRO 2460 HB_VERSION_STRING 2461 HB_VERSION_CHECK() 2462 hb_version() 2463 hb_version_string() 2464 hb_version_check() 2465 2466 2467