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