Behdad Esfahbod | af596a5 | 2017-01-05 20:24:41 -0800 | [diff] [blame^] | 1 | Overview of changes leading to 1.4.1 |
| 2 | Thursday, January 5, 2017 |
| 3 | ==================================== |
| 4 | |
| 5 | - Always build and use UCDN for Unicode data by default. |
| 6 | Reduces dependence on version of Unicode data in glib, |
| 7 | specially in the Windows bundles we are shipping, which |
| 8 | have very old glib. |
| 9 | |
| 10 | |
Behdad Esfahbod | f339706 | 2017-01-05 01:27:49 -0800 | [diff] [blame] | 11 | Overview of changes leading to 1.4.0 |
| 12 | Thursday, January 5, 2017 |
| 13 | ==================================== |
| 14 | |
| 15 | - Merged "OpenType GX" branch which adds core of support for |
| 16 | OpenType 1.8 Font Variations. To that extent, the relevant |
| 17 | new API is: |
| 18 | |
| 19 | New API: |
| 20 | hb_font_set_var_coords_normalized() |
| 21 | |
| 22 | with supporting API: |
| 23 | |
| 24 | New API: |
| 25 | HB_OT_LAYOUT_NO_VARIATIONS_INDEX |
| 26 | hb_ot_layout_table_find_feature_variations() |
| 27 | hb_ot_layout_feature_with_variations_get_lookups() |
| 28 | hb_shape_plan_create2() |
| 29 | hb_shape_plan_create_cached2() |
| 30 | |
| 31 | Currently variations in GSUB/GPOS/GDEF are fully supported, |
| 32 | and no other tables are supported. In particular, fvar/avar |
| 33 | are NOT supported, hence the hb_font_set_var_coords_normalized() |
| 34 | taking normalized coordinates. API to take design coordinates |
| 35 | will be added in the future. |
| 36 | |
| 37 | HVAR/VVAR/MVAR support will also be added to hb-ot-font in the |
| 38 | future. |
| 39 | |
| 40 | - Fix regression in GDEF glyph class processing. |
| 41 | - Add decompositions for Chakma, Limbu, and Balinese in USE shaper. |
| 42 | - Misc fixes. |
| 43 | |
| 44 | |
Behdad Esfahbod | b843c6d | 2016-12-05 13:42:28 -0800 | [diff] [blame] | 45 | Overview of changes leading to 1.3.4 |
| 46 | Monday, December 5, 2016 |
| 47 | ==================================== |
| 48 | |
| 49 | - Fix vertical glyph origin in hb-ot-font. |
| 50 | - Implement CBDT/CBLC color font glyph extents in hb-ot-font. |
| 51 | |
| 52 | |
Behdad Esfahbod | 966ac7e | 2016-10-26 16:17:15 +0200 | [diff] [blame] | 53 | Overview of changes leading to 1.3.3 |
| 54 | Wednesday, September 28, 2016 |
| 55 | ==================================== |
| 56 | |
| 57 | - Implement parsing of OpenType MATH table. |
| 58 | New API: |
| 59 | HB_OT_TAG_MATH |
| 60 | HB_OT_MATH_SCRIPT |
| 61 | hb_ot_math_constant_t |
| 62 | hb_ot_math_kern_t |
| 63 | hb_ot_math_glyph_variant_t |
| 64 | hb_ot_math_glyph_part_flags_t |
| 65 | hb_ot_math_glyph_part_t |
| 66 | hb_ot_math_has_data |
| 67 | hb_ot_math_get_constant |
| 68 | hb_ot_math_get_glyph_italics_correction |
| 69 | hb_ot_math_get_glyph_top_accent_attachment |
| 70 | hb_ot_math_get_glyph_kerning |
| 71 | hb_ot_math_is_glyph_extended_shape |
| 72 | hb_ot_math_get_glyph_variants |
| 73 | hb_ot_math_get_min_connector_overlap |
| 74 | hb_ot_math_get_glyph_assembly |
| 75 | |
| 76 | |
Behdad Esfahbod | f73a87d | 2016-09-27 13:50:54 +0200 | [diff] [blame] | 77 | Overview of changes leading to 1.3.2 |
| 78 | Wednesday, September 27, 2016 |
| 79 | ==================================== |
| 80 | |
| 81 | - Fix build of hb-coretext on older OS X versions. |
| 82 | |
| 83 | |
Behdad Esfahbod | d22ab6c | 2016-09-07 14:28:47 -0700 | [diff] [blame] | 84 | Overview of changes leading to 1.3.1 |
| 85 | Wednesday, September 7, 2016 |
| 86 | ==================================== |
| 87 | |
| 88 | - Blacklist bad GDEF of more fonts (Padauk). |
| 89 | - More CoreText backend crash fixes with OS X 10.9.5. |
| 90 | - Misc fixes. |
| 91 | |
| 92 | |
Behdad Esfahbod | a732e00 | 2016-07-21 01:58:00 -0700 | [diff] [blame] | 93 | Overview of changes leading to 1.3.0 |
| 94 | Thursday, July 21, 2016 |
| 95 | ==================================== |
| 96 | |
| 97 | - Update to Unicode 9.0.0 |
| 98 | - Move Javanese from Indic shaper to Universal Shaping Engine. |
| 99 | - Allow MultipleSubst to delete a glyph (matching Windows engine). |
| 100 | - Update Universal Shaping Engine to latest draft from Microsoft. |
| 101 | - DirectWrite backend improvements. Note: this backend is for testing ONLY. |
| 102 | - CoreText backend improvements with unreachable fonts. |
| 103 | - Implement symbol fonts (cmap 3.0.0) in hb-ft and hb-ot-font. |
| 104 | - Blacklist bad GDEF of more fonts (Tahoma & others). |
| 105 | - Misc fixes. |
| 106 | |
| 107 | |
Behdad Esfahbod | a5b7b0d | 2016-05-02 10:44:13 +0200 | [diff] [blame] | 108 | Overview of changes leading to 1.2.7 |
| 109 | Monday, May 2, 2016 |
| 110 | ==================================== |
| 111 | |
| 112 | - Blacklist another version of Times New Roman (Bold) Italic from Windows 7. |
| 113 | - Fix Mongolian Free Variation Selectors shaping with certain fonts. |
| 114 | - Fix Tibetan shorthand contractions shaping. |
| 115 | - Improved list of language tag mappings. |
| 116 | - Unbreak build on Windows CE. |
| 117 | - Make 'glyf' table loading lazy in hb-ot-font. |
| 118 | |
| 119 | |
Behdad Esfahbod | 00ea66f | 2016-04-08 13:51:01 -0700 | [diff] [blame] | 120 | Overview of changes leading to 1.2.6 |
| 121 | Friday, April 8, 2016 |
| 122 | ==================================== |
| 123 | |
| 124 | - Blacklist GDEF table of another set of Times New Roman (Bold) Italic. |
| 125 | - DirectWrite backend improvements. Note: DirectWrite backend is |
| 126 | exclusively for our internal testing and should NOT be used in any |
| 127 | production system whatsoever. |
| 128 | |
| 129 | |
Behdad Esfahbod | a0331b5 | 2016-04-04 16:25:32 -0700 | [diff] [blame] | 130 | Overview of changes leading to 1.2.5 |
| 131 | Monday, April 4, 2016 |
| 132 | ==================================== |
| 133 | |
| 134 | - Fix GDEF mark-filtering-set, which was broken in 1.2.3. |
| 135 | |
| 136 | |
Behdad Esfahbod | 0251b0c | 2016-03-17 14:37:11 -0700 | [diff] [blame] | 137 | Overview of changes leading to 1.2.4 |
| 138 | Thursday, March 17, 2016 |
| 139 | ==================================== |
| 140 | |
| 141 | - Synthesize GDEF glyph class for any glyph that does not have one in GDEF. |
| 142 | I really hope we don't discover broken fonts that shape badly with this |
| 143 | change. |
| 144 | - Misc build and other minor fixes. |
| 145 | - API changes: |
| 146 | - Added HB_NDEBUG. It's fine for production systems to define this to |
| 147 | disable high-overhead debugging checks. However, I also reduced the |
| 148 | overhead of those checks, so it's a non-issue right now. You can |
| 149 | forget it. Just not defining anything at all is fine. |
| 150 | |
| 151 | |
Behdad Esfahbod | 75568b0 | 2016-02-25 12:26:26 +0900 | [diff] [blame] | 152 | Overview of changes leading to 1.2.3 |
| 153 | Thursday, February 25, 2016 |
| 154 | ==================================== |
| 155 | |
| 156 | - Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic, |
| 157 | due to bug in glyph class of ASCII double-quote character. This should |
| 158 | address "regression" introduced in 1.2.0 when we switched mark zeroing |
| 159 | in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE. |
| 160 | This fourth release in a week should finally stablize things... |
| 161 | |
| 162 | - hb-ot-font's get_glyph() implementation saw some optimizations. Though, |
| 163 | might be really hard to measure in real-world situations. |
| 164 | |
| 165 | - Also, two rather small API changes: |
| 166 | |
| 167 | We now disable some time-consuming internal bookkeeping if built with NDEBUG |
| 168 | defined. This is a first time that we use NDEBUG to disable debug code. If |
| 169 | there exist production systems that do NOT want to enable NDEBUG, please let |
| 170 | me know and I'll add HB_NDEBUG. |
| 171 | |
| 172 | Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph() |
| 173 | |
| 174 | New API: |
| 175 | - hb_font_get_nominal_glyph_func_t |
| 176 | - hb_font_get_variation_glyph_func_t |
| 177 | - hb_font_funcs_set_nominal_glyph_func() |
| 178 | - hb_font_funcs_set_variation_glyph_func() |
| 179 | - hb_font_get_nominal_glyph() |
| 180 | - hb_font_get_variation_glyph() |
| 181 | |
| 182 | Deprecated API: |
| 183 | - hb_font_get_glyph_func_t |
| 184 | - hb_font_funcs_set_glyph_func() |
| 185 | |
| 186 | Clients that implement their own font-funcs are encouraged to replace |
| 187 | their get_glyph() implementation with a get_nominal_glyph() and |
| 188 | get_variation_glyph() pair. The variation version can assume that |
| 189 | variation_selector argument is not zero. Old (deprecated) functions |
| 190 | will continue working indefinitely using internal gymnastics; it is |
| 191 | just more efficient to use the new functions. |
| 192 | |
| 193 | |
Behdad Esfahbod | b30a971 | 2016-02-24 17:32:22 +0900 | [diff] [blame] | 194 | Overview of changes leading to 1.2.2 |
| 195 | Wednesday, February 24, 2016 |
| 196 | ==================================== |
| 197 | |
| 198 | - Fix regression with mark positioning with fonts that have |
| 199 | non-zero mark advances. This was introduced in 1.2.0 while |
| 200 | trying to make mark and cursive attachments to work together. |
| 201 | I have partially reverted that, so this version is much more |
| 202 | like what we had before. All clients who updated to 1.2.0 |
| 203 | should update to this version. |
| 204 | |
| 205 | |
Behdad Esfahbod | dabf32a | 2016-02-23 15:38:43 +0900 | [diff] [blame] | 206 | Overview of changes leading to 1.2.1 |
Behdad Esfahbod | b30a971 | 2016-02-24 17:32:22 +0900 | [diff] [blame] | 207 | Tuesday, February 23, 2016 |
Behdad Esfahbod | dabf32a | 2016-02-23 15:38:43 +0900 | [diff] [blame] | 208 | ==================================== |
| 209 | |
| 210 | - CoreText: Fix bug with wrong scale if font scale was changed later. |
| 211 | https://github.com/libass/libass/issues/212 |
| 212 | - CoreText: Drastically speed up font initialization. |
| 213 | - CoreText: Fix tiny leak. |
| 214 | - Group ZWJ/ZWNJ with previous syllable under cluster-level=0. |
| 215 | https://github.com/behdad/harfbuzz/issues/217 |
| 216 | - Add test/shaping/README.md about how to add tests to the suite. |
| 217 | |
| 218 | |
Behdad Esfahbod | 27847ca | 2016-02-19 15:56:50 +0700 | [diff] [blame] | 219 | Overview of changes leading to 1.2.0 |
| 220 | Friday, February 19, 2016 |
| 221 | ==================================== |
| 222 | |
| 223 | - Fix various issues (hangs mostly) in case of memory allocation failure. |
| 224 | - Change mark zeroing types of most shapers from BY_UNICODE_LATE to |
| 225 | BY_GDEF_LATE. This seems to be what Uniscribe does. |
| 226 | - Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's |
| 227 | what Windows does. |
| 228 | - Allow GPOS cursive connection on marks, and fix the interaction with |
| 229 | mark attachment. This work resulted in some changes to how mark |
| 230 | attachments work. See: |
| 231 | https://github.com/behdad/harfbuzz/issues/211 |
| 232 | https://github.com/behdad/harfbuzz/commit/86c68c7a2c971efe8e35b1f1bd99401dc8b688d2 |
| 233 | - Graphite2 shaper: improved negative advance handling (eg. Nastaliq). |
| 234 | - Add nmake-based build system for Windows. |
| 235 | - Minor speedup. |
| 236 | - Misc. improvements. |
| 237 | |
| 238 | |
Behdad Esfahbod | 1144129 | 2016-01-11 13:16:35 +0000 | [diff] [blame] | 239 | Overview of changes leading to 1.1.3 |
| 240 | Monday, January 11, 2016 |
| 241 | ==================================== |
| 242 | |
| 243 | - Ported Indic shaper to Unicode 8.0 data. |
| 244 | - Universal Shaping Engine fixes. |
| 245 | - Speed up CoreText shaper when font fallback happens in CoreText. |
| 246 | - Documentation improvements, thanks to Khaled Hosny. |
| 247 | - Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi. |
| 248 | - Misc bug fixes. |
| 249 | - New API: |
| 250 | |
| 251 | * Font extents: |
| 252 | hb_font_extents_t |
| 253 | hb_font_get_font_extents_func_t |
| 254 | hb_font_get_font_h_extents_func_t |
| 255 | hb_font_get_font_v_extents_func_t |
| 256 | hb_font_funcs_set_font_h_extents_func |
| 257 | hb_font_funcs_set_font_v_extents_func |
| 258 | hb_font_get_h_extents |
| 259 | hb_font_get_v_extents |
| 260 | hb_font_get_extents_for_direction |
| 261 | |
| 262 | * Buffer message (aka debug): |
| 263 | hb_buffer_message_func_t |
| 264 | hb_buffer_set_message_func() |
| 265 | Actual message protocol to be fleshed out later. |
| 266 | |
| 267 | |
Behdad Esfahbod | d44d52b | 2015-11-26 19:35:43 -0500 | [diff] [blame] | 268 | Overview of changes leading to 1.1.2 |
| 269 | Wednesday, November 26, 2015 |
| 270 | ==================================== |
| 271 | |
| 272 | - Fix badly-broken fallback shaper that affected terminology. |
| 273 | https://github.com/behdad/harfbuzz/issues/187 |
| 274 | - Fix y_scaling in Graphite shaper. |
| 275 | - API changes: |
| 276 | * An unset glyph_h_origin() function in font-funcs now (sensibly) |
| 277 | implies horizontal origin at 0,0. Ie, the nil callback returns |
| 278 | true instead of false. As such, implementations that have a |
| 279 | glyph_h_origin() that simply returns true, can remove that function |
| 280 | with HarfBuzz >= 1.1.2. This results in a tiny speedup. |
| 281 | |
| 282 | |
Behdad Esfahbod | b24e93e | 2015-11-24 13:18:20 -0600 | [diff] [blame] | 283 | Overview of changes leading to 1.1.1 |
| 284 | Wednesday, November 24, 2015 |
| 285 | ==================================== |
| 286 | |
| 287 | - Build fixes, specially for hb-coretext. |
| 288 | |
| 289 | |
Behdad Esfahbod | e1118ae | 2015-11-18 23:40:47 -0800 | [diff] [blame] | 290 | Overview of changes leading to 1.1.0 |
| 291 | Wednesday, November 18, 2015 |
| 292 | ==================================== |
| 293 | |
| 294 | - Implement 'stch' stretch feature for Syriac Abbreviation Mark. |
| 295 | https://github.com/behdad/harfbuzz/issues/141 |
| 296 | - Disable use of decompose_compatibility() callback. |
| 297 | - Implement "shaping" of various Unicode space characters, even |
| 298 | if the font does not support them. |
| 299 | https://github.com/behdad/harfbuzz/issues/153 |
| 300 | - If font does not support U+2011 NO-BREAK HYPHEN, fallback to |
| 301 | U+2010 HYPHEN. |
| 302 | - Changes resulting from libFuzzer continuous fuzzing: |
| 303 | * Reject font tables that need more than 8 edits, |
| 304 | * Bound buffer growth during shaping to 32x, |
| 305 | * Fix assertions and other issues at OOM / buffer max-growth. |
| 306 | - Misc fixes and optimizations. |
| 307 | - API changes: |
| 308 | * All fonts created with hb_font_create() now inherit from |
| 309 | (ie. have parent) hb_font_get_empty(). |
| 310 | |
| 311 | |
Behdad Esfahbod | 86cadc2 | 2015-10-15 20:25:29 -0300 | [diff] [blame] | 312 | Overview of changes leading to 1.0.6 |
| 313 | Thursday, October 15, 2015 |
| 314 | ==================================== |
| 315 | |
| 316 | - Reduce max nesting level in OT lookups from 8 to 6. |
| 317 | Should not affect any real font as far as I know. |
| 318 | - Fix memory access issue in ot-font. |
| 319 | - Revert default load-flags of fonts created using hb_ft_font_create() |
| 320 | back to FT_LOAD_DEFAULT|FT_LOAD_NO_HINTING. This was changed in |
| 321 | last release (1.0.5), but caused major issues, so revert. |
| 322 | https://github.com/behdad/harfbuzz/issues/143 |
| 323 | |
| 324 | |
Behdad Esfahbod | ab17052 | 2015-10-13 10:55:33 -0300 | [diff] [blame] | 325 | Overview of changes leading to 1.0.5 |
| 326 | Tuesday, October 13, 2015 |
| 327 | ==================================== |
| 328 | |
| 329 | - Fix multiple memory access bugs discovered using libFuzzer. |
| 330 | https://github.com/behdad/harfbuzz/issues/139 |
| 331 | Everyone should upgrade to this version as soon as possible. |
| 332 | We now have continuous fuzzing set up, to avoid issues like |
| 333 | these creeping in again. |
| 334 | - Misc fixes. |
| 335 | |
| 336 | - New API: |
| 337 | * hb_font_set_parent(). |
| 338 | * hb_ft_font_[sg]et_load_flags() |
| 339 | The default flags for fonts created using hb_ft_font_create() |
| 340 | has changed to default to FT_LOAD_DEFAULT now. Previously it |
| 341 | was defaulting to FT_LOAD_DFEAULT|FT_LOAD_NO_HINTING. |
| 342 | |
| 343 | - API changes: |
| 344 | * Fonts now default to units-per-EM as their scale, instead of 0. |
| 345 | * hb_font_create_sub_font() does NOT make parent font immutable |
| 346 | anymore. hb_font_make_immutable() does. |
| 347 | |
| 348 | |
Behdad Esfahbod | 432ffc4 | 2015-09-30 22:51:16 +0100 | [diff] [blame] | 349 | Overview of changes leading to 1.0.4 |
| 350 | Wednesday, September 30, 2015 |
| 351 | ==================================== |
| 352 | |
| 353 | - Fix minor out-of-bounds read error. |
| 354 | |
| 355 | |
Behdad Esfahbod | 7f54053 | 2015-09-01 17:03:50 +0100 | [diff] [blame] | 356 | Overview of changes leading to 1.0.3 |
| 357 | Tuesday, September 1, 2015 |
| 358 | ==================================== |
| 359 | |
| 360 | - Start of user documentation, from Simon Cozens! |
| 361 | - Implement glyph_extents() for TrueType fonts in hb-ot-font. |
| 362 | - Improve GPOS cursive attachments with conflicting lookups. |
| 363 | - More fixes for cluster-level = 1. |
| 364 | - Uniscribe positioning fix. |
| 365 | |
| 366 | |
Behdad Esfahbod | 789b89e | 2015-08-19 13:39:57 +0100 | [diff] [blame] | 367 | Overview of changes leading to 1.0.2 |
| 368 | Wednesday, August 19, 2015 |
| 369 | ==================================== |
| 370 | |
| 371 | - Fix shaping with cluster-level > 0. |
| 372 | - Fix Uniscribe backend font-size scaling. |
| 373 | - Declare dependencies in harfbuzz.pc. |
| 374 | FreeType is not declared though, to avoid bugs in pkg-config |
| 375 | 0.26 with recursive dependencies. |
| 376 | - Slightly improved debug infrastructure. More to come later. |
| 377 | - Misc build fixes. |
| 378 | |
| 379 | |
Behdad Esfahbod | 9002c27 | 2015-07-27 12:17:54 +0200 | [diff] [blame] | 380 | Overview of changes leading to 1.0.1 |
| 381 | Monday, July 27, 2015 |
| 382 | ==================================== |
| 383 | |
| 384 | - Fix out-of-bounds access in USE shaper. |
| 385 | |
| 386 | |
Behdad Esfahbod | 2604423 | 2015-07-26 23:39:10 +0200 | [diff] [blame] | 387 | Overview of changes leading to 1.0.0 |
Behdad Esfahbod | 9002c27 | 2015-07-27 12:17:54 +0200 | [diff] [blame] | 388 | Sunday, July 26, 2015 |
Behdad Esfahbod | 2604423 | 2015-07-26 23:39:10 +0200 | [diff] [blame] | 389 | ==================================== |
| 390 | |
| 391 | - Implement Universal Shaping Engine: |
| 392 | https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm |
| 393 | http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/ |
| 394 | - Bump version to 1.0.0. The soname was NOT bumped. |
| 395 | |
| 396 | |
Behdad Esfahbod | 2ed6be6 | 2015-07-26 19:29:53 +0200 | [diff] [blame] | 397 | Overview of changes leading to 0.9.42 |
| 398 | Thursday, July 26, 2015 |
| 399 | ===================================== |
Behdad Esfahbod | 376d587 | 2015-07-22 16:51:12 +0100 | [diff] [blame] | 400 | |
Behdad Esfahbod | 2ed6be6 | 2015-07-26 19:29:53 +0200 | [diff] [blame] | 401 | - New API to allow for retrieving finer-grained cluster |
| 402 | mappings if the client desires to handle them. Default |
| 403 | behavior is unchanged. |
| 404 | - Fix cluster merging when removing default-ignorables. |
| 405 | - Update to Unicode 8.0 |
| 406 | - hb-graphite2 fixes. |
| 407 | - Misc fixes. |
Behdad Esfahbod | 376d587 | 2015-07-22 16:51:12 +0100 | [diff] [blame] | 408 | - Removed HB_NO_MERGE_CLUSTERS hack. |
| 409 | - New API: |
| 410 | hb_buffer_cluster_level_t enum |
| 411 | hb_buffer_get_cluster_level() |
| 412 | hb_buffer_set_cluster_level() |
| 413 | hb-shape / hb-view --cluster-level |
| 414 | |
Behdad Esfahbod | 2ed6be6 | 2015-07-26 19:29:53 +0200 | [diff] [blame] | 415 | |
Behdad Esfahbod | a6446d4 | 2015-06-18 11:14:56 -0700 | [diff] [blame] | 416 | Overview of changes leading to 0.9.41 |
| 417 | Thursday, June 18, 2015 |
| 418 | ===================================== |
| 419 | |
| 420 | - Fix hb-coretext with trailing whitespace in right-to-left. |
| 421 | - New API: hb_buffer_reverse_range(). |
| 422 | - Allow implementing atomic ops in config.h. |
| 423 | - Fix hb_language_t in language bindings. |
| 424 | - Misc fixes. |
| 425 | |
Behdad Esfahbod | 2ed6be6 | 2015-07-26 19:29:53 +0200 | [diff] [blame] | 426 | |
Behdad Esfahbod | e3671b8 | 2015-03-20 18:03:02 -0400 | [diff] [blame] | 427 | Overview of changes leading to 0.9.40 |
| 428 | Friday, March 20, 2015 |
| 429 | ===================================== |
| 430 | |
| 431 | - Another hb-coretext crasher fix. Ouch! |
| 432 | - Happy Norouz! |
| 433 | |
| 434 | |
Behdad Esfahbod | 02a04e6 | 2015-03-04 12:32:03 -0800 | [diff] [blame] | 435 | Overview of changes leading to 0.9.39 |
| 436 | Wednesday, March 4, 2015 |
| 437 | ===================================== |
| 438 | |
| 439 | - Critical hb-coretext fixes. |
| 440 | - Optimizations and refactoring; no functional change |
| 441 | expected. |
| 442 | - Misc build fixes. |
| 443 | |
| 444 | |
Behdad Esfahbod | 28f5e0b | 2015-01-23 12:45:35 -0800 | [diff] [blame] | 445 | Overview of changes leading to 0.9.38 |
| 446 | Friday, January 23, 2015 |
| 447 | ===================================== |
| 448 | |
| 449 | - Fix minor out-of-bounds access in Indic shaper. |
| 450 | - Change New Tai Lue shaping engine from South-East Asian to default, |
| 451 | reflecting change in Unicode encoding model. |
| 452 | - Add hb-shape --font-size. Can take up to two numbers for separate |
| 453 | x / y size. |
| 454 | - Fix CoreText and FreeType scale issues with negative scales. |
| 455 | - Reject blobs larger than 2GB. This might break some icu-le-hb clients |
| 456 | that need security fixes. See: |
| 457 | http://www.icu-project.org/trac/ticket/11450 |
| 458 | - Avoid accessing font tables during face destruction, in casce rogue |
| 459 | clients released face data already. |
| 460 | - Fix up gobject-introspection a bit. Python bindings kinda working. |
| 461 | See README.python. |
| 462 | - Misc fixes. |
| 463 | - API additions: |
| 464 | hb_ft_face_create_referenced() |
| 465 | hb_ft_font_create_referenced() |
| 466 | |
| 467 | |
Behdad Esfahbod | 66e3740 | 2014-12-17 12:09:17 -0800 | [diff] [blame] | 468 | Overview of changes leading to 0.9.37 |
| 469 | Wednesday, December 17, 2014 |
| 470 | ===================================== |
| 471 | |
| 472 | - Fix out-of-bounds access in Context lookup format 3. |
| 473 | - Indic: Allow ZWJ/ZWNJ before syllable modifiers. |
| 474 | |
| 475 | |
Behdad Esfahbod | c0e95ab | 2014-11-20 14:42:24 -0800 | [diff] [blame] | 476 | Overview of changes leading to 0.9.36 |
| 477 | Thursday, November 20, 2014 |
| 478 | ===================================== |
| 479 | |
| 480 | - First time that three months went by without a release since |
| 481 | 0.9.2 was released on August 10, 2012! |
| 482 | - Fix performance bug in hb_ot_collect_glyphs(): |
| 483 | https://bugzilla.mozilla.org/show_bug.cgi?id=1090869 |
| 484 | - Add basic vertical-text support to hb-ot-font. |
| 485 | - Misc build fixes. |
| 486 | |
| 487 | |
Behdad Esfahbod | cd5a114 | 2014-08-13 12:39:34 -0400 | [diff] [blame] | 488 | Overview of changes leading to 0.9.35 |
| 489 | Saturday, August 13, 2014 |
| 490 | ===================================== |
| 491 | |
| 492 | - Fix major shape-plan caching bug when more than one shaper were |
| 493 | provided to hb_shape_full() (as exercised by XeTeX). |
| 494 | http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html |
| 495 | - Fix Arabic fallback shaping regression. This was broken in 0.9.32. |
| 496 | - Major hb-coretext fixes. That backend is complete now, including |
| 497 | respecing buffer direction and language, down to vertical writing. |
| 498 | - Build fixes for Windows CE. Should build fine now. |
| 499 | - Misc fixes: |
| 500 | Use atexit() only if it's safe to call from shared library |
| 501 | https://bugs.freedesktop.org/show_bug.cgi?id=82246 |
| 502 | Mandaic had errors in its Unicode Joining_Type |
| 503 | https://bugs.freedesktop.org/show_bug.cgi?id=82306 |
| 504 | - API changes: |
| 505 | |
| 506 | * hb_buffer_clear_contents() does not reset buffer flags now. |
| 507 | |
| 508 | After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't |
| 509 | need to set flags for different pieces of text. The flags now |
| 510 | are something the client sets up once, depending on how it |
| 511 | actually uses the buffer. As such, don't clear it in |
| 512 | clear_contents(). |
| 513 | |
| 514 | I don't expect any changes to be needed to any existing client. |
| 515 | |
| 516 | |
Behdad Esfahbod | 91c2c0f | 2014-08-02 19:24:55 -0400 | [diff] [blame] | 517 | Overview of changes leading to 0.9.34 |
| 518 | Saturday, August 2, 2014 |
| 519 | ===================================== |
| 520 | |
| 521 | - hb_feature_from_string() now accepts CSS font-feature-settings format. |
| 522 | - As a result, hb-shape / hb-view --features also accept CSS-style strings. |
| 523 | Eg, "'liga' off" is accepted now. |
| 524 | - Add old-spec Myanmar shaper: |
| 525 | https://bugs.freedesktop.org/show_bug.cgi?id=81775 |
| 526 | - Don't apply 'calt' in Hangul shaper. |
| 527 | - Fix mark advance zeroing for Hebrew shaper: |
| 528 | https://bugs.freedesktop.org/show_bug.cgi?id=76767 |
| 529 | - Implement Windows-1256 custom Arabic shaping. Only built on Windows, |
| 530 | and requires help from get_glyph(). Used by Firefox. |
| 531 | https://bugzilla.mozilla.org/show_bug.cgi?id=1045139 |
| 532 | - Disable 'liga' in vertical text. |
| 533 | - Build fixes. |
| 534 | - API changes: |
| 535 | |
| 536 | * Make HB_BUFFER_FLAG_BOT/EOT easier to use. |
| 537 | |
| 538 | Previously, we expected users to provide BOT/EOT flags when the |
| 539 | text *segment* was at paragraph boundaries. This meant that for |
| 540 | clients that provide full paragraph to HarfBuzz (eg. Pango), they |
| 541 | had code like this: |
| 542 | |
| 543 | hb_buffer_set_flags (hb_buffer, |
| 544 | (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) | |
| 545 | (item_offset + item_length == paragraph_length ? |
| 546 | HB_BUFFER_FLAG_EOT : 0)); |
| 547 | |
| 548 | hb_buffer_add_utf8 (hb_buffer, |
| 549 | paragraph_text, paragraph_length, |
| 550 | item_offset, item_length); |
| 551 | |
| 552 | After this change such clients can simply say: |
| 553 | |
| 554 | hb_buffer_set_flags (hb_buffer, |
| 555 | HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT); |
| 556 | |
| 557 | hb_buffer_add_utf8 (hb_buffer, |
| 558 | paragraph_text, paragraph_length, |
| 559 | item_offset, item_length); |
| 560 | |
| 561 | Ie, HarfBuzz itself checks whether the segment is at the beginning/end |
| 562 | of the paragraph. Clients that only pass item-at-a-time to HarfBuzz |
| 563 | continue not setting any flags whatsoever. |
| 564 | |
| 565 | Another way to put it is: if there's pre-context text in the buffer, |
| 566 | HarfBuzz ignores the BOT flag. If there's post-context, it ignores |
| 567 | EOT flag. |
| 568 | |
| 569 | |
Behdad Esfahbod | 8c1bdb4 | 2014-07-22 17:56:43 -0400 | [diff] [blame] | 570 | Overview of changes leading to 0.9.33 |
| 571 | Tuesday, July 22, 2014 |
| 572 | ===================================== |
| 573 | |
| 574 | - Turn off ARabic 'cswh' feature that was accidentally turned on. |
| 575 | - Add HB_TAG_MAX_SIGNED. |
| 576 | - Make hb_face_make_immutable() really make face immutable! |
| 577 | - Windows build fixes. |
| 578 | |
| 579 | |
Behdad Esfahbod | 66f3091 | 2014-07-17 16:05:47 -0400 | [diff] [blame] | 580 | Overview of changes leading to 0.9.32 |
| 581 | Thursday, July 17, 2014 |
| 582 | ===================================== |
| 583 | |
| 584 | - Apply Arabic shaping features in spec order exactly. |
| 585 | - Another fix for Mongolian free variation selectors. |
| 586 | - For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt' |
| 587 | together. |
| 588 | - Minor adjustment to U+FFFD logic. |
| 589 | - Fix hb-coretext build. |
| 590 | |
| 591 | |
Behdad Esfahbod | a18897f | 2014-07-16 16:02:15 -0400 | [diff] [blame] | 592 | Overview of changes leading to 0.9.31 |
| 593 | Wednesday, July 16, 2014 |
| 594 | ===================================== |
| 595 | |
| 596 | - Only accept valid UTF-8/16/32; we missed many cases before. |
| 597 | - Better shaping of invalid UTF-8/16/32. Falls back to |
| 598 | U+FFFD REPLACEMENT CHARACTER now. |
| 599 | - With all changes in this release, the buffer will contain fully |
| 600 | valid Unicode after hb_buffer_add_utf8/16/32 no matter how |
| 601 | broken the input is. This can be overriden though. See below. |
| 602 | - Fix Mongolian Variation Selectors for fonts without GDEF. |
| 603 | - Fix minor invalid buffer access. |
| 604 | - Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language() |
| 605 | now uses these instead of private tags. |
| 606 | - Build fixes. |
| 607 | - New API: |
| 608 | * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32() |
| 609 | used to do, ie. no validity check on the input at all. add_utf32 |
| 610 | now replaces invalid Unicode codepoints with the replacement |
| 611 | character (see below). |
| 612 | * hb_buffer_set_replacement_codepoint() |
| 613 | * hb_buffer_get_replacement_codepoint() |
| 614 | Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when |
| 615 | we detected broken input, we replaced that with (hb_codepoint_t)-1. |
| 616 | This has changed to use U+FFFD now, but can be changed using these |
| 617 | new API. |
| 618 | |
| 619 | |
Behdad Esfahbod | ea00137 | 2014-07-09 17:28:43 -0400 | [diff] [blame] | 620 | Overview of changes leading to 0.9.30 |
| 621 | Wednesday, July 9, 2014 |
| 622 | ===================================== |
Behdad Esfahbod | a18897f | 2014-07-16 16:02:15 -0400 | [diff] [blame] | 623 | |
Behdad Esfahbod | ea00137 | 2014-07-09 17:28:43 -0400 | [diff] [blame] | 624 | - Update to Unicode 7.0.0: |
| 625 | * New scripts Manichaean and Psalter Pahlavi are shaped using |
| 626 | Arabic shaper. |
| 627 | * All the other new scripts to through the generic shaper for |
| 628 | now. |
| 629 | - Minor Indic improvements. |
| 630 | - Fix graphite2 backend cluster mapping [crasher!] |
| 631 | - API changes: |
| 632 | * New HB_SCRIPT_* values for Unicode 7.0 scripts. |
| 633 | * New function hb_ot_layout_language_get_required_feature(). |
| 634 | - Build fixes. |
| 635 | |
| 636 | |
Behdad Esfahbod | 5875ad9 | 2014-05-29 15:48:16 -0400 | [diff] [blame] | 637 | Overview of changes leading to 0.9.29 |
| 638 | Thursday, May 29, 2014 |
| 639 | ===================================== |
| 640 | |
| 641 | - Implement cmap in hb-ot-font.h. No variation-selectors yet. |
| 642 | - Myanmar: Allow MedialYa+Asat. |
| 643 | - Various Indic fixes: |
| 644 | * Support most characters in Extended Devanagary and Vedic |
| 645 | Unicode blocks. |
| 646 | * Allow digits and a some punctuation as consonant placeholders. |
| 647 | - Build fixes. |
| 648 | |
Behdad Esfahbod | ea00137 | 2014-07-09 17:28:43 -0400 | [diff] [blame] | 649 | |
Behdad Esfahbod | 79ecdc3 | 2014-04-28 14:24:23 -0700 | [diff] [blame] | 650 | Overview of changes leading to 0.9.28 |
| 651 | Monday, April 28, 2014 |
| 652 | ===================================== |
| 653 | |
| 654 | - Unbreak old-spec Indic shaping. (bug 76705) |
| 655 | - Fix shaping of U+17DD and U+0FC6. |
| 656 | - Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default |
| 657 | for shipping libraries. It's an option for further experimentation |
| 658 | right now. When we are sure how to do it properly, we will add |
| 659 | public run-time API for the functionality. |
| 660 | - Build fixes. |
| 661 | |
| 662 | |
Dominik Röttsches | ba8c9d9 | 2014-03-18 14:39:03 +0200 | [diff] [blame] | 663 | Overview of changes leading to 0.9.27 |
| 664 | Tuesday, March 18, 2014 |
| 665 | ===================================== |
| 666 | |
| 667 | - Don't use "register" storage class specifier |
| 668 | - Wrap definition of free_langs() with HAVE_ATEXIT |
| 669 | - Add coretext_aat shaper and hb_coretext_face_create() constructor |
| 670 | - If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks |
| 671 | - Add Myanmar test case from OpenType Myanmar spec |
| 672 | - Only do fallback Hebrew composition if no GPOS 'mark' available |
| 673 | - Allow bootstrapping without gtk-doc |
| 674 | - Use AM_MISSING_PROG for ragel and git |
| 675 | - Typo in ucdn's Makefile.am |
| 676 | - Improve MemoryBarrier() implementation |
| 677 | |
| 678 | |
Behdad Esfahbod | 189bf23 | 2014-01-30 15:14:58 -0500 | [diff] [blame] | 679 | Overview of changes leading to 0.9.26 |
| 680 | Thursday, January 30, 2014 |
| 681 | ===================================== |
| 682 | |
| 683 | - Misc fixes. |
| 684 | - Fix application of 'rtlm' feature. |
| 685 | - Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH. |
| 686 | - New header: hb-ot-shape.h |
| 687 | - Uniscribe: fix scratch-buffer accounting. |
| 688 | - Reorder Tai Tham SAKOT to after tone-marks. |
| 689 | - Add Hangul shaper. |
| 690 | - New files: |
| 691 | hb-ot-shape-complex-hangul.cc |
| 692 | hb-ot-shape-complex-hebrew.cc |
| 693 | hb-ot-shape-complex-tibetan.cc |
| 694 | - Disable 'cswh' feature in Arabic shaper. |
| 695 | - Coretext: better handle surrogate pairs. |
| 696 | - Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE. |
| 697 | |
| 698 | |
Behdad Esfahbod | 860fc9a | 2013-12-04 20:06:59 -0500 | [diff] [blame] | 699 | Overview of changes leading to 0.9.25 |
| 700 | Wednesday, December 4, 2013 |
| 701 | ===================================== |
| 702 | |
| 703 | - Myanmar shaper improvements. |
| 704 | - Avoid font fallback in CoreText backend. |
| 705 | - Additional OpenType language tag mappiongs. |
| 706 | - More aggressive shape-plan caching. |
| 707 | - Build with / require automake 1.13. |
| 708 | - Build with libtool 2.4.2.418 alpha to support ppc64le. |
| 709 | |
| 710 | |
Behdad Esfahbod | 6300694 | 2013-11-13 14:54:07 -0500 | [diff] [blame] | 711 | Overview of changes leading to 0.9.24 |
| 712 | Tuesday, November 13, 2013 |
| 713 | ===================================== |
| 714 | |
| 715 | - Misc compiler warning fixes with clang. |
| 716 | - No functional changes. |
| 717 | |
| 718 | |
Behdad Esfahbod | dce79c2 | 2013-10-28 20:26:40 +0100 | [diff] [blame] | 719 | Overview of changes leading to 0.9.23 |
| 720 | Monday, October 28, 2013 |
| 721 | ===================================== |
| 722 | |
| 723 | - "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013. |
| 724 | - Fix (Chain)Context recursion with non-monotone lookup positions. |
| 725 | - Misc Indic bug fixes. |
| 726 | - New Javanese / Buginese shaping, similar to Windows 8.1. |
| 727 | |
| 728 | |
Behdad Esfahbod | e152d1a | 2013-10-03 15:09:37 -0400 | [diff] [blame] | 729 | Overview of changes leading to 0.9.22 |
| 730 | Thursday, October 3, 2013 |
| 731 | ===================================== |
| 732 | |
| 733 | - Fix use-after-end-of-scope in hb_language_from_string(). |
| 734 | - Fix hiding of default_ignorables if font doesn't have space glyph. |
| 735 | - Protect against out-of-range lookup indices. |
| 736 | |
| 737 | - API Changes: |
| 738 | |
| 739 | * Added hb_ot_layout_table_get_lookup_count() |
| 740 | |
| 741 | |
Behdad Esfahbod | b61f97d | 2013-09-16 22:07:22 -0400 | [diff] [blame] | 742 | Overview of changes leading to 0.9.21 |
| 743 | Monday, September 16, 2013 |
| 744 | ===================================== |
| 745 | |
| 746 | - Rename gobject-introspection library name from harfbuzz to HarfBuzz. |
| 747 | - Remove (long disabled) hb-old and hb-icu-le test shapers. |
| 748 | - Misc gtk-doc and gobject-introspection annotations. |
| 749 | - Misc fixes. |
| 750 | - API changes: |
| 751 | |
| 752 | * Add HB_SET_VALUE_INVALID |
| 753 | |
Behdad Esfahbod | f730b5d | 2013-08-29 15:53:33 -0400 | [diff] [blame] | 754 | Overview of changes leading to 0.9.20 |
| 755 | Thursday, August 29, 2013 |
| 756 | ===================================== |
| 757 | |
| 758 | General: |
| 759 | - Misc substitute_closure() fixes. |
| 760 | - Build fixes. |
| 761 | |
| 762 | Documentation: |
| 763 | - gtk-doc boilerplate integrated. Docs are built now, but |
| 764 | contain no contents. By next release hopefully we have |
| 765 | some content in. Enable using --enable-gtk-doc. |
| 766 | |
| 767 | GObject and Introspection: |
| 768 | - Added harfbuzz-gobject library (hb-gobject.h) that has type |
| 769 | bindings for all HarfBuzz objects and enums. Enable using |
| 770 | --with-gobject. |
| 771 | - Added gobject-introspection boilerplate. Nothing useful |
| 772 | right now. Work in progress. Gets enabled automatically if |
| 773 | --with-gobject is used. Override with --disable-introspection. |
| 774 | |
| 775 | OpenType shaper: |
| 776 | - Apply 'mark' in Myanmar shaper. |
| 777 | - Don't apply 'dlig' by default. |
| 778 | |
| 779 | Uniscribe shaper: |
| 780 | - Support user features. |
| 781 | - Fix loading of fonts that are also installed on the system. |
| 782 | - Fix shaping of Arabic Presentation Forms. |
| 783 | - Fix build with wide chars. |
| 784 | |
| 785 | CoreText shaper: |
| 786 | - Support user features. |
| 787 | |
| 788 | Source changes: |
| 789 | - hb_face_t code moved to hb-face.h / hb-face.cc. |
| 790 | - Added hb-deprecated.h. |
| 791 | |
| 792 | API changes: |
| 793 | - Added HB_DISABLE_DEPRECATED. |
| 794 | - Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by |
| 795 | HB_SCRIPT_CANADIAN_SYLLABICS. |
| 796 | - Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by |
| 797 | HB_BUFFER_FLAG_DEFAULT. |
| 798 | - Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by |
| 799 | HB_BUFFER_SERIALIZE_FLAG_DEFAULT. |
| 800 | |
| 801 | |
Behdad Esfahbod | 2b78d67 | 2013-07-16 16:06:27 -0400 | [diff] [blame] | 802 | Overview of changes leading to 0.9.19 |
| 803 | Tuesday, July 16, 2013 |
| 804 | ===================================== |
| 805 | |
| 806 | - Build fixes. |
| 807 | - Better handling of multiple variation selectors in a row. |
| 808 | - Pass on variation selector to GSUB if not consumed by cmap. |
| 809 | - Fix undefined memory access. |
| 810 | - Add Javanese config to Indic shaper. |
| 811 | - Misc bug fixes. |
| 812 | |
Behdad Esfahbod | 4014aa4 | 2013-05-28 17:28:59 -0400 | [diff] [blame] | 813 | Overview of changes leading to 0.9.18 |
| 814 | Tuesday, May 28, 2013 |
| 815 | ===================================== |
| 816 | |
| 817 | New build system: |
| 818 | |
| 819 | - All unneeded code is all disabled by default, |
| 820 | |
| 821 | - Uniscribe and CoreText shapers can be enabled with their --with options, |
| 822 | |
| 823 | - icu_le and old shapers cannot be enabled for now, |
| 824 | |
| 825 | - glib, freetype, and cairo will be detected automatically. |
| 826 | They can be force on/off'ed with their --with options, |
| 827 | |
| 828 | - icu and graphite2 are default off, can be enabled with their --with |
| 829 | options, |
| 830 | |
| 831 | Moreover, ICU support is now build into a separate library: |
| 832 | libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it. |
| 833 | Distros can enable ICU now without every application on earth |
| 834 | getting linked to via libharfbuzz.so. |
| 835 | |
| 836 | For distros I recommend that they make sure they are building --with-glib |
| 837 | --with-freetype --with-cairo, --with-icu, and optionally --with-graphite2; |
| 838 | And package harfbuzz and harfbuzz-icu separately. |
| 839 | |
| 840 | |
Behdad Esfahbod | f1b02f4 | 2013-05-20 09:23:58 -0400 | [diff] [blame] | 841 | Overview of changes leading to 0.9.17 |
| 842 | Monday, May 20, 2013 |
| 843 | ===================================== |
| 844 | |
| 845 | - Build fixes. |
| 846 | - Fix bug in hb_set_get_min(). |
| 847 | - Fix regression with Arabic mark positioning / width-zeroing. |
| 848 | |
Behdad Esfahbod | a408d23 | 2013-04-19 16:32:06 -0400 | [diff] [blame] | 849 | Overview of changes leading to 0.9.16 |
| 850 | Friday, April 19, 2013 |
| 851 | ===================================== |
| 852 | |
| 853 | - Major speedup in OpenType lookup processing. With the Amiri |
| 854 | Arabic font, this release is over 3x faster than previous |
| 855 | release. All scripts / languages should see this speedup. |
| 856 | |
| 857 | - New --num-iterations option for hb-shape / hb-view; useful for |
| 858 | profiling. |
| 859 | |
Behdad Esfahbod | 22e4745 | 2013-04-05 18:02:43 -0400 | [diff] [blame] | 860 | Overview of changes leading to 0.9.15 |
Behdad Esfahbod | a408d23 | 2013-04-19 16:32:06 -0400 | [diff] [blame] | 861 | Friday, April 05, 2013 |
Behdad Esfahbod | 22e4745 | 2013-04-05 18:02:43 -0400 | [diff] [blame] | 862 | ===================================== |
| 863 | |
| 864 | - Build fixes. |
| 865 | - Fix crasher in graphite2 shaper. |
| 866 | - Fix Arabic mark width zeroing regression. |
| 867 | - Don't compose Hangul jamo into Unicode syllables. |
| 868 | |
| 869 | |
Behdad Esfahbod | f872a17 | 2013-03-21 13:38:06 -0400 | [diff] [blame] | 870 | Overview of changes leading to 0.9.14 |
| 871 | Thursday, March 21, 2013 |
| 872 | ===================================== |
| 873 | |
| 874 | - Build fixes. |
| 875 | - Fix time-consuming sanitize with malicious fonts. |
| 876 | - Implement hb_buffer_deserialize_glyphs() for both json and text. |
| 877 | - Do not ignore Hangul filler characters. |
| 878 | - Indic fixes: |
| 879 | * Fix Malayalam pre-base reordering interaction with post-forms. |
| 880 | * Further adjust ZWJ handling. Should fix known regressions from |
| 881 | 0.9.13. |
| 882 | |
| 883 | |
Behdad Esfahbod | 05686b5 | 2013-02-25 18:19:20 -0500 | [diff] [blame] | 884 | Overview of changes leading to 0.9.13 |
| 885 | Thursday, February 25, 2013 |
| 886 | ===================================== |
| 887 | |
| 888 | - Build fixes. |
| 889 | - Ngapi HarfBuzz Hackfest in London (February 2013): |
| 890 | * Fixed all known Indic bugs, |
| 891 | * New Win8-style Myanmar shaper, |
| 892 | * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue, |
| 893 | * Smartly ignore Default_Ignorable characters (joiners, etc) wheb |
| 894 | matching GSUB/GPOS lookups, |
| 895 | * Fix 'Phags-Pa U+A872 shaping, |
| 896 | * Fix partial disabling of default-on features, |
| 897 | * Allow disabling of TrueType kerning. |
| 898 | - Fix possible crasher with broken fonts with overlapping tables. |
| 899 | - Removed generated files from git again. So, one needs ragel to |
| 900 | bootstrap from the git tree. |
| 901 | |
| 902 | API changes: |
| 903 | - hb_shape() and related APIs now abort if buffer direction is |
| 904 | HB_DIRECTION_INVALID. Previously, hb_shape() was calling |
| 905 | hb_buffer_guess_segment_properties() on the buffer before |
| 906 | shaping. The heuristics in that function are fragile. If the |
| 907 | user really wants the old behvaior, they can call that function |
| 908 | right before calling hb_shape() to get the old behavior. |
| 909 | - hb_blob_create_sub_blob() always creates sub-blob with |
| 910 | HB_MEMORY_MODE_READONLY. See comments for the reason. |
| 911 | |
| 912 | |
Behdad Esfahbod | 09b5393 | 2013-01-18 17:10:47 -0600 | [diff] [blame] | 913 | Overview of changes leading to 0.9.12 |
| 914 | Thursday, January 18, 2013 |
| 915 | ===================================== |
| 916 | |
| 917 | - Build fixes for Sun compiler. |
| 918 | - Minor bug fix. |
| 919 | |
Behdad Esfahbod | cf81fb3 | 2013-01-10 09:06:34 -0600 | [diff] [blame] | 920 | Overview of changes leading to 0.9.11 |
| 921 | Thursday, January 10, 2013 |
| 922 | ===================================== |
| 923 | |
| 924 | - Build fixes. |
| 925 | - Fix GPOS mark attachment with null Anchor offsets. |
| 926 | - [Indic] Fix old-spec reordering of viramas if sequence ends in one. |
| 927 | - Fix multi-threaded shaper data creation crash. |
| 928 | - Add atomic ops for Solaris. |
| 929 | |
| 930 | API changes: |
| 931 | - Rename hb_buffer_clear() to hb_buffer_clear_contents(). |
| 932 | |
| 933 | |
Behdad Esfahbod | 34e6c3e | 2013-01-03 00:14:24 -0600 | [diff] [blame] | 934 | Overview of changes leading to 0.9.10 |
| 935 | Thursday, January 3, 2013 |
| 936 | ===================================== |
| 937 | |
| 938 | - [Indic] Fixed rendering of Malayalam dot-reph |
| 939 | - Updated OT language tags. |
| 940 | - Updated graphite2 backend. |
| 941 | - Improved hb_ot_layout_get_size_params() logic. |
| 942 | - Improve hb-shape/hb-view help output. |
| 943 | - Fixed hb-set.h implementation to not crash. |
| 944 | - Fixed various issues with hb_ot_layout_collect_lookups(). |
| 945 | - Various build fixes. |
| 946 | |
| 947 | New API: |
| 948 | |
| 949 | hb_graphite2_face_get_gr_face() |
| 950 | hb_graphite2_font_get_gr_font() |
| 951 | hb_coretext_face_get_cg_font() |
| 952 | |
| 953 | Modified API: |
| 954 | |
| 955 | hb_ot_layout_get_size_params() |
| 956 | |
| 957 | |
Behdad Esfahbod | c6408a1 | 2012-12-05 17:36:52 -0500 | [diff] [blame] | 958 | Overview of changes leading to 0.9.9 |
| 959 | Wednesday, December 5, 2012 |
| 960 | ==================================== |
| 961 | |
| 962 | - Fix build on Windows. |
| 963 | - Minor improvements. |
| 964 | |
| 965 | |
Behdad Esfahbod | a52f51b | 2012-12-04 15:43:38 -0500 | [diff] [blame] | 966 | Overview of changes leading to 0.9.8 |
| 967 | Tuesday, December 4, 2012 |
| 968 | ==================================== |
| 969 | |
| 970 | |
| 971 | - Actually implement hb_shape_plan_get_shaper (). |
| 972 | - Make UCDB data tables const. |
| 973 | - Lots of internal refactoring in OTLayout tables. |
| 974 | - Flesh out hb_ot_layout_lookup_collect_glyphs(). |
| 975 | |
| 976 | New API: |
| 977 | |
| 978 | hb_ot_layout_collect_lookups() |
| 979 | hb_ot_layout_get_size_params() |
| 980 | |
| 981 | |
Behdad Esfahbod | 4c89635 | 2012-11-21 01:20:56 -0500 | [diff] [blame] | 982 | Overview of changes leading to 0.9.7 |
| 983 | Sunday, November 21, 2012 |
| 984 | ==================================== |
| 985 | |
| 986 | |
| 987 | HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes. |
| 988 | |
| 989 | - Fix Arabic contextual joining using pre-context text. |
| 990 | - Fix Sinhala "split matra" mess. |
| 991 | - Fix Khmer shaping with broken fonts. |
| 992 | - Implement Thai "PUA" shaping for old fonts. |
| 993 | - Do NOT route Kharoshthi script through the Indic shaper. |
| 994 | - Disable fallback positioning for Indic and Thai shapers. |
| 995 | - Misc fixes. |
| 996 | |
| 997 | |
| 998 | hb-shape / hb-view changes: |
| 999 | |
| 1000 | - Add --text-before and --text-after |
| 1001 | - Add --bot / --eot / --preserve-default-ignorables |
| 1002 | - hb-shape --output-format=json |
| 1003 | |
| 1004 | |
| 1005 | New API: |
| 1006 | |
| 1007 | hb_buffer_clear() |
| 1008 | |
| 1009 | hb_buffer_flags_t |
| 1010 | |
| 1011 | HB_BUFFER_FLAGS_DEFAULT |
| 1012 | HB_BUFFER_FLAG_BOT |
| 1013 | HB_BUFFER_FLAG_EOT |
| 1014 | HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES |
| 1015 | |
| 1016 | hb_buffer_set_flags() |
| 1017 | hb_buffer_get_flags() |
| 1018 | |
| 1019 | HB_BUFFER_SERIALIZE_FLAGS |
| 1020 | hb_buffer_serialize_glyphs() |
| 1021 | hb_buffer_deserialize_glyphs() |
| 1022 | hb_buffer_serialize_list_formats() |
| 1023 | |
| 1024 | hb_set_add_range() |
| 1025 | hb_set_del_range() |
| 1026 | hb_set_get_population() |
| 1027 | hb_set_next_range() |
| 1028 | |
| 1029 | hb_face_[sg]et_glyph_count() |
| 1030 | |
| 1031 | hb_segment_properties_t |
| 1032 | HB_SEGMENT_PROPERTIES_DEFAULT |
| 1033 | hb_segment_properties_equal() |
| 1034 | hb_segment_properties_hash() |
| 1035 | |
| 1036 | hb_buffer_set_segment_properties() |
| 1037 | hb_buffer_get_segment_properties() |
| 1038 | |
| 1039 | hb_ot_layout_glyph_class_t |
| 1040 | hb_ot_layout_get_glyph_class() |
| 1041 | hb_ot_layout_get_glyphs_in_class() |
| 1042 | |
| 1043 | hb_shape_plan_t |
| 1044 | hb_shape_plan_create() |
| 1045 | hb_shape_plan_create_cached() |
| 1046 | hb_shape_plan_get_empty() |
| 1047 | hb_shape_plan_reference() |
| 1048 | hb_shape_plan_destroy() |
| 1049 | hb_shape_plan_set_user_data() |
| 1050 | hb_shape_plan_get_user_data() |
| 1051 | hb_shape_plan_execute() |
| 1052 | hb_shape_plan_get_shaper() |
| 1053 | |
| 1054 | hb_ot_shape_plan_collect_lookups() |
| 1055 | |
| 1056 | |
| 1057 | API changes: |
| 1058 | |
| 1059 | - Remove "mask" parameter from hb_buffer_add(). |
| 1060 | - Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup(). |
| 1061 | - hb-set.h API const correction. |
| 1062 | - Renamed hb_set_min/max() to hb_set_get_min/max(). |
| 1063 | - Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups(). |
| 1064 | - Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties(). |
| 1065 | |
| 1066 | |
| 1067 | |
Behdad Esfahbod | da43a92 | 2012-11-13 13:48:26 -0800 | [diff] [blame] | 1068 | Overview of changes leading to 0.9.6 |
| 1069 | Sunday, November 13, 2012 |
| 1070 | ==================================== |
| 1071 | |
| 1072 | - Don't clear pre-context text if no new context is provided. |
| 1073 | - Fix ReverseChainingSubstLookup, which was totally borked. |
| 1074 | - Adjust output format of hb-shape a bit. |
| 1075 | - Include config.h.in in-tree. Makes it easier for alternate build systems. |
| 1076 | - Fix hb_buffer_set_length(buffer, 0) invalid memory allocation. |
| 1077 | - Use ICU LayoutEngine's C API instead of C++. Avoids much headache. |
| 1078 | - Drop glyphs for all of Unicode Default_Ignorable characters. |
| 1079 | - Misc build fixes. |
| 1080 | |
| 1081 | Arabic shaper: |
| 1082 | - Enable 'dlig' and 'mset' features in Arabic shaper. |
| 1083 | - Implement 'Phags-pa shaping, improve Mongolian. |
| 1084 | |
| 1085 | Indic shaper: |
| 1086 | - Decompose Sinhala split matras the way old HarfBuzz / Pango did. |
| 1087 | - Initial support for Consonant Medials. |
| 1088 | - Start adding new-style Myanmar shaping. |
| 1089 | - Make reph and 'pref' logic introspect the font. |
| 1090 | - Route Meetei-Mayek through the Indic shaper. |
| 1091 | - Don't apply 'liga' in Indic shaper. |
| 1092 | - Improve Malayalam pre-base reordering Ra interaction with Chillus. |
| 1093 | |
| 1094 | |
| 1095 | |
Behdad Esfahbod | 13c0584 | 2012-10-14 18:37:09 -0500 | [diff] [blame] | 1096 | Overview of changes leading to 0.9.5 |
| 1097 | Sunday, October 14, 2012 |
| 1098 | ==================================== |
| 1099 | |
| 1100 | - Synthetic-GSUB Arabic fallback shaping. |
| 1101 | |
| 1102 | - Misc Indic improvements. |
| 1103 | |
| 1104 | - Add build system support for pthread. |
| 1105 | |
| 1106 | - Imported UCDN for in-tree Unicode callbacks implementation. |
| 1107 | |
| 1108 | - Context-aware Arabic joining. |
| 1109 | |
| 1110 | - Misc other fixes. |
| 1111 | |
| 1112 | - New API: |
| 1113 | |
| 1114 | hb_feature_to/from-string() |
| 1115 | hb_buffer_[sg]et_content_type() |
| 1116 | |
| 1117 | |
| 1118 | |
Behdad Esfahbod | f7e81ce | 2012-09-04 15:32:37 -0400 | [diff] [blame] | 1119 | Overview of changes leading to 0.9.4 |
| 1120 | Tuesday, Sep 03, 2012 |
| 1121 | ==================================== |
| 1122 | |
| 1123 | - Indic improvements with old-spec Malayalam. |
| 1124 | |
| 1125 | - Better fallback glyph positioning, specially with Thai / Lao marks. |
| 1126 | |
| 1127 | - Implement dotted-circle insertion. |
| 1128 | |
| 1129 | - Better Arabic fallback shaping / ligation. |
| 1130 | |
| 1131 | - Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name. |
| 1132 | |
| 1133 | - Misc fixes. |
| 1134 | |
| 1135 | |
| 1136 | |
Behdad Esfahbod | 7fe00d1 | 2012-08-18 13:59:46 -0400 | [diff] [blame] | 1137 | Overview of changes leading to 0.9.3 |
| 1138 | Friday, Aug 18, 2012 |
| 1139 | ==================================== |
| 1140 | |
| 1141 | - Fixed fallback mark positioning for left-to-right text. |
| 1142 | |
| 1143 | - Improve mark positioning for the remaining combining classes. |
| 1144 | |
| 1145 | - Unbreak Thai and fallback Arabic shaping. |
| 1146 | |
| 1147 | - Port Arabic shaper to shape-plan caching. |
| 1148 | |
| 1149 | - Use new ICU normalizer functions. |
| 1150 | |
| 1151 | |
| 1152 | |
Behdad Esfahbod | e297ee4 | 2012-08-10 14:49:37 -0400 | [diff] [blame] | 1153 | Overview of changes leading to 0.9.2 |
Behdad Esfahbod | 9fe7605 | 2012-08-15 17:24:28 -0400 | [diff] [blame] | 1154 | Friday, Aug 10, 2012 |
Behdad Esfahbod | e297ee4 | 2012-08-10 14:49:37 -0400 | [diff] [blame] | 1155 | ==================================== |
| 1156 | |
| 1157 | - Over a thousand commits! This is the first major release of HarfBuzz. |
| 1158 | |
| 1159 | - HarfBuzz is feature-complete now! It should be in par, or better, than |
| 1160 | both Pango's shapers and old HarfBuzz / Qt shapers. |
| 1161 | |
| 1162 | - New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer. |
| 1163 | |
| 1164 | - Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic, |
| 1165 | Sinhala, N'ko, Mongolian, and Mandaic. |
| 1166 | |
| 1167 | - New Thai / Lao shaper. |
| 1168 | |
| 1169 | - Tibetan / Hangul support in the generic shaper. |
| 1170 | |
| 1171 | - Synthetic GDEF support for fonts without a GDEF table. |
| 1172 | |
| 1173 | - Fallback mark positioning for fonts without a GPOS table. |
| 1174 | |
| 1175 | - Unicode normalization shaping heuristic during glyph mapping. |
| 1176 | |
| 1177 | - New experimental Graphite2 backend. |
| 1178 | |
| 1179 | - New Uniscribe backend (primarily for testing). |
| 1180 | |
| 1181 | - New CoreText backend (primarily for testing). |
| 1182 | |
| 1183 | - Major optimization and speedup. |
| 1184 | |
| 1185 | - Test suites and testing infrastructure (work in progress). |
| 1186 | |
| 1187 | - Greatly improved hb-view cmdline tool. |
| 1188 | |
| 1189 | - hb-shape cmdline tool. |
| 1190 | |
| 1191 | - Unicode 6.1 support. |
| 1192 | |
| 1193 | Summary of API changes: |
| 1194 | |
| 1195 | o Changed API: |
| 1196 | |
| 1197 | - Users are expected to only include main header files now (ie. hb.h, |
| 1198 | hb-glib.h, hb-ft.h, ...) |
| 1199 | |
| 1200 | - All struct tag names had their initial underscore removed. |
| 1201 | Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now. |
| 1202 | |
| 1203 | - All set_user_data() functions now take a "replace" boolean parameter. |
| 1204 | |
| 1205 | - hb_buffer_create() takes zero arguments now. |
| 1206 | Use hb_buffer_pre_allocate() to pre-allocate. |
| 1207 | |
| 1208 | - hb_buffer_add_utf*() now accept -1 for length parameteres, |
| 1209 | meaning "nul-terminated". |
| 1210 | |
| 1211 | - hb_direction_t enum values changed. |
| 1212 | |
| 1213 | - All *_from_string() APIs now take a length parameter to allow for |
| 1214 | non-nul-terminated strings. A -1 length means "nul-terminated". |
| 1215 | |
| 1216 | - Typedef for hb_language_t changed. |
| 1217 | |
| 1218 | - hb_get_table_func_t renamed to hb_reference_table_func_t. |
| 1219 | |
| 1220 | - hb_ot_layout_table_choose_script() |
| 1221 | |
| 1222 | - Various renames in hb-unicode.h. |
| 1223 | |
| 1224 | o New API: |
| 1225 | |
| 1226 | - hb_buffer_guess_properties() |
| 1227 | Automatically called by hb_shape(). |
| 1228 | |
| 1229 | - hb_buffer_normalize_glyphs() |
| 1230 | |
| 1231 | - hb_tag_from_string() |
| 1232 | |
| 1233 | - hb-coretext.h |
| 1234 | |
| 1235 | - hb-uniscribe.h |
| 1236 | |
| 1237 | - hb_face_reference_blob() |
| 1238 | - hb_face_[sg]et_index() |
| 1239 | - hb_face_set_upem() |
| 1240 | |
| 1241 | - hb_font_get_glyph_name_func_t |
| 1242 | hb_font_get_glyph_from_name_func_t |
| 1243 | hb_font_funcs_set_glyph_name_func() |
| 1244 | hb_font_funcs_set_glyph_from_name_func() |
| 1245 | hb_font_get_glyph_name() |
| 1246 | hb_font_get_glyph_from_name() |
| 1247 | hb_font_glyph_to_string() |
| 1248 | hb_font_glyph_from_string() |
| 1249 | |
| 1250 | - hb_font_set_funcs_data() |
| 1251 | |
| 1252 | - hb_ft_font_set_funcs() |
| 1253 | - hb_ft_font_get_face() |
| 1254 | |
| 1255 | - hb-gobject.h (work in progress) |
| 1256 | |
| 1257 | - hb_ot_shape_glyphs_closure() |
| 1258 | hb_ot_layout_substitute_closure_lookup() |
| 1259 | |
| 1260 | - hb-set.h |
| 1261 | |
| 1262 | - hb_shape_full() |
| 1263 | |
| 1264 | - hb_unicode_combining_class_t |
| 1265 | |
| 1266 | - hb_unicode_compose_func_t |
| 1267 | hb_unicode_decompose_func_t |
| 1268 | hb_unicode_decompose_compatibility_func_t |
| 1269 | hb_unicode_funcs_set_compose_func() |
| 1270 | hb_unicode_funcs_set_decompose_func() |
| 1271 | hb_unicode_funcs_set_decompose_compatibility_func() |
| 1272 | hb_unicode_compose() |
| 1273 | hb_unicode_decompose() |
| 1274 | hb_unicode_decompose_compatibility() |
| 1275 | |
| 1276 | o Removed API: |
| 1277 | |
| 1278 | - hb_ft_get_font_funcs() |
| 1279 | |
| 1280 | - hb_ot_layout_substitute_start() |
| 1281 | hb_ot_layout_substitute_lookup() |
| 1282 | hb_ot_layout_substitute_finish() |
| 1283 | hb_ot_layout_position_start() |
| 1284 | hb_ot_layout_position_lookup() |
| 1285 | hb_ot_layout_position_finish() |
| 1286 | |
| 1287 | |
| 1288 | |
Behdad Esfahbod | f245576 | 2011-05-25 16:08:06 -0400 | [diff] [blame] | 1289 | Overview of changes leading to 0.6.0 |
| 1290 | Friday, May 27, 2011 |
| 1291 | ==================================== |
| 1292 | |
| 1293 | - Vertical text support in GPOS |
| 1294 | - Almost all API entries have unit tests now, under test/ |
| 1295 | - All thread-safety issues are fixed |
| 1296 | |
| 1297 | Summary of API changes follows. |
| 1298 | |
| 1299 | |
| 1300 | * Simple Types API: |
| 1301 | |
| 1302 | o New API: |
| 1303 | HB_LANGUAGE_INVALID |
| 1304 | hb_language_get_default() |
| 1305 | hb_direction_to_string() |
| 1306 | hb_direction_from_string() |
| 1307 | hb_script_get_horizontal_direction() |
| 1308 | HB_UNTAG() |
| 1309 | |
| 1310 | o Renamed API: |
| 1311 | hb_category_t renamed to hb_unicode_general_category_t |
| 1312 | |
| 1313 | o Changed API: |
| 1314 | hb_language_t is a typed pointers now |
| 1315 | |
| 1316 | o Removed API: |
| 1317 | HB_TAG_STR() |
| 1318 | |
| 1319 | |
| 1320 | * Use ISO 15924 tags for hb_script_t: |
| 1321 | |
| 1322 | o New API: |
| 1323 | hb_script_from_iso15924_tag() |
| 1324 | hb_script_to_iso15924_tag() |
| 1325 | hb_script_from_string() |
| 1326 | |
| 1327 | o Changed API: |
| 1328 | HB_SCRIPT_* enum members changed value. |
| 1329 | |
| 1330 | |
| 1331 | * Buffer API streamlined: |
| 1332 | |
| 1333 | o New API: |
| 1334 | hb_buffer_reset() |
| 1335 | hb_buffer_set_length() |
| 1336 | hb_buffer_allocation_successful() |
| 1337 | |
| 1338 | o Renamed API: |
| 1339 | hb_buffer_ensure() renamed to hb_buffer_pre_allocate() |
| 1340 | hb_buffer_add_glyph() renamed to hb_buffer_add() |
| 1341 | |
| 1342 | o Removed API: |
| 1343 | hb_buffer_clear() |
| 1344 | hb_buffer_clear_positions() |
| 1345 | |
| 1346 | o Changed API: |
| 1347 | hb_buffer_get_glyph_infos() takes an out length parameter now |
| 1348 | hb_buffer_get_glyph_positions() takes an out length parameter now |
| 1349 | |
| 1350 | |
| 1351 | * Blob API streamlined: |
| 1352 | |
| 1353 | o New API: |
| 1354 | hb_blob_get_data() |
| 1355 | hb_blob_get_data_writable() |
| 1356 | |
| 1357 | o Renamed API: |
| 1358 | hb_blob_create_empty() renamed to hb_blob_get_empty() |
| 1359 | |
| 1360 | o Removed API: |
| 1361 | hb_blob_lock() |
| 1362 | hb_blob_unlock() |
| 1363 | hb_blob_is_writable() |
| 1364 | hb_blob_try_writable() |
| 1365 | |
| 1366 | o Changed API: |
| 1367 | hb_blob_create() takes user_data before destroy now |
| 1368 | |
| 1369 | |
| 1370 | * Unicode functions API: |
| 1371 | |
| 1372 | o Unicode function vectors can subclass other unicode function vectors now. |
| 1373 | Unimplemented callbacks in the subclass automatically chainup to the parent. |
| 1374 | |
| 1375 | o All hb_unicode_funcs_t callbacks take a user_data now. Their setters |
| 1376 | take a user_data and its respective destroy callback. |
| 1377 | |
| 1378 | o New API: |
| 1379 | hb_unicode_funcs_get_empty() |
| 1380 | hb_unicode_funcs_get_default() |
| 1381 | hb_unicode_funcs_get_parent() |
| 1382 | |
| 1383 | o Changed API: |
| 1384 | hb_unicode_funcs_create() now takes a parent_funcs. |
| 1385 | |
| 1386 | o Removed func getter functions: |
| 1387 | hb_unicode_funcs_get_mirroring_func() |
| 1388 | hb_unicode_funcs_get_general_category_func() |
| 1389 | hb_unicode_funcs_get_script_func() |
| 1390 | hb_unicode_funcs_get_combining_class_func() |
| 1391 | hb_unicode_funcs_get_eastasian_width_func() |
| 1392 | |
| 1393 | |
| 1394 | * Face API: |
| 1395 | |
| 1396 | o Renamed API: |
| 1397 | hb_face_get_table() renamed to hb_face_reference_table() |
| 1398 | hb_face_create_for_data() renamed to hb_face_create() |
| 1399 | |
| 1400 | o Changed API: |
| 1401 | hb_face_create_for_tables() takes user_data before destroy now |
| 1402 | hb_face_reference_table() returns empty blob instead of NULL |
| 1403 | hb_get_table_func_t accepts the face as first parameter now |
| 1404 | |
| 1405 | * Font API: |
| 1406 | |
| 1407 | o Fonts can subclass other fonts now. Unimplemented callbacks in the |
| 1408 | subclass automatically chainup to the parent. When chaining up, |
| 1409 | scale is adjusted if the parent font has a different scale. |
| 1410 | |
| 1411 | o All hb_font_funcs_t callbacks take a user_data now. Their setters |
| 1412 | take a user_data and its respective destroy callback. |
| 1413 | |
| 1414 | o New API: |
| 1415 | hb_font_get_parent() |
| 1416 | hb_font_funcs_get_empty() |
| 1417 | hb_font_create_sub_font() |
| 1418 | |
| 1419 | o Removed API: |
| 1420 | hb_font_funcs_copy() |
| 1421 | hb_font_unset_funcs() |
| 1422 | |
| 1423 | o Removed func getter functions: |
| 1424 | hb_font_funcs_get_glyph_func() |
| 1425 | hb_font_funcs_get_glyph_advance_func() |
| 1426 | hb_font_funcs_get_glyph_extents_func() |
| 1427 | hb_font_funcs_get_contour_point_func() |
| 1428 | hb_font_funcs_get_kerning_func() |
| 1429 | |
| 1430 | o Changed API: |
| 1431 | hb_font_create() takes a face and references it now |
| 1432 | hb_font_set_funcs() takes user_data before destroy now |
| 1433 | hb_font_set_scale() accepts signed integers now |
| 1434 | hb_font_get_contour_point_func_t now takes glyph first, then point_index |
| 1435 | hb_font_get_glyph_func_t returns a success boolean now |
| 1436 | |
| 1437 | |
| 1438 | * Changed object model: |
| 1439 | |
| 1440 | o All object types have a _get_empty() now: |
| 1441 | hb_blob_get_empty() |
| 1442 | hb_buffer_get_empty() |
| 1443 | hb_face_get_empty() |
| 1444 | hb_font_get_empty() |
| 1445 | hb_font_funcs_get_empty() |
| 1446 | hb_unicode_funcs_get_empty() |
| 1447 | |
| 1448 | o Added _set_user_data() and _get_user_data() for all object types: |
| 1449 | hb_blob_get_user_data() |
| 1450 | hb_blob_set_user_data() |
| 1451 | hb_buffer_get_user_data() |
| 1452 | hb_buffer_set_user_data() |
| 1453 | hb_face_get_user_data() |
| 1454 | hb_face_set_user_data() |
| 1455 | hb_font_funcs_get_user_data() |
| 1456 | hb_font_funcs_set_user_data() |
| 1457 | hb_font_get_user_data() |
| 1458 | hb_font_set_user_data() |
| 1459 | hb_unicode_funcs_get_user_data() |
| 1460 | hb_unicode_funcs_set_user_data() |
| 1461 | |
| 1462 | o Removed the _get_reference_count() from all object types: |
| 1463 | hb_blob_get_reference_count() |
| 1464 | hb_buffer_get_reference_count() |
| 1465 | hb_face_get_reference_count() |
| 1466 | hb_font_funcs_get_reference_count() |
| 1467 | hb_font_get_reference_count() |
| 1468 | hb_unicode_funcs_get_reference_count() |
| 1469 | |
| 1470 | o Added _make_immutable() and _is_immutable() for all object types except for buffer: |
| 1471 | hb_blob_make_immutable() |
| 1472 | hb_blob_is_immutable() |
| 1473 | hb_face_make_immutable() |
| 1474 | hb_face_is_immutable() |
| 1475 | |
| 1476 | |
| 1477 | * Changed API for vertical text support |
| 1478 | |
| 1479 | o The following callbacks where removed: |
| 1480 | hb_font_get_glyph_advance_func_t |
| 1481 | hb_font_get_kerning_func_t |
| 1482 | |
| 1483 | o The following new callbacks added instead: |
| 1484 | hb_font_get_glyph_h_advance_func_t |
| 1485 | hb_font_get_glyph_v_advance_func_t |
| 1486 | hb_font_get_glyph_h_origin_func_t |
| 1487 | hb_font_get_glyph_v_origin_func_t |
| 1488 | hb_font_get_glyph_h_kerning_func_t |
| 1489 | hb_font_get_glyph_v_kerning_func_t |
| 1490 | |
| 1491 | o The following API removed as such: |
| 1492 | hb_font_funcs_set_glyph_advance_func() |
| 1493 | hb_font_funcs_set_kerning_func() |
| 1494 | hb_font_get_glyph_advance() |
| 1495 | hb_font_get_kerning() |
| 1496 | |
| 1497 | o New API added instead: |
| 1498 | hb_font_funcs_set_glyph_h_advance_func() |
| 1499 | hb_font_funcs_set_glyph_v_advance_func() |
| 1500 | hb_font_funcs_set_glyph_h_origin_func() |
| 1501 | hb_font_funcs_set_glyph_v_origin_func() |
| 1502 | hb_font_funcs_set_glyph_h_kerning_func() |
| 1503 | hb_font_funcs_set_glyph_v_kerning_func() |
| 1504 | hb_font_get_glyph_h_advance() |
| 1505 | hb_font_get_glyph_v_advance() |
| 1506 | hb_font_get_glyph_h_origin() |
| 1507 | hb_font_get_glyph_v_origin() |
| 1508 | hb_font_get_glyph_h_kerning() |
| 1509 | hb_font_get_glyph_v_kerning() |
| 1510 | |
| 1511 | o The following higher-leve API added for convenience: |
| 1512 | hb_font_get_glyph_advance_for_direction() |
| 1513 | hb_font_get_glyph_origin_for_direction() |
| 1514 | hb_font_add_glyph_origin_for_direction() |
| 1515 | hb_font_subtract_glyph_origin_for_direction() |
| 1516 | hb_font_get_glyph_kerning_for_direction() |
| 1517 | hb_font_get_glyph_extents_for_origin() |
| 1518 | hb_font_get_glyph_contour_point_for_origin() |
| 1519 | |
| 1520 | |
| 1521 | * OpenType Layout API: |
| 1522 | |
| 1523 | o New API: |
| 1524 | hb_ot_layout_position_start() |
| 1525 | hb_ot_layout_substitute_start() |
| 1526 | hb_ot_layout_substitute_finish() |
| 1527 | |
| 1528 | |
| 1529 | * Glue code: |
| 1530 | |
| 1531 | o New API: |
| 1532 | hb_glib_script_to_script() |
| 1533 | hb_glib_script_from_script() |
| 1534 | hb_icu_script_to_script() |
| 1535 | hb_icu_script_from_script() |
| 1536 | |
| 1537 | |
| 1538 | * Version API added: |
| 1539 | |
| 1540 | o New API: |
| 1541 | HB_VERSION_MAJOR |
| 1542 | HB_VERSION_MINOR |
| 1543 | HB_VERSION_MICRO |
| 1544 | HB_VERSION_STRING |
| 1545 | HB_VERSION_CHECK() |
| 1546 | hb_version() |
| 1547 | hb_version_string() |
| 1548 | hb_version_check() |
| 1549 | |
| 1550 | |