Home | History | Annotate | Download | only in harfbuzz-ng
      1 Overview of changes leading to 0.9.24
      2 Tuesday, November 13, 2013
      3 =====================================
      4 
      5 - Misc compiler warning fixes with clang.
      6 - No functional changes.
      7 
      8 
      9 Overview of changes leading to 0.9.23
     10 Monday, October 28, 2013
     11 =====================================
     12 
     13 - "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
     14 - Fix (Chain)Context recursion with non-monotone lookup positions.
     15 - Misc Indic bug fixes.
     16 - New Javanese / Buginese shaping, similar to Windows 8.1.
     17 
     18 
     19 Overview of changes leading to 0.9.22
     20 Thursday, October 3, 2013
     21 =====================================
     22 
     23 - Fix use-after-end-of-scope in hb_language_from_string().
     24 - Fix hiding of default_ignorables if font doesn't have space glyph.
     25 - Protect against out-of-range lookup indices.
     26 
     27 - API Changes:
     28 
     29   * Added hb_ot_layout_table_get_lookup_count()
     30 
     31 
     32 Overview of changes leading to 0.9.21
     33 Monday, September 16, 2013
     34 =====================================
     35 
     36 - Rename gobject-introspection library name from harfbuzz to HarfBuzz.
     37 - Remove (long disabled) hb-old and hb-icu-le test shapers.
     38 - Misc gtk-doc and gobject-introspection annotations.
     39 - Misc fixes.
     40 - API changes:
     41 
     42   * Add HB_SET_VALUE_INVALID
     43 
     44 Overview of changes leading to 0.9.20
     45 Thursday, August 29, 2013
     46 =====================================
     47 
     48 General:
     49 - Misc substitute_closure() fixes.
     50 - Build fixes.
     51 
     52 Documentation:
     53 - gtk-doc boilerplate integrated.  Docs are built now, but
     54   contain no contents.  By next release hopefully we have
     55   some content in.  Enable using --enable-gtk-doc.
     56 
     57 GObject and Introspection:
     58 - Added harfbuzz-gobject library (hb-gobject.h) that has type
     59   bindings for all HarfBuzz objects and enums.  Enable using
     60   --with-gobject.
     61 - Added gobject-introspection boilerplate.  Nothing useful
     62   right now.  Work in progress.  Gets enabled automatically if
     63   --with-gobject is used.  Override with --disable-introspection.
     64 
     65 OpenType shaper:
     66 - Apply 'mark' in Myanmar shaper.
     67 - Don't apply 'dlig' by default.
     68 
     69 Uniscribe shaper:
     70 - Support user features.
     71 - Fix loading of fonts that are also installed on the system.
     72 - Fix shaping of Arabic Presentation Forms.
     73 - Fix build with wide chars.
     74 
     75 CoreText shaper:
     76 - Support user features.
     77 
     78 Source changes:
     79 - hb_face_t code moved to hb-face.h / hb-face.cc.
     80 - Added hb-deprecated.h.
     81 
     82 API changes:
     83 - Added HB_DISABLE_DEPRECATED.
     84 - Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
     85   HB_SCRIPT_CANADIAN_SYLLABICS.
     86 - Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
     87   HB_BUFFER_FLAG_DEFAULT.
     88 - Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
     89   HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
     90 
     91 
     92 Overview of changes leading to 0.9.19
     93 Tuesday, July 16, 2013
     94 =====================================
     95 
     96 - Build fixes.
     97 - Better handling of multiple variation selectors in a row.
     98 - Pass on variation selector to GSUB if not consumed by cmap.
     99 - Fix undefined memory access.
    100 - Add Javanese config to Indic shaper.
    101 - Misc bug fixes.
    102 
    103 Overview of changes leading to 0.9.18
    104 Tuesday, May 28, 2013
    105 =====================================
    106 
    107 New build system:
    108 
    109 - All unneeded code is all disabled by default,
    110 
    111 - Uniscribe and CoreText shapers can be enabled with their --with options,
    112 
    113 - icu_le and old shapers cannot be enabled for now,
    114 
    115 - glib, freetype, and cairo will be detected automatically.
    116   They can be force on/off'ed with their --with options,
    117 
    118 - icu and graphite2 are default off, can be enabled with their --with
    119   options,
    120 
    121 Moreover, ICU support is now build into a separate library:
    122 libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
    123 Distros can enable ICU now without every application on earth
    124 getting linked to via libharfbuzz.so.
    125 
    126 For distros I recommend that they make sure they are building --with-glib
    127 --with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
    128 And package harfbuzz and harfbuzz-icu separately.
    129 
    130 
    131 Overview of changes leading to 0.9.17
    132 Monday, May 20, 2013
    133 =====================================
    134 
    135 - Build fixes.
    136 - Fix bug in hb_set_get_min().
    137 - Fix regression with Arabic mark positioning / width-zeroing.
    138 
    139 Overview of changes leading to 0.9.16
    140 Friday, April 19, 2013
    141 =====================================
    142 
    143 - Major speedup in OpenType lookup processing.  With the Amiri
    144   Arabic font, this release is over 3x faster than previous
    145   release.  All scripts / languages should see this speedup.
    146 
    147 - New --num-iterations option for hb-shape / hb-view; useful for
    148   profiling.
    149 
    150 Overview of changes leading to 0.9.15
    151 Friday, April 05, 2013
    152 =====================================
    153 
    154 - Build fixes.
    155 - Fix crasher in graphite2 shaper.
    156 - Fix Arabic mark width zeroing regression.
    157 - Don't compose Hangul jamo into Unicode syllables.
    158 
    159 
    160 Overview of changes leading to 0.9.14
    161 Thursday, March 21, 2013
    162 =====================================
    163 
    164 - Build fixes.
    165 - Fix time-consuming sanitize with malicious fonts.
    166 - Implement hb_buffer_deserialize_glyphs() for both json and text.
    167 - Do not ignore Hangul filler characters.
    168 - Indic fixes:
    169   * Fix Malayalam pre-base reordering interaction with post-forms.
    170   * Further adjust ZWJ handling.  Should fix known regressions from
    171     0.9.13.
    172 
    173 
    174 Overview of changes leading to 0.9.13
    175 Thursday, February 25, 2013
    176 =====================================
    177 
    178 - Build fixes.
    179 - Ngapi HarfBuzz Hackfest in London (February 2013):
    180   * Fixed all known Indic bugs,
    181   * New Win8-style Myanmar shaper,
    182   * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
    183   * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
    184     matching GSUB/GPOS lookups,
    185   * Fix 'Phags-Pa U+A872 shaping,
    186   * Fix partial disabling of default-on features,
    187   * Allow disabling of TrueType kerning.
    188 - Fix possible crasher with broken fonts with overlapping tables.
    189 - Removed generated files from git again.  So, one needs ragel to
    190   bootstrap from the git tree.
    191 
    192 API changes:
    193 - hb_shape() and related APIs now abort if buffer direction is
    194   HB_DIRECTION_INVALID.  Previously, hb_shape() was calling
    195   hb_buffer_guess_segment_properties() on the buffer before
    196   shaping.  The heuristics in that function are fragile.  If the
    197   user really wants the old behvaior, they can call that function
    198   right before calling hb_shape() to get the old behavior.
    199 - hb_blob_create_sub_blob() always creates sub-blob with
    200   HB_MEMORY_MODE_READONLY.  See comments for the reason.
    201 
    202 
    203 Overview of changes leading to 0.9.12
    204 Thursday, January 18, 2013
    205 =====================================
    206 
    207 - Build fixes for Sun compiler.
    208 - Minor bug fix.
    209 
    210 Overview of changes leading to 0.9.11
    211 Thursday, January 10, 2013
    212 =====================================
    213 
    214 - Build fixes.
    215 - Fix GPOS mark attachment with null Anchor offsets.
    216 - [Indic] Fix old-spec reordering of viramas if sequence ends in one.
    217 - Fix multi-threaded shaper data creation crash.
    218 - Add atomic ops for Solaris.
    219 
    220 API changes:
    221 - Rename hb_buffer_clear() to hb_buffer_clear_contents().
    222 
    223 
    224 Overview of changes leading to 0.9.10
    225 Thursday, January 3, 2013
    226 =====================================
    227 
    228 - [Indic] Fixed rendering of Malayalam dot-reph
    229 - Updated OT language tags.
    230 - Updated graphite2 backend.
    231 - Improved hb_ot_layout_get_size_params() logic.
    232 - Improve hb-shape/hb-view help output.
    233 - Fixed hb-set.h implementation to not crash.
    234 - Fixed various issues with hb_ot_layout_collect_lookups().
    235 - Various build fixes.
    236 
    237 New API:
    238 
    239 hb_graphite2_face_get_gr_face()
    240 hb_graphite2_font_get_gr_font()
    241 hb_coretext_face_get_cg_font()
    242 
    243 Modified API:
    244 
    245 hb_ot_layout_get_size_params()
    246 
    247 
    248 Overview of changes leading to 0.9.9
    249 Wednesday, December 5, 2012
    250 ====================================
    251 
    252 - Fix build on Windows.
    253 - Minor improvements.
    254 
    255 
    256 Overview of changes leading to 0.9.8
    257 Tuesday, December 4, 2012
    258 ====================================
    259 
    260 
    261 - Actually implement hb_shape_plan_get_shaper ().
    262 - Make UCDB data tables const.
    263 - Lots of internal refactoring in OTLayout tables.
    264 - Flesh out hb_ot_layout_lookup_collect_glyphs().
    265 
    266 New API:
    267 
    268 hb_ot_layout_collect_lookups()
    269 hb_ot_layout_get_size_params()
    270 
    271 
    272 Overview of changes leading to 0.9.7
    273 Sunday, November 21, 2012
    274 ====================================
    275 
    276 
    277 HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
    278 
    279 - Fix Arabic contextual joining using pre-context text.
    280 - Fix Sinhala "split matra" mess.
    281 - Fix Khmer shaping with broken fonts.
    282 - Implement Thai "PUA" shaping for old fonts.
    283 - Do NOT route Kharoshthi script through the Indic shaper.
    284 - Disable fallback positioning for Indic and Thai shapers.
    285 - Misc fixes.
    286 
    287 
    288 hb-shape / hb-view changes:
    289 
    290 - Add --text-before and --text-after
    291 - Add --bot / --eot / --preserve-default-ignorables
    292 - hb-shape --output-format=json
    293 
    294 
    295 New API:
    296 
    297 hb_buffer_clear()
    298 
    299 hb_buffer_flags_t
    300 
    301 HB_BUFFER_FLAGS_DEFAULT
    302 HB_BUFFER_FLAG_BOT
    303 HB_BUFFER_FLAG_EOT
    304 HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
    305 
    306 hb_buffer_set_flags()
    307 hb_buffer_get_flags()
    308 
    309 HB_BUFFER_SERIALIZE_FLAGS
    310 hb_buffer_serialize_glyphs()
    311 hb_buffer_deserialize_glyphs()
    312 hb_buffer_serialize_list_formats()
    313 
    314 hb_set_add_range()
    315 hb_set_del_range()
    316 hb_set_get_population()
    317 hb_set_next_range()
    318 
    319 hb_face_[sg]et_glyph_count()
    320 
    321 hb_segment_properties_t
    322 HB_SEGMENT_PROPERTIES_DEFAULT
    323 hb_segment_properties_equal()
    324 hb_segment_properties_hash()
    325 
    326 hb_buffer_set_segment_properties()
    327 hb_buffer_get_segment_properties()
    328 
    329 hb_ot_layout_glyph_class_t
    330 hb_ot_layout_get_glyph_class()
    331 hb_ot_layout_get_glyphs_in_class()
    332 
    333 hb_shape_plan_t
    334 hb_shape_plan_create()
    335 hb_shape_plan_create_cached()
    336 hb_shape_plan_get_empty()
    337 hb_shape_plan_reference()
    338 hb_shape_plan_destroy()
    339 hb_shape_plan_set_user_data()
    340 hb_shape_plan_get_user_data()
    341 hb_shape_plan_execute()
    342 hb_shape_plan_get_shaper()
    343 
    344 hb_ot_shape_plan_collect_lookups()
    345 
    346 
    347 API changes:
    348 
    349 - Remove "mask" parameter from hb_buffer_add().
    350 - Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
    351 - hb-set.h API const correction.
    352 - Renamed hb_set_min/max() to hb_set_get_min/max().
    353 - Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
    354 - Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
    355 
    356 
    357 
    358 Overview of changes leading to 0.9.6
    359 Sunday, November 13, 2012
    360 ====================================
    361 
    362 - Don't clear pre-context text if no new context is provided.
    363 - Fix ReverseChainingSubstLookup, which was totally borked.
    364 - Adjust output format of hb-shape a bit.
    365 - Include config.h.in in-tree.  Makes it easier for alternate build systems.
    366 - Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
    367 - Use ICU LayoutEngine's C API instead of C++.  Avoids much headache.
    368 - Drop glyphs for all of Unicode Default_Ignorable characters.
    369 - Misc build fixes.
    370 
    371 Arabic shaper:
    372 - Enable 'dlig' and 'mset' features in Arabic shaper.
    373 - Implement 'Phags-pa shaping, improve Mongolian.
    374 
    375 Indic shaper:
    376 - Decompose Sinhala split matras the way old HarfBuzz / Pango did.
    377 - Initial support for Consonant Medials.
    378 - Start adding new-style Myanmar shaping.
    379 - Make reph and 'pref' logic introspect the font.
    380 - Route Meetei-Mayek through the Indic shaper.
    381 - Don't apply 'liga' in Indic shaper.
    382 - Improve Malayalam pre-base reordering Ra interaction with Chillus.
    383 
    384 
    385 
    386 Overview of changes leading to 0.9.5
    387 Sunday, October 14, 2012
    388 ====================================
    389 
    390 - Synthetic-GSUB Arabic fallback shaping.
    391 
    392 - Misc Indic improvements.
    393 
    394 - Add build system support for pthread.
    395 
    396 - Imported UCDN for in-tree Unicode callbacks implementation.
    397 
    398 - Context-aware Arabic joining.
    399 
    400 - Misc other fixes.
    401 
    402 - New API:
    403 
    404   hb_feature_to/from-string()
    405   hb_buffer_[sg]et_content_type()
    406 
    407 
    408 
    409 Overview of changes leading to 0.9.4
    410 Tuesday, Sep 03, 2012
    411 ====================================
    412 
    413 - Indic improvements with old-spec Malayalam.
    414 
    415 - Better fallback glyph positioning, specially with Thai / Lao marks.
    416 
    417 - Implement dotted-circle insertion.
    418 
    419 - Better Arabic fallback shaping / ligation.
    420 
    421 - Added ICU LayoutEngine backend for testing.  Call it by the 'icu_le' name.
    422 
    423 - Misc fixes.
    424 
    425 
    426 
    427 Overview of changes leading to 0.9.3
    428 Friday, Aug 18, 2012
    429 ====================================
    430 
    431 - Fixed fallback mark positioning for left-to-right text.
    432 
    433 - Improve mark positioning for the remaining combining classes.
    434 
    435 - Unbreak Thai and fallback Arabic shaping.
    436 
    437 - Port Arabic shaper to shape-plan caching.
    438 
    439 - Use new ICU normalizer functions.
    440 
    441 
    442 
    443 Overview of changes leading to 0.9.2
    444 Friday, Aug 10, 2012
    445 ====================================
    446 
    447 - Over a thousand commits!  This is the first major release of HarfBuzz.
    448 
    449 - HarfBuzz is feature-complete now!  It should be in par, or better, than
    450   both Pango's shapers and old HarfBuzz / Qt shapers.
    451 
    452 - New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
    453 
    454 - Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
    455   Sinhala, N'ko, Mongolian, and Mandaic.
    456 
    457 - New Thai / Lao shaper.
    458 
    459 - Tibetan / Hangul support in the generic shaper.
    460 
    461 - Synthetic GDEF support for fonts without a GDEF table.
    462 
    463 - Fallback mark positioning for fonts without a GPOS table.
    464 
    465 - Unicode normalization shaping heuristic during glyph mapping.
    466 
    467 - New experimental Graphite2 backend.
    468 
    469 - New Uniscribe backend (primarily for testing).
    470 
    471 - New CoreText backend (primarily for testing).
    472 
    473 - Major optimization and speedup.
    474 
    475 - Test suites and testing infrastructure (work in progress).
    476 
    477 - Greatly improved hb-view cmdline tool.
    478 
    479 - hb-shape cmdline tool.
    480 
    481 - Unicode 6.1 support.
    482 
    483 Summary of API changes:
    484 
    485 o Changed API:
    486 
    487   - Users are expected to only include main header files now (ie. hb.h,
    488     hb-glib.h, hb-ft.h, ...)
    489 
    490   - All struct tag names had their initial underscore removed.
    491     Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
    492 
    493   - All set_user_data() functions now take a "replace" boolean parameter.
    494 
    495   - hb_buffer_create() takes zero arguments now.
    496     Use hb_buffer_pre_allocate() to pre-allocate.
    497 
    498   - hb_buffer_add_utf*() now accept -1 for length parameteres,
    499     meaning "nul-terminated".
    500 
    501   - hb_direction_t enum values changed.
    502 
    503   - All *_from_string() APIs now take a length parameter to allow for
    504     non-nul-terminated strings. A -1 length means "nul-terminated".
    505 
    506   - Typedef for hb_language_t changed.
    507 
    508   - hb_get_table_func_t renamed to hb_reference_table_func_t.
    509 
    510   - hb_ot_layout_table_choose_script()
    511 
    512   - Various renames in hb-unicode.h.
    513 
    514 o New API:
    515 
    516   - hb_buffer_guess_properties()
    517     Automatically called by hb_shape().
    518 
    519   - hb_buffer_normalize_glyphs()
    520 
    521   - hb_tag_from_string()
    522 
    523   - hb-coretext.h
    524 
    525   - hb-uniscribe.h
    526 
    527   - hb_face_reference_blob()
    528   - hb_face_[sg]et_index()
    529   - hb_face_set_upem()
    530 
    531   - hb_font_get_glyph_name_func_t
    532     hb_font_get_glyph_from_name_func_t
    533     hb_font_funcs_set_glyph_name_func()
    534     hb_font_funcs_set_glyph_from_name_func()
    535     hb_font_get_glyph_name()
    536     hb_font_get_glyph_from_name()
    537     hb_font_glyph_to_string()
    538     hb_font_glyph_from_string()
    539 
    540   - hb_font_set_funcs_data()
    541 
    542   - hb_ft_font_set_funcs()
    543   - hb_ft_font_get_face()
    544 
    545   - hb-gobject.h (work in progress)
    546 
    547   - hb_ot_shape_glyphs_closure()
    548     hb_ot_layout_substitute_closure_lookup()
    549 
    550   - hb-set.h
    551 
    552   - hb_shape_full()
    553 
    554   - hb_unicode_combining_class_t
    555 
    556   - hb_unicode_compose_func_t
    557     hb_unicode_decompose_func_t
    558     hb_unicode_decompose_compatibility_func_t
    559     hb_unicode_funcs_set_compose_func()
    560     hb_unicode_funcs_set_decompose_func()
    561     hb_unicode_funcs_set_decompose_compatibility_func()
    562     hb_unicode_compose()
    563     hb_unicode_decompose()
    564     hb_unicode_decompose_compatibility()
    565 
    566 o Removed API:
    567 
    568   - hb_ft_get_font_funcs()
    569 
    570   - hb_ot_layout_substitute_start()
    571     hb_ot_layout_substitute_lookup()
    572     hb_ot_layout_substitute_finish()
    573     hb_ot_layout_position_start()
    574     hb_ot_layout_position_lookup()
    575     hb_ot_layout_position_finish()
    576 
    577 
    578 
    579 Overview of changes leading to 0.6.0
    580 Friday, May 27, 2011
    581 ====================================
    582 
    583 - Vertical text support in GPOS
    584 - Almost all API entries have unit tests now, under test/
    585 - All thread-safety issues are fixed
    586 
    587 Summary of API changes follows.
    588 
    589 
    590 * Simple Types API:
    591 
    592   o New API:
    593     HB_LANGUAGE_INVALID
    594     hb_language_get_default()
    595     hb_direction_to_string()
    596     hb_direction_from_string()
    597     hb_script_get_horizontal_direction()
    598     HB_UNTAG()
    599 
    600   o Renamed API:
    601     hb_category_t renamed to hb_unicode_general_category_t
    602 
    603   o Changed API:
    604     hb_language_t is a typed pointers now
    605 
    606   o Removed API:
    607     HB_TAG_STR()
    608 
    609 
    610 * Use ISO 15924 tags for hb_script_t:
    611 
    612   o New API:
    613     hb_script_from_iso15924_tag()
    614     hb_script_to_iso15924_tag()
    615     hb_script_from_string()
    616 
    617   o Changed API:
    618     HB_SCRIPT_* enum members changed value.
    619 
    620 
    621 * Buffer API streamlined:
    622 
    623   o New API:
    624     hb_buffer_reset()
    625     hb_buffer_set_length()
    626     hb_buffer_allocation_successful()
    627 
    628   o Renamed API:
    629     hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
    630     hb_buffer_add_glyph() renamed to hb_buffer_add()
    631 
    632   o Removed API:
    633     hb_buffer_clear()
    634     hb_buffer_clear_positions()
    635 
    636   o Changed API:
    637     hb_buffer_get_glyph_infos() takes an out length parameter now
    638     hb_buffer_get_glyph_positions() takes an out length parameter now
    639 
    640 
    641 * Blob API streamlined:
    642 
    643   o New API:
    644     hb_blob_get_data()
    645     hb_blob_get_data_writable()
    646 
    647   o Renamed API:
    648     hb_blob_create_empty() renamed to hb_blob_get_empty()
    649 
    650   o Removed API:
    651     hb_blob_lock()
    652     hb_blob_unlock()
    653     hb_blob_is_writable()
    654     hb_blob_try_writable()
    655 
    656   o Changed API:
    657     hb_blob_create() takes user_data before destroy now
    658 
    659 
    660 * Unicode functions API:
    661 
    662   o Unicode function vectors can subclass other unicode function vectors now.
    663     Unimplemented callbacks in the subclass automatically chainup to the parent.
    664 
    665   o All hb_unicode_funcs_t callbacks take a user_data now.  Their setters
    666     take a user_data and its respective destroy callback.
    667 
    668   o New API:
    669     hb_unicode_funcs_get_empty()
    670     hb_unicode_funcs_get_default()
    671     hb_unicode_funcs_get_parent()
    672 
    673   o Changed API:
    674     hb_unicode_funcs_create() now takes a parent_funcs.
    675 
    676   o Removed func getter functions:
    677     hb_unicode_funcs_get_mirroring_func()
    678     hb_unicode_funcs_get_general_category_func()
    679     hb_unicode_funcs_get_script_func()
    680     hb_unicode_funcs_get_combining_class_func()
    681     hb_unicode_funcs_get_eastasian_width_func()
    682 
    683 
    684 * Face API:
    685 
    686   o Renamed API:
    687     hb_face_get_table() renamed to hb_face_reference_table()
    688     hb_face_create_for_data() renamed to hb_face_create()
    689 
    690   o Changed API:
    691     hb_face_create_for_tables() takes user_data before destroy now
    692     hb_face_reference_table() returns empty blob instead of NULL
    693     hb_get_table_func_t accepts the face as first parameter now
    694 
    695 * Font API:
    696 
    697   o Fonts can subclass other fonts now.  Unimplemented callbacks in the
    698     subclass automatically chainup to the parent.  When chaining up,
    699     scale is adjusted if the parent font has a different scale.
    700 
    701   o All hb_font_funcs_t callbacks take a user_data now.  Their setters
    702     take a user_data and its respective destroy callback.
    703 
    704   o New API:
    705     hb_font_get_parent()
    706     hb_font_funcs_get_empty()
    707     hb_font_create_sub_font()
    708 
    709   o Removed API:
    710     hb_font_funcs_copy()
    711     hb_font_unset_funcs()
    712 
    713   o Removed func getter functions:
    714     hb_font_funcs_get_glyph_func()
    715     hb_font_funcs_get_glyph_advance_func()
    716     hb_font_funcs_get_glyph_extents_func()
    717     hb_font_funcs_get_contour_point_func()
    718     hb_font_funcs_get_kerning_func()
    719 
    720   o Changed API:
    721     hb_font_create() takes a face and references it now
    722     hb_font_set_funcs() takes user_data before destroy now
    723     hb_font_set_scale() accepts signed integers now
    724     hb_font_get_contour_point_func_t now takes glyph first, then point_index
    725     hb_font_get_glyph_func_t returns a success boolean now
    726 
    727 
    728 * Changed object model:
    729 
    730   o All object types have a _get_empty() now:
    731     hb_blob_get_empty()
    732     hb_buffer_get_empty()
    733     hb_face_get_empty()
    734     hb_font_get_empty()
    735     hb_font_funcs_get_empty()
    736     hb_unicode_funcs_get_empty()
    737 
    738   o Added _set_user_data() and _get_user_data() for all object types:
    739     hb_blob_get_user_data()
    740     hb_blob_set_user_data()
    741     hb_buffer_get_user_data()
    742     hb_buffer_set_user_data()
    743     hb_face_get_user_data()
    744     hb_face_set_user_data()
    745     hb_font_funcs_get_user_data()
    746     hb_font_funcs_set_user_data()
    747     hb_font_get_user_data()
    748     hb_font_set_user_data()
    749     hb_unicode_funcs_get_user_data()
    750     hb_unicode_funcs_set_user_data()
    751 
    752   o Removed the _get_reference_count() from all object types:
    753     hb_blob_get_reference_count()
    754     hb_buffer_get_reference_count()
    755     hb_face_get_reference_count()
    756     hb_font_funcs_get_reference_count()
    757     hb_font_get_reference_count()
    758     hb_unicode_funcs_get_reference_count()
    759 
    760   o Added _make_immutable() and _is_immutable() for all object types except for buffer:
    761     hb_blob_make_immutable()
    762     hb_blob_is_immutable()
    763     hb_face_make_immutable()
    764     hb_face_is_immutable()
    765 
    766 
    767 * Changed API for vertical text support
    768 
    769   o The following callbacks where removed:
    770     hb_font_get_glyph_advance_func_t
    771     hb_font_get_kerning_func_t
    772 
    773   o The following new callbacks added instead:
    774     hb_font_get_glyph_h_advance_func_t
    775     hb_font_get_glyph_v_advance_func_t
    776     hb_font_get_glyph_h_origin_func_t
    777     hb_font_get_glyph_v_origin_func_t
    778     hb_font_get_glyph_h_kerning_func_t
    779     hb_font_get_glyph_v_kerning_func_t
    780 
    781   o The following API removed as such:
    782     hb_font_funcs_set_glyph_advance_func()
    783     hb_font_funcs_set_kerning_func()
    784     hb_font_get_glyph_advance()
    785     hb_font_get_kerning()
    786 
    787   o New API added instead:
    788     hb_font_funcs_set_glyph_h_advance_func()
    789     hb_font_funcs_set_glyph_v_advance_func()
    790     hb_font_funcs_set_glyph_h_origin_func()
    791     hb_font_funcs_set_glyph_v_origin_func()
    792     hb_font_funcs_set_glyph_h_kerning_func()
    793     hb_font_funcs_set_glyph_v_kerning_func()
    794     hb_font_get_glyph_h_advance()
    795     hb_font_get_glyph_v_advance()
    796     hb_font_get_glyph_h_origin()
    797     hb_font_get_glyph_v_origin()
    798     hb_font_get_glyph_h_kerning()
    799     hb_font_get_glyph_v_kerning()
    800 
    801   o The following higher-leve API added for convenience:
    802     hb_font_get_glyph_advance_for_direction()
    803     hb_font_get_glyph_origin_for_direction()
    804     hb_font_add_glyph_origin_for_direction()
    805     hb_font_subtract_glyph_origin_for_direction()
    806     hb_font_get_glyph_kerning_for_direction()
    807     hb_font_get_glyph_extents_for_origin()
    808     hb_font_get_glyph_contour_point_for_origin()
    809 
    810 
    811 * OpenType Layout API:
    812 
    813   o New API:
    814     hb_ot_layout_position_start()
    815     hb_ot_layout_substitute_start()
    816     hb_ot_layout_substitute_finish()
    817 
    818 
    819 * Glue code:
    820 
    821   o New API:
    822     hb_glib_script_to_script()
    823     hb_glib_script_from_script()
    824     hb_icu_script_to_script()
    825     hb_icu_script_from_script()
    826 
    827 
    828 * Version API added:
    829 
    830   o New API:
    831     HB_VERSION_MAJOR
    832     HB_VERSION_MINOR
    833     HB_VERSION_MICRO
    834     HB_VERSION_STRING
    835     HB_VERSION_CHECK()
    836     hb_version()
    837     hb_version_string()
    838     hb_version_check()
    839 
    840 
    841