1 Overview of changes leading to 8.0.1
2 Wednesday, July 12, 2023
3 ====================================
4 - Build fix on 32-bit arm.
6 - More speed optimizations:
7 - 60% speedup in retaingids subsetting SourceHanSans-VF.
8 - 38% speed up in subsetting (beyond-64k) mega-merged Noto.
9 - 16% speed up in retain-gid (used for IFT) subsetting of NotoSansCJKkr.
12 Overview of changes leading to 8.0.0
14 ====================================
15 - New, experimental, WebAssembly (WASM) shaper, that provides greater
16 flexibility over OpenType/AAT/Graphite shaping, using WebAssembly embedded
17 inside the font file. Currently WASM shaper is disabled by default and needs
18 to be enabled at build time. For details, see:
20 https://github.com/harfbuzz/harfbuzz/blob/main/docs/wasm-shaper.md
22 For example fonts making use of the WASM shaper, see:
24 https://github.com/simoncozens/wasm-examples
26 - Improvements to Experimental features introduced in earlier releases:
27 - Support for subsetting beyond-64k and VarComposites fonts.
28 - Support for instancing variable fonts with cubic “glyf” table.
30 - Many big speed optimizations:
31 - Up to 89% speedup loading variable fonts for shaping.
32 - Up to 88% speedup in small subsets of large (eg. CJK) fonts (both TTF and
33 OTF), essential for Incremental Font Transfer (IFT).
34 - Over 50% speedup in loading Roboto font for shaping.
35 - Up to 40% speed up in loading (sanitizing) complex fonts.
36 - 30% speed up in shaping Gulzar font.
37 - Over 25% speedup in glyph loading Roboto font.
38 - 10% speed up loading glyph shapes in VarComposite Hangul font.
39 - hb-hashmap optimizations & hashing improvements.
41 - New macro HB_ALWAYS_INLINE. HarfBuzz now inlines functions more aggressively,
42 which results in some speedup at the expense of bigger code size. To disable
43 this feature define the macro to just inline.
47 +hb_ot_layout_get_baseline2()
48 +hb_ot_layout_get_baseline_with_fallback2()
49 +hb_ot_layout_get_font_extents()
50 +hb_ot_layout_get_font_extents2()
51 +hb_subset_input_set_axis_range()
54 Overview of changes leading to 7.3.0
56 ====================================
57 - Speedup applying glyph variation in VarComposites fonts (over 40% speedup).
59 - Speedup instancing some fonts (over 20% speedup in instancing RobotoFlex).
61 - Speedup shaping some fonts (over 30% speedup in shaping Roboto).
63 - Support subsetting VarComposites and beyond-64k fonts. (Behdad Esfahbod)
64 - New configuration macro HB_MINIMIZE_MEMORY_USAGE to favor optimizing memory
65 usage over speed. (Behdad Esfahbod)
66 - Supporting setting the mapping between old and new glyph indices during
67 subsetting. (Garret Rieger)
68 - Various fixes and improvements.
69 (Behdad Esfahbod, Denis Rochette, Garret Rieger, Han Seung Min, Qunxin Liu)
72 +hb_subset_input_old_to_new_glyph_mapping()
75 Overview of changes leading to 7.2.0
76 Thursday, April 27, 2023
77 ====================================
78 - Add Tifinagh to the list of scripts that can natively be either right-to-left
79 or left-to-right, to improve handling of its glyph positioning.
81 - Return also single substitution from hb_ot_layout_lookup_get_glyph_alternates()
83 - Fix 4.2.0 regression in applying across syllables in syllabic scripts.
85 - Add flag to avoid glyph substitution closure during subsetting, and the
86 corresponding “--no-layout-closure” option to “hb-subset” command line tool.
88 - Support instancing COLRv1 table. (Qunxin Liu)
89 - Don’t drop used user-defined name table entries during subsetting.
91 - Optimize handling of “gvar” table. (Behdad Esfahbod)
92 - Various subsetter bug fixes and improvements. (Garret Rieger, Qunxin Liu)
93 - Various documentation improvements. (Behdad Esfahbod, Josef Friedrich)
96 +HB_SUBSET_FLAGS_NO_LAYOUT_CLOSURE
97 +HB_UNICODE_COMBINING_CLASS_CCC132
100 +HB_UNICODE_COMBINING_CLASS_CCC133
103 Overview of changes leading to 7.1.0
104 Friday, March 3, 2023
105 ====================================
106 - New experimental hb_shape_justify() API that uses font variations to expand
107 or shrink the text to a given advance. (Behdad Esfahbod)
108 - Various build and bug fixes. (Behdad Esfahbod, Garret Rieger, Qunxin Liu)
111 +hb_font_set_variation()
114 Overview of changes leading to 7.0.1
115 Monday, February 20, 2023
116 ====================================
117 - Various build and bug fixes.
120 Overview of changes leading to 7.0.0
121 Saturday, February 11, 2023
122 ====================================
123 - New hb-paint API that is designed mainly to paint “COLRv1” glyphs, but can be
124 also used as a unified API to paint any of the glyph representations
125 supported by HarfBuzz (B/W outlines, color layers, or color bitmaps).
126 (Behdad Esfahbod, Matthias Clasen)
127 - New hb-cairo API for integrating with cairo graphics library. This is provided
128 as a separate harfbuzz-cairo library. (Behdad Esfahbod, Matthias Clasen)
129 - Support for instancing “CFF2” table. (Behdad Esfahbod)
130 - Support font emboldening. (Behdad Esfahbod)
131 - Support feature ranges with AAT shaping. (Behdad Esfahbod)
132 - Experimental support to cubic curves in “glyf” table, see
133 https://github.com/harfbuzz/boring-expansion-spec/blob/main/glyf1-cubicOutlines.md
134 for spec. (Behdad Esfahbod)
135 - Various subsetter improvements. (Garret Rieger, Qunxin Liu, Behdad Esfahbod)
136 - Various documentation improvements.
137 (Behdad Esfahbod, Matthias Clasen, Khaled Hosny)
138 - Significantly reduced memory use during shaping. (Behdad Esfahbod)
139 - Greatly reduced memory use during subsetting “CFF” table. (Behdad Esfahbod)
140 - New command line utility, hb-info, for querying various font information.
141 (Behdad Esfahbod, Matthias Clasen)
142 - New hb-shape/hb-view options: --glyphs, --color-palette, --font-bold,
143 --font-grade, and --named-instance. (Behdad Esfahbod)
144 - Miscellaneous fixes and improvements.
145 (Amir Masoud Abdol, Andres Salomon, Behdad Esfahbod, Chun-wei Fan,
146 Garret Rieger, Jens Kutilek, Khaled Hosny, Konstantin Käfer, Matthias Clasen,
147 Nirbheek Chauhan, Pedro J. Estébanez, Qunxin Liu, Sergei Trofimovich)
150 +HB_FONT_NO_VAR_NAMED_INSTANCE
151 +HB_PAINT_IMAGE_FORMAT_BGRA
152 +HB_PAINT_IMAGE_FORMAT_PNG
153 +HB_PAINT_IMAGE_FORMAT_SVG
154 +hb_cairo_font_face_create_for_face
155 +hb_cairo_font_face_create_for_font
156 +hb_cairo_font_face_get_face
157 +hb_cairo_font_face_get_font
158 +hb_cairo_font_face_get_scale_factor
159 +hb_cairo_font_face_set_font_init_func
160 +hb_cairo_font_face_set_scale_factor
161 +hb_cairo_font_init_func_t
162 +hb_cairo_glyphs_from_buffer
163 +hb_cairo_scaled_font_get_font
164 +hb_color_line_get_color_stops
165 +hb_color_line_get_color_stops_func_t
166 +hb_color_line_get_extend
167 +hb_color_line_get_extend_func_t
170 +hb_draw_funcs_get_empty
171 +hb_draw_funcs_get_user_data
172 +hb_draw_funcs_set_user_data
173 +hb_face_collect_nominal_glyph_mapping
175 +hb_font_draw_glyph_func_t
176 +hb_font_funcs_set_draw_glyph_func
177 +hb_font_funcs_set_paint_glyph_func
178 +hb_font_get_synthetic_bold
179 +hb_font_get_var_named_instance
181 +hb_font_paint_glyph_func_t
182 +hb_font_set_synthetic_bold
187 +hb_ot_color_glyph_has_paint
188 +hb_ot_color_has_paint
189 +hb_ot_layout_script_select_language2
190 +hb_ot_name_id_predefined_t
192 +hb_paint_color_func_t
193 +hb_paint_composite_mode_t
194 +hb_paint_custom_palette_color
195 +hb_paint_custom_palette_color_func_t
197 +hb_paint_funcs_create
198 +hb_paint_funcs_destroy
199 +hb_paint_funcs_get_empty
200 +hb_paint_funcs_get_user_data
201 +hb_paint_funcs_is_immutable
202 +hb_paint_funcs_make_immutable
203 +hb_paint_funcs_reference
204 +hb_paint_funcs_set_color_func
205 +hb_paint_funcs_set_custom_palette_color_func
206 +hb_paint_funcs_set_image_func
207 +hb_paint_funcs_set_linear_gradient_func
208 +hb_paint_funcs_set_pop_clip_func
209 +hb_paint_funcs_set_pop_group_func
210 +hb_paint_funcs_set_pop_transform_func
211 +hb_paint_funcs_set_push_clip_glyph_func
212 +hb_paint_funcs_set_push_clip_rectangle_func
213 +hb_paint_funcs_set_push_group_func
214 +hb_paint_funcs_set_push_transform_func
215 +hb_paint_funcs_set_radial_gradient_func
216 +hb_paint_funcs_set_sweep_gradient_func
217 +hb_paint_funcs_set_user_data
220 +hb_paint_image_func_t
221 +hb_paint_linear_gradient
222 +hb_paint_linear_gradient_func_t
224 +hb_paint_pop_clip_func_t
226 +hb_paint_pop_group_func_t
227 +hb_paint_pop_transform
228 +hb_paint_pop_transform_func_t
229 +hb_paint_push_clip_glyph
230 +hb_paint_push_clip_glyph_func_t
231 +hb_paint_push_clip_rectangle
232 +hb_paint_push_clip_rectangle_func_t
234 +hb_paint_push_group_func_t
235 +hb_paint_push_transform
236 +hb_paint_push_transform_func_t
237 +hb_paint_radial_gradient
238 +hb_paint_radial_gradient_func_t
239 +hb_paint_sweep_gradient
240 +hb_paint_sweep_gradient_func_t
242 +hb_subset_input_keep_everything
245 +hb_font_funcs_set_glyph_shape_func
246 +hb_font_get_glyph_shape_func_t
247 +hb_font_get_glyph_shape
250 Overview of changes leading to 6.0.0
251 Friday, December 16, 2022
252 ====================================
253 - A new API have been added to pre-process the face and speed up future
254 subsetting operations on that face. Provides up to a 95% reduction in
255 subsetting times when the same face is subset more than once.
257 For more details and benchmarks, see:
258 https://github.com/harfbuzz/harfbuzz/blob/main/docs/subset-preprocessing.md
260 (Garret Rieger, Behdad Esfahbod)
262 - Shaping have been speedup by skipping entire lookups when the buffer contents
263 don't intersect with the lookup. Shows up to a 10% speedup in shaping some
264 fonts. (Behdad Esfahbod)
266 - A new experimental feature, “Variable Composites” (enabled by passing
267 -Dexperimental_api=true to meson), is also featured in this release.
268 This technology enables drastic compression of fonts in the Chinese,
269 Japanese, Korean, and other writing systems, by reusing the OpenType Font
270 Variations technology for encoding “smart components” into the font.
272 The specification for these extensions to the font format can be found in:
273 https://github.com/harfbuzz/boring-expansion-spec/blob/glyf1/glyf1.md
275 A test variable-font with ~7160 Hangul syllables derived from the
276 NotoSerifKR-VF font has been built, with existing OpenType technology, as
277 well as with the new Variable Composites (VarComposites) technology. The
278 VarComposites font is over 90% smaller than the OpenType version of the font!
279 Both fonts can be obtained from the “smarties” repository:
280 https://github.com/behdad/smarties/tree/3.0/fonts/hangul/serif
282 When building HarfBuzz with experimental features enabled, you can test
283 the “smarties” font with a sample character like this:
285 $ hb-view butchered-hangul-serif-smarties-variable.ttf -u AE01 --variations=wght=700
289 - The HarfBuzz subsetter can now drop axes by pinning them to specific values
290 (also referred to as instancing). There are a couple of restrictions
293 - Only works with TrueType (“glyf”) based fonts. “CFF2” fonts are not yet
295 - Only supports the case where all axes in a font are pinned.
297 (Garret Rieger, Qunxin Liu)
299 - Miscellaneous fixes and improvements.
301 (Behdad Esfahbod, Christoph Reiter, David Corbett, Eli Schwartz, Garret
302 Rieger, Joel Auterson, Jordan Petridis, Khaled Hosny, Lorenz Wildberg,
303 Marco Rebhan, Martin Storsjö, Matthias Clasen, Qunxin Liu, Satadru Pramanik)
307 +hb_subset_input_pin_axis_location()
308 +hb_subset_input_pin_axis_to_default()
309 +hb_subset_preprocess()
312 Overview of changes leading to 5.3.1
313 Wednesday, October 19, 2022
314 ====================================
315 - Subsetter repacker fixes. (Garret Rieger)
316 - Adjust Grapheme clusters for Katakana voiced sound marks. (Behdad Esfahbod)
317 - New “hb-subset” option “--preprocess-face”. (Garret Rieger)
320 Overview of changes leading to 5.3.0
321 Saturday, October 8, 2022
322 "Women, Life, Freedom" #MahsaAmini
323 ====================================
324 - Don’t add glyphs from dropped MATH or COLR tables to the subset glyphs.
326 - Map “rlig” to appropriate AAT feature selectors. (Jonathan Kew)
327 - Update USE data files to latest version. (David Corbett)
328 - Check “CBDT” extents first before outline tables, to help with fonts that
329 also include an empty “glyf” table. (Khaled Hosny)
330 - More work towards variable font instancing in the subsetter. (Qunxin Liu)
331 - Subsetter repacker improvements. (Garret Rieger)
333 +hb_ot_layout_lookup_get_optical_bound()
334 +hb_face_builder_sort_tables()
337 Overview of changes leading to 5.2.0
338 Saturday, September 17, 2022
339 ====================================
340 - Fix regressions in hb-ft font functions for FT_Face’s with transformation
341 matrix. (Behdad Esfahbod)
342 - The experimental hb-repacker API now supports splitting several GPOS subtable
343 types when needed. (Garret Rieger)
344 - The HarfBuzz extensions to OpenType font format are now opt-in behind
345 build-time flags. (Behdad Esfahbod)
346 - The experimental hb-subset variable fonts instantiation API can now
347 instantiate more font tables and arbitrary axis locations. (Qunxin Liu)
348 - Unicode 15 support. (David Corbett)
349 - Various documentation improvements. (Behdad Esfahbod, Matthias Clasen)
350 - The hb-view command line tool now detects WezTerm inline images support.
352 - Fix FreeType and ICU dependency lookup with meson. (Xavier Claessens)
356 +HB_SCRIPT_NAG_MUNDARI
359 Overview of changes leading to 5.1.0
360 Sunday, July 31, 2022
361 ====================================
362 - More extensive buffer tracing messages. (Behdad Esfahbod)
363 - Fix hb-ft regression in bitmap fonts rendering. (Behdad Esfahbod)
364 - Support extension promotion of lookups in hb-subset-repacker. (Garret Rieger)
365 - A new HB_GLYPH_FLAG_SAFE_TO_INSERT_TATWEEL for scripts that use elongation
366 (e.g. Arabic) to signify where it is safe to insert tatweel glyph without
367 interrupting shaping. (Behdad Esfahbod)
368 - Add “--safe-to-insert-tatweel” to “hb-shape” tool. (Behdad Esfahbod)
371 +HB_GLYPH_FLAG_SAFE_TO_INSERT_TATWEEL
372 +HB_BUFFER_FLAG_PRODUCE_SAFE_TO_INSERT_TATWEEL
375 Overview of changes leading to 5.0.1
376 Saturday, July 23, 2022
377 ====================================
378 - Fix version 2 “avar” table with hb-ft. (Behdad Esfahbod)
381 Overview of changes leading to 5.0.0
382 Saturday, July 23, 2022
383 ====================================
384 - Support fonts with more than 65535 glyphs in “GDEF”, “GSUB”, and “GPOS”
385 tables. This is part of https://github.com/be-fonts/boring-expansion-spec to
386 extend OpenType in a backward-compatible way.
387 (Behdad Esfahbod, Garret Rieger)
388 - Complete support for more than 65535 glyphs in “glyf” table that started in
389 4.0.0 release. Part of boring-expansion-spec. (Behdad Esfahbod)
390 - Support version 2 of “avar” table. Part of boring-expansion-spec.
392 - Fix mark attachment on multiple substitutions in some cases.
394 - Fix application of “calt”, “rclt”, and “ccmp” features to better match
395 Uniscribe behaviour with some Arabic fonts. (Behdad Esfahbod)
396 - Improvement to interaction between multiple cursive attachments.
398 - Improve multiple mark interactions in Hebrew. (Behdad Esfahbod)
399 - Implement language-specific forms in AAT shaping. (Behdad Esfahbod)
400 - Fix variation of “VORG” table. (Behdad Esfahbod)
401 - Support for specific script tags to be retained in the subsetter, and add
402 “--layout-scripts” option to “hb-subset” tool. (Garret Rieger)
403 - Accept space as delimiter for --features/--variations in command line tools.
404 - Improve subsetting of “COLR” table. (Qunxin Liu)
405 - Improved fuzzing coverage for ot-math API. (Frédéric Wang)
406 - Fix “kern” table version 2 (AAT) sanitization on 32-bit systems.
408 - Allow negative glyph advances from “graphite2” shaper. (Stephan Bergmann)
409 - Implement loading (color) bitmap fonts with hb-ft. (Behdad Esfahbod)
410 - Fix regression in hb-ft when changing font size. (Behdad Esfahbod)
411 - Fix build on GCC < 7. (Kleis Auke Wolthuizen)
412 - Dynamically load dwrite.dll on windows if “directwrite” shaper is enabled.
414 - Provide a single-file harfbuzz-subset.cc file for easier alternate building
415 of hb-subset library, similar to harfbuzz.cc. (Khaled Hosny)
418 +HB_SUBSET_SETS_LAYOUT_SCRIPT_TAG
419 +hb_language_matches()
422 Overview of changes leading to 4.4.1
423 Wednesday, June 29, 2022
424 ====================================
425 - Fix test failure with some compilers.
426 - Fix Telugu and Kannada kerning regression.
429 Overview of changes leading to 4.4.0
430 Monday, June 27, 2022
431 ====================================
432 - Caching of variable fonts shaping, in particular when using HarfBuzz’s own
433 font loading functions (ot). Bringing performance of variable shaping in par
434 with non-variable fonts shaping. (Behdad Esfahbod)
435 - Caching of format 2 “Contextual Substitution” and “Chained Contexts
436 Substitution” lookups. Resulting in up to 20% speedup of lookup-heavy fonts
437 like Gulzar or Noto Nastaliq Urdu. (Behdad Esfahbod)
438 - Improved ANSI output from hb-view. (Behdad Esfahbod)
439 - Support for shaping legacy, pre-OpenType Windows 3.1-era, Arabic fonts that
440 relied on a fixed PUA encoding. (Khaled Hosny, Behdad Esfahbod)
441 - Sinhala script is now shaped by the USE shaper instead of “indic” one.
442 (Behdad Esfahbod, David Corbett)
443 - Thai shaper improvements. (David Corbett)
444 - hb-ot-name API supports approximate BCP-47 language matching, for example
445 asking for “en_US” in a font that has only “en” names will return them.
447 - Optimized TrueType glyph shape loading. (Behdad Esfahbod)
448 - Fix subsetting of HarfBuzz faces created via hb_face_create_for_tables().
450 - Add 32 bit var store support to the subsetter. (Garret Rieger)
453 +HB_BUFFER_FLAG_DEFINED
454 +HB_BUFFER_SERIALIZE_FLAG_DEFINED
456 +hb_font_get_serial()
457 +hb_ft_hb_font_changed()
463 Overview of changes leading to 4.3.0
465 ====================================
466 - Major speed up in loading and subsetting fonts, especially in
467 handling CFF table. Subsetting some fonts is now 3 times faster.
468 (Behdad Esfahbod, Garret Rieger)
469 - Speed up blending CFF2 table. (Behdad Esfahbod)
470 - Speed up hb_ot_tags_from_language(). (Behdad Esfahbod, David Corbett)
471 - Fix USE classification of U+10A38 to fix multiple marks on single Kharoshthi
472 base. (David Corbett)
473 - Fix parsing of empty CFF Index. (Behdad Esfahbod)
474 - Fix subsetting CPAL table with partial palette overlaps. (Garret Rieger)
477 +hb_map_is_equal() (Behdad Esfahbod)
480 Overview of changes leading to 4.2.1
481 Sunday, April 24, 2022
482 ====================================
483 - Make sure hb_blob_create_from_file_or_fail() always returns nullptr in case
484 of failure and not empty blob sometimes. (Khaled Hosny)
485 - Add --passthrough-tables option to hb-subset. (Cosimo Lupo)
486 - Reinstate a pause after basic features in Khmer shaper, fixing a regression
487 introduced in previous release. (Behdad Esfahbod)
488 - Better handling of Regional_Indicator when shaped with RTL-native scripts,
489 reverting earlier fix that caused regressions in AAT shaping. (Behdad Esfahbod)
492 Overview of changes leading to 4.2.0
493 Wednesday, March 30, 2022
494 ====================================
495 - Source code reorganization, splitting large hb-ot-layout files into smaller,
496 per-subtable ones under OT/Layout/*. Code for more tables will follow suit in
497 later releases. (Garret Rieger, Behdad Esfahbod)
498 - Revert Indic shaper change in previous release that broke some fonts and
499 instead make per-syllable restriction of “GSUB” application limited to
500 script-specific Indic features, while applying them and discretionary
501 features in one go. (Behdad Esfahbod)
502 - Fix decoding of private in gvar table. (Behdad Esfahbod)
503 - Fix handling of contextual lookups that delete too many glyphs. (Behdad Esfahbod)
504 - Make “morx” deleted glyphs don’t block “GPOS” application. (Behdad Esfahbod)
505 - Various build fixes. (Chun-wei Fan, Khaled Hosny)
508 +hb_set_next_many() (Andrew John)
511 Overview of changes leading to 4.1.0
512 Wednesday, March 23, 2022
513 ====================================
514 - Various OSS-Fuzz fixes. (Behdad Esfahbod)
515 - Make fallback vertical-origin match FreeType’s. (Behdad Esfahbod)
516 - Treat visible viramas like dependent vowels in USE shaper. (David Corbett)
517 - Apply presentation forms features and discretionary features in one go in
518 Indic shaper, which seems to match Uniscribe and CoreText behaviour.
519 (Behdad Esfahbod, David Corbett)
523 +hb_set_add_sorted_array() (Andrew John)
526 Overview of changes leading to 4.0.1
527 Friday, March 11, 2022
528 ====================================
529 - Update OpenType to AAT mappings for “hist” and “vrtr” features.
531 - Update IANA Language Subtag Registry to 2022-03-02. (David Corbett)
532 - Update USE shaper to allow any non-numeric tail in a symbol cluster, and
533 remove obsolete data overrides. (David Corbett)
534 - Fix handling of baseline variations to return correctly scaled values.
536 - A new experimental hb_subset_repack_or_fail() to repack an array of objects,
537 eliminating offset overflows. The API is not available unless HarfBuzz is
538 built with experimental APIs enabled. (Qunxin Liu)
540 - New experimental API
543 +hb_subset_repack_or_fail()
546 Overview of changes leading to 4.0.0
547 Tuesday, March 1, 2022
548 ====================================
549 - New public API to create subset plan and gather information on things like
550 glyph mappings in the final subset. The plan can then be passed on to perform
551 the subsetting operation. (Garret Rieger)
552 - Draw API for extracting glyph shapes have been extended and finalized and is
553 no longer an experimental API. The draw API supports glyf, CFF and CFF2
554 glyph outlines tables, and applies variation settings set on the font as well
555 as synthetic slant. The new public API is not backward compatible with the
556 previous, non-public, experimental API. (Behdad Esfahbod)
557 - The hb-view tool will use HarfBuzz draw API to render the glyphs instead of
558 cairo-ft when compiled with Cairo 1.17.5 or newer, setting HB_DRAW
559 environment variable to 1 or 0 will force using or not use the draw API,
560 respectively. (Behdad Esfahbod)
561 - The hb-shape and hb-view tools now default to using HarfBuzz’s own font
562 loading functions (ot) instead of FreeType ones (ft). They also have a new
563 option, --font-slant, to apply synthetic slant to the font. (Behdad Esfahbod)
564 - HarfBuzz now supports more than 65535 (the OpenType limit) glyph shapes and
565 metrics. See https://github.com/be-fonts/boring-expansion-spec/issues/6 and
566 https://github.com/be-fonts/boring-expansion-spec/issues/7 for details.
568 - New API to get the dominant horizontal baseline tag for a given script.
570 - New API to get the baseline positions from the font, and synthesize missing
571 ones. As well as new API to get font metrics and synthesize missing ones.
573 - Improvements to finding dependencies on Windows when building with Visual
574 Studio. (Chun-wei Fan)
575 - New buffer flag, HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT, that must be set
576 during shaping for HB_GLYPH_FLAG_UNSAFE_TO_CONCAT flag to be reliably
577 produced. This is to limit the performance hit of producing this flag to when
578 it is actually needed. (Behdad Esfahbod)
579 - Documentation improvements. (Matthias Clasen)
583 +HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT
588 +hb_draw_funcs_create()
589 +hb_draw_funcs_reference()
590 +hb_draw_funcs_destroy()
591 +hb_draw_funcs_is_immutable()
592 +hb_draw_funcs_make_immutable()
593 +hb_draw_move_to_func_t
594 +hb_draw_funcs_set_move_to_func()
595 +hb_draw_line_to_func_t
596 +hb_draw_funcs_set_line_to_func()
597 +hb_draw_quadratic_to_func_t
598 +hb_draw_funcs_set_quadratic_to_func()
599 +hb_draw_cubic_to_func_t
600 +hb_draw_funcs_set_cubic_to_func()
601 +hb_draw_close_path_func_t
602 +hb_draw_funcs_set_close_path_func()
604 +HB_DRAW_STATE_DEFAULT
607 +hb_draw_quadratic_to()
609 +hb_draw_close_path()
610 +hb_font_get_glyph_shape_func_t
611 +hb_font_funcs_set_glyph_shape_func()
612 +hb_font_get_glyph_shape()
615 +HB_OT_LAYOUT_BASELINE_TAG_IDEO_FACE_CENTRAL
616 +HB_OT_LAYOUT_BASELINE_TAG_IDEO_EMBOX_CENTRAL
617 +hb_ot_layout_get_horizontal_baseline_tag_for_script()
618 +hb_ot_layout_get_baseline_with_fallback()
621 +hb_ot_metrics_get_position_with_fallback()
625 +hb_subset_plan_create_or_fail()
626 +hb_subset_plan_reference()
627 +hb_subset_plan_destroy()
628 +hb_subset_plan_set_user_data()
629 +hb_subset_plan_get_user_data()
630 +hb_subset_plan_execute_or_fail()
631 +hb_subset_plan_unicode_to_old_glyph_mapping()
632 +hb_subset_plan_new_to_old_glyph_mapping()
633 +hb_subset_plan_old_to_new_glyph_mapping()
636 Overview of changes leading to 3.4.0
637 Sunday, February 13, 2022
638 ====================================
639 - Perform sanity checks on shaping results is now part of “harfbuzz” library
640 and can be enabled by setting the buffer flag HB_BUFFER_FLAG_VERIFY.
642 - Arabic Mark Transient Reordering Algorithm have been updated to revision 6.
644 - ISO 15924 code for mathematical notation, ‘Zmth’, now maps to the OpenType
645 ‘math’ tag. (Alexis King)
646 - It is now possible to get at once all math kerning values for a given glyph
647 at a given corner. (Alexis King)
648 - Fix locale_t portability issues on systems the typedef’s it to a void
649 pointer. (Behdad Esfahbod)
652 +HB_BUFFER_FLAG_VERIFY
653 +HB_OT_TAG_MATH_SCRIPT
655 +hb_ot_math_kern_entry_t
656 +hb_ot_math_get_glyph_kernings()
662 Overview of changes leading to 3.3.2
663 Sunday, February 6, 2022
664 ====================================
665 - Revert splitting of pair positioning values introduced in 3.3.0 as it proved
666 problematic. (Behdad Esfahbod)
669 Overview of changes leading to 3.3.1
670 Monday, January 31, 2022
671 ====================================
672 - Fix heap-use-after-free in harfbuzz-subset introduced in previous release.
676 Overview of changes leading to 3.3.0
677 Monday, January 31, 2022
678 ====================================
679 - Improved documentation. (Matthias Clasen)
680 - Internal code cleanup, using C++ standard library more. (Behdad Esfahbod)
681 - The low 16-bits of face index will be used by hb_face_create() to select a
682 face inside a font collection file format, while the high 16-bits will be
683 used by hb_font_create() to load the named instance. (Behdad Esfahbod)
684 - Glyph positions and other font metrics now apply synthetic slant set by
685 hb_font_set_synthetic_slant(), for improved positioning for synthetically
686 slanted fonts. (Behdad Esfahbod)
687 - Fixed unintentional locale dependency in hb_variation_to_string() for decimal
688 point representation. (Matthias Clasen)
689 - When applying pair positioning (kerning) the positioning value is split
690 between the two sides of the pair for improved cursor positioning between
691 such pairs. (Behdad Esfahbod)
692 - Introduced new HB_GLYPH_FLAG_UNSAFE_TO_CONCAT, to be used in conjunction
693 with HB_GLYPH_FLAG_UNSAFE_TO_BREAK for optimizing re-shaping during line
694 breaking. Check the documentation for further details. (Behdad Esfahbod)
695 - Improved handling of macrolanguages when mapping BCP 47 codes to OpenType
696 tags. (David Corbett)
699 +HB_GLYPH_FLAG_UNSAFE_TO_CONCAT
700 +hb_segment_properties_overlay()
701 +hb_buffer_create_similar()
702 +hb_font_set_synthetic_slant()
703 +hb_font_get_synthetic_slant()
704 +hb_font_get_var_coords_design()
707 Overview of changes leading to 3.2.0
708 Friday, November 26, 2021
709 ====================================
710 “harfbuzz” library improvements:
711 - Fixed shaping of Apple Color Emoji flags in right-to-left context. (Behdad Esfahbod)
712 - Fixed positioning of CFF fonts in HB_TINY profile. (Behdad Esfahbod)
713 - OpenType 1.9 language tags update. (David Corbett)
714 - Add HB_NO_VERTICAL config option.
715 - Add HB_CONFIG_OVERRIDE_H for easier configuration. (Behdad Esfahbod)
717 “harfbuzz-subset” library improvements:
718 - Improved packing of cmap, loca, and Ligature tables. (Garret Rieger)
719 - Significantly improved overflow-resolution strategy in the repacker. (Garret Rieger)
722 Overview of changes leading to 3.1.2
723 Friday, November 26, 2021
724 ====================================
725 - hb-shape / hb-view: revert treating text on the commandline as single
726 paragraph (was introduced in 3.0.0); add new --single-par to do that.
728 - Subsetter bug fixes. (Garret Rieger, Qunxin Liu, Behdad Esfahbod)
731 Overview of changes leading to 3.1.1
732 Wednesday, November 8, 2021
733 ====================================
734 - Work around GCC cast-align error/warning on some platforms. (Behdad Esfahbod)
735 - Documentation improvements. (Matthias Clasen)
738 Overview of changes leading to 3.1.0
739 Wednesday, November 3, 2021
740 ====================================
741 - Better offset-overflow handling in the subsetter library. (Garret Rieger)
742 - Improved Unicode 14 properties in the USE shaper, and various other USE
743 shaper fixes. (David Corbett)
744 - MATH and COLR v1 tables subsetting support, and various other subsetter fixes.
746 - Support for Pwo Karen / Ason Chin medial la. (Simon Cozens)
747 - Apply GPOS positioning when substituting with morx table, if kerx is missing.
749 - Apply calt and clig features across syllable boundaries in Indic shaper.
751 - meson option for enabling Graphite 2 has been renamed to graphite2.
752 - Build and documentation fixes.
755 +hb_buffer_set_not_found_glyph()
756 +hb_buffer_get_not_found_glyph()
759 Overview of changes leading to 3.0.0
760 Friday, September 17, 2021
761 ====================================
762 - Unicode 14.0 support (David Corbett).
763 - The hb-subset API and the harfbuzz-subset library's ABI are now declared
764 stable. The harfbuzz-subset library would not have been possible without the
765 work of Garret Rieger and Qunxin Liu from Google Fonts, and the earlier work
766 of Michiharu Ariza from Adobe.
767 - The hb-style API is now stable and no longer experimental.
771 +hb_style_get_value()
775 +hb_subset_input_create_or_fail()
776 +hb_subset_input_reference()
777 +hb_subset_input_destroy()
778 +hb_subset_input_set_user_data()
779 +hb_subset_input_get_user_data()
780 +hb_subset_input_unicode_set()
781 +hb_subset_input_glyph_set()
782 +hb_subset_input_set()
783 +hb_subset_input_get_flags()
784 +hb_subset_input_set_flags()
787 - Removed old unstable harfbuzz-subset API:
788 -hb_subset_input_nameid_set()
789 -hb_subset_input_namelangid_set()
790 -hb_subset_input_layout_features_set()
791 -hb_subset_input_no_subset_tables_set()
792 -hb_subset_input_drop_tables_set()
793 -hb_subset_input_set_drop_hints()
794 -hb_subset_input_get_drop_hints()
795 -hb_subset_input_set_desubroutinize()
796 -hb_subset_input_get_desubroutinize()
797 -hb_subset_input_set_retain_gids()
798 -hb_subset_input_get_retain_gids()
799 -hb_subset_input_set_name_legacy()
800 -hb_subset_input_get_name_legacy()
801 -hb_subset_input_set_overlaps_flag()
802 -hb_subset_input_get_overlaps_flag()
803 -hb_subset_input_set_notdef_outline()
804 -hb_subset_input_get_notdef_outline()
805 -hb_subset_input_set_no_prune_unicode_ranges()
806 -hb_subset_input_get_no_prune_unicode_ranges()
810 Overview of changes leading to 2.9.1
811 Tuesday, September 7, 2021
812 ====================================
813 - Final subset API is in place and if no issues are discovered, it will be the
814 stable subset API of HarfBuzz 3.0.0. Old API is kept to ease transition, but
815 will be removed in 3.0.0.
816 - Various fuzzer-found bug fixes.
817 - hb_buffer_append() now handles the pre- and post-context which previously
818 were left unchanged in the destination buffer.
819 - hb-view / hb-shape now accept following new arguments:
820 o --unicodes-before/after: takes a list of hex numbers that represent Unicode
826 Overview of changes leading to 2.9.0
827 Wednesday, August 18, 2021
828 History Repeats Itself (Afghanistan)
829 ====================================
830 - Subsetter API is being stabilized, with the first stable API to happen in
831 3.0.0 release (https://github.com/harfbuzz/harfbuzz/issues/3078).
832 - Support multiple variation axes with same tag, aka HOI.
833 - The “coretext” testing shaper now passes font variations to CoreText.
834 - hb-shape/hb-view does not break line at new lines unless text is read from
836 - hb-view and hb-subset has a --batch now, similar to hb-shape.
837 - The --batch mode now uses ; as argument separator instead of : used previously.
838 - The --batch in hb-shape does not expect 0th argument anymore. That is, the
839 lines read are interpreted as argv[1:], instead of argv[0:].
840 - The --batch option has been undocumented. We are ready to document it; send
841 feedback if you find it useful.
842 - hb-subset got arguments revamps. Added much-requested --gids-file, --glyphs,
843 --glyphs-file, --unicodes-file, supporting ranges in --unicodes.
847 Overview of changes leading to 2.8.2
848 Tuesday, July 8, 2021
849 ====================================
850 - Shaping LTR digits for RTL scripts now makes the native direction of the
851 digits LTR, applying shaping and positioning rules on the same glyph order as
852 Uniscribe. (Jonathan Kew, Khaled Hosny).
853 - Subsetting COLR v1 and CPAL tables is now supported. (Garret Rieger, Qunxin Liu)
854 - Various fixes and improvements to the subsetter. (Garret Rieger, Qunxin Liu, Behdad)
855 - When applying morx table, mark glyph widths should not be zeroed. (Jonathan Kew)
856 - GPOS is preferred over kerx, if GSUB was applied. (Behdad)
857 - Regional_Indicator pairs are grouped together when clustering. (Behdad)
859 +hb_blob_create_or_fail()
860 +hb_blob_create_from_file_or_fail()
864 Overview of changes leading to 2.8.1
866 ====================================
867 - Subsetter now fully supports GSUB/GPOS/GDEF tables (including variations); as
868 such, layout tables are retained by subsetter by default. (Garret Rieger, Qunxin Liu)
869 - Build scripts no longer check for FontConfig as HarfBuzz does not use it.
870 - hb-view supports iTerm2 and kitty inline image protocols (Khaled Hosny),
871 it can also use Chafa for terminal graphics if available (Hans Petter Jansson).
873 Overview of changes leading to 2.8.0
874 Tuesday, March 16, 2021
875 ====================================
876 - Shape joining scripts other than Arabic/Syriac using the Universal Shaping Engine.
877 Previously these were shaped using the generalized Arabic shaper. (David Corbett)
878 - Fix regression in shaping of U+0B55 ORIYA SIGN OVERLINE. (David Corbett)
879 - Update language tags. (David Corbett)
880 - Variations: reduce error: do not round each interpolated delta. (Just van Rossum)
881 - Documentation improvements. (Khaled Hosny, Nathan Willis)
882 - Subsetter improvements: subsets most, if not all, lookup types now. (Garret Rieger, Qunxin Liu)
883 - Fuzzer-found fixes and other improvements when memory failures happen. (Behdad)
884 - Removed most atomic implementations now that we have C++11 atomic impl. (Behdad)
885 - General codebase upkeep; using more C++11 features: constexpr constructors, etc. (Behdad)
888 Overview of changes leading to 2.7.4
889 Sunday, December 27, 2020
890 ====================================
891 - Fix missing --enable-introspection configure option from previous release
893 - Documentation updates.
896 Overview of changes leading to 2.7.3
897 Wednesday, December 23, 2020
898 ====================================
899 - Update USE shaper to 2020-08-13 specification, and other improvements.
900 - Don’t disable liga feature in myanmar shaper, to match Uniscribe.
901 - Improvements to language and script tags handling.
902 - Update language system tag registry to OpenType 1.8.4
903 - Support for serializing and deserializing Unicode buffers. Serialized buffers
904 are now delimited with `<>` or `[]` based on whether it is a Unicode or
906 - Increase buffer work limits to handle fonts with many complex lookups.
907 - Handle more shaping operations in trace output.
908 - Memory access fixes.
910 - Improved documentation.
911 - Build system improvements.
913 +hb_buffer_has_positions()
914 +hb_buffer_serialize()
915 +hb_buffer_serialize_unicode()
916 +hb_buffer_deserialize_unicode()
919 Overview of changes leading to 2.7.2
920 Saturday, August 29, 2020
921 ====================================
922 - Fix a regression in the previous release that caused a crash with Kaithi.
926 Overview of changes leading to 2.7.1
927 Thursday, August 13, 2020
928 ====================================
929 - ot-funcs now handles variable empty glyphs better when hvar/vvar isn't present.
930 - Reverted a GDEF processing regression.
931 - A couple of fixes to handle OOM better.
934 Overview of changes leading to 2.7.0
935 Saturday, July 25, 2020
936 ====================================
937 - Use an implementation for round that always rounds up, some minor fluctuations
938 are expected on var font specially when hb-ot callback is used.
939 - Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
940 - Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
941 use on macOS installed fonts (only two files). GDEF support is the recommended
942 one and expected to work properly after issues fixed two releases ago.
943 - Minor memory fixes to handle OOM better specially in hb-ft.
944 - Minor .so files versioning scheme change and remove stable/unstable scheme
945 differences, was never used in practice (always default to stable scheme).
946 - We are now suggesting careful packaging of the library using meson,
947 https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
948 for more information.
949 - Distribution package URL is changed, either use GitHub generated tarballs,
950 `https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
951 or, even more preferably use commit hash of the release and git checkouts like,
952 `git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
955 Overview of changes leading to 2.6.8
956 Monday, June 22, 2020
957 ====================================
958 - New API to fetch glyph alternates from GSUB table.
959 - hb-coretext build fix for macOS < 10.10.
960 - Meson build fixes, cmake port removal is postponed but please prepare for
961 it and give us feedback.
962 Autotools is still our main build system however please consider
963 experimenting with meson also for packaging the library.
965 +hb_ot_layout_lookup_get_glyph_alternates()
968 Overview of changes leading to 2.6.7
969 Wednesday, June 3, 2020
970 ====================================
971 - Update to Unicode 13.0.0.
972 - Fix hb_ot_layout_get_ligature_carets for fonts without lcar table, it was
973 completely broken for all the other fonts since 2.1.2.
974 - As a part of our migration to meson, this release will be the last one
975 to provide cmake port files but autotools still is our main build system.
976 There is a possibility that the next version or the after be released
980 Overview of changes leading to 2.6.6
981 Tuesday, May 12, 2020
982 ====================================
983 - A fix in AAT kerning for Geeza Pro.
984 - Better support for resource fork fonts on macOS.
987 Overview of changes leading to 2.6.5
988 Friday, April 17, 2020
989 ====================================
990 - Add experimental meson build system. Autotools is still the primary
991 and supported build system.
992 - AAT is now always preferred for horizontal scripts when both AAT and OT
993 layout tables exist at the same time.
994 - Subsetter improvements.
996 +hb_ft_font_lock_face()
997 +hb_ft_font_unlock_face()
1000 Overview of changes leading to 2.6.4
1001 Monday, October 29, 2019
1002 ====================================
1007 Overview of changes leading to 2.6.3
1008 Monday, October 28, 2019
1009 ====================================
1010 - Misc small fixes, mostly to build-related issues.
1012 +hb_font_get_nominal_glyphs()
1015 Overview of changes leading to 2.6.2
1016 Monday, September 30, 2019
1017 ====================================
1018 - Misc small fixes, mostly to build-related issues.
1021 Overview of changes leading to 2.6.1
1022 Thursday, August 22, 2019
1023 ====================================
1024 - Fix regression with hb_font_create_sub_font scaling introduced in 2.6.0.
1025 - Change interpretation of font PTEM size / CoreText font size handling.
1026 See https://github.com/harfbuzz/harfbuzz/pull/1484
1027 - hb-ot-font: Prefer symbol cmap subtable if present.
1028 - Apply 'dist'/'abvm'/'blwm' features to all scripts.
1029 - Drop experimental DirectWrite API.
1032 Overview of changes leading to 2.6.0
1033 Tuesday, August 13, 2019
1034 ====================================
1035 - New OpenType metrics, baseline, and metadata table access APIs.
1036 - New API to set font variations to a named-instance.
1037 - New hb-gdi.h header and API for creating hb_face_t from HFONT.
1038 - Amalgam: Provide a single-file harfbuzz.cc file for easier alternate building.
1039 - More size-reduction configurable options, enabled by HB_TINY.
1041 +hb_font_set_var_named_instance()
1042 +hb_gdi_face_create()
1043 +hb_ot_layout_baseline_tag_t
1044 +hb_ot_layout_get_baseline()
1046 +hb_ot_meta_get_entry_tags()
1047 +hb_ot_meta_reference_entry()
1048 +hb_ot_metrics_tag_t
1049 +hb_ot_metrics_get_position()
1050 +hb_ot_metrics_get_variation()
1051 +hb_ot_metrics_get_x_variation()
1052 +hb_ot_metrics_get_y_variation()
1055 Overview of changes leading to 2.5.3
1056 Wednesday, June 26, 2019
1057 ====================================
1058 - Fix UCD script data for Unicode 10+ scripts. This was broken since 2.5.0.
1059 - More optimizations for HB_TINY.
1062 Overview of changes leading to 2.5.2
1063 Thursday, June 20, 2019
1064 ====================================
1065 - More hb-config.hh facilities to shrink library size, namely when built as
1067 - New documentation of custom configurations in CONFIG.md.
1068 - Fix build on gcc 4.8. That's supported again.
1069 - Universal Shaping Engine improvements thanks to David Corbett.
1070 - API Changes: Undeprecate some horizontal-kerning API and re-enable in hb-ft,
1071 such that Type1 fonts will continue kerning.
1074 Overview of changes leading to 2.5.1
1075 Friday, May 31, 2019
1076 ====================================
1077 - Fix build with various versions of Visual Studio.
1078 - Improved documentation, thanks to Nathan Willis.
1079 - Bugfix in subsetting glyf table.
1080 - Improved scripts for cross-compiling for Windows using mingw.
1081 - Rename HB_MATH_GLYPH_PART_FLAG_EXTENDER to HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER.
1082 A deprecated macro is added for backwards-compatibility.
1085 Overview of changes leading to 2.5.0
1086 Friday, May 24, 2019
1087 ====================================
1088 - This release does not include much functional changes, but includes major internal
1089 code-base changes. We now require C++11. Support for gcc 4.8 and earlier has been
1091 - New hb-config.hh facility for compiling smaller library for embedded and web usecases.
1092 - New Unicode Character Database implementation that is half the size of previously-used
1094 - Subsetter improvements.
1095 - Improved documentation, thanks to Nathan Willis.
1096 - Misc shaping fixes.
1099 Overview of changes leading to 2.4.0
1100 Monday, March 25, 2019
1101 ====================================
1104 - Subsetter improvements.
1106 HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE
1107 hb_directwrite_face_create()
1110 Overview of changes leading to 2.3.1
1111 Wednesday, January 30, 2019
1112 ====================================
1114 - Misc internal housekeeping cleanup.
1117 Overview of changes leading to 2.3.0
1118 Thursday, December 20, 2018
1119 ====================================
1120 - Fix regression on big-endian architectures. Ouch!
1121 - Misc bug and build fixes.
1122 - Fix subsetting of simple GSUB/GDEF.
1123 - Merge CFF / CFF2 support contributed by Adobe. This mostly involves
1124 the subsetter, but also get_glyph_extents on CFF fonts.
1126 New API in hb-aat.h:
1127 +hb_aat_layout_has_substitution()
1128 +hb_aat_layout_has_positioning()
1129 +hb_aat_layout_has_tracking()
1132 Overview of changes leading to 2.2.0
1133 Thursday, November 29, 2018
1134 ====================================
1135 - Misc shaping bug fixes.
1136 - Add font variations named-instance API.
1137 - Deprecate font variations axis enumeration API and add replacement.
1138 - AAT shaping improvements:
1139 o Fixed 'kern' table Format 2 implementation.
1140 o Implement 'feat' table API for feature detection.
1141 o Blacklist 'GSUB' table of fonts from 'MUTF' foundry that also have 'morx'.
1144 +hb_aat_layout_feature_type_t
1145 +hb_aat_layout_feature_selector_t
1146 +hb_aat_layout_get_feature_types()
1147 +hb_aat_layout_feature_type_get_name_id
1148 +hb_aat_layout_feature_selector_info_t
1149 +HB_AAT_LAYOUT_NO_SELECTOR_INDEX
1150 +hb_aat_layout_feature_type_get_selector_infos()
1151 +hb_ot_var_axis_flags_t
1152 +hb_ot_var_axis_info_t
1153 +hb_ot_var_get_axis_infos()
1154 +hb_ot_var_find_axis_info()
1155 +hb_ot_var_get_named_instance_count()
1156 +hb_ot_var_named_instance_get_subfamily_name_id()
1157 +hb_ot_var_named_instance_get_postscript_name_id()
1158 +hb_ot_var_named_instance_get_design_coords()
1161 +HB_OT_VAR_NO_AXIS_INDEX
1163 +hb_ot_var_get_axes()
1164 +hb_ot_var_find_axis()
1167 Overview of changes leading to 2.1.3
1168 Friday, November 16, 2018
1169 ====================================
1170 - Fix AAT 'mort' shaping, which was broken in 2.1.2
1173 Overview of changes leading to 2.1.2
1174 Friday, November 16, 2018
1175 ====================================
1176 - Various internal changes.
1177 - AAT shaping improvements:
1178 o Implement kern table Format 1 state-machine-based kerning.
1179 o Implement cross-stream kerning (cursive positioning, etc).
1180 o Ignore emptyish GSUB tables (zero scripts) if morx present.
1181 o Don't apply GPOS if morx is being applied. Matches Apple.
1184 -Overview of changes leading to 2.1.1
1185 Monday, November 5, 2018
1186 ====================================
1188 o Implement 'mort' table.
1189 o Implement 'kern' subtables Format 1 and Format 3.
1192 Overview of changes leading to 2.1.0
1193 Tuesday, October 30, 2018
1194 ====================================
1195 - AAT shaping improvements:
1196 o Allow user controlling AAT features, for whole buffer only currently.
1197 o Several 'morx' fixes.
1198 o Implement tuple-kerns in 'kerx'; Fixes kerning with Apple default
1199 San Francisco fonts.
1200 - Support for color fonts:
1201 o COLR/CPAL API to fetch color layers.
1202 o SVG table to fetch SVG documents.
1203 o CBDT/sbix API to fetch PNG images.
1204 - New 'name' table API.
1205 - hb-ot-font now uses 'VORG' table to correctly position CFF glyphs
1207 - Various fuzzer-found bug fixes.
1211 A type and a macro added in 2.0.0 were renamed:
1213 hb_name_id_t -> hb_ot_name_id_t
1214 HB_NAME_ID_INVALID -> HB_OT_NAME_ID_INVALID
1220 +hb_color_get_alpha()
1222 +hb_color_get_green()
1223 +hb_color_get_blue()
1224 +hb_ot_color_has_palettes()
1225 +hb_ot_color_palette_get_count()
1226 +hb_ot_color_palette_get_name_id()
1227 +hb_ot_color_palette_color_get_name_id()
1228 +hb_ot_color_palette_flags_t
1229 +hb_ot_color_palette_get_flags()
1230 +hb_ot_color_palette_get_colors()
1231 +hb_ot_color_has_layers()
1232 +hb_ot_color_layer_t
1233 +hb_ot_color_glyph_get_layers()
1234 +hb_ot_color_has_svg()
1235 +hb_ot_color_glyph_reference_svg()
1236 +hb_ot_color_has_png()
1237 +hb_ot_color_glyph_reference_png()
1240 +HB_OT_NAME_ID_INVALID
1241 +HB_OT_NAME_ID_COPYRIGHT
1242 +HB_OT_NAME_ID_FONT_FAMILY
1243 +HB_OT_NAME_ID_FONT_SUBFAMILY
1244 +HB_OT_NAME_ID_UNIQUE_ID
1245 +HB_OT_NAME_ID_FULL_NAME
1246 +HB_OT_NAME_ID_VERSION_STRING
1247 +HB_OT_NAME_ID_POSTSCRIPT_NAME
1248 +HB_OT_NAME_ID_TRADEMARK
1249 +HB_OT_NAME_ID_MANUFACTURER
1250 +HB_OT_NAME_ID_DESIGNER
1251 +HB_OT_NAME_ID_DESCRIPTION
1252 +HB_OT_NAME_ID_VENDOR_URL
1253 +HB_OT_NAME_ID_DESIGNER_URL
1254 +HB_OT_NAME_ID_LICENSE
1255 +HB_OT_NAME_ID_LICENSE_URL
1256 +HB_OT_NAME_ID_TYPOGRAPHIC_FAMILY
1257 +HB_OT_NAME_ID_TYPOGRAPHIC_SUBFAMILY
1258 +HB_OT_NAME_ID_MAC_FULL_NAME
1259 +HB_OT_NAME_ID_SAMPLE_TEXT
1260 +HB_OT_NAME_ID_CID_FINDFONT_NAME
1261 +HB_OT_NAME_ID_WWS_FAMILY
1262 +HB_OT_NAME_ID_WWS_SUBFAMILY
1263 +HB_OT_NAME_ID_LIGHT_BACKGROUND
1264 +HB_OT_NAME_ID_DARK_BACKGROUND
1265 +HB_OT_NAME_ID_VARIATIONS_PS_PREFIX
1267 +hb_ot_name_list_names()
1268 +hb_ot_name_get_utf8()
1269 +hb_ot_name_get_utf16()
1270 +hb_ot_name_get_utf32()
1273 Overview of changes leading to 2.0.2
1274 Saturday, October 20, 2018
1275 ====================================
1276 - Fix two minor memory access issues in AAT tables.
1279 Overview of changes leading to 2.0.1
1280 Friday, October 19, 2018
1281 ====================================
1282 - Fix hb-version.h reported release version that went wrong (1.8.0)
1283 with previous release.
1284 - Fix extrapolation in 'trak' table.
1285 - Fix hb-font infinite-recursion issue with some font funcs and
1287 - Implement variation-kerning format in kerx table, although without
1289 - Fix return value of hb_map_is_empty().
1292 Overview of changes leading to 2.0.0
1293 Thursday, October 18, 2018
1294 ====================================
1295 - Added AAT shaping support (morx/kerx/trak).
1296 Automatically used if GSUB/GPOS are not available respectively.
1297 Set HB_OPTIONS=aat env var to have morx/kerx preferred over
1299 - Apply TrueType kern table internally, instead of relying on
1300 hb_font_t callbacks.
1301 - Khmer shaper significantly rewritten to better match Uniscribe.
1302 - Indic3 tags ('dev3', etc) are passed to USE shaper.
1303 - .dfont Mac font containers implemented.
1304 - Script- and language-mapping revamped to better use BCP 47.
1305 - Misc USE and Indic fixes.
1306 - Misc everything fixes.
1307 - Too many things to list. Biggest release since 0.9.1, with
1308 over 500 commits in just over 5 weeks! Didn't intend it to
1309 be a big release. Just happened to become.
1310 - hb-ft now locks underlying FT_Face during use.
1314 - Newly-created hb_font_t's now have our internal "hb-ot-font"
1315 callbacks set on them, so they should work out of the box
1316 without any callbacks set. If callbacks are set, everything
1317 is back to what it was before, the fallback callbacks are
1318 null. If you to get the internal implementation modified,
1321 - New hb_font_funcs_set_nominal_glyphs_func() allows speeding
1322 up character to glyph mapping.
1325 +HB_FEATURE_GLOBAL_START
1326 +HB_FEATURE_GLOBAL_END
1327 +hb_buffer_set_invisible_glyph()
1328 +hb_buffer_get_invisible_glyph()
1329 +hb_font_funcs_set_nominal_glyphs_func()
1330 +hb_ot_layout_table_select_script()
1331 +hb_ot_layout_script_select_language()
1332 +hb_ot_layout_feature_get_name_ids()
1333 +hb_ot_layout_feature_get_characters()
1336 +HB_OT_MAX_TAGS_PER_SCRIPT
1337 +hb_ot_tags_from_script_and_language()
1338 +hb_ot_tags_to_script_and_language()
1341 -hb_font_funcs_set_glyph_func()
1342 -hb_unicode_eastasian_width_func_t
1343 -hb_unicode_funcs_set_eastasian_width_func()
1344 -hb_unicode_eastasian_width()
1345 -hb_unicode_decompose_compatibility_func_t
1346 -HB_UNICODE_MAX_DECOMPOSITION_LEN
1347 -hb_unicode_funcs_set_decompose_compatibility_func()
1348 -hb_unicode_decompose_compatibility()
1349 -hb_font_funcs_set_glyph_h_kerning_func()
1350 -hb_font_funcs_set_glyph_v_kerning_func()
1351 -hb_font_get_glyph_h_kerning()
1352 -hb_font_get_glyph_v_kerning()
1353 -hb_font_get_glyph_kerning_for_direction()
1354 -hb_ot_layout_table_choose_script()
1355 -hb_ot_layout_script_find_language()
1356 -hb_ot_tags_from_script()
1357 -hb_ot_tag_from_language()
1360 Overview of changes leading to 1.9.0
1361 Monday, September 10, 2018
1362 ====================================
1363 - Added 'cmap' API to hb_face_t.
1365 - hb-ot-font re-creation should be much leaner now, as the
1366 font tables it uses are cached on hb_face_t now.
1367 - Internal source header file name changes:
1368 hb-*-private.hh is renamed to hb-*.hh.
1372 +hb_face_collect_unicodes()
1373 +hb_face_collect_variation_selectors()
1374 +hb_face_collect_variation_unicodes()
1375 +hb_face_builder_create()
1376 +hb_face_builder_add_table()
1379 Overview of changes leading to 1.8.8
1380 Tuesday, August 14, 2018
1381 ====================================
1382 - Fix hb-icu crash on architectures where compare_exchange_weak() can
1383 fail falsely. This bug was introduced in 1.8.4.
1384 https://bugs.chromium.org/p/chromium/issues/detail?id=873568
1385 - More internal refactoring of atomic operations and singletons.
1387 The following functions do NOT reference their return value before
1389 * hb_unicode_funcs_get_default()
1390 * hb_glib_get_unicode_funcs()
1391 * hb_icu_get_unicode_funcs()
1392 This is consistent with their naming ("get", instead of "reference")
1393 as well as how they are used in the wild (ie. no one calls destroy()
1394 on their return value.)
1397 Overview of changes leading to 1.8.7
1398 Wednesday, August 8, 2018
1399 ====================================
1400 - Fix assertion failure with GDEF-blacklisted fonts.
1403 Overview of changes leading to 1.8.6
1404 Tuesday, August 7, 2018
1405 ====================================
1406 - Internal code shuffling.
1407 - New API to speed up getting advance widths for implementations
1408 that have heavy overhead in get_h_advance callback:
1409 +hb_font_funcs_set_glyph_h_advances_func
1410 +hb_font_funcs_set_glyph_v_advances_func
1411 +hb_font_get_glyph_advances_for_direction
1412 +hb_font_get_glyph_h_advances
1413 +hb_font_get_glyph_h_advances_func_t
1414 +hb_font_get_glyph_v_advances
1415 +hb_font_get_glyph_v_advances_func_t
1418 Overview of changes leading to 1.8.5
1419 Wednesday, August 1, 2018
1420 ====================================
1421 - Major Khmer shaper improvements to better match Microsoft.
1423 - Internal improvements to atomic operations.
1426 Overview of changes leading to 1.8.4
1427 Tuesday, July 17, 2018
1428 ====================================
1429 - Fix build on non-C++11.
1430 - Use C++-style GCC atomics and C++11 atomics.
1433 Overview of changes leading to 1.8.3
1434 Wednesday, July 11, 2018
1435 ====================================
1436 - A couple of Indic / USE bug fixes.
1437 - Disable vectorization, as it was causing unaligned access bus error on
1438 certain 32bit architectures.
1441 Overview of changes leading to 1.8.2
1442 Tuesday, July 3, 2018
1443 ====================================
1444 - Fix infinite loop in Khmer shaper.
1445 - Improve hb_blob_create_from_file() for streams.
1448 Overview of changes leading to 1.8.1
1449 Tuesday, June 12, 2018
1450 ====================================
1451 - Fix hb-version.h file generation; last two releases went out with wrong ones.
1452 - Add correctness bug in hb_set_t operations, introduced in 1.7.7.
1453 - Remove HB_SUBSET_BUILTIN build option. Not necessary.
1456 Overview of changes leading to 1.8.0
1457 Tuesday, June 5, 2018
1458 ====================================
1459 - Update to Unicode 11.0.0.
1462 Overview of changes leading to 1.7.7
1463 Tuesday, June 5, 2018
1464 ====================================
1465 - Lots of internal changes, but not yet exposed externally.
1466 - All HarfBuzz objects are significantly smaller in size now.
1467 - Sinhala: Position repha on top of post-consonant, not base.
1468 This better matches Windows 10 behavior, which was changed
1469 from previous Windows versions.
1470 - New build options:
1471 o New cpp macro HB_NO_ATEXIT
1472 o New cpp macro HB_SUBSET_BUILTIN
1473 - Significant libharfbuzz-subset changes. API subject to change.
1474 - New API in libharfbuzz:
1476 +hb_blob_create_from_file()
1479 A hashmap implementation:
1481 +HB_MAP_VALUE_INVALID
1487 +hb_map_set_user_data()
1488 +hb_map_get_user_data()
1489 +hb_map_allocation_successful()
1492 +hb_map_get_population()
1499 Overview of changes leading to 1.7.6
1500 Wednesday, March 7, 2018
1501 ====================================
1503 - Fix to hb_set_t binary operations. Ouch.
1504 - New experimental harfbuzz-subset library. All of hb-subset.h
1505 is experimental right now and API WILL change.
1508 hb_blob_copy_writable_or_fail()
1511 hb_set_previous_range()
1514 Overview of changes leading to 1.7.5
1515 Tuesday, January 30, 2018
1516 ====================================
1518 - Separate Khmer shaper from Indic.
1519 - First stab at AAT morx. Not hooked up.
1523 Overview of changes leading to 1.7.4
1524 Wednesday, December 20, 2017
1525 ====================================
1527 - Fix collect_glyphs() regression caused by hb_set_t changes.
1530 Overview of changes leading to 1.7.3
1531 Monday, December 18, 2017
1532 ====================================
1534 - hb_set_t performance tuning and optimizations.
1535 - Speed up collect_glyphs() and reject garbage data.
1536 - In hb_coretext_font_create() set font point-size (ptem).
1540 Overview of changes leading to 1.7.2
1541 Monday, December 4, 2017
1542 ====================================
1544 - Optimize hb_set_add_range().
1547 hb_coretext_font_create()
1550 Overview of changes leading to 1.7.1
1551 Tuesday, November 14, 2017
1552 ====================================
1554 - Fix atexit object destruction regression.
1555 - Fix minor integer-overflow.
1558 Overview of changes leading to 1.7.0
1559 Monday, November 13, 2017
1560 ====================================
1562 - Minor Indic fixes.
1563 - Implement kerning and glyph names in hb-ot-font.
1564 - Various DSO optimization re .data and .bss sizes.
1565 - Make C++11 optional; build fixes.
1566 - Mark all other backends "unsafe-to-break".
1570 Overview of changes leading to 1.6.3
1571 Thursday, October 26th, 2017
1572 ====================================
1574 - Fix hb_set_t some more. Should be solid now.
1575 - Implement get_glyph_name() for hb-ot-font.
1579 Overview of changes leading to 1.6.2
1580 Monday, October 23nd, 2017
1581 ====================================
1583 - Yesterday's release had a bad crasher; don't use it. That's what
1584 happens when one works on Sunday...
1585 https://github.com/harfbuzz/harfbuzz/issues/578
1586 - Build fixes for FreeBSD and Chrome Android.
1589 Overview of changes leading to 1.6.1
1590 Sunday, October 22nd, 2017
1591 ====================================
1593 - Don't skip over COMBINING GRAPHEME JOINER when ligating, etc.
1594 To be refined: https://github.com/harfbuzz/harfbuzz/issues/554
1595 - Faster hb_set_t implementation.
1596 - Don't use deprecated ICU API.
1597 - Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0
1602 Overview of changes leading to 1.6.0
1603 Friday, October the 13th, 2017
1604 ====================================
1606 - Update to Unicode 10.
1608 - Various Indic and Universal Shaping Engine fixes as a result of
1609 HarfBuzz Hackfest with Jonathan Kew at Web Engines Hackfest at
1610 the Igalia offices in A Coruña, Spain. Thanks Igalia for having
1613 - Implement Unicode Arabic Mark Ordering Algorithm UTR#53.
1615 - Implement optical sizing / tracking in CoreText backend, using
1616 new API hb_font_set_ptem().
1618 - Allow notifying hb_font_t that underlying FT_Face changed sizing,
1619 using new API hb_ft_font_changed().
1621 - More Graphite backend RTL fixes.
1623 - Fix caching of variable font shaping plans.
1625 - hb-view / hb-shape now accept following new arguments:
1627 o --unicodes: takes a list of hex numbers that represent Unicode
1631 +hb_face_get_table_tags()
1634 +hb_ft_font_changed()
1637 Overview of changes leading to 1.5.1
1638 Tuesday, September 5, 2017
1639 ====================================
1641 - Fix "unsafe-to-break" in fallback shaping and other corner cases.
1642 All our tests pass with --verify now, meaning unsafe-to-break API
1644 - Add --unicodes to hb-view / hb-shape.
1645 - [indic] Treat Consonant_With_Stacker as consonant. This will need
1647 - hb_buffer_diff() tweaks.
1650 Overview of changes leading to 1.5.0
1651 Wednesday, August 23, 2017
1652 ====================================
1654 - Misc new API, for appending a buffer to another, and for comparing
1655 contents of two buffers for types of differences.
1657 - New "unsafe-to-break" API. Can be used to speed up reshaping
1658 in line-breaking situations. Essentially, after shaping, it returns
1659 positions in the input string (some of the cluster boundaries) that
1660 are "safe to break" in that if the text is segmented at that position
1661 and two sides reshaped and concatenated, the shaping result is
1662 exactly the same as shaping the text in one piece.
1664 hb-view and hb-shape and hb-shape now take --verify, which verifies
1667 Some corner cases of the implementation are still not quite working.
1668 Those will be fixed in subsequent releases.
1675 HB_GLYPH_FLAG_UNSAFE_TO_BREAK
1676 HB_GLYPH_FLAG_DEFINED
1677 hb_glyph_info_get_glyph_flags()
1679 HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS
1681 hb_buffer_diff_flags_t
1682 HB_BUFFER_DIFF_FLAG_EQUAL
1683 HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH
1684 HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH
1685 HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT
1686 HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT
1687 HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH
1688 HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH
1689 HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH
1690 HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH
1694 Overview of changes leading to 1.4.8
1695 Tuesday, August 8, 2017
1696 ====================================
1698 - Major fix to avar table handling.
1699 - Rename hb-shape --show-message to --trace.
1703 Overview of changes leading to 1.4.7
1704 Tuesday, July 18, 2017
1705 ====================================
1707 - Multiple Indic, Tibetan, and Cham fixes.
1708 - CoreText: Allow disabling kerning.
1709 - Adjust Arabic feature order again.
1713 Overview of changes leading to 1.4.6
1714 Sunday, April 23, 2017
1715 ====================================
1717 - Graphite2: Fix RTL positioning issue.
1718 - Backlist GDEF of more versions of Padauk and Tahoma.
1719 - New, experimental, cmake alternative build system.
1722 Overview of changes leading to 1.4.5
1723 Friday, March 10, 2017
1724 ====================================
1726 - Revert "Fix Context lookup application when moving back after a glyph..."
1727 This introduced memory access problems. To be fixed properly soon.
1730 Overview of changes leading to 1.4.4
1731 Sunday, March 5, 2017
1732 ====================================
1734 - Fix Context lookup application when moving back after a glyph deletion.
1735 - Fix buffer-overrun in Bengali.
1738 Overview of changes leading to 1.4.3
1739 Saturday, February 25, 2017
1740 ====================================
1742 - Route Adlam script to Arabic shaper.
1747 hb_graphite2_font_get_gr_font()
1750 Overview of changes leading to 1.4.2
1751 Monday, January 23, 2017
1752 ====================================
1754 - Implement OpenType Font Variation tables avar/fvar/HVAR/VVAR.
1755 - hb-shape and hb-view now accept --variations.
1759 hb_variation_from_string()
1760 hb_variation_to_string()
1762 hb_font_set_variations()
1763 hb_font_set_var_coords_design()
1764 hb_font_get_var_coords_normalized()
1768 hb_ot_var_has_data()
1769 hb_ot_var_get_axis_count()
1770 hb_ot_var_get_axes()
1771 hb_ot_var_find_axis()
1772 hb_ot_var_normalize_variations()
1773 hb_ot_var_normalize_coords()
1775 - MVAR to be implemented later. Access to named instances to be
1776 implemented later as well.
1781 Overview of changes leading to 1.4.1
1782 Thursday, January 5, 2017
1783 ====================================
1785 - Always build and use UCDN for Unicode data by default.
1786 Reduces dependence on version of Unicode data in glib,
1787 specially in the Windows bundles we are shipping, which
1791 Overview of changes leading to 1.4.0
1792 Thursday, January 5, 2017
1793 ====================================
1795 - Merged "OpenType GX" branch which adds core of support for
1796 OpenType 1.8 Font Variations. To that extent, the relevant
1800 hb_font_set_var_coords_normalized()
1802 with supporting API:
1805 HB_OT_LAYOUT_NO_VARIATIONS_INDEX
1806 hb_ot_layout_table_find_feature_variations()
1807 hb_ot_layout_feature_with_variations_get_lookups()
1808 hb_shape_plan_create2()
1809 hb_shape_plan_create_cached2()
1811 Currently variations in GSUB/GPOS/GDEF are fully supported,
1812 and no other tables are supported. In particular, fvar/avar
1813 are NOT supported, hence the hb_font_set_var_coords_normalized()
1814 taking normalized coordinates. API to take design coordinates
1815 will be added in the future.
1817 HVAR/VVAR/MVAR support will also be added to hb-ot-font in the
1820 - Fix regression in GDEF glyph class processing.
1821 - Add decompositions for Chakma, Limbu, and Balinese in USE shaper.
1825 Overview of changes leading to 1.3.4
1826 Monday, December 5, 2016
1827 ====================================
1829 - Fix vertical glyph origin in hb-ot-font.
1830 - Implement CBDT/CBLC color font glyph extents in hb-ot-font.
1833 Overview of changes leading to 1.3.3
1834 Wednesday, September 28, 2016
1835 ====================================
1837 - Implement parsing of OpenType MATH table.
1841 hb_ot_math_constant_t
1843 hb_ot_math_glyph_variant_t
1844 hb_ot_math_glyph_part_flags_t
1845 hb_ot_math_glyph_part_t
1847 hb_ot_math_get_constant
1848 hb_ot_math_get_glyph_italics_correction
1849 hb_ot_math_get_glyph_top_accent_attachment
1850 hb_ot_math_get_glyph_kerning
1851 hb_ot_math_is_glyph_extended_shape
1852 hb_ot_math_get_glyph_variants
1853 hb_ot_math_get_min_connector_overlap
1854 hb_ot_math_get_glyph_assembly
1857 Overview of changes leading to 1.3.2
1858 Wednesday, September 27, 2016
1859 ====================================
1861 - Fix build of hb-coretext on older OS X versions.
1864 Overview of changes leading to 1.3.1
1865 Wednesday, September 7, 2016
1866 ====================================
1868 - Blacklist bad GDEF of more fonts (Padauk).
1869 - More CoreText backend crash fixes with OS X 10.9.5.
1873 Overview of changes leading to 1.3.0
1874 Thursday, July 21, 2016
1875 ====================================
1877 - Update to Unicode 9.0.0
1878 - Move Javanese from Indic shaper to Universal Shaping Engine.
1879 - Allow MultipleSubst to delete a glyph (matching Windows engine).
1880 - Update Universal Shaping Engine to latest draft from Microsoft.
1881 - DirectWrite backend improvements. Note: this backend is for testing ONLY.
1882 - CoreText backend improvements with unreachable fonts.
1883 - Implement symbol fonts (cmap 3.0.0) in hb-ft and hb-ot-font.
1884 - Blacklist bad GDEF of more fonts (Tahoma & others).
1888 Overview of changes leading to 1.2.7
1890 ====================================
1892 - Blacklist another version of Times New Roman (Bold) Italic from Windows 7.
1893 - Fix Mongolian Free Variation Selectors shaping with certain fonts.
1894 - Fix Tibetan shorthand contractions shaping.
1895 - Improved list of language tag mappings.
1896 - Unbreak build on Windows CE.
1897 - Make 'glyf' table loading lazy in hb-ot-font.
1900 Overview of changes leading to 1.2.6
1901 Friday, April 8, 2016
1902 ====================================
1904 - Blacklist GDEF table of another set of Times New Roman (Bold) Italic.
1905 - DirectWrite backend improvements. Note: DirectWrite backend is
1906 exclusively for our internal testing and should NOT be used in any
1907 production system whatsoever.
1910 Overview of changes leading to 1.2.5
1911 Monday, April 4, 2016
1912 ====================================
1914 - Fix GDEF mark-filtering-set, which was broken in 1.2.3.
1917 Overview of changes leading to 1.2.4
1918 Thursday, March 17, 2016
1919 ====================================
1921 - Synthesize GDEF glyph class for any glyph that does not have one in GDEF.
1922 I really hope we don't discover broken fonts that shape badly with this
1924 - Misc build and other minor fixes.
1926 - Added HB_NDEBUG. It's fine for production systems to define this to
1927 disable high-overhead debugging checks. However, I also reduced the
1928 overhead of those checks, so it's a non-issue right now. You can
1929 forget it. Just not defining anything at all is fine.
1932 Overview of changes leading to 1.2.3
1933 Thursday, February 25, 2016
1934 ====================================
1936 - Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic,
1937 due to bug in glyph class of ASCII double-quote character. This should
1938 address "regression" introduced in 1.2.0 when we switched mark zeroing
1939 in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE.
1940 This fourth release in a week should finally stabilize things...
1942 - hb-ot-font's get_glyph() implementation saw some optimizations. Though,
1943 might be really hard to measure in real-world situations.
1945 - Also, two rather small API changes:
1947 We now disable some time-consuming internal bookkeeping if built with NDEBUG
1948 defined. This is a first time that we use NDEBUG to disable debug code. If
1949 there exist production systems that do NOT want to enable NDEBUG, please let
1950 me know and I'll add HB_NDEBUG.
1952 Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()
1955 - hb_font_get_nominal_glyph_func_t
1956 - hb_font_get_variation_glyph_func_t
1957 - hb_font_funcs_set_nominal_glyph_func()
1958 - hb_font_funcs_set_variation_glyph_func()
1959 - hb_font_get_nominal_glyph()
1960 - hb_font_get_variation_glyph()
1963 - hb_font_get_glyph_func_t
1964 - hb_font_funcs_set_glyph_func()
1966 Clients that implement their own font-funcs are encouraged to replace
1967 their get_glyph() implementation with a get_nominal_glyph() and
1968 get_variation_glyph() pair. The variation version can assume that
1969 variation_selector argument is not zero. Old (deprecated) functions
1970 will continue working indefinitely using internal gymnastics; it is
1971 just more efficient to use the new functions.
1974 Overview of changes leading to 1.2.2
1975 Wednesday, February 24, 2016
1976 ====================================
1978 - Fix regression with mark positioning with fonts that have
1979 non-zero mark advances. This was introduced in 1.2.0 while
1980 trying to make mark and cursive attachments to work together.
1981 I have partially reverted that, so this version is much more
1982 like what we had before. All clients who updated to 1.2.0
1983 should update to this version.
1986 Overview of changes leading to 1.2.1
1987 Tuesday, February 23, 2016
1988 ====================================
1990 - CoreText: Fix bug with wrong scale if font scale was changed later.
1991 https://github.com/libass/libass/issues/212
1992 - CoreText: Drastically speed up font initialization.
1993 - CoreText: Fix tiny leak.
1994 - Group ZWJ/ZWNJ with previous syllable under cluster-level=0.
1995 https://github.com/harfbuzz/harfbuzz/issues/217
1996 - Add test/shaping/README.md about how to add tests to the suite.
1999 Overview of changes leading to 1.2.0
2000 Friday, February 19, 2016
2001 ====================================
2003 - Fix various issues (hangs mostly) in case of memory allocation failure.
2004 - Change mark zeroing types of most shapers from BY_UNICODE_LATE to
2005 BY_GDEF_LATE. This seems to be what Uniscribe does.
2006 - Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's
2008 - Allow GPOS cursive connection on marks, and fix the interaction with
2009 mark attachment. This work resulted in some changes to how mark
2010 attachments work. See:
2011 https://github.com/harfbuzz/harfbuzz/issues/211
2012 https://github.com/harfbuzz/harfbuzz/commit/86c68c7a2c971efe8e35b1f1bd99401dc8b688d2
2013 - Graphite2 shaper: improved negative advance handling (eg. Nastaliq).
2014 - Add nmake-based build system for Windows.
2016 - Misc. improvements.
2019 Overview of changes leading to 1.1.3
2020 Monday, January 11, 2016
2021 ====================================
2023 - Ported Indic shaper to Unicode 8.0 data.
2024 - Universal Shaping Engine fixes.
2025 - Speed up CoreText shaper when font fallback happens in CoreText.
2026 - Documentation improvements, thanks to Khaled Hosny.
2027 - Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi.
2033 hb_font_get_font_extents_func_t
2034 hb_font_get_font_h_extents_func_t
2035 hb_font_get_font_v_extents_func_t
2036 hb_font_funcs_set_font_h_extents_func
2037 hb_font_funcs_set_font_v_extents_func
2038 hb_font_get_h_extents
2039 hb_font_get_v_extents
2040 hb_font_get_extents_for_direction
2042 * Buffer message (aka debug):
2043 hb_buffer_message_func_t
2044 hb_buffer_set_message_func()
2045 Actual message protocol to be fleshed out later.
2048 Overview of changes leading to 1.1.2
2049 Wednesday, November 26, 2015
2050 ====================================
2052 - Fix badly-broken fallback shaper that affected terminology.
2053 https://github.com/harfbuzz/harfbuzz/issues/187
2054 - Fix y_scaling in Graphite shaper.
2056 * An unset glyph_h_origin() function in font-funcs now (sensibly)
2057 implies horizontal origin at 0,0. Ie, the nil callback returns
2058 true instead of false. As such, implementations that have a
2059 glyph_h_origin() that simply returns true, can remove that function
2060 with HarfBuzz >= 1.1.2. This results in a tiny speedup.
2063 Overview of changes leading to 1.1.1
2064 Wednesday, November 24, 2015
2065 ====================================
2067 - Build fixes, specially for hb-coretext.
2070 Overview of changes leading to 1.1.0
2071 Wednesday, November 18, 2015
2072 ====================================
2074 - Implement 'stch' stretch feature for Syriac Abbreviation Mark.
2075 https://github.com/harfbuzz/harfbuzz/issues/141
2076 - Disable use of decompose_compatibility() callback.
2077 - Implement "shaping" of various Unicode space characters, even
2078 if the font does not support them.
2079 https://github.com/harfbuzz/harfbuzz/issues/153
2080 - If font does not support U+2011 NO-BREAK HYPHEN, fallback to
2082 - Changes resulting from libFuzzer continuous fuzzing:
2083 * Reject font tables that need more than 8 edits,
2084 * Bound buffer growth during shaping to 32x,
2085 * Fix assertions and other issues at OOM / buffer max-growth.
2086 - Misc fixes and optimizations.
2088 * All fonts created with hb_font_create() now inherit from
2089 (ie. have parent) hb_font_get_empty().
2092 Overview of changes leading to 1.0.6
2093 Thursday, October 15, 2015
2094 ====================================
2096 - Reduce max nesting level in OT lookups from 8 to 6.
2097 Should not affect any real font as far as I know.
2098 - Fix memory access issue in ot-font.
2099 - Revert default load-flags of fonts created using hb_ft_font_create()
2100 back to FT_LOAD_DEFAULT|FT_LOAD_NO_HINTING. This was changed in
2101 last release (1.0.5), but caused major issues, so revert.
2102 https://github.com/harfbuzz/harfbuzz/issues/143
2105 Overview of changes leading to 1.0.5
2106 Tuesday, October 13, 2015
2107 ====================================
2109 - Fix multiple memory access bugs discovered using libFuzzer.
2110 https://github.com/harfbuzz/harfbuzz/issues/139
2111 Everyone should upgrade to this version as soon as possible.
2112 We now have continuous fuzzing set up, to avoid issues like
2113 these creeping in again.
2117 * hb_font_set_parent().
2118 * hb_ft_font_[sg]et_load_flags()
2119 The default flags for fonts created using hb_ft_font_create()
2120 has changed to default to FT_LOAD_DEFAULT now. Previously it
2121 was defaulting to FT_LOAD_DFEAULT|FT_LOAD_NO_HINTING.
2124 * Fonts now default to units-per-EM as their scale, instead of 0.
2125 * hb_font_create_sub_font() does NOT make parent font immutable
2126 anymore. hb_font_make_immutable() does.
2129 Overview of changes leading to 1.0.4
2130 Wednesday, September 30, 2015
2131 ====================================
2133 - Fix minor out-of-bounds read error.
2136 Overview of changes leading to 1.0.3
2137 Tuesday, September 1, 2015
2138 ====================================
2140 - Start of user documentation, from Simon Cozens!
2141 - Implement glyph_extents() for TrueType fonts in hb-ot-font.
2142 - Improve GPOS cursive attachments with conflicting lookups.
2143 - More fixes for cluster-level = 1.
2144 - Uniscribe positioning fix.
2147 Overview of changes leading to 1.0.2
2148 Wednesday, August 19, 2015
2149 ====================================
2151 - Fix shaping with cluster-level > 0.
2152 - Fix Uniscribe backend font-size scaling.
2153 - Declare dependencies in harfbuzz.pc.
2154 FreeType is not declared though, to avoid bugs in pkg-config
2155 0.26 with recursive dependencies.
2156 - Slightly improved debug infrastructure. More to come later.
2160 Overview of changes leading to 1.0.1
2161 Monday, July 27, 2015
2162 ====================================
2164 - Fix out-of-bounds access in USE shaper.
2167 Overview of changes leading to 1.0.0
2168 Sunday, July 26, 2015
2169 ====================================
2171 - Implement Universal Shaping Engine:
2172 https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm
2173 http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/
2174 - Bump version to 1.0.0. The soname was NOT bumped.
2177 Overview of changes leading to 0.9.42
2178 Thursday, July 26, 2015
2179 =====================================
2181 - New API to allow for retrieving finer-grained cluster
2182 mappings if the client desires to handle them. Default
2183 behavior is unchanged.
2184 - Fix cluster merging when removing default-ignorables.
2185 - Update to Unicode 8.0
2186 - hb-graphite2 fixes.
2188 - Removed HB_NO_MERGE_CLUSTERS hack.
2190 hb_buffer_cluster_level_t enum
2191 hb_buffer_get_cluster_level()
2192 hb_buffer_set_cluster_level()
2193 hb-shape / hb-view --cluster-level
2196 Overview of changes leading to 0.9.41
2197 Thursday, June 18, 2015
2198 =====================================
2200 - Fix hb-coretext with trailing whitespace in right-to-left.
2201 - New API: hb_buffer_reverse_range().
2202 - Allow implementing atomic ops in config.h.
2203 - Fix hb_language_t in language bindings.
2207 Overview of changes leading to 0.9.40
2208 Friday, March 20, 2015
2209 =====================================
2211 - Another hb-coretext crasher fix. Ouch!
2215 Overview of changes leading to 0.9.39
2216 Wednesday, March 4, 2015
2217 =====================================
2219 - Critical hb-coretext fixes.
2220 - Optimizations and refactoring; no functional change
2225 Overview of changes leading to 0.9.38
2226 Friday, January 23, 2015
2227 =====================================
2229 - Fix minor out-of-bounds access in Indic shaper.
2230 - Change New Tai Lue shaping engine from South-East Asian to default,
2231 reflecting change in Unicode encoding model.
2232 - Add hb-shape --font-size. Can take up to two numbers for separate
2234 - Fix CoreText and FreeType scale issues with negative scales.
2235 - Reject blobs larger than 2GB. This might break some icu-le-hb clients
2236 that need security fixes. See:
2237 http://www.icu-project.org/trac/ticket/11450
2238 - Avoid accessing font tables during face destruction, in casce rogue
2239 clients released face data already.
2240 - Fix up gobject-introspection a bit. Python bindings kinda working.
2244 hb_ft_face_create_referenced()
2245 hb_ft_font_create_referenced()
2248 Overview of changes leading to 0.9.37
2249 Wednesday, December 17, 2014
2250 =====================================
2252 - Fix out-of-bounds access in Context lookup format 3.
2253 - Indic: Allow ZWJ/ZWNJ before syllable modifiers.
2256 Overview of changes leading to 0.9.36
2257 Thursday, November 20, 2014
2258 =====================================
2260 - First time that three months went by without a release since
2261 0.9.2 was released on August 10, 2012!
2262 - Fix performance bug in hb_ot_collect_glyphs():
2263 https://bugzilla.mozilla.org/show_bug.cgi?id=1090869
2264 - Add basic vertical-text support to hb-ot-font.
2268 Overview of changes leading to 0.9.35
2269 Saturday, August 13, 2014
2270 =====================================
2272 - Fix major shape-plan caching bug when more than one shaper were
2273 provided to hb_shape_full() (as exercised by XeTeX).
2274 http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
2275 - Fix Arabic fallback shaping regression. This was broken in 0.9.32.
2276 - Major hb-coretext fixes. That backend is complete now, including
2277 respecing buffer direction and language, down to vertical writing.
2278 - Build fixes for Windows CE. Should build fine now.
2280 Use atexit() only if it's safe to call from shared library
2281 https://bugs.freedesktop.org/show_bug.cgi?id=82246
2282 Mandaic had errors in its Unicode Joining_Type
2283 https://bugs.freedesktop.org/show_bug.cgi?id=82306
2286 * hb_buffer_clear_contents() does not reset buffer flags now.
2288 After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't
2289 need to set flags for different pieces of text. The flags now
2290 are something the client sets up once, depending on how it
2291 actually uses the buffer. As such, don't clear it in
2294 I don't expect any changes to be needed to any existing client.
2297 Overview of changes leading to 0.9.34
2298 Saturday, August 2, 2014
2299 =====================================
2301 - hb_feature_from_string() now accepts CSS font-feature-settings format.
2302 - As a result, hb-shape / hb-view --features also accept CSS-style strings.
2303 Eg, "'liga' off" is accepted now.
2304 - Add old-spec Myanmar shaper:
2305 https://bugs.freedesktop.org/show_bug.cgi?id=81775
2306 - Don't apply 'calt' in Hangul shaper.
2307 - Fix mark advance zeroing for Hebrew shaper:
2308 https://bugs.freedesktop.org/show_bug.cgi?id=76767
2309 - Implement Windows-1256 custom Arabic shaping. Only built on Windows,
2310 and requires help from get_glyph(). Used by Firefox.
2311 https://bugzilla.mozilla.org/show_bug.cgi?id=1045139
2312 - Disable 'liga' in vertical text.
2316 * Make HB_BUFFER_FLAG_BOT/EOT easier to use.
2318 Previously, we expected users to provide BOT/EOT flags when the
2319 text *segment* was at paragraph boundaries. This meant that for
2320 clients that provide full paragraph to HarfBuzz (eg. Pango), they
2323 hb_buffer_set_flags (hb_buffer,
2324 (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) |
2325 (item_offset + item_length == paragraph_length ?
2326 HB_BUFFER_FLAG_EOT : 0));
2328 hb_buffer_add_utf8 (hb_buffer,
2329 paragraph_text, paragraph_length,
2330 item_offset, item_length);
2332 After this change such clients can simply say:
2334 hb_buffer_set_flags (hb_buffer,
2335 HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT);
2337 hb_buffer_add_utf8 (hb_buffer,
2338 paragraph_text, paragraph_length,
2339 item_offset, item_length);
2341 Ie, HarfBuzz itself checks whether the segment is at the beginning/end
2342 of the paragraph. Clients that only pass item-at-a-time to HarfBuzz
2343 continue not setting any flags whatsoever.
2345 Another way to put it is: if there's pre-context text in the buffer,
2346 HarfBuzz ignores the BOT flag. If there's post-context, it ignores
2350 Overview of changes leading to 0.9.33
2351 Tuesday, July 22, 2014
2352 =====================================
2354 - Turn off ARabic 'cswh' feature that was accidentally turned on.
2355 - Add HB_TAG_MAX_SIGNED.
2356 - Make hb_face_make_immutable() really make face immutable!
2357 - Windows build fixes.
2360 Overview of changes leading to 0.9.32
2361 Thursday, July 17, 2014
2362 =====================================
2364 - Apply Arabic shaping features in spec order exactly.
2365 - Another fix for Mongolian free variation selectors.
2366 - For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt'
2368 - Minor adjustment to U+FFFD logic.
2369 - Fix hb-coretext build.
2372 Overview of changes leading to 0.9.31
2373 Wednesday, July 16, 2014
2374 =====================================
2376 - Only accept valid UTF-8/16/32; we missed many cases before.
2377 - Better shaping of invalid UTF-8/16/32. Falls back to
2378 U+FFFD REPLACEMENT CHARACTER now.
2379 - With all changes in this release, the buffer will contain fully
2380 valid Unicode after hb_buffer_add_utf8/16/32 no matter how
2381 broken the input is. This can be overridden though. See below.
2382 - Fix Mongolian Variation Selectors for fonts without GDEF.
2383 - Fix minor invalid buffer access.
2384 - Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language()
2385 now uses these instead of private tags.
2388 * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32()
2389 used to do, ie. no validity check on the input at all. add_utf32
2390 now replaces invalid Unicode codepoints with the replacement
2391 character (see below).
2392 * hb_buffer_set_replacement_codepoint()
2393 * hb_buffer_get_replacement_codepoint()
2394 Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when
2395 we detected broken input, we replaced that with (hb_codepoint_t)-1.
2396 This has changed to use U+FFFD now, but can be changed using these
2400 Overview of changes leading to 0.9.30
2401 Wednesday, July 9, 2014
2402 =====================================
2404 - Update to Unicode 7.0.0:
2405 * New scripts Manichaean and Psalter Pahlavi are shaped using
2407 * All the other new scripts to through the generic shaper for
2409 - Minor Indic improvements.
2410 - Fix graphite2 backend cluster mapping [crasher!]
2412 * New HB_SCRIPT_* values for Unicode 7.0 scripts.
2413 * New function hb_ot_layout_language_get_required_feature().
2417 Overview of changes leading to 0.9.29
2418 Thursday, May 29, 2014
2419 =====================================
2421 - Implement cmap in hb-ot-font.h. No variation-selectors yet.
2422 - Myanmar: Allow MedialYa+Asat.
2423 - Various Indic fixes:
2424 * Support most characters in Extended Devanagary and Vedic
2426 * Allow digits and a some punctuation as consonant placeholders.
2430 Overview of changes leading to 0.9.28
2431 Monday, April 28, 2014
2432 =====================================
2434 - Unbreak old-spec Indic shaping. (bug 76705)
2435 - Fix shaping of U+17DD and U+0FC6.
2436 - Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default
2437 for shipping libraries. It's an option for further experimentation
2438 right now. When we are sure how to do it properly, we will add
2439 public run-time API for the functionality.
2443 Overview of changes leading to 0.9.27
2444 Tuesday, March 18, 2014
2445 =====================================
2447 - Don't use "register" storage class specifier
2448 - Wrap definition of free_langs() with HAVE_ATEXIT
2449 - Add coretext_aat shaper and hb_coretext_face_create() constructor
2450 - If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
2451 - Add Myanmar test case from OpenType Myanmar spec
2452 - Only do fallback Hebrew composition if no GPOS 'mark' available
2453 - Allow bootstrapping without gtk-doc
2454 - Use AM_MISSING_PROG for ragel and git
2455 - Typo in ucdn's Makefile.am
2456 - Improve MemoryBarrier() implementation
2459 Overview of changes leading to 0.9.26
2460 Thursday, January 30, 2014
2461 =====================================
2464 - Fix application of 'rtlm' feature.
2465 - Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH.
2466 - New header: hb-ot-shape.h
2467 - Uniscribe: fix scratch-buffer accounting.
2468 - Reorder Tai Tham SAKOT to after tone-marks.
2469 - Add Hangul shaper.
2471 hb-ot-shape-complex-hangul.cc
2472 hb-ot-shape-complex-hebrew.cc
2473 hb-ot-shape-complex-tibetan.cc
2474 - Disable 'cswh' feature in Arabic shaper.
2475 - Coretext: better handle surrogate pairs.
2476 - Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE.
2479 Overview of changes leading to 0.9.25
2480 Wednesday, December 4, 2013
2481 =====================================
2483 - Myanmar shaper improvements.
2484 - Avoid font fallback in CoreText backend.
2485 - Additional OpenType language tag mappiongs.
2486 - More aggressive shape-plan caching.
2487 - Build with / require automake 1.13.
2488 - Build with libtool 2.4.2.418 alpha to support ppc64le.
2491 Overview of changes leading to 0.9.24
2492 Tuesday, November 13, 2013
2493 =====================================
2495 - Misc compiler warning fixes with clang.
2496 - No functional changes.
2499 Overview of changes leading to 0.9.23
2500 Monday, October 28, 2013
2501 =====================================
2503 - "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
2504 - Fix (Chain)Context recursion with non-monotone lookup positions.
2505 - Misc Indic bug fixes.
2506 - New Javanese / Buginese shaping, similar to Windows 8.1.
2509 Overview of changes leading to 0.9.22
2510 Thursday, October 3, 2013
2511 =====================================
2513 - Fix use-after-end-of-scope in hb_language_from_string().
2514 - Fix hiding of default_ignorables if font doesn't have space glyph.
2515 - Protect against out-of-range lookup indices.
2519 * Added hb_ot_layout_table_get_lookup_count()
2522 Overview of changes leading to 0.9.21
2523 Monday, September 16, 2013
2524 =====================================
2526 - Rename gobject-introspection library name from harfbuzz to HarfBuzz.
2527 - Remove (long disabled) hb-old and hb-icu-le test shapers.
2528 - Misc gtk-doc and gobject-introspection annotations.
2532 * Add HB_SET_VALUE_INVALID
2534 Overview of changes leading to 0.9.20
2535 Thursday, August 29, 2013
2536 =====================================
2539 - Misc substitute_closure() fixes.
2543 - gtk-doc boilerplate integrated. Docs are built now, but
2544 contain no contents. By next release hopefully we have
2545 some content in. Enable using --enable-gtk-doc.
2547 GObject and Introspection:
2548 - Added harfbuzz-gobject library (hb-gobject.h) that has type
2549 bindings for all HarfBuzz objects and enums. Enable using
2551 - Added gobject-introspection boilerplate. Nothing useful
2552 right now. Work in progress. Gets enabled automatically if
2553 --with-gobject is used. Override with --disable-introspection.
2556 - Apply 'mark' in Myanmar shaper.
2557 - Don't apply 'dlig' by default.
2560 - Support user features.
2561 - Fix loading of fonts that are also installed on the system.
2562 - Fix shaping of Arabic Presentation Forms.
2563 - Fix build with wide chars.
2566 - Support user features.
2569 - hb_face_t code moved to hb-face.h / hb-face.cc.
2570 - Added hb-deprecated.h.
2573 - Added HB_DISABLE_DEPRECATED.
2574 - Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
2575 HB_SCRIPT_CANADIAN_SYLLABICS.
2576 - Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
2577 HB_BUFFER_FLAG_DEFAULT.
2578 - Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
2579 HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
2582 Overview of changes leading to 0.9.19
2583 Tuesday, July 16, 2013
2584 =====================================
2587 - Better handling of multiple variation selectors in a row.
2588 - Pass on variation selector to GSUB if not consumed by cmap.
2589 - Fix undefined memory access.
2590 - Add Javanese config to Indic shaper.
2593 Overview of changes leading to 0.9.18
2594 Tuesday, May 28, 2013
2595 =====================================
2599 - All unneeded code is all disabled by default,
2601 - Uniscribe and CoreText shapers can be enabled with their --with options,
2603 - icu_le and old shapers cannot be enabled for now,
2605 - glib, freetype, and cairo will be detected automatically.
2606 They can be force on/off'ed with their --with options,
2608 - icu and graphite2 are default off, can be enabled with their --with
2611 Moreover, ICU support is now build into a separate library:
2612 libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
2613 Distros can enable ICU now without every application on earth
2614 getting linked to via libharfbuzz.so.
2616 For distros I recommend that they make sure they are building --with-glib
2617 --with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
2618 And package harfbuzz and harfbuzz-icu separately.
2621 Overview of changes leading to 0.9.17
2622 Monday, May 20, 2013
2623 =====================================
2626 - Fix bug in hb_set_get_min().
2627 - Fix regression with Arabic mark positioning / width-zeroing.
2629 Overview of changes leading to 0.9.16
2630 Friday, April 19, 2013
2631 =====================================
2633 - Major speedup in OpenType lookup processing. With the Amiri
2634 Arabic font, this release is over 3x faster than previous
2635 release. All scripts / languages should see this speedup.
2637 - New --num-iterations option for hb-shape / hb-view; useful for
2640 Overview of changes leading to 0.9.15
2641 Friday, April 05, 2013
2642 =====================================
2645 - Fix crasher in graphite2 shaper.
2646 - Fix Arabic mark width zeroing regression.
2647 - Don't compose Hangul jamo into Unicode syllables.
2650 Overview of changes leading to 0.9.14
2651 Thursday, March 21, 2013
2652 =====================================
2655 - Fix time-consuming sanitize with malicious fonts.
2656 - Implement hb_buffer_deserialize_glyphs() for both json and text.
2657 - Do not ignore Hangul filler characters.
2659 * Fix Malayalam pre-base reordering interaction with post-forms.
2660 * Further adjust ZWJ handling. Should fix known regressions from
2664 Overview of changes leading to 0.9.13
2665 Thursday, February 25, 2013
2666 =====================================
2669 - Ngapi HarfBuzz Hackfest in London (February 2013):
2670 * Fixed all known Indic bugs,
2671 * New Win8-style Myanmar shaper,
2672 * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
2673 * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
2674 matching GSUB/GPOS lookups,
2675 * Fix 'Phags-Pa U+A872 shaping,
2676 * Fix partial disabling of default-on features,
2677 * Allow disabling of TrueType kerning.
2678 - Fix possible crasher with broken fonts with overlapping tables.
2679 - Removed generated files from git again. So, one needs ragel to
2680 bootstrap from the git tree.
2683 - hb_shape() and related APIs now abort if buffer direction is
2684 HB_DIRECTION_INVALID. Previously, hb_shape() was calling
2685 hb_buffer_guess_segment_properties() on the buffer before
2686 shaping. The heuristics in that function are fragile. If the
2687 user really wants the old behvaior, they can call that function
2688 right before calling hb_shape() to get the old behavior.
2689 - hb_blob_create_sub_blob() always creates sub-blob with
2690 HB_MEMORY_MODE_READONLY. See comments for the reason.
2693 Overview of changes leading to 0.9.12
2694 Thursday, January 18, 2013
2695 =====================================
2697 - Build fixes for Sun compiler.
2700 Overview of changes leading to 0.9.11
2701 Thursday, January 10, 2013
2702 =====================================
2705 - Fix GPOS mark attachment with null Anchor offsets.
2706 - [Indic] Fix old-spec reordering of viramas if sequence ends in one.
2707 - Fix multi-threaded shaper data creation crash.
2708 - Add atomic ops for Solaris.
2711 - Rename hb_buffer_clear() to hb_buffer_clear_contents().
2714 Overview of changes leading to 0.9.10
2715 Thursday, January 3, 2013
2716 =====================================
2718 - [Indic] Fixed rendering of Malayalam dot-reph
2719 - Updated OT language tags.
2720 - Updated graphite2 backend.
2721 - Improved hb_ot_layout_get_size_params() logic.
2722 - Improve hb-shape/hb-view help output.
2723 - Fixed hb-set.h implementation to not crash.
2724 - Fixed various issues with hb_ot_layout_collect_lookups().
2725 - Various build fixes.
2729 hb_graphite2_face_get_gr_face()
2730 hb_graphite2_font_get_gr_font()
2731 hb_coretext_face_get_cg_font()
2735 hb_ot_layout_get_size_params()
2738 Overview of changes leading to 0.9.9
2739 Wednesday, December 5, 2012
2740 ====================================
2742 - Fix build on Windows.
2743 - Minor improvements.
2746 Overview of changes leading to 0.9.8
2747 Tuesday, December 4, 2012
2748 ====================================
2751 - Actually implement hb_shape_plan_get_shaper ().
2752 - Make UCDB data tables const.
2753 - Lots of internal refactoring in OTLayout tables.
2754 - Flesh out hb_ot_layout_lookup_collect_glyphs().
2758 hb_ot_layout_collect_lookups()
2759 hb_ot_layout_get_size_params()
2762 Overview of changes leading to 0.9.7
2763 Sunday, November 21, 2012
2764 ====================================
2767 HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
2769 - Fix Arabic contextual joining using pre-context text.
2770 - Fix Sinhala "split matra" mess.
2771 - Fix Khmer shaping with broken fonts.
2772 - Implement Thai "PUA" shaping for old fonts.
2773 - Do NOT route Kharoshthi script through the Indic shaper.
2774 - Disable fallback positioning for Indic and Thai shapers.
2778 hb-shape / hb-view changes:
2780 - Add --text-before and --text-after
2781 - Add --bot / --eot / --preserve-default-ignorables
2782 - hb-shape --output-format=json
2791 HB_BUFFER_FLAGS_DEFAULT
2794 HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
2796 hb_buffer_set_flags()
2797 hb_buffer_get_flags()
2799 HB_BUFFER_SERIALIZE_FLAGS
2800 hb_buffer_serialize_glyphs()
2801 hb_buffer_deserialize_glyphs()
2802 hb_buffer_serialize_list_formats()
2806 hb_set_get_population()
2809 hb_face_[sg]et_glyph_count()
2811 hb_segment_properties_t
2812 HB_SEGMENT_PROPERTIES_DEFAULT
2813 hb_segment_properties_equal()
2814 hb_segment_properties_hash()
2816 hb_buffer_set_segment_properties()
2817 hb_buffer_get_segment_properties()
2819 hb_ot_layout_glyph_class_t
2820 hb_ot_layout_get_glyph_class()
2821 hb_ot_layout_get_glyphs_in_class()
2824 hb_shape_plan_create()
2825 hb_shape_plan_create_cached()
2826 hb_shape_plan_get_empty()
2827 hb_shape_plan_reference()
2828 hb_shape_plan_destroy()
2829 hb_shape_plan_set_user_data()
2830 hb_shape_plan_get_user_data()
2831 hb_shape_plan_execute()
2832 hb_shape_plan_get_shaper()
2834 hb_ot_shape_plan_collect_lookups()
2839 - Remove "mask" parameter from hb_buffer_add().
2840 - Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
2841 - hb-set.h API const correction.
2842 - Renamed hb_set_min/max() to hb_set_get_min/max().
2843 - Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
2844 - Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
2848 Overview of changes leading to 0.9.6
2849 Sunday, November 13, 2012
2850 ====================================
2852 - Don't clear pre-context text if no new context is provided.
2853 - Fix ReverseChainingSubstLookup, which was totally borked.
2854 - Adjust output format of hb-shape a bit.
2855 - Include config.h.in in-tree. Makes it easier for alternate build systems.
2856 - Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
2857 - Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
2858 - Drop glyphs for all of Unicode Default_Ignorable characters.
2862 - Enable 'dlig' and 'mset' features in Arabic shaper.
2863 - Implement 'Phags-pa shaping, improve Mongolian.
2866 - Decompose Sinhala split matras the way old HarfBuzz / Pango did.
2867 - Initial support for Consonant Medials.
2868 - Start adding new-style Myanmar shaping.
2869 - Make reph and 'pref' logic introspect the font.
2870 - Route Meetei-Mayek through the Indic shaper.
2871 - Don't apply 'liga' in Indic shaper.
2872 - Improve Malayalam pre-base reordering Ra interaction with Chillus.
2876 Overview of changes leading to 0.9.5
2877 Sunday, October 14, 2012
2878 ====================================
2880 - Synthetic-GSUB Arabic fallback shaping.
2882 - Misc Indic improvements.
2884 - Add build system support for pthread.
2886 - Imported UCDN for in-tree Unicode callbacks implementation.
2888 - Context-aware Arabic joining.
2894 hb_feature_to/from-string()
2895 hb_buffer_[sg]et_content_type()
2899 Overview of changes leading to 0.9.4
2900 Tuesday, Sep 03, 2012
2901 ====================================
2903 - Indic improvements with old-spec Malayalam.
2905 - Better fallback glyph positioning, specially with Thai / Lao marks.
2907 - Implement dotted-circle insertion.
2909 - Better Arabic fallback shaping / ligation.
2911 - Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
2917 Overview of changes leading to 0.9.3
2918 Friday, Aug 18, 2012
2919 ====================================
2921 - Fixed fallback mark positioning for left-to-right text.
2923 - Improve mark positioning for the remaining combining classes.
2925 - Unbreak Thai and fallback Arabic shaping.
2927 - Port Arabic shaper to shape-plan caching.
2929 - Use new ICU normalizer functions.
2933 Overview of changes leading to 0.9.2
2934 Friday, Aug 10, 2012
2935 ====================================
2937 - Over a thousand commits! This is the first major release of HarfBuzz.
2939 - HarfBuzz is feature-complete now! It should be in par, or better, than
2940 both Pango's shapers and old HarfBuzz / Qt shapers.
2942 - New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
2944 - Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
2945 Sinhala, N'ko, Mongolian, and Mandaic.
2947 - New Thai / Lao shaper.
2949 - Tibetan / Hangul support in the generic shaper.
2951 - Synthetic GDEF support for fonts without a GDEF table.
2953 - Fallback mark positioning for fonts without a GPOS table.
2955 - Unicode normalization shaping heuristic during glyph mapping.
2957 - New experimental Graphite2 backend.
2959 - New Uniscribe backend (primarily for testing).
2961 - New CoreText backend (primarily for testing).
2963 - Major optimization and speedup.
2965 - Test suites and testing infrastructure (work in progress).
2967 - Greatly improved hb-view cmdline tool.
2969 - hb-shape cmdline tool.
2971 - Unicode 6.1 support.
2973 Summary of API changes:
2977 - Users are expected to only include main header files now (ie. hb.h,
2978 hb-glib.h, hb-ft.h, ...)
2980 - All struct tag names had their initial underscore removed.
2981 Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
2983 - All set_user_data() functions now take a "replace" boolean parameter.
2985 - hb_buffer_create() takes zero arguments now.
2986 Use hb_buffer_pre_allocate() to pre-allocate.
2988 - hb_buffer_add_utf*() now accept -1 for length parameters,
2989 meaning "nul-terminated".
2991 - hb_direction_t enum values changed.
2993 - All *_from_string() APIs now take a length parameter to allow for
2994 non-nul-terminated strings. A -1 length means "nul-terminated".
2996 - Typedef for hb_language_t changed.
2998 - hb_get_table_func_t renamed to hb_reference_table_func_t.
3000 - hb_ot_layout_table_choose_script()
3002 - Various renames in hb-unicode.h.
3006 - hb_buffer_guess_properties()
3007 Automatically called by hb_shape().
3009 - hb_buffer_normalize_glyphs()
3011 - hb_tag_from_string()
3017 - hb_face_reference_blob()
3018 - hb_face_[sg]et_index()
3019 - hb_face_set_upem()
3021 - hb_font_get_glyph_name_func_t
3022 hb_font_get_glyph_from_name_func_t
3023 hb_font_funcs_set_glyph_name_func()
3024 hb_font_funcs_set_glyph_from_name_func()
3025 hb_font_get_glyph_name()
3026 hb_font_get_glyph_from_name()
3027 hb_font_glyph_to_string()
3028 hb_font_glyph_from_string()
3030 - hb_font_set_funcs_data()
3032 - hb_ft_font_set_funcs()
3033 - hb_ft_font_get_face()
3035 - hb-gobject.h (work in progress)
3037 - hb_ot_shape_glyphs_closure()
3038 hb_ot_layout_substitute_closure_lookup()
3044 - hb_unicode_combining_class_t
3046 - hb_unicode_compose_func_t
3047 hb_unicode_decompose_func_t
3048 hb_unicode_decompose_compatibility_func_t
3049 hb_unicode_funcs_set_compose_func()
3050 hb_unicode_funcs_set_decompose_func()
3051 hb_unicode_funcs_set_decompose_compatibility_func()
3052 hb_unicode_compose()
3053 hb_unicode_decompose()
3054 hb_unicode_decompose_compatibility()
3058 - hb_ft_get_font_funcs()
3060 - hb_ot_layout_substitute_start()
3061 hb_ot_layout_substitute_lookup()
3062 hb_ot_layout_substitute_finish()
3063 hb_ot_layout_position_start()
3064 hb_ot_layout_position_lookup()
3065 hb_ot_layout_position_finish()
3069 Overview of changes leading to 0.6.0
3070 Friday, May 27, 2011
3071 ====================================
3073 - Vertical text support in GPOS
3074 - Almost all API entries have unit tests now, under test/
3075 - All thread-safety issues are fixed
3077 Summary of API changes follows.
3084 hb_language_get_default()
3085 hb_direction_to_string()
3086 hb_direction_from_string()
3087 hb_script_get_horizontal_direction()
3091 hb_category_t renamed to hb_unicode_general_category_t
3094 hb_language_t is a typed pointers now
3100 * Use ISO 15924 tags for hb_script_t:
3103 hb_script_from_iso15924_tag()
3104 hb_script_to_iso15924_tag()
3105 hb_script_from_string()
3108 HB_SCRIPT_* enum members changed value.
3111 * Buffer API streamlined:
3115 hb_buffer_set_length()
3116 hb_buffer_allocation_successful()
3119 hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
3120 hb_buffer_add_glyph() renamed to hb_buffer_add()
3124 hb_buffer_clear_positions()
3127 hb_buffer_get_glyph_infos() takes an out length parameter now
3128 hb_buffer_get_glyph_positions() takes an out length parameter now
3131 * Blob API streamlined:
3135 hb_blob_get_data_writable()
3138 hb_blob_create_empty() renamed to hb_blob_get_empty()
3143 hb_blob_is_writable()
3144 hb_blob_try_writable()
3147 hb_blob_create() takes user_data before destroy now
3150 * Unicode functions API:
3152 o Unicode function vectors can subclass other unicode function vectors now.
3153 Unimplemented callbacks in the subclass automatically chainup to the parent.
3155 o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
3156 take a user_data and its respective destroy callback.
3159 hb_unicode_funcs_get_empty()
3160 hb_unicode_funcs_get_default()
3161 hb_unicode_funcs_get_parent()
3164 hb_unicode_funcs_create() now takes a parent_funcs.
3166 o Removed func getter functions:
3167 hb_unicode_funcs_get_mirroring_func()
3168 hb_unicode_funcs_get_general_category_func()
3169 hb_unicode_funcs_get_script_func()
3170 hb_unicode_funcs_get_combining_class_func()
3171 hb_unicode_funcs_get_eastasian_width_func()
3177 hb_face_get_table() renamed to hb_face_reference_table()
3178 hb_face_create_for_data() renamed to hb_face_create()
3181 hb_face_create_for_tables() takes user_data before destroy now
3182 hb_face_reference_table() returns empty blob instead of NULL
3183 hb_get_table_func_t accepts the face as first parameter now
3187 o Fonts can subclass other fonts now. Unimplemented callbacks in the
3188 subclass automatically chainup to the parent. When chaining up,
3189 scale is adjusted if the parent font has a different scale.
3191 o All hb_font_funcs_t callbacks take a user_data now. Their setters
3192 take a user_data and its respective destroy callback.
3195 hb_font_get_parent()
3196 hb_font_funcs_get_empty()
3197 hb_font_create_sub_font()
3200 hb_font_funcs_copy()
3201 hb_font_unset_funcs()
3203 o Removed func getter functions:
3204 hb_font_funcs_get_glyph_func()
3205 hb_font_funcs_get_glyph_advance_func()
3206 hb_font_funcs_get_glyph_extents_func()
3207 hb_font_funcs_get_contour_point_func()
3208 hb_font_funcs_get_kerning_func()
3211 hb_font_create() takes a face and references it now
3212 hb_font_set_funcs() takes user_data before destroy now
3213 hb_font_set_scale() accepts signed integers now
3214 hb_font_get_contour_point_func_t now takes glyph first, then point_index
3215 hb_font_get_glyph_func_t returns a success boolean now
3218 * Changed object model:
3220 o All object types have a _get_empty() now:
3222 hb_buffer_get_empty()
3225 hb_font_funcs_get_empty()
3226 hb_unicode_funcs_get_empty()
3228 o Added _set_user_data() and _get_user_data() for all object types:
3229 hb_blob_get_user_data()
3230 hb_blob_set_user_data()
3231 hb_buffer_get_user_data()
3232 hb_buffer_set_user_data()
3233 hb_face_get_user_data()
3234 hb_face_set_user_data()
3235 hb_font_funcs_get_user_data()
3236 hb_font_funcs_set_user_data()
3237 hb_font_get_user_data()
3238 hb_font_set_user_data()
3239 hb_unicode_funcs_get_user_data()
3240 hb_unicode_funcs_set_user_data()
3242 o Removed the _get_reference_count() from all object types:
3243 hb_blob_get_reference_count()
3244 hb_buffer_get_reference_count()
3245 hb_face_get_reference_count()
3246 hb_font_funcs_get_reference_count()
3247 hb_font_get_reference_count()
3248 hb_unicode_funcs_get_reference_count()
3250 o Added _make_immutable() and _is_immutable() for all object types except for buffer:
3251 hb_blob_make_immutable()
3252 hb_blob_is_immutable()
3253 hb_face_make_immutable()
3254 hb_face_is_immutable()
3257 * Changed API for vertical text support
3259 o The following callbacks where removed:
3260 hb_font_get_glyph_advance_func_t
3261 hb_font_get_kerning_func_t
3263 o The following new callbacks added instead:
3264 hb_font_get_glyph_h_advance_func_t
3265 hb_font_get_glyph_v_advance_func_t
3266 hb_font_get_glyph_h_origin_func_t
3267 hb_font_get_glyph_v_origin_func_t
3268 hb_font_get_glyph_h_kerning_func_t
3269 hb_font_get_glyph_v_kerning_func_t
3271 o The following API removed as such:
3272 hb_font_funcs_set_glyph_advance_func()
3273 hb_font_funcs_set_kerning_func()
3274 hb_font_get_glyph_advance()
3275 hb_font_get_kerning()
3277 o New API added instead:
3278 hb_font_funcs_set_glyph_h_advance_func()
3279 hb_font_funcs_set_glyph_v_advance_func()
3280 hb_font_funcs_set_glyph_h_origin_func()
3281 hb_font_funcs_set_glyph_v_origin_func()
3282 hb_font_funcs_set_glyph_h_kerning_func()
3283 hb_font_funcs_set_glyph_v_kerning_func()
3284 hb_font_get_glyph_h_advance()
3285 hb_font_get_glyph_v_advance()
3286 hb_font_get_glyph_h_origin()
3287 hb_font_get_glyph_v_origin()
3288 hb_font_get_glyph_h_kerning()
3289 hb_font_get_glyph_v_kerning()
3291 o The following higher-leve API added for convenience:
3292 hb_font_get_glyph_advance_for_direction()
3293 hb_font_get_glyph_origin_for_direction()
3294 hb_font_add_glyph_origin_for_direction()
3295 hb_font_subtract_glyph_origin_for_direction()
3296 hb_font_get_glyph_kerning_for_direction()
3297 hb_font_get_glyph_extents_for_origin()
3298 hb_font_get_glyph_contour_point_for_origin()
3301 * OpenType Layout API:
3304 hb_ot_layout_position_start()
3305 hb_ot_layout_substitute_start()
3306 hb_ot_layout_substitute_finish()
3312 hb_glib_script_to_script()
3313 hb_glib_script_from_script()
3314 hb_icu_script_to_script()
3315 hb_icu_script_from_script()
3318 * Version API added: