blob: ef21e1e1702d4291fe7f4ada58f1943fc4614fc1 [file] [log] [blame]
Khaled Hosnyfcb9e592023-08-01 00:57:06 +03001Overview of changes leading to 8.1.0
2Tuesday, August 1, 2023
3====================================
4- Fix long-standing build issue with the AIX compiler and older Apple clang.
5
6- Revert optimization that could cause timeout during subsetting with malicious fonts.
7
8- More optimization work:
9 - 45% speed up in shaping Noto Duployan font.
10 - 10% speed up in subsetting Noto Duployan font.
11 - Another 8% speed up in shaping Gulzar.
12 - 5% speed up in loading Roboto.
13
14- New API:
15+hb_ot_layout_collect_features_map()
16
17
Khaled Hosnyd160d932023-07-12 08:27:25 +030018Overview of changes leading to 8.0.1
19Wednesday, July 12, 2023
20====================================
Khaled Hosny5a65ede2023-07-12 10:18:31 +030021- Build fix on 32-bit ARM.
Khaled Hosnyd160d932023-07-12 08:27:25 +030022
23- More speed optimizations:
Khaled Hosnyfcb9e592023-08-01 00:57:06 +030024 - 60% speed up in retain-gid (used for IFT) subsetting of SourceHanSans-VF.
Khaled Hosnyd160d932023-07-12 08:27:25 +030025 - 16% speed up in retain-gid (used for IFT) subsetting of NotoSansCJKkr.
Khaled Hosnyfcb9e592023-08-01 00:57:06 +030026 - 38% speed up in subsetting (beyond-64k) mega-merged Noto.
Khaled Hosnyd160d932023-07-12 08:27:25 +030027
28
Khaled Hosnyb4305532023-07-09 02:54:30 +030029Overview of changes leading to 8.0.0
30Sunday, July 9, 2023
31====================================
32- New, experimental, WebAssembly (WASM) shaper, that provides greater
33 flexibility over OpenType/AAT/Graphite shaping, using WebAssembly embedded
34 inside the font file. Currently WASM shaper is disabled by default and needs
35 to be enabled at build time. For details, see:
36
37 https://github.com/harfbuzz/harfbuzz/blob/main/docs/wasm-shaper.md
38
39 For example fonts making use of the WASM shaper, see:
40
Khaled Hosny5a65ede2023-07-12 10:18:31 +030041 https://github.com/harfbuzz/harfbuzz-wasm-examples
Khaled Hosnyb4305532023-07-09 02:54:30 +030042
43- Improvements to Experimental features introduced in earlier releases:
44 - Support for subsetting beyond-64k and VarComposites fonts.
45 - Support for instancing variable fonts with cubic “glyf” table.
46
47- Many big speed optimizations:
48 - Up to 89% speedup loading variable fonts for shaping.
49 - Up to 88% speedup in small subsets of large (eg. CJK) fonts (both TTF and
50 OTF), essential for Incremental Font Transfer (IFT).
51 - Over 50% speedup in loading Roboto font for shaping.
52 - Up to 40% speed up in loading (sanitizing) complex fonts.
53 - 30% speed up in shaping Gulzar font.
54 - Over 25% speedup in glyph loading Roboto font.
55 - 10% speed up loading glyph shapes in VarComposite Hangul font.
56 - hb-hashmap optimizations & hashing improvements.
57
58- New macro HB_ALWAYS_INLINE. HarfBuzz now inlines functions more aggressively,
59 which results in some speedup at the expense of bigger code size. To disable
60 this feature define the macro to just inline.
61
62- New API:
63+HB_CODEPOINT_INVALID
64+hb_ot_layout_get_baseline2()
65+hb_ot_layout_get_baseline_with_fallback2()
66+hb_ot_layout_get_font_extents()
67+hb_ot_layout_get_font_extents2()
68+hb_subset_input_set_axis_range()
69
70
Khaled Hosny4584bcd2023-05-10 00:20:25 +030071Overview of changes leading to 7.3.0
72Tuesday, May 9, 2023
73====================================
74- Speedup applying glyph variation in VarComposites fonts (over 40% speedup).
75 (Behdad Esfahbod)
76- Speedup instancing some fonts (over 20% speedup in instancing RobotoFlex).
77 (Behdad Esfahbod)
78- Speedup shaping some fonts (over 30% speedup in shaping Roboto).
79 (Behdad Esfahbod)
80- Support subsetting VarComposites and beyond-64k fonts. (Behdad Esfahbod)
81- New configuration macro HB_MINIMIZE_MEMORY_USAGE to favor optimizing memory
82 usage over speed. (Behdad Esfahbod)
83- Supporting setting the mapping between old and new glyph indices during
84 subsetting. (Garret Rieger)
85- Various fixes and improvements.
86 (Behdad Esfahbod, Denis Rochette, Garret Rieger, Han Seung Min, Qunxin Liu)
87
88- New API:
89+hb_subset_input_old_to_new_glyph_mapping()
90
91
Khaled Hosnya321c4f2023-04-27 00:48:00 +020092Overview of changes leading to 7.2.0
93Thursday, April 27, 2023
94====================================
95- Add Tifinagh to the list of scripts that can natively be either right-to-left
96 or left-to-right, to improve handling of its glyph positioning.
97 (Simon Cozens)
98- Return also single substitution from hb_ot_layout_lookup_get_glyph_alternates()
99 (Behdad Esfahbod)
100- Fix 4.2.0 regression in applying across syllables in syllabic scripts.
101 (Behdad Esfahbod)
102- Add flag to avoid glyph substitution closure during subsetting, and the
103 corresponding “--no-layout-closure” option to “hb-subset” command line tool.
104 (Garret Rieger)
105- Support instancing COLRv1 table. (Qunxin Liu)
106- Don’t drop used user-defined name table entries during subsetting.
107 (Qunxin Liu)
108- Optimize handling of “gvar” table. (Behdad Esfahbod)
109- Various subsetter bug fixes and improvements. (Garret Rieger, Qunxin Liu)
110- Various documentation improvements. (Behdad Esfahbod, Josef Friedrich)
111
112- New API:
113+HB_SUBSET_FLAGS_NO_LAYOUT_CLOSURE
114+HB_UNICODE_COMBINING_CLASS_CCC132
115
116- Deprecated API:
117+HB_UNICODE_COMBINING_CLASS_CCC133
118
119
Khaled Hosny60841e22023-03-03 01:01:49 +0200120Overview of changes leading to 7.1.0
121Friday, March 3, 2023
122====================================
123- New experimental hb_shape_justify() API that uses font variations to expand
124 or shrink the text to a given advance. (Behdad Esfahbod)
125- Various build and bug fixes. (Behdad Esfahbod, Garret Rieger, Qunxin Liu)
126
127- New API:
128+hb_font_set_variation()
129
Khaled Hosnya321c4f2023-04-27 00:48:00 +0200130
Khaled Hosny1d1f93a2023-02-20 15:54:12 +0200131Overview of changes leading to 7.0.1
132Monday, February 20, 2023
133====================================
134- Various build and bug fixes.
135
136
Khaled Hosny8bdaedd2023-02-11 23:44:58 +0200137Overview of changes leading to 7.0.0
138Saturday, February 11, 2023
139====================================
140- New hb-paint API that is designed mainly to paint “COLRv1” glyphs, but can be
141 also used as a unified API to paint any of the glyph representations
142 supported by HarfBuzz (B/W outlines, color layers, or color bitmaps).
143 (Behdad Esfahbod, Matthias Clasen)
144- New hb-cairo API for integrating with cairo graphics library. This is provided
145 as a separate harfbuzz-cairo library. (Behdad Esfahbod, Matthias Clasen)
146- Support for instancing “CFF2” table. (Behdad Esfahbod)
147- Support font emboldening. (Behdad Esfahbod)
148- Support feature ranges with AAT shaping. (Behdad Esfahbod)
149- Experimental support to cubic curves in “glyf” table, see
150 https://github.com/harfbuzz/boring-expansion-spec/blob/main/glyf1-cubicOutlines.md
151 for spec. (Behdad Esfahbod)
152- Various subsetter improvements. (Garret Rieger, Qunxin Liu, Behdad Esfahbod)
153- Various documentation improvements.
154 (Behdad Esfahbod, Matthias Clasen, Khaled Hosny)
155- Significantly reduced memory use during shaping. (Behdad Esfahbod)
156- Greatly reduced memory use during subsetting “CFF” table. (Behdad Esfahbod)
157- New command line utility, hb-info, for querying various font information.
158 (Behdad Esfahbod, Matthias Clasen)
159- New hb-shape/hb-view options: --glyphs, --color-palette, --font-bold,
160 --font-grade, and --named-instance. (Behdad Esfahbod)
161- Miscellaneous fixes and improvements.
162 (Amir Masoud Abdol, Andres Salomon, Behdad Esfahbod, Chun-wei Fan,
163 Garret Rieger, Jens Kutilek, Khaled Hosny, Konstantin Käfer, Matthias Clasen,
164 Nirbheek Chauhan, Pedro J. Estébanez, Qunxin Liu, Sergei Trofimovich)
165
166- New API:
167+HB_FONT_NO_VAR_NAMED_INSTANCE
168+HB_PAINT_IMAGE_FORMAT_BGRA
169+HB_PAINT_IMAGE_FORMAT_PNG
170+HB_PAINT_IMAGE_FORMAT_SVG
171+hb_cairo_font_face_create_for_face
172+hb_cairo_font_face_create_for_font
173+hb_cairo_font_face_get_face
174+hb_cairo_font_face_get_font
175+hb_cairo_font_face_get_scale_factor
176+hb_cairo_font_face_set_font_init_func
177+hb_cairo_font_face_set_scale_factor
178+hb_cairo_font_init_func_t
179+hb_cairo_glyphs_from_buffer
180+hb_cairo_scaled_font_get_font
181+hb_color_line_get_color_stops
182+hb_color_line_get_color_stops_func_t
183+hb_color_line_get_extend
184+hb_color_line_get_extend_func_t
185+hb_color_line_t
186+hb_color_stop_t
187+hb_draw_funcs_get_empty
188+hb_draw_funcs_get_user_data
189+hb_draw_funcs_set_user_data
190+hb_face_collect_nominal_glyph_mapping
191+hb_font_draw_glyph
192+hb_font_draw_glyph_func_t
193+hb_font_funcs_set_draw_glyph_func
194+hb_font_funcs_set_paint_glyph_func
195+hb_font_get_synthetic_bold
196+hb_font_get_var_named_instance
197+hb_font_paint_glyph
198+hb_font_paint_glyph_func_t
199+hb_font_set_synthetic_bold
200+hb_map_keys
201+hb_map_next
202+hb_map_update
203+hb_map_values
204+hb_ot_color_glyph_has_paint
205+hb_ot_color_has_paint
206+hb_ot_layout_script_select_language2
207+hb_ot_name_id_predefined_t
208+hb_paint_color
209+hb_paint_color_func_t
210+hb_paint_composite_mode_t
211+hb_paint_custom_palette_color
212+hb_paint_custom_palette_color_func_t
213+hb_paint_extend_t
214+hb_paint_funcs_create
215+hb_paint_funcs_destroy
216+hb_paint_funcs_get_empty
217+hb_paint_funcs_get_user_data
218+hb_paint_funcs_is_immutable
219+hb_paint_funcs_make_immutable
220+hb_paint_funcs_reference
221+hb_paint_funcs_set_color_func
222+hb_paint_funcs_set_custom_palette_color_func
223+hb_paint_funcs_set_image_func
224+hb_paint_funcs_set_linear_gradient_func
225+hb_paint_funcs_set_pop_clip_func
226+hb_paint_funcs_set_pop_group_func
227+hb_paint_funcs_set_pop_transform_func
228+hb_paint_funcs_set_push_clip_glyph_func
229+hb_paint_funcs_set_push_clip_rectangle_func
230+hb_paint_funcs_set_push_group_func
231+hb_paint_funcs_set_push_transform_func
232+hb_paint_funcs_set_radial_gradient_func
233+hb_paint_funcs_set_sweep_gradient_func
234+hb_paint_funcs_set_user_data
235+hb_paint_funcs_t
236+hb_paint_image
237+hb_paint_image_func_t
238+hb_paint_linear_gradient
239+hb_paint_linear_gradient_func_t
240+hb_paint_pop_clip
241+hb_paint_pop_clip_func_t
242+hb_paint_pop_group
243+hb_paint_pop_group_func_t
244+hb_paint_pop_transform
245+hb_paint_pop_transform_func_t
246+hb_paint_push_clip_glyph
247+hb_paint_push_clip_glyph_func_t
248+hb_paint_push_clip_rectangle
249+hb_paint_push_clip_rectangle_func_t
250+hb_paint_push_group
251+hb_paint_push_group_func_t
252+hb_paint_push_transform
253+hb_paint_push_transform_func_t
254+hb_paint_radial_gradient
255+hb_paint_radial_gradient_func_t
256+hb_paint_sweep_gradient
257+hb_paint_sweep_gradient_func_t
258+hb_set_is_inverted
259+hb_subset_input_keep_everything
260
261- Deprecated API:
262+hb_font_funcs_set_glyph_shape_func
263+hb_font_get_glyph_shape_func_t
264+hb_font_get_glyph_shape
265
266
Khaled Hosnyafcae832022-12-16 23:14:57 +0200267Overview of changes leading to 6.0.0
268Friday, December 16, 2022
269====================================
270- A new API have been added to pre-process the face and speed up future
271 subsetting operations on that face. Provides up to a 95% reduction in
272 subsetting times when the same face is subset more than once.
273
274 For more details and benchmarks, see:
275 https://github.com/harfbuzz/harfbuzz/blob/main/docs/subset-preprocessing.md
276
277 (Garret Rieger, Behdad Esfahbod)
278
279- Shaping have been speedup by skipping entire lookups when the buffer contents
280 don't intersect with the lookup. Shows up to a 10% speedup in shaping some
281 fonts. (Behdad Esfahbod)
282
283- A new experimental feature, “Variable Composites” (enabled by passing
284 -Dexperimental_api=true to meson), is also featured in this release.
285 This technology enables drastic compression of fonts in the Chinese,
286 Japanese, Korean, and other writing systems, by reusing the OpenType Font
287 Variations technology for encoding “smart components” into the font.
288
289 The specification for these extensions to the font format can be found in:
290 https://github.com/harfbuzz/boring-expansion-spec/blob/glyf1/glyf1.md
291
292 A test variable-font with ~7160 Hangul syllables derived from the
293 NotoSerifKR-VF font has been built, with existing OpenType technology, as
294 well as with the new Variable Composites (VarComposites) technology. The
295 VarComposites font is over 90% smaller than the OpenType version of the font!
296 Both fonts can be obtained from the “smarties” repository:
297 https://github.com/behdad/smarties/tree/3.0/fonts/hangul/serif
298
299 When building HarfBuzz with experimental features enabled, you can test
300 the “smarties” font with a sample character like this:
301
302 $ hb-view butchered-hangul-serif-smarties-variable.ttf -u AE01 --variations=wght=700
303
304 (Behdad Esfahbod)
305
306- The HarfBuzz subsetter can now drop axes by pinning them to specific values
307 (also referred to as instancing). There are a couple of restrictions
308 currently:
309
310 - Only works with TrueType (“glyf”) based fonts. “CFF2” fonts are not yet
311 supported.
312 - Only supports the case where all axes in a font are pinned.
313
314 (Garret Rieger, Qunxin Liu)
315
316- Miscellaneous fixes and improvements.
317
318 (Behdad Esfahbod, Christoph Reiter, David Corbett, Eli Schwartz, Garret
319 Rieger, Joel Auterson, Jordan Petridis, Khaled Hosny, Lorenz Wildberg,
320 Marco Rebhan, Martin Storsjö, Matthias Clasen, Qunxin Liu, Satadru Pramanik)
321
322
323- New API
324+hb_subset_input_pin_axis_location()
325+hb_subset_input_pin_axis_to_default()
326+hb_subset_preprocess()
327
328
Khaled Hosny970321d2022-10-19 22:06:46 +0200329Overview of changes leading to 5.3.1
330Wednesday, October 19, 2022
331====================================
332- Subsetter repacker fixes. (Garret Rieger)
333- Adjust Grapheme clusters for Katakana voiced sound marks. (Behdad Esfahbod)
334- New “hb-subset” option “--preprocess-face”. (Garret Rieger)
335
336
Khaled Hosny3ce4b8f2022-10-08 19:10:07 +0200337Overview of changes leading to 5.3.0
338Saturday, October 8, 2022
339"Women, Life, Freedom" #MahsaAmini
340====================================
341- Don’t add glyphs from dropped MATH or COLR tables to the subset glyphs.
342 (Khaled Hosny)
343- Map “rlig” to appropriate AAT feature selectors. (Jonathan Kew)
344- Update USE data files to latest version. (David Corbett)
345- Check “CBDT” extents first before outline tables, to help with fonts that
346 also include an empty “glyf” table. (Khaled Hosny)
347- More work towards variable font instancing in the subsetter. (Qunxin Liu)
348- Subsetter repacker improvements. (Garret Rieger)
349- New API:
350+hb_ot_layout_lookup_get_optical_bound()
351+hb_face_builder_sort_tables()
352
353
Khaled Hosny4a1d8912022-09-17 03:15:51 +0200354Overview of changes leading to 5.2.0
355Saturday, September 17, 2022
356====================================
357- Fix regressions in hb-ft font functions for FT_Face’s with transformation
358 matrix. (Behdad Esfahbod)
359- The experimental hb-repacker API now supports splitting several GPOS subtable
360 types when needed. (Garret Rieger)
361- The HarfBuzz extensions to OpenType font format are now opt-in behind
362 build-time flags. (Behdad Esfahbod)
363- The experimental hb-subset variable fonts instantiation API can now
364 instantiate more font tables and arbitrary axis locations. (Qunxin Liu)
365- Unicode 15 support. (David Corbett)
366- Various documentation improvements. (Behdad Esfahbod, Matthias Clasen)
367- The hb-view command line tool now detects WezTerm inline images support.
368 (Wez Furlong)
369- Fix FreeType and ICU dependency lookup with meson. (Xavier Claessens)
370
371- New API:
372+HB_SCRIPT_KAWI
373+HB_SCRIPT_NAG_MUNDARI
374
375
Khaled Hosnyf1f2be72022-07-31 15:46:25 +0200376Overview of changes leading to 5.1.0
377Sunday, July 31, 2022
378====================================
379- More extensive buffer tracing messages. (Behdad Esfahbod)
380- Fix hb-ft regression in bitmap fonts rendering. (Behdad Esfahbod)
381- Support extension promotion of lookups in hb-subset-repacker. (Garret Rieger)
382- A new HB_GLYPH_FLAG_SAFE_TO_INSERT_TATWEEL for scripts that use elongation
383 (e.g. Arabic) to signify where it is safe to insert tatweel glyph without
384 interrupting shaping. (Behdad Esfahbod)
385- Add “--safe-to-insert-tatweel” to “hb-shape” tool. (Behdad Esfahbod)
386
387- New API
388+HB_GLYPH_FLAG_SAFE_TO_INSERT_TATWEEL
389+HB_BUFFER_FLAG_PRODUCE_SAFE_TO_INSERT_TATWEEL
390
391
Khaled Hosnycbccadb2022-07-23 22:09:06 +0200392Overview of changes leading to 5.0.1
393Saturday, July 23, 2022
394====================================
395- Fix version 2 “avar” table with hb-ft. (Behdad Esfahbod)
396
397
Khaled Hosny40b21ed2022-07-23 16:45:32 +0200398Overview of changes leading to 5.0.0
399Saturday, July 23, 2022
400====================================
401- Support fonts with more than 65535 glyphs in “GDEF”, “GSUB”, and “GPOS”
402 tables. This is part of https://github.com/be-fonts/boring-expansion-spec to
403 extend OpenType in a backward-compatible way.
404 (Behdad Esfahbod, Garret Rieger)
405- Complete support for more than 65535 glyphs in “glyf” table that started in
406 4.0.0 release. Part of boring-expansion-spec. (Behdad Esfahbod)
407- Support version 2 of “avar” table. Part of boring-expansion-spec.
408 (Behdad Esfahbod)
409- Fix mark attachment on multiple substitutions in some cases.
410 (Behdad Esfahbod)
411- Fix application of “calt”, “rclt”, and “ccmp” features to better match
412 Uniscribe behaviour with some Arabic fonts. (Behdad Esfahbod)
413- Improvement to interaction between multiple cursive attachments.
414 (Behdad Esfahbod)
415- Improve multiple mark interactions in Hebrew. (Behdad Esfahbod)
416- Implement language-specific forms in AAT shaping. (Behdad Esfahbod)
417- Fix variation of “VORG” table. (Behdad Esfahbod)
418- Support for specific script tags to be retained in the subsetter, and add
419 “--layout-scripts” option to “hb-subset” tool. (Garret Rieger)
420- Accept space as delimiter for --features/--variations in command line tools.
421- Improve subsetting of “COLR” table. (Qunxin Liu)
422- Improved fuzzing coverage for ot-math API. (Frédéric Wang)
423- Fix “kern” table version 2 (AAT) sanitization on 32-bit systems.
424 (Behdad Esfahbod)
425- Allow negative glyph advances from “graphite2” shaper. (Stephan Bergmann)
426- Implement loading (color) bitmap fonts with hb-ft. (Behdad Esfahbod)
427- Fix regression in hb-ft when changing font size. (Behdad Esfahbod)
428- Fix build on GCC < 7. (Kleis Auke Wolthuizen)
429- Dynamically load dwrite.dll on windows if “directwrite” shaper is enabled.
430 (Luca Bacci)
431- Provide a single-file harfbuzz-subset.cc file for easier alternate building
432 of hb-subset library, similar to harfbuzz.cc. (Khaled Hosny)
433
434- New API
435+HB_SUBSET_SETS_LAYOUT_SCRIPT_TAG
436+hb_language_matches()
437
438
Khaled Hosny096aaa62022-06-29 07:30:05 +0200439Overview of changes leading to 4.4.1
440Wednesday, June 29, 2022
441====================================
442- Fix test failure with some compilers.
443- Fix Telugu and Kannada kerning regression.
444
445
Khaled Hosny8537d682022-06-27 20:51:16 +0200446Overview of changes leading to 4.4.0
447Monday, June 27, 2022
448====================================
449- Caching of variable fonts shaping, in particular when using HarfBuzz’s own
450 font loading functions (ot). Bringing performance of variable shaping in par
451 with non-variable fonts shaping. (Behdad Esfahbod)
452- Caching of format 2 “Contextual Substitution” and “Chained Contexts
453 Substitution” lookups. Resulting in up to 20% speedup of lookup-heavy fonts
454 like Gulzar or Noto Nastaliq Urdu. (Behdad Esfahbod)
455- Improved ANSI output from hb-view. (Behdad Esfahbod)
456- Support for shaping legacy, pre-OpenType Windows 3.1-era, Arabic fonts that
457 relied on a fixed PUA encoding. (Khaled Hosny, Behdad Esfahbod)
458- Sinhala script is now shaped by the USE shaper instead of “indic” one.
459 (Behdad Esfahbod, David Corbett)
460- Thai shaper improvements. (David Corbett)
461- hb-ot-name API supports approximate BCP-47 language matching, for example
462 asking for “en_US” in a font that has only “en” names will return them.
463 (Behdad Esfahbod)
464- Optimized TrueType glyph shape loading. (Behdad Esfahbod)
465- Fix subsetting of HarfBuzz faces created via hb_face_create_for_tables().
466 (Garret Rieger)
467- Add 32 bit var store support to the subsetter. (Garret Rieger)
468
469- New API
470+HB_BUFFER_FLAG_DEFINED
471+HB_BUFFER_SERIALIZE_FLAG_DEFINED
472+hb_font_changed()
473+hb_font_get_serial()
474+hb_ft_hb_font_changed()
475+hb_set_hash()
476+hb_map_copy()
477+hb_map_hash()
478
479
Khaled Hosnyaee123f2022-05-20 21:07:25 +0200480Overview of changes leading to 4.3.0
481Friday, May 20, 2022
482====================================
483- Major speed up in loading and subsetting fonts, especially in
484 handling CFF table. Subsetting some fonts is now 3 times faster.
485 (Behdad Esfahbod, Garret Rieger)
486- Speed up blending CFF2 table. (Behdad Esfahbod)
487- Speed up hb_ot_tags_from_language(). (Behdad Esfahbod, David Corbett)
488- Fix USE classification of U+10A38 to fix multiple marks on single Kharoshthi
489 base. (David Corbett)
490- Fix parsing of empty CFF Index. (Behdad Esfahbod)
491- Fix subsetting CPAL table with partial palette overlaps. (Garret Rieger)
492
493- New API
494+hb_map_is_equal() (Behdad Esfahbod)
495
496
Khaled Hosnyf7aee782022-04-24 05:47:57 +0200497Overview of changes leading to 4.2.1
498Sunday, April 24, 2022
499====================================
500- Make sure hb_blob_create_from_file_or_fail() always returns nullptr in case
501 of failure and not empty blob sometimes. (Khaled Hosny)
502- Add --passthrough-tables option to hb-subset. (Cosimo Lupo)
503- Reinstate a pause after basic features in Khmer shaper, fixing a regression
504 introduced in previous release. (Behdad Esfahbod)
505- Better handling of Regional_Indicator when shaped with RTL-native scripts,
506 reverting earlier fix that caused regressions in AAT shaping. (Behdad Esfahbod)
507
508
Khaled Hosny9d5730b2022-03-30 15:08:34 +0200509Overview of changes leading to 4.2.0
510Wednesday, March 30, 2022
511====================================
512- Source code reorganization, splitting large hb-ot-layout files into smaller,
513 per-subtable ones under OT/Layout/*. Code for more tables will follow suit in
514 later releases. (Garret Rieger, Behdad Esfahbod)
515- Revert Indic shaper change in previous release that broke some fonts and
516 instead make per-syllable restriction of “GSUB” application limited to
517 script-specific Indic features, while applying them and discretionary
518 features in one go. (Behdad Esfahbod)
519- Fix decoding of private in gvar table. (Behdad Esfahbod)
520- Fix handling of contextual lookups that delete too many glyphs. (Behdad Esfahbod)
521- Make “morx” deleted glyphs don’t block “GPOS” application. (Behdad Esfahbod)
522- Various build fixes. (Chun-wei Fan, Khaled Hosny)
523
524- New API
525+hb_set_next_many() (Andrew John)
526
527
Khaled Hosnyc36844d2022-03-23 07:20:59 +0200528Overview of changes leading to 4.1.0
529Wednesday, March 23, 2022
530====================================
531- Various OSS-Fuzz fixes. (Behdad Esfahbod)
532- Make fallback vertical-origin match FreeType’s. (Behdad Esfahbod)
533- Treat visible viramas like dependent vowels in USE shaper. (David Corbett)
534- Apply presentation forms features and discretionary features in one go in
535 Indic shaper, which seems to match Uniscribe and CoreText behaviour.
536 (Behdad Esfahbod, David Corbett)
537- Various bug fixes.
538
539- New API
Khaled Hosny9d5730b2022-03-30 15:08:34 +0200540+hb_set_add_sorted_array() (Andrew John)
541
Khaled Hosnyc36844d2022-03-23 07:20:59 +0200542
Khaled Hosny1f79ba92022-03-11 20:19:04 +0200543Overview of changes leading to 4.0.1
544Friday, March 11, 2022
545====================================
546- Update OpenType to AAT mappings for “hist” and “vrtr” features.
547 (Florian Pircher)
548- Update IANA Language Subtag Registry to 2022-03-02. (David Corbett)
549- Update USE shaper to allow any non-numeric tail in a symbol cluster, and
550 remove obsolete data overrides. (David Corbett)
551- Fix handling of baseline variations to return correctly scaled values.
552 (Matthias Clasen)
553- A new experimental hb_subset_repack_or_fail() to repack an array of objects,
554 eliminating offset overflows. The API is not available unless HarfBuzz is
555 built with experimental APIs enabled. (Qunxin Liu)
556
557- New experimental API
558+hb_link_t
559+hb_object_t
560+hb_subset_repack_or_fail()
561
562
Khaled Hosny8d1b0002022-03-01 21:27:32 +0200563Overview of changes leading to 4.0.0
564Tuesday, March 1, 2022
565====================================
566- New public API to create subset plan and gather information on things like
567 glyph mappings in the final subset. The plan can then be passed on to perform
568 the subsetting operation. (Garret Rieger)
569- Draw API for extracting glyph shapes have been extended and finalized and is
570 no longer an experimental API. The draw API supports glyf, CFF and CFF2
571 glyph outlines tables, and applies variation settings set on the font as well
572 as synthetic slant. The new public API is not backward compatible with the
573 previous, non-public, experimental API. (Behdad Esfahbod)
574- The hb-view tool will use HarfBuzz draw API to render the glyphs instead of
575 cairo-ft when compiled with Cairo 1.17.5 or newer, setting HB_DRAW
576 environment variable to 1 or 0 will force using or not use the draw API,
577 respectively. (Behdad Esfahbod)
578- The hb-shape and hb-view tools now default to using HarfBuzz’s own font
579 loading functions (ot) instead of FreeType ones (ft). They also have a new
580 option, --font-slant, to apply synthetic slant to the font. (Behdad Esfahbod)
581- HarfBuzz now supports more than 65535 (the OpenType limit) glyph shapes and
582 metrics. See https://github.com/be-fonts/boring-expansion-spec/issues/6 and
583 https://github.com/be-fonts/boring-expansion-spec/issues/7 for details.
584 (Behdad Esfahbod)
585- New API to get the dominant horizontal baseline tag for a given script.
586 (Behdad Esfahbod)
587- New API to get the baseline positions from the font, and synthesize missing
588 ones. As well as new API to get font metrics and synthesize missing ones.
589 (Matthias Clasen)
590- Improvements to finding dependencies on Windows when building with Visual
591 Studio. (Chun-wei Fan)
592- New buffer flag, HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT, that must be set
593 during shaping for HB_GLYPH_FLAG_UNSAFE_TO_CONCAT flag to be reliably
594 produced. This is to limit the performance hit of producing this flag to when
595 it is actually needed. (Behdad Esfahbod)
596- Documentation improvements. (Matthias Clasen)
597
598- New API
599 - General:
600 +HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT
601 +hb_var_num_t
602
603 - Draw:
604 +hb_draw_funcs_t
Khaled Hosny75639522022-03-02 12:56:33 +0200605 +hb_draw_funcs_create()
606 +hb_draw_funcs_reference()
607 +hb_draw_funcs_destroy()
608 +hb_draw_funcs_is_immutable()
609 +hb_draw_funcs_make_immutable()
Khaled Hosny8d1b0002022-03-01 21:27:32 +0200610 +hb_draw_move_to_func_t
Khaled Hosny75639522022-03-02 12:56:33 +0200611 +hb_draw_funcs_set_move_to_func()
Khaled Hosny8d1b0002022-03-01 21:27:32 +0200612 +hb_draw_line_to_func_t
Khaled Hosny75639522022-03-02 12:56:33 +0200613 +hb_draw_funcs_set_line_to_func()
Khaled Hosny8d1b0002022-03-01 21:27:32 +0200614 +hb_draw_quadratic_to_func_t
Khaled Hosny75639522022-03-02 12:56:33 +0200615 +hb_draw_funcs_set_quadratic_to_func()
Khaled Hosny8d1b0002022-03-01 21:27:32 +0200616 +hb_draw_cubic_to_func_t
Khaled Hosny75639522022-03-02 12:56:33 +0200617 +hb_draw_funcs_set_cubic_to_func()
Khaled Hosny8d1b0002022-03-01 21:27:32 +0200618 +hb_draw_close_path_func_t
Khaled Hosny75639522022-03-02 12:56:33 +0200619 +hb_draw_funcs_set_close_path_func()
Khaled Hosny8d1b0002022-03-01 21:27:32 +0200620 +hb_draw_state_t
621 +HB_DRAW_STATE_DEFAULT
Khaled Hosny75639522022-03-02 12:56:33 +0200622 +hb_draw_move_to()
623 +hb_draw_line_to()
624 +hb_draw_quadratic_to()
625 +hb_draw_cubic_to()
626 +hb_draw_close_path()
Khaled Hosny8d1b0002022-03-01 21:27:32 +0200627 +hb_font_get_glyph_shape_func_t
628 +hb_font_funcs_set_glyph_shape_func()
629 +hb_font_get_glyph_shape()
630
631 - OpenType layout
632 +HB_OT_LAYOUT_BASELINE_TAG_IDEO_FACE_CENTRAL
633 +HB_OT_LAYOUT_BASELINE_TAG_IDEO_EMBOX_CENTRAL
634 +hb_ot_layout_get_horizontal_baseline_tag_for_script()
Khaled Hosny75639522022-03-02 12:56:33 +0200635 +hb_ot_layout_get_baseline_with_fallback()
Khaled Hosny8d1b0002022-03-01 21:27:32 +0200636
637 - Metrics:
Khaled Hosny75639522022-03-02 12:56:33 +0200638 +hb_ot_metrics_get_position_with_fallback()
Khaled Hosny8d1b0002022-03-01 21:27:32 +0200639
640 - Subset:
641 +hb_subset_plan_t
Khaled Hosny75639522022-03-02 12:56:33 +0200642 +hb_subset_plan_create_or_fail()
643 +hb_subset_plan_reference()
644 +hb_subset_plan_destroy()
645 +hb_subset_plan_set_user_data()
646 +hb_subset_plan_get_user_data()
647 +hb_subset_plan_execute_or_fail()
648 +hb_subset_plan_unicode_to_old_glyph_mapping()
649 +hb_subset_plan_new_to_old_glyph_mapping()
650 +hb_subset_plan_old_to_new_glyph_mapping()
Khaled Hosny8d1b0002022-03-01 21:27:32 +0200651
652
Khaled Hosny0a129962022-02-13 00:30:50 +0200653Overview of changes leading to 3.4.0
654Sunday, February 13, 2022
655====================================
656- Perform sanity checks on shaping results is now part of “harfbuzz” library
657 and can be enabled by setting the buffer flag HB_BUFFER_FLAG_VERIFY.
658 (Behdad Esfahbod)
659- Arabic Mark Transient Reordering Algorithm have been updated to revision 6.
660 (Khaled Hosny)
661- ISO 15924 code for mathematical notation, ‘Zmth’, now maps to the OpenType
662 ‘math’ tag. (Alexis King)
663- It is now possible to get at once all math kerning values for a given glyph
664 at a given corner. (Alexis King)
Khaled Hosnydb04af22022-02-13 00:33:12 +0200665- Fix locale_t portability issues on systems the typedef’s it to a void
666 pointer. (Behdad Esfahbod)
Khaled Hosny0a129962022-02-13 00:30:50 +0200667
668- New API:
669+HB_BUFFER_FLAG_VERIFY
670+HB_OT_TAG_MATH_SCRIPT
671+HB_SCRIPT_MATH
672+hb_ot_math_kern_entry_t
Khaled Hosny8d1b0002022-03-01 21:27:32 +0200673+hb_ot_math_get_glyph_kernings()
Khaled Hosny0a129962022-02-13 00:30:50 +0200674
675- Deprecated API
676+HB_OT_MATH_SCRIPT
677
678
Khaled Hosnyac46c322022-02-06 15:41:18 +0200679Overview of changes leading to 3.3.2
680Sunday, February 6, 2022
681====================================
682- Revert splitting of pair positioning values introduced in 3.3.0 as it proved
683 problematic. (Behdad Esfahbod)
684
685
Khaled Hosny45df2592022-01-31 23:06:10 +0200686Overview of changes leading to 3.3.1
687Monday, January 31, 2022
688====================================
689- Fix heap-use-after-free in harfbuzz-subset introduced in previous release.
690 (Garret Rieger)
691
692
Khaled Hosny98da3302022-01-31 18:12:01 +0200693Overview of changes leading to 3.3.0
694Monday, January 31, 2022
695====================================
Khaled Hosny45df2592022-01-31 23:06:10 +0200696- Improved documentation. (Matthias Clasen)
697- Internal code cleanup, using C++ standard library more. (Behdad Esfahbod)
Khaled Hosny98da3302022-01-31 18:12:01 +0200698- The low 16-bits of face index will be used by hb_face_create() to select a
699 face inside a font collection file format, while the high 16-bits will be
Khaled Hosny45df2592022-01-31 23:06:10 +0200700 used by hb_font_create() to load the named instance. (Behdad Esfahbod)
Khaled Hosny98da3302022-01-31 18:12:01 +0200701- Glyph positions and other font metrics now apply synthetic slant set by
702 hb_font_set_synthetic_slant(), for improved positioning for synthetically
Khaled Hosny45df2592022-01-31 23:06:10 +0200703 slanted fonts. (Behdad Esfahbod)
Khaled Hosny98da3302022-01-31 18:12:01 +0200704- Fixed unintentional locale dependency in hb_variation_to_string() for decimal
Khaled Hosny45df2592022-01-31 23:06:10 +0200705 point representation. (Matthias Clasen)
Khaled Hosny98da3302022-01-31 18:12:01 +0200706- When applying pair positioning (kerning) the positioning value is split
707 between the two sides of the pair for improved cursor positioning between
Khaled Hosny45df2592022-01-31 23:06:10 +0200708 such pairs. (Behdad Esfahbod)
Khaled Hosny98da3302022-01-31 18:12:01 +0200709- Introduced new HB_GLYPH_FLAG_UNSAFE_TO_CONCAT, to be used in conjunction
710 with HB_GLYPH_FLAG_UNSAFE_TO_BREAK for optimizing re-shaping during line
Khaled Hosny45df2592022-01-31 23:06:10 +0200711 breaking. Check the documentation for further details. (Behdad Esfahbod)
Khaled Hosny98da3302022-01-31 18:12:01 +0200712- Improved handling of macrolanguages when mapping BCP 47 codes to OpenType
Khaled Hosny45df2592022-01-31 23:06:10 +0200713 tags. (David Corbett)
Khaled Hosny98da3302022-01-31 18:12:01 +0200714
715- New API:
716+HB_GLYPH_FLAG_UNSAFE_TO_CONCAT
717+hb_segment_properties_overlay()
718+hb_buffer_create_similar()
719+hb_font_set_synthetic_slant()
720+hb_font_get_synthetic_slant()
721+hb_font_get_var_coords_design()
722
723
Khaled Hosnybe91d292021-12-12 04:45:54 +0200724Overview of changes leading to 3.2.0
725Friday, November 26, 2021
726====================================
Khaled Hosnybe91d292021-12-12 04:45:54 +0200727“harfbuzz” library improvements:
728- Fixed shaping of Apple Color Emoji flags in right-to-left context. (Behdad Esfahbod)
729- Fixed positioning of CFF fonts in HB_TINY profile. (Behdad Esfahbod)
730- OpenType 1.9 language tags update. (David Corbett)
731- Add HB_NO_VERTICAL config option.
732- Add HB_CONFIG_OVERRIDE_H for easier configuration. (Behdad Esfahbod)
733
734“harfbuzz-subset” library improvements:
735- Improved packing of cmap, loca, and Ligature tables. (Garret Rieger)
736- Significantly improved overflow-resolution strategy in the repacker. (Garret Rieger)
737
738
Khaled Hosny8aed5c22021-11-26 17:54:18 +0200739Overview of changes leading to 3.1.2
740Friday, November 26, 2021
741====================================
742- hb-shape / hb-view: revert treating text on the commandline as single
743 paragraph (was introduced in 3.0.0); add new --single-par to do that.
744 (Behdad Esfahbod)
745- Subsetter bug fixes. (Garret Rieger, Qunxin Liu, Behdad Esfahbod)
746
747
Khaled Hosnycd5c6cd2021-11-08 06:59:55 +0200748Overview of changes leading to 3.1.1
749Wednesday, November 8, 2021
750====================================
751- Work around GCC cast-align error/warning on some platforms. (Behdad Esfahbod)
752- Documentation improvements. (Matthias Clasen)
753
754
Khaled Hosny77eeec52021-11-03 23:31:03 +0200755Overview of changes leading to 3.1.0
756Wednesday, November 3, 2021
757====================================
758- Better offset-overflow handling in the subsetter library. (Garret Rieger)
759- Improved Unicode 14 properties in the USE shaper, and various other USE
760 shaper fixes. (David Corbett)
761- MATH and COLR v1 tables subsetting support, and various other subsetter fixes.
762 (Qunxin Liu)
763- Support for Pwo Karen / Ason Chin medial la. (Simon Cozens)
764- Apply GPOS positioning when substituting with morx table, if kerx is missing.
765 (Behdad Esfahbod)
766- Apply calt and clig features across syllable boundaries in Indic shaper.
767 (Behdad Esfahbod)
768- meson option for enabling Graphite 2 has been renamed to graphite2.
769- Build and documentation fixes.
770
771- New API:
772+hb_buffer_set_not_found_glyph()
773+hb_buffer_get_not_found_glyph()
774
775
Khaled Hosny9c387e22021-09-17 21:32:30 +0200776Overview of changes leading to 3.0.0
777Friday, September 17, 2021
778====================================
779- Unicode 14.0 support (David Corbett).
780- The hb-subset API and the harfbuzz-subset library's ABI are now declared
781 stable. The harfbuzz-subset library would not have been possible without the
782 work of Garret Rieger and Qunxin Liu from Google Fonts, and the earlier work
783 of Michiharu Ariza from Adobe.
784- The hb-style API is now stable and no longer experimental.
785
786- New API:
787+hb_style_tag_t
788+hb_style_get_value()
789+hb_subset_input_t
790+hb_subset_flags_t
791+hb_subset_sets_t
792+hb_subset_input_create_or_fail()
793+hb_subset_input_reference()
794+hb_subset_input_destroy()
795+hb_subset_input_set_user_data()
796+hb_subset_input_get_user_data()
797+hb_subset_input_unicode_set()
798+hb_subset_input_glyph_set()
799+hb_subset_input_set()
800+hb_subset_input_get_flags()
801+hb_subset_input_set_flags()
802+hb_subset_or_fail()
803
804- Removed old unstable harfbuzz-subset API:
805-hb_subset_input_nameid_set()
806-hb_subset_input_namelangid_set()
807-hb_subset_input_layout_features_set()
808-hb_subset_input_no_subset_tables_set()
809-hb_subset_input_drop_tables_set()
810-hb_subset_input_set_drop_hints()
811-hb_subset_input_get_drop_hints()
812-hb_subset_input_set_desubroutinize()
813-hb_subset_input_get_desubroutinize()
814-hb_subset_input_set_retain_gids()
815-hb_subset_input_get_retain_gids()
816-hb_subset_input_set_name_legacy()
817-hb_subset_input_get_name_legacy()
818-hb_subset_input_set_overlaps_flag()
819-hb_subset_input_get_overlaps_flag()
820-hb_subset_input_set_notdef_outline()
821-hb_subset_input_get_notdef_outline()
822-hb_subset_input_set_no_prune_unicode_ranges()
823-hb_subset_input_get_no_prune_unicode_ranges()
824-hb_subset()
825
826
Khaled Hosny505df5a2021-09-07 13:46:08 +0200827Overview of changes leading to 2.9.1
828Tuesday, September 7, 2021
829====================================
830- Final subset API is in place and if no issues are discovered, it will be the
831 stable subset API of HarfBuzz 3.0.0. Old API is kept to ease transition, but
832 will be removed in 3.0.0.
833- Various fuzzer-found bug fixes.
834- hb_buffer_append() now handles the pre- and post-context which previously
835 were left unchanged in the destination buffer.
836- hb-view / hb-shape now accept following new arguments:
Khaled Hosny48c98692021-09-07 13:57:44 +0200837 o --unicodes-before/after: takes a list of hex numbers that represent Unicode
Khaled Hosny505df5a2021-09-07 13:46:08 +0200838 codepoints.
839- Undeprecated API:
840 hb_set_invert()
841
842
Khaled Hosny9aa6f8a2021-08-18 09:32:04 +0200843Overview of changes leading to 2.9.0
844Wednesday, August 18, 2021
845History Repeats Itself (Afghanistan)
846====================================
847- Subsetter API is being stabilized, with the first stable API to happen in
848 3.0.0 release (https://github.com/harfbuzz/harfbuzz/issues/3078).
849- Support multiple variation axes with same tag, aka HOI.
850- The “coretext” testing shaper now passes font variations to CoreText.
851- hb-shape/hb-view does not break line at new lines unless text is read from
852 file.
853- hb-view and hb-subset has a --batch now, similar to hb-shape.
854- The --batch mode now uses ; as argument separator instead of : used previously.
855- The --batch in hb-shape does not expect 0th argument anymore. That is, the
856 lines read are interpreted as argv[1:], instead of argv[0:].
857- The --batch option has been undocumented. We are ready to document it; send
858 feedback if you find it useful.
859- hb-subset got arguments revamps. Added much-requested --gids-file, --glyphs,
860 --glyphs-file, --unicodes-file, supporting ranges in --unicodes.
861- Various bug fixes.
862
Khaled Hosny505df5a2021-09-07 13:46:08 +0200863
Khaled Hosny63e15ea2021-07-08 22:46:33 +0200864Overview of changes leading to 2.8.2
865Tuesday, July 8, 2021
866====================================
867- Shaping LTR digits for RTL scripts now makes the native direction of the
868 digits LTR, applying shaping and positioning rules on the same glyph order as
869 Uniscribe. (Jonathan Kew, Khaled Hosny).
870- Subsetting COLR v1 and CPAL tables is now supported. (Garret Rieger, Qunxin Liu)
871- Various fixes and improvements to the subsetter. (Garret Rieger, Qunxin Liu, Behdad)
872- When applying morx table, mark glyph widths should not be zeroed. (Jonathan Kew)
873- GPOS is preferred over kerx, if GSUB was applied. (Behdad)
874- Regional_Indicator pairs are grouped together when clustering. (Behdad)
875- New API:
876+hb_blob_create_or_fail()
877+hb_blob_create_from_file_or_fail()
878+hb_set_copy()
879
Khaled Hosny505df5a2021-09-07 13:46:08 +0200880
Khaled Hosnyb37f03f2021-05-04 02:07:06 +0200881Overview of changes leading to 2.8.1
882Tuesday, May 4, 2021
883====================================
884- Subsetter now fully supports GSUB/GPOS/GDEF tables (including variations); as
885 such, layout tables are retained by subsetter by default. (Garret Rieger, Qunxin Liu)
886- Build scripts no longer check for FontConfig as HarfBuzz does not use it.
887- hb-view supports iTerm2 and kitty inline image protocols (Khaled Hosny),
888 it can also use Chafa for terminal graphics if available (Hans Petter Jansson).
889
Khaled Hosny03538e82021-03-16 19:28:35 +0200890Overview of changes leading to 2.8.0
891Tuesday, March 16, 2021
892====================================
893- Shape joining scripts other than Arabic/Syriac using the Universal Shaping Engine.
894 Previously these were shaped using the generalized Arabic shaper. (David Corbett)
895- Fix regression in shaping of U+0B55 ORIYA SIGN OVERLINE. (David Corbett)
896- Update language tags. (David Corbett)
897- Variations: reduce error: do not round each interpolated delta. (Just van Rossum)
898- Documentation improvements. (Khaled Hosny, Nathan Willis)
899- Subsetter improvements: subsets most, if not all, lookup types now. (Garret Rieger, Qunxin Liu)
900- Fuzzer-found fixes and other improvements when memory failures happen. (Behdad)
901- Removed most atomic implementations now that we have C++11 atomic impl. (Behdad)
902- General codebase upkeep; using more C++11 features: constexpr constructors, etc. (Behdad)
903
904
Khaled Hosny7236c7e2020-12-27 01:59:00 +0200905Overview of changes leading to 2.7.4
906Sunday, December 27, 2020
907====================================
908- Fix missing --enable-introspection configure option from previous release
909 tarball.
910- Documentation updates.
911
Khaled Hosny505df5a2021-09-07 13:46:08 +0200912
Khaled Hosny71a3b542020-12-23 15:33:15 +0200913Overview of changes leading to 2.7.3
914Wednesday, December 23, 2020
915====================================
916- Update USE shaper to 2020-08-13 specification, and other improvements.
917- Don’t disable liga feature in myanmar shaper, to match Uniscribe.
918- Improvements to language and script tags handling.
919- Update language system tag registry to OpenType 1.8.4
920- Support for serializing and deserializing Unicode buffers. Serialized buffers
921 are now delimited with `<>` or `[]` based on whether it is a Unicode or
922 glyphs buffer.
923- Increase buffer work limits to handle fonts with many complex lookups.
924- Handle more shaping operations in trace output.
925- Memory access fixes.
926- More OOM fixes.
927- Improved documentation.
928- Build system improvements.
929- New API:
930+hb_buffer_has_positions()
931+hb_buffer_serialize()
932+hb_buffer_serialize_unicode()
933+hb_buffer_deserialize_unicode()
934
935
Khaled Hosny9c98b2b2020-08-29 00:39:42 +0200936Overview of changes leading to 2.7.2
937Saturday, August 29, 2020
938====================================
939- Fix a regression in the previous release that caused a crash with Kaithi.
940- More OOM fixes.
941
942
Ebrahim Byagowi05ef75c2020-08-13 20:52:03 +0430943Overview of changes leading to 2.7.1
Khaled Hosny9c98b2b2020-08-29 00:39:42 +0200944Thursday, August 13, 2020
Ebrahim Byagowi05ef75c2020-08-13 20:52:03 +0430945====================================
946- ot-funcs now handles variable empty glyphs better when hvar/vvar isn't present.
947- Reverted a GDEF processing regression.
948- A couple of fixes to handle OOM better.
949
950
Ebrahim Byagowia01c7a32020-07-25 12:27:31 +0430951Overview of changes leading to 2.7.0
952Saturday, July 25, 2020
953====================================
954- Use an implementation for round that always rounds up, some minor fluctuations
955 are expected on var font specially when hb-ot callback is used.
956- Fix an AAT's `kerx` issue on broken rendering of Devanagari Sangam MN.
957- Remove AAT's `lcar` table support from _get_ligature_carets API, not even much
958 use on macOS installed fonts (only two files). GDEF support is the recommended
959 one and expected to work properly after issues fixed two releases ago.
960- Minor memory fixes to handle OOM better specially in hb-ft.
961- Minor .so files versioning scheme change and remove stable/unstable scheme
962 differences, was never used in practice (always default to stable scheme).
963- We are now suggesting careful packaging of the library using meson,
964 https://github.com/harfbuzz/harfbuzz/wiki/Notes-on-migration-to-meson
965 for more information.
966- Distribution package URL is changed, either use GitHub generated tarballs,
967 `https://github.com/harfbuzz/harfbuzz/archive/$pkgver.tar.gz`
968 or, even more preferably use commit hash of the release and git checkouts like,
969 `git+https://github.com/harfbuzz/harfbuzz#commit=$commit`
970
971
Ebrahim Byagowie4203c12020-06-22 05:03:27 +0430972Overview of changes leading to 2.6.8
973Monday, June 22, 2020
974====================================
975- New API to fetch glyph alternates from GSUB table.
976- hb-coretext build fix for macOS < 10.10.
977- Meson build fixes, cmake port removal is postponed but please prepare for
978 it and give us feedback.
979 Autotools is still our main build system however please consider
980 experimenting with meson also for packaging the library.
981- New API:
982+hb_ot_layout_lookup_get_glyph_alternates()
983
984
Ebrahim Byagowifb46a322020-06-03 12:54:26 +0430985Overview of changes leading to 2.6.7
986Wednesday, June 3, 2020
987====================================
988- Update to Unicode 13.0.0.
989- Fix hb_ot_layout_get_ligature_carets for fonts without lcar table, it was
990 completely broken for all the other fonts since 2.1.2.
991- As a part of our migration to meson, this release will be the last one
992 to provide cmake port files but autotools still is our main build system.
993 There is a possibility that the next version or the after be released
994 using meson.
995
996
Ebrahim Byagowi42025682020-05-12 00:14:33 +0430997Overview of changes leading to 2.6.6
998Tuesday, May 12, 2020
999====================================
1000- A fix in AAT kerning for Geeza Pro.
1001- Better support for resource fork fonts on macOS.
1002
1003
Ebrahim Byagowif9bc3732020-04-17 22:37:48 +04301004Overview of changes leading to 2.6.5
1005Friday, April 17, 2020
1006====================================
1007- Add experimental meson build system. Autotools is still the primary
1008 and supported build system.
1009- AAT is now always preferred for horizontal scripts when both AAT and OT
1010 layout tables exist at the same time.
1011- Subsetter improvements.
1012- New API:
1013+hb_ft_font_lock_face()
1014+hb_ft_font_unlock_face()
1015
1016
Behdad Esfahbod3a74ee52019-10-29 12:27:03 -07001017Overview of changes leading to 2.6.4
1018Monday, October 29, 2019
1019====================================
1020- Small bug fix.
1021- Build fixes.
1022
1023
Behdad Esfahbodce11df12019-10-28 14:45:31 -07001024Overview of changes leading to 2.6.3
1025Monday, October 28, 2019
1026====================================
1027- Misc small fixes, mostly to build-related issues.
1028- New API:
1029+hb_font_get_nominal_glyphs()
1030
1031
Behdad Esfahbode48ef082019-09-30 12:39:06 -07001032Overview of changes leading to 2.6.2
1033Monday, September 30, 2019
1034====================================
1035- Misc small fixes, mostly to build-related issues.
1036
1037
Behdad Esfahbodbe97e9d2019-08-22 15:52:24 -07001038Overview of changes leading to 2.6.1
1039Thursday, August 22, 2019
1040====================================
1041- Fix regression with hb_font_create_sub_font scaling introduced in 2.6.0.
1042- Change interpretation of font PTEM size / CoreText font size handling.
1043 See https://github.com/harfbuzz/harfbuzz/pull/1484
1044- hb-ot-font: Prefer symbol cmap subtable if present.
1045- Apply 'dist'/'abvm'/'blwm' features to all scripts.
1046- Drop experimental DirectWrite API.
1047
1048
Behdad Esfahbod64611432019-08-13 22:20:54 -07001049Overview of changes leading to 2.6.0
1050Tuesday, August 13, 2019
1051====================================
1052- New OpenType metrics, baseline, and metadata table access APIs.
1053- New API to set font variations to a named-instance.
1054- New hb-gdi.h header and API for creating hb_face_t from HFONT.
1055- Amalgam: Provide a single-file harfbuzz.cc file for easier alternate building.
1056- More size-reduction configurable options, enabled by HB_TINY.
1057- New API:
1058+hb_font_set_var_named_instance()
1059+hb_gdi_face_create()
1060+hb_ot_layout_baseline_tag_t
1061+hb_ot_layout_get_baseline()
1062+hb_ot_meta_tag_t
1063+hb_ot_meta_get_entry_tags()
1064+hb_ot_meta_reference_entry()
1065+hb_ot_metrics_tag_t
1066+hb_ot_metrics_get_position()
1067+hb_ot_metrics_get_variation()
1068+hb_ot_metrics_get_x_variation()
1069+hb_ot_metrics_get_y_variation()
1070
1071
Behdad Esfahbodb14e4132019-06-26 10:44:10 -07001072Overview of changes leading to 2.5.3
1073Wednesday, June 26, 2019
1074====================================
1075- Fix UCD script data for Unicode 10+ scripts. This was broken since 2.5.0.
1076- More optimizations for HB_TINY.
1077
1078
Behdad Esfahbod6b44bf82019-06-20 11:57:19 -07001079Overview of changes leading to 2.5.2
1080Thursday, June 20, 2019
1081====================================
1082- More hb-config.hh facilities to shrink library size, namely when built as
1083 HB_TINY.
1084- New documentation of custom configurations in CONFIG.md.
1085- Fix build on gcc 4.8. That's supported again.
1086- Universal Shaping Engine improvements thanks to David Corbett.
1087- API Changes: Undeprecate some horizontal-kerning API and re-enable in hb-ft,
1088 such that Type1 fonts will continue kerning.
1089
1090
Behdad Esfahbod93c45552019-05-31 22:53:27 -07001091Overview of changes leading to 2.5.1
1092Friday, May 31, 2019
1093====================================
1094- Fix build with various versions of Visual Studio.
1095- Improved documentation, thanks to Nathan Willis.
1096- Bugfix in subsetting glyf table.
1097- Improved scripts for cross-compiling for Windows using mingw.
1098- Rename HB_MATH_GLYPH_PART_FLAG_EXTENDER to HB_OT_MATH_GLYPH_PART_FLAG_EXTENDER.
1099 A deprecated macro is added for backwards-compatibility.
1100
1101
Behdad Esfahbod5fd3ece2019-05-24 15:56:15 -04001102Overview of changes leading to 2.5.0
1103Friday, May 24, 2019
1104====================================
1105- This release does not include much functional changes, but includes major internal
1106 code-base changes. We now require C++11. Support for gcc 4.8 and earlier has been
1107 dropped.
1108- New hb-config.hh facility for compiling smaller library for embedded and web usecases.
luz paze2e30502022-01-16 07:00:53 -05001109- New Unicode Character Database implementation that is half the size of previously-used
Behdad Esfahbod5fd3ece2019-05-24 15:56:15 -04001110 UCDN.
1111- Subsetter improvements.
1112- Improved documentation, thanks to Nathan Willis.
1113- Misc shaping fixes.
1114
1115
Behdad Esfahbodd6fc1d42019-03-28 21:21:26 -07001116Overview of changes leading to 2.4.0
1117Monday, March 25, 2019
1118====================================
1119- Unicode 12.
1120- Misc fixes.
1121- Subsetter improvements.
1122- New API:
1123HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE
1124hb_directwrite_face_create()
1125
1126
Behdad Esfahbod55d1d7c2019-01-30 13:54:15 -08001127Overview of changes leading to 2.3.1
1128Wednesday, January 30, 2019
1129====================================
1130- AAT bug fixes.
1131- Misc internal housekeeping cleanup.
1132
1133
Behdad Esfahbod4941e952018-12-20 21:48:57 -05001134Overview of changes leading to 2.3.0
1135Thursday, December 20, 2018
1136====================================
1137- Fix regression on big-endian architectures. Ouch!
1138- Misc bug and build fixes.
1139- Fix subsetting of simple GSUB/GDEF.
1140- Merge CFF / CFF2 support contributed by Adobe. This mostly involves
1141 the subsetter, but also get_glyph_extents on CFF fonts.
1142
1143New API in hb-aat.h:
1144+hb_aat_layout_has_substitution()
1145+hb_aat_layout_has_positioning()
1146+hb_aat_layout_has_tracking()
1147
1148
Behdad Esfahboddc41ece2018-11-29 11:53:53 -05001149Overview of changes leading to 2.2.0
1150Thursday, November 29, 2018
1151====================================
1152- Misc shaping bug fixes.
1153- Add font variations named-instance API.
1154- Deprecate font variations axis enumeration API and add replacement.
1155- AAT shaping improvements:
1156 o Fixed 'kern' table Format 2 implementation.
1157 o Implement 'feat' table API for feature detection.
1158 o Blacklist 'GSUB' table of fonts from 'MUTF' foundry that also have 'morx'.
1159
1160New API:
1161+hb_aat_layout_feature_type_t
1162+hb_aat_layout_feature_selector_t
1163+hb_aat_layout_get_feature_types()
1164+hb_aat_layout_feature_type_get_name_id
1165+hb_aat_layout_feature_selector_info_t
1166+HB_AAT_LAYOUT_NO_SELECTOR_INDEX
1167+hb_aat_layout_feature_type_get_selector_infos()
1168+hb_ot_var_axis_flags_t
1169+hb_ot_var_axis_info_t
1170+hb_ot_var_get_axis_infos()
1171+hb_ot_var_find_axis_info()
1172+hb_ot_var_get_named_instance_count()
1173+hb_ot_var_named_instance_get_subfamily_name_id()
1174+hb_ot_var_named_instance_get_postscript_name_id()
1175+hb_ot_var_named_instance_get_design_coords()
1176
1177Deprecated API:
1178+HB_OT_VAR_NO_AXIS_INDEX
1179+hb_ot_var_axis_t
1180+hb_ot_var_get_axes()
1181+hb_ot_var_find_axis()
1182
1183
Behdad Esfahbode3a1a832018-11-16 16:53:25 -08001184Overview of changes leading to 2.1.3
1185Friday, November 16, 2018
1186====================================
1187- Fix AAT 'mort' shaping, which was broken in 2.1.2
1188
1189
Behdad Esfahbodfdb29ab2018-11-16 15:38:11 -08001190Overview of changes leading to 2.1.2
1191Friday, November 16, 2018
1192====================================
1193- Various internal changes.
1194- AAT shaping improvements:
1195 o Implement kern table Format 1 state-machine-based kerning.
1196 o Implement cross-stream kerning (cursive positioning, etc).
1197 o Ignore emptyish GSUB tables (zero scripts) if morx present.
1198 o Don't apply GPOS if morx is being applied. Matches Apple.
1199
1200
1201-Overview of changes leading to 2.1.1
Behdad Esfahbod8be74d82018-11-05 18:47:22 -05001202Monday, November 5, 2018
1203====================================
1204- AAT improvements:
1205 o Implement 'mort' table.
1206 o Implement 'kern' subtables Format 1 and Format 3.
1207
1208
Behdad Esfahbod10193912018-10-30 15:52:26 -07001209Overview of changes leading to 2.1.0
1210Tuesday, October 30, 2018
1211====================================
1212- AAT shaping improvements:
1213 o Allow user controlling AAT features, for whole buffer only currently.
1214 o Several 'morx' fixes.
1215 o Implement tuple-kerns in 'kerx'; Fixes kerning with Apple default
1216 San Francisco fonts.
1217- Support for color fonts:
1218 o COLR/CPAL API to fetch color layers.
1219 o SVG table to fetch SVG documents.
1220 o CBDT/sbix API to fetch PNG images.
1221- New 'name' table API.
1222- hb-ot-font now uses 'VORG' table to correctly position CFF glyphs
1223 in vertical layout.
1224- Various fuzzer-found bug fixes.
1225
1226Changed API:
1227
1228A type and a macro added in 2.0.0 were renamed:
1229
1230hb_name_id_t -> hb_ot_name_id_t
1231HB_NAME_ID_INVALID -> HB_OT_NAME_ID_INVALID
1232
1233New API:
1234
1235+hb_color_t
1236+HB_COLOR
1237+hb_color_get_alpha()
1238+hb_color_get_red()
1239+hb_color_get_green()
1240+hb_color_get_blue()
1241+hb_ot_color_has_palettes()
1242+hb_ot_color_palette_get_count()
1243+hb_ot_color_palette_get_name_id()
1244+hb_ot_color_palette_color_get_name_id()
1245+hb_ot_color_palette_flags_t
1246+hb_ot_color_palette_get_flags()
1247+hb_ot_color_palette_get_colors()
1248+hb_ot_color_has_layers()
1249+hb_ot_color_layer_t
1250+hb_ot_color_glyph_get_layers()
1251+hb_ot_color_has_svg()
1252+hb_ot_color_glyph_reference_svg()
1253+hb_ot_color_has_png()
1254+hb_ot_color_glyph_reference_png()
1255
1256+hb_ot_name_id_t
1257+HB_OT_NAME_ID_INVALID
1258+HB_OT_NAME_ID_COPYRIGHT
1259+HB_OT_NAME_ID_FONT_FAMILY
1260+HB_OT_NAME_ID_FONT_SUBFAMILY
1261+HB_OT_NAME_ID_UNIQUE_ID
1262+HB_OT_NAME_ID_FULL_NAME
1263+HB_OT_NAME_ID_VERSION_STRING
1264+HB_OT_NAME_ID_POSTSCRIPT_NAME
1265+HB_OT_NAME_ID_TRADEMARK
1266+HB_OT_NAME_ID_MANUFACTURER
1267+HB_OT_NAME_ID_DESIGNER
1268+HB_OT_NAME_ID_DESCRIPTION
1269+HB_OT_NAME_ID_VENDOR_URL
1270+HB_OT_NAME_ID_DESIGNER_URL
1271+HB_OT_NAME_ID_LICENSE
1272+HB_OT_NAME_ID_LICENSE_URL
1273+HB_OT_NAME_ID_TYPOGRAPHIC_FAMILY
1274+HB_OT_NAME_ID_TYPOGRAPHIC_SUBFAMILY
1275+HB_OT_NAME_ID_MAC_FULL_NAME
1276+HB_OT_NAME_ID_SAMPLE_TEXT
1277+HB_OT_NAME_ID_CID_FINDFONT_NAME
1278+HB_OT_NAME_ID_WWS_FAMILY
1279+HB_OT_NAME_ID_WWS_SUBFAMILY
1280+HB_OT_NAME_ID_LIGHT_BACKGROUND
1281+HB_OT_NAME_ID_DARK_BACKGROUND
1282+HB_OT_NAME_ID_VARIATIONS_PS_PREFIX
1283+hb_ot_name_entry_t
1284+hb_ot_name_list_names()
1285+hb_ot_name_get_utf8()
1286+hb_ot_name_get_utf16()
1287+hb_ot_name_get_utf32()
1288
1289
Behdad Esfahbod0a3b7a02018-10-20 13:14:07 -07001290Overview of changes leading to 2.0.2
1291Saturday, October 20, 2018
1292====================================
1293- Fix two minor memory access issues in AAT tables.
1294
1295
Behdad Esfahbod7c2c8ac2018-10-19 19:37:46 -07001296Overview of changes leading to 2.0.1
1297Friday, October 19, 2018
1298====================================
1299- Fix hb-version.h reported release version that went wrong (1.8.0)
1300 with previous release.
1301- Fix extrapolation in 'trak' table.
1302- Fix hb-font infinite-recursion issue with some font funcs and
1303 subclassed fonts.
1304- Implement variation-kerning format in kerx table, although without
1305 variation.
1306- Fix return value of hb_map_is_empty().
1307
1308
Behdad Esfahbod3d9a0302018-10-18 05:58:17 -07001309Overview of changes leading to 2.0.0
Behdad Esfahbod7c2c8ac2018-10-19 19:37:46 -07001310Thursday, October 18, 2018
Behdad Esfahbod3d9a0302018-10-18 05:58:17 -07001311====================================
1312- Added AAT shaping support (morx/kerx/trak).
1313 Automatically used if GSUB/GPOS are not available respectively.
1314 Set HB_OPTIONS=aat env var to have morx/kerx preferred over
1315 GSUB/GPOS.
1316- Apply TrueType kern table internally, instead of relying on
1317 hb_font_t callbacks.
1318- Khmer shaper significantly rewritten to better match Uniscribe.
1319- Indic3 tags ('dev3', etc) are passed to USE shaper.
1320- .dfont Mac font containers implemented.
1321- Script- and language-mapping revamped to better use BCP 47.
1322- Misc USE and Indic fixes.
1323- Misc everything fixes.
1324- Too many things to list. Biggest release since 0.9.1, with
1325 over 500 commits in just over 5 weeks! Didn't intend it to
1326 be a big release. Just happened to become.
1327- hb-ft now locks underlying FT_Face during use.
1328
1329API changes:
1330
1331- Newly-created hb_font_t's now have our internal "hb-ot-font"
1332 callbacks set on them, so they should work out of the box
1333 without any callbacks set. If callbacks are set, everything
1334 is back to what it was before, the fallback callbacks are
1335 null. If you to get the internal implementation modified,
1336 sub_font it.
1337
1338- New hb_font_funcs_set_nominal_glyphs_func() allows speeding
1339 up character to glyph mapping.
1340
1341New API:
1342+HB_FEATURE_GLOBAL_START
1343+HB_FEATURE_GLOBAL_END
1344+hb_buffer_set_invisible_glyph()
1345+hb_buffer_get_invisible_glyph()
1346+hb_font_funcs_set_nominal_glyphs_func()
1347+hb_ot_layout_table_select_script()
1348+hb_ot_layout_script_select_language()
1349+hb_ot_layout_feature_get_name_ids()
1350+hb_ot_layout_feature_get_characters()
1351+hb_name_id_t
1352+HB_NAME_ID_INVALID
1353+HB_OT_MAX_TAGS_PER_SCRIPT
1354+hb_ot_tags_from_script_and_language()
1355+hb_ot_tags_to_script_and_language()
1356
1357Deprecated API:
1358-hb_font_funcs_set_glyph_func()
1359-hb_unicode_eastasian_width_func_t
1360-hb_unicode_funcs_set_eastasian_width_func()
1361-hb_unicode_eastasian_width()
1362-hb_unicode_decompose_compatibility_func_t
1363-HB_UNICODE_MAX_DECOMPOSITION_LEN
1364-hb_unicode_funcs_set_decompose_compatibility_func()
1365-hb_unicode_decompose_compatibility()
1366-hb_font_funcs_set_glyph_h_kerning_func()
1367-hb_font_funcs_set_glyph_v_kerning_func()
1368-hb_font_get_glyph_h_kerning()
1369-hb_font_get_glyph_v_kerning()
1370-hb_font_get_glyph_kerning_for_direction()
1371-hb_ot_layout_table_choose_script()
1372-hb_ot_layout_script_find_language()
1373-hb_ot_tags_from_script()
1374-hb_ot_tag_from_language()
1375
1376
Behdad Esfahbod54d332d2018-09-10 11:37:24 +02001377Overview of changes leading to 1.9.0
1378Monday, September 10, 2018
1379====================================
1380- Added 'cmap' API to hb_face_t.
1381- Face-builder API.
1382- hb-ot-font re-creation should be much leaner now, as the
1383 font tables it uses are cached on hb_face_t now.
1384- Internal source header file name changes:
1385 hb-*-private.hh is renamed to hb-*.hh.
1386
1387New API:
1388+HB_UNICODE_MAX
1389+hb_face_collect_unicodes()
1390+hb_face_collect_variation_selectors()
1391+hb_face_collect_variation_unicodes()
1392+hb_face_builder_create()
1393+hb_face_builder_add_table()
1394
1395
Behdad Esfahbod63be5dc2018-08-14 10:59:34 -07001396Overview of changes leading to 1.8.8
1397Tuesday, August 14, 2018
1398====================================
1399- Fix hb-icu crash on architectures where compare_exchange_weak() can
1400 fail falsely. This bug was introduced in 1.8.4.
1401 https://bugs.chromium.org/p/chromium/issues/detail?id=873568
1402- More internal refactoring of atomic operations and singletons.
1403- API changes:
1404 The following functions do NOT reference their return value before
1405 returning:
1406 * hb_unicode_funcs_get_default()
1407 * hb_glib_get_unicode_funcs()
1408 * hb_icu_get_unicode_funcs()
1409 This is consistent with their naming ("get", instead of "reference")
1410 as well as how they are used in the wild (ie. no one calls destroy()
1411 on their return value.)
1412
1413
Behdad Esfahbodb6fdcf42018-08-08 21:54:08 -07001414Overview of changes leading to 1.8.7
1415Wednesday, August 8, 2018
1416====================================
1417- Fix assertion failure with GDEF-blacklisted fonts.
1418
1419
Behdad Esfahbode49a38b2018-08-07 09:55:42 -07001420Overview of changes leading to 1.8.6
1421Tuesday, August 7, 2018
1422====================================
1423- Internal code shuffling.
1424- New API to speed up getting advance widths for implementations
1425 that have heavy overhead in get_h_advance callback:
1426+hb_font_funcs_set_glyph_h_advances_func
1427+hb_font_funcs_set_glyph_v_advances_func
1428+hb_font_get_glyph_advances_for_direction
1429+hb_font_get_glyph_h_advances
1430+hb_font_get_glyph_h_advances_func_t
1431+hb_font_get_glyph_v_advances
1432+hb_font_get_glyph_v_advances_func_t
1433
1434
Behdad Esfahbod44d1fb32018-08-01 14:51:51 -07001435Overview of changes leading to 1.8.5
1436Wednesday, August 1, 2018
1437====================================
1438- Major Khmer shaper improvements to better match Microsoft.
1439- Indic bug fixes.
1440- Internal improvements to atomic operations.
1441
1442
Behdad Esfahbod68310a62018-07-17 13:20:40 +02001443Overview of changes leading to 1.8.4
1444Tuesday, July 17, 2018
1445====================================
1446- Fix build on non-C++11.
1447- Use C++-style GCC atomics and C++11 atomics.
1448
1449
Behdad Esfahbod2b767672018-07-11 15:27:13 +02001450Overview of changes leading to 1.8.3
1451Wednesday, July 11, 2018
1452====================================
1453- A couple of Indic / USE bug fixes.
1454- Disable vectorization, as it was causing unaligned access bus error on
1455 certain 32bit architectures.
1456
1457
Behdad Esfahbod343e8c62018-07-03 12:43:59 +04301458Overview of changes leading to 1.8.2
1459Tuesday, July 3, 2018
1460====================================
1461- Fix infinite loop in Khmer shaper.
1462- Improve hb_blob_create_from_file() for streams.
1463
1464
Behdad Esfahbod3654d9b2018-06-12 19:38:04 -04001465Overview of changes leading to 1.8.1
1466Tuesday, June 12, 2018
1467====================================
1468- Fix hb-version.h file generation; last two releases went out with wrong ones.
1469- Add correctness bug in hb_set_t operations, introduced in 1.7.7.
1470- Remove HB_SUBSET_BUILTIN build option. Not necessary.
1471
Behdad Esfahbod343e8c62018-07-03 12:43:59 +04301472
Behdad Esfahbod37986aa2018-06-05 18:04:40 -07001473Overview of changes leading to 1.8.0
1474Tuesday, June 5, 2018
1475====================================
1476- Update to Unicode 11.0.0.
1477
Behdad Esfahbod3654d9b2018-06-12 19:38:04 -04001478
Behdad Esfahboddf01f3e2018-06-05 15:17:39 -07001479Overview of changes leading to 1.7.7
1480Tuesday, June 5, 2018
1481====================================
1482- Lots of internal changes, but not yet exposed externally.
1483- All HarfBuzz objects are significantly smaller in size now.
1484- Sinhala: Position repha on top of post-consonant, not base.
1485 This better matches Windows 10 behavior, which was changed
1486 from previous Windows versions.
1487- New build options:
1488 o New cpp macro HB_NO_ATEXIT
1489 o New cpp macro HB_SUBSET_BUILTIN
1490- Significant libharfbuzz-subset changes. API subject to change.
1491- New API in libharfbuzz:
1492
1493+hb_blob_create_from_file()
1494+hb_face_count()
1495
1496A hashmap implementation:
1497+hb-map.h
1498+HB_MAP_VALUE_INVALID
1499+hb_map_t
1500+hb_map_create()
1501+hb_map_get_empty()
1502+hb_map_reference()
1503+hb_map_destroy()
1504+hb_map_set_user_data()
1505+hb_map_get_user_data()
1506+hb_map_allocation_successful()
1507+hb_map_clear()
1508+hb_map_is_empty()
1509+hb_map_get_population()
1510+hb_map_set()
1511+hb_map_get()
1512+hb_map_del()
1513+hb_map_has()
1514
1515
Behdad Esfahbodff2f8142018-03-07 16:05:14 +01001516Overview of changes leading to 1.7.6
1517Wednesday, March 7, 2018
1518====================================
1519
1520- Fix to hb_set_t binary operations. Ouch.
1521- New experimental harfbuzz-subset library. All of hb-subset.h
1522 is experimental right now and API WILL change.
1523
1524- New API:
1525hb_blob_copy_writable_or_fail()
1526HB_OT_TAG_BASE
1527hb_set_previous()
1528hb_set_previous_range()
1529
1530
Behdad Esfahbodf0b700d2018-01-30 11:16:51 -08001531Overview of changes leading to 1.7.5
1532Tuesday, January 30, 2018
1533====================================
1534
1535- Separate Khmer shaper from Indic.
1536- First stab at AAT morx. Not hooked up.
1537- Misc bug fixes.
1538
1539
Behdad Esfahbod007a2a42017-12-20 12:09:00 -05001540Overview of changes leading to 1.7.4
1541Wednesday, December 20, 2017
1542====================================
1543
1544- Fix collect_glyphs() regression caused by hb_set_t changes.
1545
1546
Behdad Esfahbodb5bbb792017-12-18 09:18:51 -05001547Overview of changes leading to 1.7.3
1548Monday, December 18, 2017
1549====================================
1550
1551- hb_set_t performance tuning and optimizations.
1552- Speed up collect_glyphs() and reject garbage data.
1553- In hb_coretext_font_create() set font point-size (ptem).
1554- Misc fixes.
1555
1556
Behdad Esfahbod843f7f72017-12-04 08:52:39 -08001557Overview of changes leading to 1.7.2
1558Monday, December 4, 2017
1559====================================
1560
1561- Optimize hb_set_add_range().
1562- Misc fixes.
1563- New API:
1564hb_coretext_font_create()
1565
1566
Behdad Esfahbodf93c6f82017-11-14 11:09:19 -08001567Overview of changes leading to 1.7.1
1568Tuesday, November 14, 2017
1569====================================
1570
1571- Fix atexit object destruction regression.
1572- Fix minor integer-overflow.
1573
1574
Behdad Esfahbode5d70982017-11-13 09:42:37 -08001575Overview of changes leading to 1.7.0
1576Monday, November 13, 2017
1577====================================
1578
1579- Minor Indic fixes.
1580- Implement kerning and glyph names in hb-ot-font.
1581- Various DSO optimization re .data and .bss sizes.
1582- Make C++11 optional; build fixes.
1583- Mark all other backends "unsafe-to-break".
1584- Graphite fix.
1585
1586
Behdad Esfahbod223686d2017-10-26 12:52:02 -06001587Overview of changes leading to 1.6.3
1588Thursday, October 26th, 2017
1589====================================
1590
1591- Fix hb_set_t some more. Should be solid now.
1592- Implement get_glyph_name() for hb-ot-font.
1593- Misc fixes.
1594
1595
Behdad Esfahbod3b7388a2017-10-23 14:35:16 -04001596Overview of changes leading to 1.6.2
1597Monday, October 23nd, 2017
1598====================================
1599
1600- Yesterday's release had a bad crasher; don't use it. That's what
1601 happens when one works on Sunday...
ebraminio7c6937e2017-11-20 14:49:22 -05001602 https://github.com/harfbuzz/harfbuzz/issues/578
Behdad Esfahbod3b7388a2017-10-23 14:35:16 -04001603- Build fixes for FreeBSD and Chrome Android.
1604
1605
Behdad Esfahbod0ca915e2017-10-22 17:38:33 -04001606Overview of changes leading to 1.6.1
1607Sunday, October 22nd, 2017
1608====================================
1609
1610- Don't skip over COMBINING GRAPHEME JOINER when ligating, etc.
ebraminio7c6937e2017-11-20 14:49:22 -05001611 To be refined: https://github.com/harfbuzz/harfbuzz/issues/554
Behdad Esfahbod0ca915e2017-10-22 17:38:33 -04001612- Faster hb_set_t implementation.
1613- Don't use deprecated ICU API.
1614- Fix undefined-behavior in Myanmar shaper, introduced in 1.6.0
1615- Deprecated API:
1616 hb_set_invert()
1617
1618
Behdad Esfahbod25846cc2017-10-13 16:30:33 +02001619Overview of changes leading to 1.6.0
1620Friday, October the 13th, 2017
1621====================================
1622
1623- Update to Unicode 10.
1624
1625- Various Indic and Universal Shaping Engine fixes as a result of
1626 HarfBuzz Hackfest with Jonathan Kew at Web Engines Hackfest at
1627 the Igalia offices in A Coruña, Spain. Thanks Igalia for having
1628 us!
1629
1630- Implement Unicode Arabic Mark Ordering Algorithm UTR#53.
1631
1632- Implement optical sizing / tracking in CoreText backend, using
1633 new API hb_font_set_ptem().
1634
1635- Allow notifying hb_font_t that underlying FT_Face changed sizing,
1636 using new API hb_ft_font_changed().
1637
1638- More Graphite backend RTL fixes.
1639
1640- Fix caching of variable font shaping plans.
1641
1642- hb-view / hb-shape now accept following new arguments:
1643
1644 o --unicodes: takes a list of hex numbers that represent Unicode
1645 codepoints.
1646
1647New API:
1648+hb_face_get_table_tags()
1649+hb_font_set_ptem()
1650+hb_font_get_ptem()
1651+hb_ft_font_changed()
1652
1653
Behdad Esfahboda984e0c2017-09-05 11:18:35 -07001654Overview of changes leading to 1.5.1
1655Tuesday, September 5, 2017
1656====================================
1657
1658- Fix "unsafe-to-break" in fallback shaping and other corner cases.
1659 All our tests pass with --verify now, meaning unsafe-to-break API
1660 works as expected.
1661- Add --unicodes to hb-view / hb-shape.
1662- [indic] Treat Consonant_With_Stacker as consonant. This will need
1663 further tweaking.
1664- hb_buffer_diff() tweaks.
1665
1666
Behdad Esfahbode8b364b2017-08-23 15:00:45 -07001667Overview of changes leading to 1.5.0
1668Wednesday, August 23, 2017
1669====================================
1670
1671- Misc new API, for appending a buffer to another, and for comparing
1672 contents of two buffers for types of differences.
1673
1674- New "unsafe-to-break" API. Can be used to speed up reshaping
1675 in line-breaking situations. Essentially, after shaping, it returns
1676 positions in the input string (some of the cluster boundaries) that
1677 are "safe to break" in that if the text is segmented at that position
1678 and two sides reshaped and concatenated, the shaping result is
1679 exactly the same as shaping the text in one piece.
1680
1681 hb-view and hb-shape and hb-shape now take --verify, which verifies
1682 the above property.
1683
1684 Some corner cases of the implementation are still not quite working.
1685 Those will be fixed in subsequent releases.
1686
1687- New API:
1688
1689hb_buffer_append()
1690
1691hb_glyph_flags_t
1692HB_GLYPH_FLAG_UNSAFE_TO_BREAK
1693HB_GLYPH_FLAG_DEFINED
1694hb_glyph_info_get_glyph_flags()
1695
1696HB_BUFFER_SERIALIZE_FLAG_GLYPH_FLAGS
1697
1698hb_buffer_diff_flags_t
1699HB_BUFFER_DIFF_FLAG_EQUAL
1700HB_BUFFER_DIFF_FLAG_CONTENT_TYPE_MISMATCH
1701HB_BUFFER_DIFF_FLAG_LENGTH_MISMATCH
1702HB_BUFFER_DIFF_FLAG_NOTDEF_PRESENT
1703HB_BUFFER_DIFF_FLAG_DOTTED_CIRCLE_PRESENT
1704HB_BUFFER_DIFF_FLAG_CODEPOINT_MISMATCH
1705HB_BUFFER_DIFF_FLAG_CLUSTER_MISMATCH
1706HB_BUFFER_DIFF_FLAG_GLYPH_FLAGS_MISMATCH
1707HB_BUFFER_DIFF_FLAG_POSITION_MISMATCH
1708hb_buffer_diff
1709
1710
Behdad Esfahbod79177922017-08-08 13:17:03 -07001711Overview of changes leading to 1.4.8
1712Tuesday, August 8, 2017
1713====================================
1714
1715- Major fix to avar table handling.
1716- Rename hb-shape --show-message to --trace.
1717- Build fixes.
1718
1719
Behdad Esfahbodfc15e602017-07-18 11:24:42 -07001720Overview of changes leading to 1.4.7
1721Tuesday, July 18, 2017
1722====================================
1723
1724- Multiple Indic, Tibetan, and Cham fixes.
1725- CoreText: Allow disabling kerning.
1726- Adjust Arabic feature order again.
1727- Misc build fixes.
1728
1729
Behdad Esfahbod141b33d2017-04-23 16:19:13 -07001730Overview of changes leading to 1.4.6
1731Sunday, April 23, 2017
1732====================================
1733
1734- Graphite2: Fix RTL positioning issue.
1735- Backlist GDEF of more versions of Padauk and Tahoma.
1736- New, experimental, cmake alternative build system.
1737
1738
Behdad Esfahbod60e25862017-03-10 23:02:28 -08001739Overview of changes leading to 1.4.5
1740Friday, March 10, 2017
1741====================================
1742
1743- Revert "Fix Context lookup application when moving back after a glyph..."
1744 This introduced memory access problems. To be fixed properly soon.
1745
1746
Behdad Esfahbod8e42c3c2017-03-05 13:54:56 -08001747Overview of changes leading to 1.4.4
1748Sunday, March 5, 2017
1749====================================
1750
1751- Fix Context lookup application when moving back after a glyph deletion.
1752- Fix buffer-overrun in Bengali.
1753
1754
Behdad Esfahbod6685d282017-02-25 11:35:05 -08001755Overview of changes leading to 1.4.3
1756Saturday, February 25, 2017
1757====================================
1758
1759- Route Adlam script to Arabic shaper.
1760- Misc fixes.
1761- New API:
1762 hb_font_set_face()
1763- Deprecate API:
1764 hb_graphite2_font_get_gr_font()
1765
1766
Behdad Esfahbod6af6c112017-01-23 18:35:00 -08001767Overview of changes leading to 1.4.2
1768Monday, January 23, 2017
1769====================================
1770
1771- Implement OpenType Font Variation tables avar/fvar/HVAR/VVAR.
1772- hb-shape and hb-view now accept --variations.
1773- New API:
1774
1775hb_variation_t
1776hb_variation_from_string()
1777hb_variation_to_string()
1778
1779hb_font_set_variations()
1780hb_font_set_var_coords_design()
1781hb_font_get_var_coords_normalized()
1782
1783hb-ot-var.h:
1784hb_ot_var_axis_t
1785hb_ot_var_has_data()
1786hb_ot_var_get_axis_count()
1787hb_ot_var_get_axes()
1788hb_ot_var_find_axis()
1789hb_ot_var_normalize_variations()
1790hb_ot_var_normalize_coords()
1791
1792- MVAR to be implemented later. Access to named instances to be
1793 implemented later as well.
1794
1795- Misc fixes.
1796
1797
Behdad Esfahbodaf596a52017-01-05 20:24:41 -08001798Overview of changes leading to 1.4.1
1799Thursday, January 5, 2017
1800====================================
1801
1802- Always build and use UCDN for Unicode data by default.
1803 Reduces dependence on version of Unicode data in glib,
1804 specially in the Windows bundles we are shipping, which
1805 have very old glib.
1806
1807
Behdad Esfahbodf3397062017-01-05 01:27:49 -08001808Overview of changes leading to 1.4.0
1809Thursday, January 5, 2017
1810====================================
1811
1812- Merged "OpenType GX" branch which adds core of support for
1813 OpenType 1.8 Font Variations. To that extent, the relevant
1814 new API is:
1815
1816New API:
1817hb_font_set_var_coords_normalized()
1818
1819 with supporting API:
1820
1821New API:
1822HB_OT_LAYOUT_NO_VARIATIONS_INDEX
1823hb_ot_layout_table_find_feature_variations()
1824hb_ot_layout_feature_with_variations_get_lookups()
1825hb_shape_plan_create2()
1826hb_shape_plan_create_cached2()
1827
1828 Currently variations in GSUB/GPOS/GDEF are fully supported,
1829 and no other tables are supported. In particular, fvar/avar
1830 are NOT supported, hence the hb_font_set_var_coords_normalized()
1831 taking normalized coordinates. API to take design coordinates
1832 will be added in the future.
1833
1834 HVAR/VVAR/MVAR support will also be added to hb-ot-font in the
1835 future.
1836
1837- Fix regression in GDEF glyph class processing.
1838- Add decompositions for Chakma, Limbu, and Balinese in USE shaper.
1839- Misc fixes.
1840
1841
Behdad Esfahbodb843c6d2016-12-05 13:42:28 -08001842Overview of changes leading to 1.3.4
1843Monday, December 5, 2016
1844====================================
1845
1846- Fix vertical glyph origin in hb-ot-font.
1847- Implement CBDT/CBLC color font glyph extents in hb-ot-font.
1848
1849
Behdad Esfahbod966ac7e2016-10-26 16:17:15 +02001850Overview of changes leading to 1.3.3
1851Wednesday, September 28, 2016
1852====================================
1853
1854- Implement parsing of OpenType MATH table.
1855New API:
1856HB_OT_TAG_MATH
1857HB_OT_MATH_SCRIPT
1858hb_ot_math_constant_t
1859hb_ot_math_kern_t
1860hb_ot_math_glyph_variant_t
1861hb_ot_math_glyph_part_flags_t
1862hb_ot_math_glyph_part_t
1863hb_ot_math_has_data
1864hb_ot_math_get_constant
1865hb_ot_math_get_glyph_italics_correction
1866hb_ot_math_get_glyph_top_accent_attachment
1867hb_ot_math_get_glyph_kerning
1868hb_ot_math_is_glyph_extended_shape
1869hb_ot_math_get_glyph_variants
1870hb_ot_math_get_min_connector_overlap
1871hb_ot_math_get_glyph_assembly
1872
1873
Behdad Esfahbodf73a87d2016-09-27 13:50:54 +02001874Overview of changes leading to 1.3.2
1875Wednesday, September 27, 2016
1876====================================
1877
1878- Fix build of hb-coretext on older OS X versions.
1879
1880
Behdad Esfahbodd22ab6c2016-09-07 14:28:47 -07001881Overview of changes leading to 1.3.1
1882Wednesday, September 7, 2016
1883====================================
1884
1885- Blacklist bad GDEF of more fonts (Padauk).
1886- More CoreText backend crash fixes with OS X 10.9.5.
1887- Misc fixes.
1888
1889
Behdad Esfahboda732e002016-07-21 01:58:00 -07001890Overview of changes leading to 1.3.0
1891Thursday, July 21, 2016
1892====================================
1893
1894- Update to Unicode 9.0.0
1895- Move Javanese from Indic shaper to Universal Shaping Engine.
1896- Allow MultipleSubst to delete a glyph (matching Windows engine).
1897- Update Universal Shaping Engine to latest draft from Microsoft.
1898- DirectWrite backend improvements. Note: this backend is for testing ONLY.
1899- CoreText backend improvements with unreachable fonts.
1900- Implement symbol fonts (cmap 3.0.0) in hb-ft and hb-ot-font.
1901- Blacklist bad GDEF of more fonts (Tahoma & others).
1902- Misc fixes.
1903
1904
Behdad Esfahboda5b7b0d2016-05-02 10:44:13 +02001905Overview of changes leading to 1.2.7
1906Monday, May 2, 2016
1907====================================
1908
1909- Blacklist another version of Times New Roman (Bold) Italic from Windows 7.
1910- Fix Mongolian Free Variation Selectors shaping with certain fonts.
1911- Fix Tibetan shorthand contractions shaping.
1912- Improved list of language tag mappings.
1913- Unbreak build on Windows CE.
1914- Make 'glyf' table loading lazy in hb-ot-font.
1915
1916
Behdad Esfahbod00ea66f2016-04-08 13:51:01 -07001917Overview of changes leading to 1.2.6
1918Friday, April 8, 2016
1919====================================
1920
1921- Blacklist GDEF table of another set of Times New Roman (Bold) Italic.
1922- DirectWrite backend improvements. Note: DirectWrite backend is
1923 exclusively for our internal testing and should NOT be used in any
1924 production system whatsoever.
1925
1926
Behdad Esfahboda0331b52016-04-04 16:25:32 -07001927Overview of changes leading to 1.2.5
1928Monday, April 4, 2016
1929====================================
1930
1931- Fix GDEF mark-filtering-set, which was broken in 1.2.3.
1932
1933
Behdad Esfahbod0251b0c2016-03-17 14:37:11 -07001934Overview of changes leading to 1.2.4
1935Thursday, March 17, 2016
1936====================================
1937
1938- Synthesize GDEF glyph class for any glyph that does not have one in GDEF.
1939 I really hope we don't discover broken fonts that shape badly with this
1940 change.
1941- Misc build and other minor fixes.
1942- API changes:
1943 - Added HB_NDEBUG. It's fine for production systems to define this to
1944 disable high-overhead debugging checks. However, I also reduced the
1945 overhead of those checks, so it's a non-issue right now. You can
1946 forget it. Just not defining anything at all is fine.
1947
1948
Behdad Esfahbod75568b02016-02-25 12:26:26 +09001949Overview of changes leading to 1.2.3
1950Thursday, February 25, 2016
1951====================================
1952
1953- Blacklist GDEF table of certain versions of Times New Roman (Bold) Italic,
1954 due to bug in glyph class of ASCII double-quote character. This should
1955 address "regression" introduced in 1.2.0 when we switched mark zeroing
1956 in most shapers from BY_UNICODE_LATE to BY_GDEF_LATE.
luz paze2e30502022-01-16 07:00:53 -05001957 This fourth release in a week should finally stabilize things...
Behdad Esfahbod75568b02016-02-25 12:26:26 +09001958
1959- hb-ot-font's get_glyph() implementation saw some optimizations. Though,
1960 might be really hard to measure in real-world situations.
1961
1962- Also, two rather small API changes:
1963
1964We now disable some time-consuming internal bookkeeping if built with NDEBUG
1965defined. This is a first time that we use NDEBUG to disable debug code. If
1966there exist production systems that do NOT want to enable NDEBUG, please let
1967me know and I'll add HB_NDEBUG.
1968
1969Added get_nominal_glyph() and get_variation_glyph() instead of get_glyph()
1970
1971New API:
1972- hb_font_get_nominal_glyph_func_t
1973- hb_font_get_variation_glyph_func_t
1974- hb_font_funcs_set_nominal_glyph_func()
1975- hb_font_funcs_set_variation_glyph_func()
1976- hb_font_get_nominal_glyph()
1977- hb_font_get_variation_glyph()
1978
1979Deprecated API:
1980- hb_font_get_glyph_func_t
1981- hb_font_funcs_set_glyph_func()
1982
1983Clients that implement their own font-funcs are encouraged to replace
1984their get_glyph() implementation with a get_nominal_glyph() and
1985get_variation_glyph() pair. The variation version can assume that
1986variation_selector argument is not zero. Old (deprecated) functions
1987will continue working indefinitely using internal gymnastics; it is
1988just more efficient to use the new functions.
1989
1990
Behdad Esfahbodb30a9712016-02-24 17:32:22 +09001991Overview of changes leading to 1.2.2
1992Wednesday, February 24, 2016
1993====================================
1994
1995- Fix regression with mark positioning with fonts that have
1996 non-zero mark advances. This was introduced in 1.2.0 while
1997 trying to make mark and cursive attachments to work together.
1998 I have partially reverted that, so this version is much more
1999 like what we had before. All clients who updated to 1.2.0
2000 should update to this version.
2001
2002
Behdad Esfahboddabf32a2016-02-23 15:38:43 +09002003Overview of changes leading to 1.2.1
Behdad Esfahbodb30a9712016-02-24 17:32:22 +09002004Tuesday, February 23, 2016
Behdad Esfahboddabf32a2016-02-23 15:38:43 +09002005====================================
2006
2007- CoreText: Fix bug with wrong scale if font scale was changed later.
2008 https://github.com/libass/libass/issues/212
2009- CoreText: Drastically speed up font initialization.
2010- CoreText: Fix tiny leak.
2011- Group ZWJ/ZWNJ with previous syllable under cluster-level=0.
ebraminio7c6937e2017-11-20 14:49:22 -05002012 https://github.com/harfbuzz/harfbuzz/issues/217
Behdad Esfahboddabf32a2016-02-23 15:38:43 +09002013- Add test/shaping/README.md about how to add tests to the suite.
2014
2015
Behdad Esfahbod27847ca2016-02-19 15:56:50 +07002016Overview of changes leading to 1.2.0
2017Friday, February 19, 2016
2018====================================
2019
2020- Fix various issues (hangs mostly) in case of memory allocation failure.
2021- Change mark zeroing types of most shapers from BY_UNICODE_LATE to
2022 BY_GDEF_LATE. This seems to be what Uniscribe does.
2023- Change mark zeroing of USE shaper from NONE to BY_GDEF_EARLY. That's
2024 what Windows does.
2025- Allow GPOS cursive connection on marks, and fix the interaction with
2026 mark attachment. This work resulted in some changes to how mark
2027 attachments work. See:
ebraminio7c6937e2017-11-20 14:49:22 -05002028 https://github.com/harfbuzz/harfbuzz/issues/211
2029 https://github.com/harfbuzz/harfbuzz/commit/86c68c7a2c971efe8e35b1f1bd99401dc8b688d2
Behdad Esfahbod27847ca2016-02-19 15:56:50 +07002030- Graphite2 shaper: improved negative advance handling (eg. Nastaliq).
2031- Add nmake-based build system for Windows.
2032- Minor speedup.
2033- Misc. improvements.
2034
2035
Behdad Esfahbod11441292016-01-11 13:16:35 +00002036Overview of changes leading to 1.1.3
2037Monday, January 11, 2016
2038====================================
2039
2040- Ported Indic shaper to Unicode 8.0 data.
2041- Universal Shaping Engine fixes.
2042- Speed up CoreText shaper when font fallback happens in CoreText.
2043- Documentation improvements, thanks to Khaled Hosny.
2044- Very rough directwrite shaper for testing, thanks to Ebrahim Byagowi.
2045- Misc bug fixes.
2046- New API:
2047
2048 * Font extents:
2049 hb_font_extents_t
2050 hb_font_get_font_extents_func_t
2051 hb_font_get_font_h_extents_func_t
2052 hb_font_get_font_v_extents_func_t
2053 hb_font_funcs_set_font_h_extents_func
2054 hb_font_funcs_set_font_v_extents_func
2055 hb_font_get_h_extents
2056 hb_font_get_v_extents
2057 hb_font_get_extents_for_direction
2058
2059 * Buffer message (aka debug):
2060 hb_buffer_message_func_t
2061 hb_buffer_set_message_func()
2062 Actual message protocol to be fleshed out later.
2063
2064
Behdad Esfahbodd44d52b2015-11-26 19:35:43 -05002065Overview of changes leading to 1.1.2
2066Wednesday, November 26, 2015
2067====================================
2068
2069- Fix badly-broken fallback shaper that affected terminology.
ebraminio7c6937e2017-11-20 14:49:22 -05002070 https://github.com/harfbuzz/harfbuzz/issues/187
Behdad Esfahbodd44d52b2015-11-26 19:35:43 -05002071- Fix y_scaling in Graphite shaper.
2072- API changes:
2073 * An unset glyph_h_origin() function in font-funcs now (sensibly)
2074 implies horizontal origin at 0,0. Ie, the nil callback returns
2075 true instead of false. As such, implementations that have a
2076 glyph_h_origin() that simply returns true, can remove that function
2077 with HarfBuzz >= 1.1.2. This results in a tiny speedup.
2078
2079
Behdad Esfahbodb24e93e2015-11-24 13:18:20 -06002080Overview of changes leading to 1.1.1
2081Wednesday, November 24, 2015
2082====================================
2083
2084- Build fixes, specially for hb-coretext.
2085
2086
Behdad Esfahbode1118ae2015-11-18 23:40:47 -08002087Overview of changes leading to 1.1.0
2088Wednesday, November 18, 2015
2089====================================
2090
2091- Implement 'stch' stretch feature for Syriac Abbreviation Mark.
ebraminio7c6937e2017-11-20 14:49:22 -05002092 https://github.com/harfbuzz/harfbuzz/issues/141
Behdad Esfahbode1118ae2015-11-18 23:40:47 -08002093- Disable use of decompose_compatibility() callback.
2094- Implement "shaping" of various Unicode space characters, even
2095 if the font does not support them.
ebraminio7c6937e2017-11-20 14:49:22 -05002096 https://github.com/harfbuzz/harfbuzz/issues/153
Behdad Esfahbode1118ae2015-11-18 23:40:47 -08002097- If font does not support U+2011 NO-BREAK HYPHEN, fallback to
2098 U+2010 HYPHEN.
2099- Changes resulting from libFuzzer continuous fuzzing:
2100 * Reject font tables that need more than 8 edits,
2101 * Bound buffer growth during shaping to 32x,
2102 * Fix assertions and other issues at OOM / buffer max-growth.
2103- Misc fixes and optimizations.
2104- API changes:
2105 * All fonts created with hb_font_create() now inherit from
2106 (ie. have parent) hb_font_get_empty().
2107
2108
Behdad Esfahbod86cadc22015-10-15 20:25:29 -03002109Overview of changes leading to 1.0.6
2110Thursday, October 15, 2015
2111====================================
2112
2113- Reduce max nesting level in OT lookups from 8 to 6.
2114 Should not affect any real font as far as I know.
2115- Fix memory access issue in ot-font.
2116- Revert default load-flags of fonts created using hb_ft_font_create()
2117 back to FT_LOAD_DEFAULT|FT_LOAD_NO_HINTING. This was changed in
2118 last release (1.0.5), but caused major issues, so revert.
ebraminio7c6937e2017-11-20 14:49:22 -05002119 https://github.com/harfbuzz/harfbuzz/issues/143
Behdad Esfahbod86cadc22015-10-15 20:25:29 -03002120
2121
Behdad Esfahbodab170522015-10-13 10:55:33 -03002122Overview of changes leading to 1.0.5
2123Tuesday, October 13, 2015
2124====================================
2125
2126- Fix multiple memory access bugs discovered using libFuzzer.
ebraminio7c6937e2017-11-20 14:49:22 -05002127 https://github.com/harfbuzz/harfbuzz/issues/139
Behdad Esfahbodab170522015-10-13 10:55:33 -03002128 Everyone should upgrade to this version as soon as possible.
2129 We now have continuous fuzzing set up, to avoid issues like
2130 these creeping in again.
2131- Misc fixes.
2132
2133- New API:
2134 * hb_font_set_parent().
2135 * hb_ft_font_[sg]et_load_flags()
2136 The default flags for fonts created using hb_ft_font_create()
2137 has changed to default to FT_LOAD_DEFAULT now. Previously it
2138 was defaulting to FT_LOAD_DFEAULT|FT_LOAD_NO_HINTING.
2139
2140- API changes:
2141 * Fonts now default to units-per-EM as their scale, instead of 0.
2142 * hb_font_create_sub_font() does NOT make parent font immutable
2143 anymore. hb_font_make_immutable() does.
2144
2145
Behdad Esfahbod432ffc42015-09-30 22:51:16 +01002146Overview of changes leading to 1.0.4
2147Wednesday, September 30, 2015
2148====================================
2149
2150- Fix minor out-of-bounds read error.
2151
2152
Behdad Esfahbod7f540532015-09-01 17:03:50 +01002153Overview of changes leading to 1.0.3
2154Tuesday, September 1, 2015
2155====================================
2156
2157- Start of user documentation, from Simon Cozens!
2158- Implement glyph_extents() for TrueType fonts in hb-ot-font.
2159- Improve GPOS cursive attachments with conflicting lookups.
2160- More fixes for cluster-level = 1.
2161- Uniscribe positioning fix.
2162
2163
Behdad Esfahbod789b89e2015-08-19 13:39:57 +01002164Overview of changes leading to 1.0.2
2165Wednesday, August 19, 2015
2166====================================
2167
2168- Fix shaping with cluster-level > 0.
2169- Fix Uniscribe backend font-size scaling.
2170- Declare dependencies in harfbuzz.pc.
2171 FreeType is not declared though, to avoid bugs in pkg-config
2172 0.26 with recursive dependencies.
2173- Slightly improved debug infrastructure. More to come later.
2174- Misc build fixes.
2175
2176
Behdad Esfahbod9002c272015-07-27 12:17:54 +02002177Overview of changes leading to 1.0.1
2178Monday, July 27, 2015
2179====================================
2180
2181- Fix out-of-bounds access in USE shaper.
2182
2183
Behdad Esfahbod26044232015-07-26 23:39:10 +02002184Overview of changes leading to 1.0.0
Behdad Esfahbod9002c272015-07-27 12:17:54 +02002185Sunday, July 26, 2015
Behdad Esfahbod26044232015-07-26 23:39:10 +02002186====================================
2187
2188- Implement Universal Shaping Engine:
2189 https://www.microsoft.com/typography/OpenTypeDev/USE/intro.htm
2190 http://blogs.windows.com/bloggingwindows/2015/02/23/windows-shapes-the-worlds-languages/
2191- Bump version to 1.0.0. The soname was NOT bumped.
2192
2193
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +02002194Overview of changes leading to 0.9.42
2195Thursday, July 26, 2015
2196=====================================
Behdad Esfahbod376d5872015-07-22 16:51:12 +01002197
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +02002198- New API to allow for retrieving finer-grained cluster
2199 mappings if the client desires to handle them. Default
2200 behavior is unchanged.
2201- Fix cluster merging when removing default-ignorables.
2202- Update to Unicode 8.0
2203- hb-graphite2 fixes.
2204- Misc fixes.
Behdad Esfahbod376d5872015-07-22 16:51:12 +01002205- Removed HB_NO_MERGE_CLUSTERS hack.
2206- New API:
2207 hb_buffer_cluster_level_t enum
2208 hb_buffer_get_cluster_level()
2209 hb_buffer_set_cluster_level()
2210 hb-shape / hb-view --cluster-level
2211
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +02002212
Behdad Esfahboda6446d42015-06-18 11:14:56 -07002213Overview of changes leading to 0.9.41
2214Thursday, June 18, 2015
2215=====================================
2216
2217- Fix hb-coretext with trailing whitespace in right-to-left.
2218- New API: hb_buffer_reverse_range().
2219- Allow implementing atomic ops in config.h.
2220- Fix hb_language_t in language bindings.
2221- Misc fixes.
2222
Behdad Esfahbod2ed6be62015-07-26 19:29:53 +02002223
Behdad Esfahbode3671b82015-03-20 18:03:02 -04002224Overview of changes leading to 0.9.40
2225Friday, March 20, 2015
2226=====================================
2227
2228- Another hb-coretext crasher fix. Ouch!
2229- Happy Norouz!
2230
2231
Behdad Esfahbod02a04e62015-03-04 12:32:03 -08002232Overview of changes leading to 0.9.39
2233Wednesday, March 4, 2015
2234=====================================
2235
2236- Critical hb-coretext fixes.
2237- Optimizations and refactoring; no functional change
2238 expected.
2239- Misc build fixes.
2240
2241
Behdad Esfahbod28f5e0b2015-01-23 12:45:35 -08002242Overview of changes leading to 0.9.38
2243Friday, January 23, 2015
2244=====================================
2245
2246- Fix minor out-of-bounds access in Indic shaper.
2247- Change New Tai Lue shaping engine from South-East Asian to default,
2248 reflecting change in Unicode encoding model.
2249- Add hb-shape --font-size. Can take up to two numbers for separate
2250 x / y size.
2251- Fix CoreText and FreeType scale issues with negative scales.
2252- Reject blobs larger than 2GB. This might break some icu-le-hb clients
2253 that need security fixes. See:
2254 http://www.icu-project.org/trac/ticket/11450
2255- Avoid accessing font tables during face destruction, in casce rogue
2256 clients released face data already.
2257- Fix up gobject-introspection a bit. Python bindings kinda working.
2258 See README.python.
2259- Misc fixes.
2260- API additions:
2261 hb_ft_face_create_referenced()
2262 hb_ft_font_create_referenced()
2263
2264
Behdad Esfahbod66e37402014-12-17 12:09:17 -08002265Overview of changes leading to 0.9.37
2266Wednesday, December 17, 2014
2267=====================================
2268
2269- Fix out-of-bounds access in Context lookup format 3.
2270- Indic: Allow ZWJ/ZWNJ before syllable modifiers.
2271
2272
Behdad Esfahbodc0e95ab2014-11-20 14:42:24 -08002273Overview of changes leading to 0.9.36
2274Thursday, November 20, 2014
2275=====================================
2276
2277- First time that three months went by without a release since
2278 0.9.2 was released on August 10, 2012!
2279- Fix performance bug in hb_ot_collect_glyphs():
2280 https://bugzilla.mozilla.org/show_bug.cgi?id=1090869
2281- Add basic vertical-text support to hb-ot-font.
2282- Misc build fixes.
2283
2284
Behdad Esfahbodcd5a1142014-08-13 12:39:34 -04002285Overview of changes leading to 0.9.35
2286Saturday, August 13, 2014
2287=====================================
2288
2289- Fix major shape-plan caching bug when more than one shaper were
2290 provided to hb_shape_full() (as exercised by XeTeX).
2291 http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
2292- Fix Arabic fallback shaping regression. This was broken in 0.9.32.
2293- Major hb-coretext fixes. That backend is complete now, including
2294 respecing buffer direction and language, down to vertical writing.
2295- Build fixes for Windows CE. Should build fine now.
2296- Misc fixes:
2297 Use atexit() only if it's safe to call from shared library
2298 https://bugs.freedesktop.org/show_bug.cgi?id=82246
2299 Mandaic had errors in its Unicode Joining_Type
2300 https://bugs.freedesktop.org/show_bug.cgi?id=82306
2301- API changes:
2302
2303 * hb_buffer_clear_contents() does not reset buffer flags now.
2304
2305 After 763e5466c0a03a7c27020e1e2598e488612529a7, one doesn't
2306 need to set flags for different pieces of text. The flags now
2307 are something the client sets up once, depending on how it
2308 actually uses the buffer. As such, don't clear it in
2309 clear_contents().
2310
2311 I don't expect any changes to be needed to any existing client.
2312
2313
Behdad Esfahbod91c2c0f2014-08-02 19:24:55 -04002314Overview of changes leading to 0.9.34
2315Saturday, August 2, 2014
2316=====================================
2317
2318- hb_feature_from_string() now accepts CSS font-feature-settings format.
2319- As a result, hb-shape / hb-view --features also accept CSS-style strings.
2320 Eg, "'liga' off" is accepted now.
2321- Add old-spec Myanmar shaper:
2322 https://bugs.freedesktop.org/show_bug.cgi?id=81775
2323- Don't apply 'calt' in Hangul shaper.
2324- Fix mark advance zeroing for Hebrew shaper:
2325 https://bugs.freedesktop.org/show_bug.cgi?id=76767
2326- Implement Windows-1256 custom Arabic shaping. Only built on Windows,
2327 and requires help from get_glyph(). Used by Firefox.
2328 https://bugzilla.mozilla.org/show_bug.cgi?id=1045139
2329- Disable 'liga' in vertical text.
2330- Build fixes.
2331- API changes:
2332
2333 * Make HB_BUFFER_FLAG_BOT/EOT easier to use.
2334
2335 Previously, we expected users to provide BOT/EOT flags when the
2336 text *segment* was at paragraph boundaries. This meant that for
2337 clients that provide full paragraph to HarfBuzz (eg. Pango), they
2338 had code like this:
2339
2340 hb_buffer_set_flags (hb_buffer,
2341 (item_offset == 0 ? HB_BUFFER_FLAG_BOT : 0) |
2342 (item_offset + item_length == paragraph_length ?
2343 HB_BUFFER_FLAG_EOT : 0));
2344
2345 hb_buffer_add_utf8 (hb_buffer,
2346 paragraph_text, paragraph_length,
2347 item_offset, item_length);
2348
2349 After this change such clients can simply say:
2350
2351 hb_buffer_set_flags (hb_buffer,
2352 HB_BUFFER_FLAG_BOT | HB_BUFFER_FLAG_EOT);
2353
2354 hb_buffer_add_utf8 (hb_buffer,
2355 paragraph_text, paragraph_length,
2356 item_offset, item_length);
2357
2358 Ie, HarfBuzz itself checks whether the segment is at the beginning/end
2359 of the paragraph. Clients that only pass item-at-a-time to HarfBuzz
2360 continue not setting any flags whatsoever.
2361
2362 Another way to put it is: if there's pre-context text in the buffer,
2363 HarfBuzz ignores the BOT flag. If there's post-context, it ignores
2364 EOT flag.
2365
2366
Behdad Esfahbod8c1bdb42014-07-22 17:56:43 -04002367Overview of changes leading to 0.9.33
2368Tuesday, July 22, 2014
2369=====================================
2370
2371- Turn off ARabic 'cswh' feature that was accidentally turned on.
2372- Add HB_TAG_MAX_SIGNED.
2373- Make hb_face_make_immutable() really make face immutable!
2374- Windows build fixes.
2375
2376
Behdad Esfahbod66f30912014-07-17 16:05:47 -04002377Overview of changes leading to 0.9.32
2378Thursday, July 17, 2014
2379=====================================
2380
2381- Apply Arabic shaping features in spec order exactly.
2382- Another fix for Mongolian free variation selectors.
2383- For non-Arabic scripts in Arabic shaper apply 'rlig' and 'calt'
2384 together.
2385- Minor adjustment to U+FFFD logic.
2386- Fix hb-coretext build.
2387
2388
Behdad Esfahboda18897f2014-07-16 16:02:15 -04002389Overview of changes leading to 0.9.31
2390Wednesday, July 16, 2014
2391=====================================
2392
2393- Only accept valid UTF-8/16/32; we missed many cases before.
2394- Better shaping of invalid UTF-8/16/32. Falls back to
2395 U+FFFD REPLACEMENT CHARACTER now.
2396- With all changes in this release, the buffer will contain fully
2397 valid Unicode after hb_buffer_add_utf8/16/32 no matter how
Unknown97145df2017-11-03 09:05:00 -04002398 broken the input is. This can be overridden though. See below.
Behdad Esfahboda18897f2014-07-16 16:02:15 -04002399- Fix Mongolian Variation Selectors for fonts without GDEF.
2400- Fix minor invalid buffer access.
2401- Accept zh-Hant and zh-Hans language tags. hb_ot_tag_to_language()
2402 now uses these instead of private tags.
2403- Build fixes.
2404- New API:
2405 * hb_buffer_add_codepoints(). This does what hb_buffer_add_utf32()
2406 used to do, ie. no validity check on the input at all. add_utf32
2407 now replaces invalid Unicode codepoints with the replacement
2408 character (see below).
2409 * hb_buffer_set_replacement_codepoint()
2410 * hb_buffer_get_replacement_codepoint()
2411 Previously, in hb_buffer_add_utf8 and hb_buffer_add_utf16, when
2412 we detected broken input, we replaced that with (hb_codepoint_t)-1.
2413 This has changed to use U+FFFD now, but can be changed using these
2414 new API.
2415
2416
Behdad Esfahbodea001372014-07-09 17:28:43 -04002417Overview of changes leading to 0.9.30
2418Wednesday, July 9, 2014
2419=====================================
Behdad Esfahboda18897f2014-07-16 16:02:15 -04002420
Behdad Esfahbodea001372014-07-09 17:28:43 -04002421- Update to Unicode 7.0.0:
2422 * New scripts Manichaean and Psalter Pahlavi are shaped using
2423 Arabic shaper.
2424 * All the other new scripts to through the generic shaper for
2425 now.
2426- Minor Indic improvements.
2427- Fix graphite2 backend cluster mapping [crasher!]
2428- API changes:
2429 * New HB_SCRIPT_* values for Unicode 7.0 scripts.
2430 * New function hb_ot_layout_language_get_required_feature().
2431- Build fixes.
2432
2433
Behdad Esfahbod5875ad92014-05-29 15:48:16 -04002434Overview of changes leading to 0.9.29
2435Thursday, May 29, 2014
2436=====================================
2437
2438- Implement cmap in hb-ot-font.h. No variation-selectors yet.
2439- Myanmar: Allow MedialYa+Asat.
2440- Various Indic fixes:
2441 * Support most characters in Extended Devanagary and Vedic
2442 Unicode blocks.
2443 * Allow digits and a some punctuation as consonant placeholders.
2444- Build fixes.
2445
Behdad Esfahbodea001372014-07-09 17:28:43 -04002446
Behdad Esfahbod79ecdc32014-04-28 14:24:23 -07002447Overview of changes leading to 0.9.28
2448Monday, April 28, 2014
2449=====================================
2450
2451- Unbreak old-spec Indic shaping. (bug 76705)
2452- Fix shaping of U+17DD and U+0FC6.
2453- Add HB_NO_MERGE_CLUSTERS build option. NOT to be enabled by default
2454 for shipping libraries. It's an option for further experimentation
2455 right now. When we are sure how to do it properly, we will add
2456 public run-time API for the functionality.
2457- Build fixes.
2458
2459
Dominik Röttschesba8c9d92014-03-18 14:39:03 +02002460Overview of changes leading to 0.9.27
2461Tuesday, March 18, 2014
2462=====================================
2463
2464- Don't use "register" storage class specifier
2465- Wrap definition of free_langs() with HAVE_ATEXIT
2466- Add coretext_aat shaper and hb_coretext_face_create() constructor
2467- If HAVE_ICU_BUILTIN is defined, use hb-icu Unicode callbacks
2468- Add Myanmar test case from OpenType Myanmar spec
2469- Only do fallback Hebrew composition if no GPOS 'mark' available
2470- Allow bootstrapping without gtk-doc
2471- Use AM_MISSING_PROG for ragel and git
2472- Typo in ucdn's Makefile.am
2473- Improve MemoryBarrier() implementation
2474
2475
Behdad Esfahbod189bf232014-01-30 15:14:58 -05002476Overview of changes leading to 0.9.26
2477Thursday, January 30, 2014
2478=====================================
2479
2480- Misc fixes.
2481- Fix application of 'rtlm' feature.
2482- Automatically apply frac/numr/dnom around U+2044 FRACTION SLASH.
2483- New header: hb-ot-shape.h
2484- Uniscribe: fix scratch-buffer accounting.
2485- Reorder Tai Tham SAKOT to after tone-marks.
2486- Add Hangul shaper.
2487- New files:
2488 hb-ot-shape-complex-hangul.cc
2489 hb-ot-shape-complex-hebrew.cc
2490 hb-ot-shape-complex-tibetan.cc
2491- Disable 'cswh' feature in Arabic shaper.
2492- Coretext: better handle surrogate pairs.
2493- Add HB_TAG_MAX and _HB_SCRIPT_MAX_VALUE.
2494
2495
Behdad Esfahbod860fc9a2013-12-04 20:06:59 -05002496Overview of changes leading to 0.9.25
2497Wednesday, December 4, 2013
2498=====================================
2499
2500- Myanmar shaper improvements.
2501- Avoid font fallback in CoreText backend.
2502- Additional OpenType language tag mappiongs.
2503- More aggressive shape-plan caching.
2504- Build with / require automake 1.13.
2505- Build with libtool 2.4.2.418 alpha to support ppc64le.
2506
2507
Behdad Esfahbod63006942013-11-13 14:54:07 -05002508Overview of changes leading to 0.9.24
2509Tuesday, November 13, 2013
2510=====================================
2511
2512- Misc compiler warning fixes with clang.
2513- No functional changes.
2514
2515
Behdad Esfahboddce79c22013-10-28 20:26:40 +01002516Overview of changes leading to 0.9.23
2517Monday, October 28, 2013
2518=====================================
2519
2520- "Udupi HarfBuzz Hackfest", Paris, October 14..18 2013.
2521- Fix (Chain)Context recursion with non-monotone lookup positions.
2522- Misc Indic bug fixes.
2523- New Javanese / Buginese shaping, similar to Windows 8.1.
2524
2525
Behdad Esfahbode152d1a2013-10-03 15:09:37 -04002526Overview of changes leading to 0.9.22
2527Thursday, October 3, 2013
2528=====================================
2529
2530- Fix use-after-end-of-scope in hb_language_from_string().
2531- Fix hiding of default_ignorables if font doesn't have space glyph.
2532- Protect against out-of-range lookup indices.
2533
2534- API Changes:
2535
2536 * Added hb_ot_layout_table_get_lookup_count()
2537
2538
Behdad Esfahbodb61f97d2013-09-16 22:07:22 -04002539Overview of changes leading to 0.9.21
2540Monday, September 16, 2013
2541=====================================
2542
2543- Rename gobject-introspection library name from harfbuzz to HarfBuzz.
2544- Remove (long disabled) hb-old and hb-icu-le test shapers.
2545- Misc gtk-doc and gobject-introspection annotations.
2546- Misc fixes.
2547- API changes:
2548
2549 * Add HB_SET_VALUE_INVALID
2550
Behdad Esfahbodf730b5d2013-08-29 15:53:33 -04002551Overview of changes leading to 0.9.20
2552Thursday, August 29, 2013
2553=====================================
2554
2555General:
2556- Misc substitute_closure() fixes.
2557- Build fixes.
2558
2559Documentation:
2560- gtk-doc boilerplate integrated. Docs are built now, but
2561 contain no contents. By next release hopefully we have
2562 some content in. Enable using --enable-gtk-doc.
2563
2564GObject and Introspection:
2565- Added harfbuzz-gobject library (hb-gobject.h) that has type
2566 bindings for all HarfBuzz objects and enums. Enable using
2567 --with-gobject.
2568- Added gobject-introspection boilerplate. Nothing useful
2569 right now. Work in progress. Gets enabled automatically if
2570 --with-gobject is used. Override with --disable-introspection.
2571
2572OpenType shaper:
2573- Apply 'mark' in Myanmar shaper.
2574- Don't apply 'dlig' by default.
2575
2576Uniscribe shaper:
2577- Support user features.
2578- Fix loading of fonts that are also installed on the system.
2579- Fix shaping of Arabic Presentation Forms.
2580- Fix build with wide chars.
2581
2582CoreText shaper:
2583- Support user features.
2584
2585Source changes:
2586- hb_face_t code moved to hb-face.h / hb-face.cc.
2587- Added hb-deprecated.h.
2588
2589API changes:
2590- Added HB_DISABLE_DEPRECATED.
2591- Deprecated HB_SCRIPT_CANADIAN_ABORIGINAL; replaced by
2592 HB_SCRIPT_CANADIAN_SYLLABICS.
2593- Deprecated HB_BUFFER_FLAGS_DEFAULT; replaced by
2594 HB_BUFFER_FLAG_DEFAULT.
2595- Deprecated HB_BUFFER_SERIALIZE_FLAGS_DEFAULT; replaced by
2596 HB_BUFFER_SERIALIZE_FLAG_DEFAULT.
2597
2598
Behdad Esfahbod2b78d672013-07-16 16:06:27 -04002599Overview of changes leading to 0.9.19
2600Tuesday, July 16, 2013
2601=====================================
2602
2603- Build fixes.
2604- Better handling of multiple variation selectors in a row.
2605- Pass on variation selector to GSUB if not consumed by cmap.
2606- Fix undefined memory access.
2607- Add Javanese config to Indic shaper.
2608- Misc bug fixes.
2609
Behdad Esfahbod4014aa42013-05-28 17:28:59 -04002610Overview of changes leading to 0.9.18
2611Tuesday, May 28, 2013
2612=====================================
2613
2614New build system:
2615
2616- All unneeded code is all disabled by default,
2617
2618- Uniscribe and CoreText shapers can be enabled with their --with options,
2619
2620- icu_le and old shapers cannot be enabled for now,
2621
2622- glib, freetype, and cairo will be detected automatically.
2623 They can be force on/off'ed with their --with options,
2624
2625- icu and graphite2 are default off, can be enabled with their --with
2626 options,
2627
2628Moreover, ICU support is now build into a separate library:
2629libharfbuzz-icu.so, and a new harfbuzz-icu.pc is shipped for it.
2630Distros can enable ICU now without every application on earth
2631getting linked to via libharfbuzz.so.
2632
2633For distros I recommend that they make sure they are building --with-glib
2634--with-freetype --with-cairo, --with-icu, and optionally --with-graphite2;
2635And package harfbuzz and harfbuzz-icu separately.
2636
2637
Behdad Esfahbodf1b02f42013-05-20 09:23:58 -04002638Overview of changes leading to 0.9.17
2639Monday, May 20, 2013
2640=====================================
2641
2642- Build fixes.
2643- Fix bug in hb_set_get_min().
2644- Fix regression with Arabic mark positioning / width-zeroing.
2645
Behdad Esfahboda408d232013-04-19 16:32:06 -04002646Overview of changes leading to 0.9.16
2647Friday, April 19, 2013
2648=====================================
2649
2650- Major speedup in OpenType lookup processing. With the Amiri
2651 Arabic font, this release is over 3x faster than previous
2652 release. All scripts / languages should see this speedup.
2653
2654- New --num-iterations option for hb-shape / hb-view; useful for
2655 profiling.
2656
Behdad Esfahbod22e47452013-04-05 18:02:43 -04002657Overview of changes leading to 0.9.15
Behdad Esfahboda408d232013-04-19 16:32:06 -04002658Friday, April 05, 2013
Behdad Esfahbod22e47452013-04-05 18:02:43 -04002659=====================================
2660
2661- Build fixes.
2662- Fix crasher in graphite2 shaper.
2663- Fix Arabic mark width zeroing regression.
2664- Don't compose Hangul jamo into Unicode syllables.
2665
2666
Behdad Esfahbodf872a172013-03-21 13:38:06 -04002667Overview of changes leading to 0.9.14
2668Thursday, March 21, 2013
2669=====================================
2670
2671- Build fixes.
2672- Fix time-consuming sanitize with malicious fonts.
2673- Implement hb_buffer_deserialize_glyphs() for both json and text.
2674- Do not ignore Hangul filler characters.
2675- Indic fixes:
2676 * Fix Malayalam pre-base reordering interaction with post-forms.
2677 * Further adjust ZWJ handling. Should fix known regressions from
2678 0.9.13.
2679
2680
Behdad Esfahbod05686b52013-02-25 18:19:20 -05002681Overview of changes leading to 0.9.13
2682Thursday, February 25, 2013
2683=====================================
2684
2685- Build fixes.
2686- Ngapi HarfBuzz Hackfest in London (February 2013):
2687 * Fixed all known Indic bugs,
2688 * New Win8-style Myanmar shaper,
2689 * New South-East Asian shaper for Tai Tham, Cham, and New Tai Lue,
2690 * Smartly ignore Default_Ignorable characters (joiners, etc) wheb
2691 matching GSUB/GPOS lookups,
2692 * Fix 'Phags-Pa U+A872 shaping,
2693 * Fix partial disabling of default-on features,
2694 * Allow disabling of TrueType kerning.
2695- Fix possible crasher with broken fonts with overlapping tables.
2696- Removed generated files from git again. So, one needs ragel to
2697 bootstrap from the git tree.
2698
2699API changes:
2700- hb_shape() and related APIs now abort if buffer direction is
2701 HB_DIRECTION_INVALID. Previously, hb_shape() was calling
2702 hb_buffer_guess_segment_properties() on the buffer before
2703 shaping. The heuristics in that function are fragile. If the
2704 user really wants the old behvaior, they can call that function
2705 right before calling hb_shape() to get the old behavior.
2706- hb_blob_create_sub_blob() always creates sub-blob with
2707 HB_MEMORY_MODE_READONLY. See comments for the reason.
2708
2709
Behdad Esfahbod09b53932013-01-18 17:10:47 -06002710Overview of changes leading to 0.9.12
2711Thursday, January 18, 2013
2712=====================================
2713
2714- Build fixes for Sun compiler.
2715- Minor bug fix.
2716
Behdad Esfahbodcf81fb32013-01-10 09:06:34 -06002717Overview of changes leading to 0.9.11
2718Thursday, January 10, 2013
2719=====================================
2720
2721- Build fixes.
2722- Fix GPOS mark attachment with null Anchor offsets.
2723- [Indic] Fix old-spec reordering of viramas if sequence ends in one.
2724- Fix multi-threaded shaper data creation crash.
2725- Add atomic ops for Solaris.
2726
2727API changes:
2728- Rename hb_buffer_clear() to hb_buffer_clear_contents().
2729
2730
Behdad Esfahbod34e6c3e2013-01-03 00:14:24 -06002731Overview of changes leading to 0.9.10
2732Thursday, January 3, 2013
2733=====================================
2734
2735- [Indic] Fixed rendering of Malayalam dot-reph
2736- Updated OT language tags.
2737- Updated graphite2 backend.
2738- Improved hb_ot_layout_get_size_params() logic.
2739- Improve hb-shape/hb-view help output.
2740- Fixed hb-set.h implementation to not crash.
2741- Fixed various issues with hb_ot_layout_collect_lookups().
2742- Various build fixes.
2743
2744New API:
2745
2746hb_graphite2_face_get_gr_face()
2747hb_graphite2_font_get_gr_font()
2748hb_coretext_face_get_cg_font()
2749
2750Modified API:
2751
2752hb_ot_layout_get_size_params()
2753
2754
Behdad Esfahbodc6408a12012-12-05 17:36:52 -05002755Overview of changes leading to 0.9.9
2756Wednesday, December 5, 2012
2757====================================
2758
2759- Fix build on Windows.
2760- Minor improvements.
2761
2762
Behdad Esfahboda52f51b2012-12-04 15:43:38 -05002763Overview of changes leading to 0.9.8
2764Tuesday, December 4, 2012
2765====================================
2766
2767
2768- Actually implement hb_shape_plan_get_shaper ().
2769- Make UCDB data tables const.
2770- Lots of internal refactoring in OTLayout tables.
2771- Flesh out hb_ot_layout_lookup_collect_glyphs().
2772
2773New API:
2774
2775hb_ot_layout_collect_lookups()
2776hb_ot_layout_get_size_params()
2777
2778
Behdad Esfahbod4c896352012-11-21 01:20:56 -05002779Overview of changes leading to 0.9.7
2780Sunday, November 21, 2012
2781====================================
2782
2783
2784HarfBuzz "All-You-Can-Eat-Sushi" (aka Vancouver) Hackfest and follow-on fixes.
2785
2786- Fix Arabic contextual joining using pre-context text.
2787- Fix Sinhala "split matra" mess.
2788- Fix Khmer shaping with broken fonts.
2789- Implement Thai "PUA" shaping for old fonts.
2790- Do NOT route Kharoshthi script through the Indic shaper.
2791- Disable fallback positioning for Indic and Thai shapers.
2792- Misc fixes.
2793
2794
2795hb-shape / hb-view changes:
2796
2797- Add --text-before and --text-after
2798- Add --bot / --eot / --preserve-default-ignorables
2799- hb-shape --output-format=json
2800
2801
2802New API:
2803
2804hb_buffer_clear()
2805
2806hb_buffer_flags_t
2807
2808HB_BUFFER_FLAGS_DEFAULT
2809HB_BUFFER_FLAG_BOT
2810HB_BUFFER_FLAG_EOT
2811HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES
2812
2813hb_buffer_set_flags()
2814hb_buffer_get_flags()
2815
2816HB_BUFFER_SERIALIZE_FLAGS
2817hb_buffer_serialize_glyphs()
2818hb_buffer_deserialize_glyphs()
2819hb_buffer_serialize_list_formats()
2820
2821hb_set_add_range()
2822hb_set_del_range()
2823hb_set_get_population()
2824hb_set_next_range()
2825
2826hb_face_[sg]et_glyph_count()
2827
2828hb_segment_properties_t
2829HB_SEGMENT_PROPERTIES_DEFAULT
2830hb_segment_properties_equal()
2831hb_segment_properties_hash()
2832
2833hb_buffer_set_segment_properties()
2834hb_buffer_get_segment_properties()
2835
2836hb_ot_layout_glyph_class_t
2837hb_ot_layout_get_glyph_class()
2838hb_ot_layout_get_glyphs_in_class()
2839
2840hb_shape_plan_t
2841hb_shape_plan_create()
2842hb_shape_plan_create_cached()
2843hb_shape_plan_get_empty()
2844hb_shape_plan_reference()
2845hb_shape_plan_destroy()
2846hb_shape_plan_set_user_data()
2847hb_shape_plan_get_user_data()
2848hb_shape_plan_execute()
2849hb_shape_plan_get_shaper()
2850
2851hb_ot_shape_plan_collect_lookups()
2852
2853
2854API changes:
2855
2856- Remove "mask" parameter from hb_buffer_add().
2857- Rename hb_ot_layout_would_substitute_lookup() and hb_ot_layout_substitute_closure_lookup().
2858- hb-set.h API const correction.
2859- Renamed hb_set_min/max() to hb_set_get_min/max().
2860- Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups().
2861- Rename hb_buffer_guess_properties() to hb_buffer_guess_segment_properties().
2862
2863
2864
Behdad Esfahbodda43a922012-11-13 13:48:26 -08002865Overview of changes leading to 0.9.6
2866Sunday, November 13, 2012
2867====================================
2868
2869- Don't clear pre-context text if no new context is provided.
2870- Fix ReverseChainingSubstLookup, which was totally borked.
2871- Adjust output format of hb-shape a bit.
2872- Include config.h.in in-tree. Makes it easier for alternate build systems.
2873- Fix hb_buffer_set_length(buffer, 0) invalid memory allocation.
2874- Use ICU LayoutEngine's C API instead of C++. Avoids much headache.
2875- Drop glyphs for all of Unicode Default_Ignorable characters.
2876- Misc build fixes.
2877
2878Arabic shaper:
2879- Enable 'dlig' and 'mset' features in Arabic shaper.
2880- Implement 'Phags-pa shaping, improve Mongolian.
2881
2882Indic shaper:
2883- Decompose Sinhala split matras the way old HarfBuzz / Pango did.
2884- Initial support for Consonant Medials.
2885- Start adding new-style Myanmar shaping.
2886- Make reph and 'pref' logic introspect the font.
2887- Route Meetei-Mayek through the Indic shaper.
2888- Don't apply 'liga' in Indic shaper.
2889- Improve Malayalam pre-base reordering Ra interaction with Chillus.
2890
2891
2892
Behdad Esfahbod13c05842012-10-14 18:37:09 -05002893Overview of changes leading to 0.9.5
2894Sunday, October 14, 2012
2895====================================
2896
2897- Synthetic-GSUB Arabic fallback shaping.
2898
2899- Misc Indic improvements.
2900
2901- Add build system support for pthread.
2902
2903- Imported UCDN for in-tree Unicode callbacks implementation.
2904
2905- Context-aware Arabic joining.
2906
2907- Misc other fixes.
2908
2909- New API:
2910
2911 hb_feature_to/from-string()
2912 hb_buffer_[sg]et_content_type()
2913
2914
2915
Behdad Esfahbodf7e81ce2012-09-04 15:32:37 -04002916Overview of changes leading to 0.9.4
2917Tuesday, Sep 03, 2012
2918====================================
2919
2920- Indic improvements with old-spec Malayalam.
2921
2922- Better fallback glyph positioning, specially with Thai / Lao marks.
2923
2924- Implement dotted-circle insertion.
2925
2926- Better Arabic fallback shaping / ligation.
2927
2928- Added ICU LayoutEngine backend for testing. Call it by the 'icu_le' name.
2929
2930- Misc fixes.
2931
2932
2933
Behdad Esfahbod7fe00d12012-08-18 13:59:46 -04002934Overview of changes leading to 0.9.3
2935Friday, Aug 18, 2012
2936====================================
2937
2938- Fixed fallback mark positioning for left-to-right text.
2939
2940- Improve mark positioning for the remaining combining classes.
2941
2942- Unbreak Thai and fallback Arabic shaping.
2943
2944- Port Arabic shaper to shape-plan caching.
2945
2946- Use new ICU normalizer functions.
2947
2948
2949
Behdad Esfahbode297ee42012-08-10 14:49:37 -04002950Overview of changes leading to 0.9.2
Behdad Esfahbod9fe76052012-08-15 17:24:28 -04002951Friday, Aug 10, 2012
Behdad Esfahbode297ee42012-08-10 14:49:37 -04002952====================================
2953
2954- Over a thousand commits! This is the first major release of HarfBuzz.
2955
2956- HarfBuzz is feature-complete now! It should be in par, or better, than
2957 both Pango's shapers and old HarfBuzz / Qt shapers.
2958
2959- New Indic shaper, supporting main Indic scripts, Sinhala, and Khmer.
2960
2961- Improved Arabic shaper, with fallback Arabic shaping, supporting Arabic,
2962 Sinhala, N'ko, Mongolian, and Mandaic.
2963
2964- New Thai / Lao shaper.
2965
2966- Tibetan / Hangul support in the generic shaper.
2967
2968- Synthetic GDEF support for fonts without a GDEF table.
2969
2970- Fallback mark positioning for fonts without a GPOS table.
2971
2972- Unicode normalization shaping heuristic during glyph mapping.
2973
2974- New experimental Graphite2 backend.
2975
2976- New Uniscribe backend (primarily for testing).
2977
2978- New CoreText backend (primarily for testing).
2979
2980- Major optimization and speedup.
2981
2982- Test suites and testing infrastructure (work in progress).
2983
2984- Greatly improved hb-view cmdline tool.
2985
2986- hb-shape cmdline tool.
2987
2988- Unicode 6.1 support.
2989
2990Summary of API changes:
2991
2992o Changed API:
2993
2994 - Users are expected to only include main header files now (ie. hb.h,
2995 hb-glib.h, hb-ft.h, ...)
2996
2997 - All struct tag names had their initial underscore removed.
2998 Ie. "struct _hb_buffer_t" is "struct hb_buffer_t" now.
2999
3000 - All set_user_data() functions now take a "replace" boolean parameter.
3001
3002 - hb_buffer_create() takes zero arguments now.
3003 Use hb_buffer_pre_allocate() to pre-allocate.
3004
luz paze2e30502022-01-16 07:00:53 -05003005 - hb_buffer_add_utf*() now accept -1 for length parameters,
Behdad Esfahbode297ee42012-08-10 14:49:37 -04003006 meaning "nul-terminated".
3007
3008 - hb_direction_t enum values changed.
3009
3010 - All *_from_string() APIs now take a length parameter to allow for
3011 non-nul-terminated strings. A -1 length means "nul-terminated".
3012
3013 - Typedef for hb_language_t changed.
3014
3015 - hb_get_table_func_t renamed to hb_reference_table_func_t.
3016
3017 - hb_ot_layout_table_choose_script()
3018
3019 - Various renames in hb-unicode.h.
3020
3021o New API:
3022
3023 - hb_buffer_guess_properties()
3024 Automatically called by hb_shape().
3025
3026 - hb_buffer_normalize_glyphs()
3027
3028 - hb_tag_from_string()
3029
3030 - hb-coretext.h
3031
3032 - hb-uniscribe.h
3033
3034 - hb_face_reference_blob()
3035 - hb_face_[sg]et_index()
3036 - hb_face_set_upem()
3037
3038 - hb_font_get_glyph_name_func_t
3039 hb_font_get_glyph_from_name_func_t
3040 hb_font_funcs_set_glyph_name_func()
3041 hb_font_funcs_set_glyph_from_name_func()
3042 hb_font_get_glyph_name()
3043 hb_font_get_glyph_from_name()
3044 hb_font_glyph_to_string()
3045 hb_font_glyph_from_string()
3046
3047 - hb_font_set_funcs_data()
3048
3049 - hb_ft_font_set_funcs()
3050 - hb_ft_font_get_face()
3051
3052 - hb-gobject.h (work in progress)
3053
3054 - hb_ot_shape_glyphs_closure()
3055 hb_ot_layout_substitute_closure_lookup()
3056
3057 - hb-set.h
3058
3059 - hb_shape_full()
3060
3061 - hb_unicode_combining_class_t
3062
3063 - hb_unicode_compose_func_t
3064 hb_unicode_decompose_func_t
3065 hb_unicode_decompose_compatibility_func_t
3066 hb_unicode_funcs_set_compose_func()
3067 hb_unicode_funcs_set_decompose_func()
3068 hb_unicode_funcs_set_decompose_compatibility_func()
3069 hb_unicode_compose()
3070 hb_unicode_decompose()
3071 hb_unicode_decompose_compatibility()
3072
3073o Removed API:
3074
3075 - hb_ft_get_font_funcs()
3076
3077 - hb_ot_layout_substitute_start()
3078 hb_ot_layout_substitute_lookup()
3079 hb_ot_layout_substitute_finish()
3080 hb_ot_layout_position_start()
3081 hb_ot_layout_position_lookup()
3082 hb_ot_layout_position_finish()
3083
3084
3085
Behdad Esfahbodf2455762011-05-25 16:08:06 -04003086Overview of changes leading to 0.6.0
3087Friday, May 27, 2011
3088====================================
3089
3090- Vertical text support in GPOS
3091- Almost all API entries have unit tests now, under test/
3092- All thread-safety issues are fixed
3093
3094Summary of API changes follows.
3095
3096
3097* Simple Types API:
3098
3099 o New API:
3100 HB_LANGUAGE_INVALID
3101 hb_language_get_default()
3102 hb_direction_to_string()
3103 hb_direction_from_string()
3104 hb_script_get_horizontal_direction()
3105 HB_UNTAG()
3106
3107 o Renamed API:
3108 hb_category_t renamed to hb_unicode_general_category_t
3109
3110 o Changed API:
3111 hb_language_t is a typed pointers now
3112
3113 o Removed API:
3114 HB_TAG_STR()
3115
3116
3117* Use ISO 15924 tags for hb_script_t:
3118
3119 o New API:
3120 hb_script_from_iso15924_tag()
3121 hb_script_to_iso15924_tag()
3122 hb_script_from_string()
3123
3124 o Changed API:
3125 HB_SCRIPT_* enum members changed value.
3126
3127
3128* Buffer API streamlined:
3129
3130 o New API:
3131 hb_buffer_reset()
3132 hb_buffer_set_length()
3133 hb_buffer_allocation_successful()
3134
3135 o Renamed API:
3136 hb_buffer_ensure() renamed to hb_buffer_pre_allocate()
3137 hb_buffer_add_glyph() renamed to hb_buffer_add()
3138
3139 o Removed API:
3140 hb_buffer_clear()
3141 hb_buffer_clear_positions()
3142
3143 o Changed API:
3144 hb_buffer_get_glyph_infos() takes an out length parameter now
3145 hb_buffer_get_glyph_positions() takes an out length parameter now
3146
3147
3148* Blob API streamlined:
3149
3150 o New API:
3151 hb_blob_get_data()
3152 hb_blob_get_data_writable()
3153
3154 o Renamed API:
3155 hb_blob_create_empty() renamed to hb_blob_get_empty()
3156
3157 o Removed API:
3158 hb_blob_lock()
3159 hb_blob_unlock()
3160 hb_blob_is_writable()
3161 hb_blob_try_writable()
3162
3163 o Changed API:
3164 hb_blob_create() takes user_data before destroy now
3165
3166
3167* Unicode functions API:
3168
3169 o Unicode function vectors can subclass other unicode function vectors now.
3170 Unimplemented callbacks in the subclass automatically chainup to the parent.
3171
3172 o All hb_unicode_funcs_t callbacks take a user_data now. Their setters
3173 take a user_data and its respective destroy callback.
3174
3175 o New API:
3176 hb_unicode_funcs_get_empty()
3177 hb_unicode_funcs_get_default()
3178 hb_unicode_funcs_get_parent()
3179
3180 o Changed API:
3181 hb_unicode_funcs_create() now takes a parent_funcs.
3182
3183 o Removed func getter functions:
3184 hb_unicode_funcs_get_mirroring_func()
3185 hb_unicode_funcs_get_general_category_func()
3186 hb_unicode_funcs_get_script_func()
3187 hb_unicode_funcs_get_combining_class_func()
3188 hb_unicode_funcs_get_eastasian_width_func()
3189
3190
3191* Face API:
3192
3193 o Renamed API:
3194 hb_face_get_table() renamed to hb_face_reference_table()
3195 hb_face_create_for_data() renamed to hb_face_create()
3196
3197 o Changed API:
3198 hb_face_create_for_tables() takes user_data before destroy now
3199 hb_face_reference_table() returns empty blob instead of NULL
3200 hb_get_table_func_t accepts the face as first parameter now
3201
3202* Font API:
3203
3204 o Fonts can subclass other fonts now. Unimplemented callbacks in the
3205 subclass automatically chainup to the parent. When chaining up,
3206 scale is adjusted if the parent font has a different scale.
3207
3208 o All hb_font_funcs_t callbacks take a user_data now. Their setters
3209 take a user_data and its respective destroy callback.
3210
3211 o New API:
3212 hb_font_get_parent()
3213 hb_font_funcs_get_empty()
3214 hb_font_create_sub_font()
3215
3216 o Removed API:
3217 hb_font_funcs_copy()
3218 hb_font_unset_funcs()
3219
3220 o Removed func getter functions:
3221 hb_font_funcs_get_glyph_func()
3222 hb_font_funcs_get_glyph_advance_func()
3223 hb_font_funcs_get_glyph_extents_func()
3224 hb_font_funcs_get_contour_point_func()
3225 hb_font_funcs_get_kerning_func()
3226
3227 o Changed API:
3228 hb_font_create() takes a face and references it now
3229 hb_font_set_funcs() takes user_data before destroy now
3230 hb_font_set_scale() accepts signed integers now
3231 hb_font_get_contour_point_func_t now takes glyph first, then point_index
3232 hb_font_get_glyph_func_t returns a success boolean now
3233
3234
3235* Changed object model:
3236
3237 o All object types have a _get_empty() now:
3238 hb_blob_get_empty()
3239 hb_buffer_get_empty()
3240 hb_face_get_empty()
3241 hb_font_get_empty()
3242 hb_font_funcs_get_empty()
3243 hb_unicode_funcs_get_empty()
3244
3245 o Added _set_user_data() and _get_user_data() for all object types:
3246 hb_blob_get_user_data()
3247 hb_blob_set_user_data()
3248 hb_buffer_get_user_data()
3249 hb_buffer_set_user_data()
3250 hb_face_get_user_data()
3251 hb_face_set_user_data()
3252 hb_font_funcs_get_user_data()
3253 hb_font_funcs_set_user_data()
3254 hb_font_get_user_data()
3255 hb_font_set_user_data()
3256 hb_unicode_funcs_get_user_data()
3257 hb_unicode_funcs_set_user_data()
3258
3259 o Removed the _get_reference_count() from all object types:
3260 hb_blob_get_reference_count()
3261 hb_buffer_get_reference_count()
3262 hb_face_get_reference_count()
3263 hb_font_funcs_get_reference_count()
3264 hb_font_get_reference_count()
3265 hb_unicode_funcs_get_reference_count()
3266
3267 o Added _make_immutable() and _is_immutable() for all object types except for buffer:
3268 hb_blob_make_immutable()
3269 hb_blob_is_immutable()
3270 hb_face_make_immutable()
3271 hb_face_is_immutable()
3272
3273
3274* Changed API for vertical text support
3275
3276 o The following callbacks where removed:
3277 hb_font_get_glyph_advance_func_t
3278 hb_font_get_kerning_func_t
3279
3280 o The following new callbacks added instead:
3281 hb_font_get_glyph_h_advance_func_t
3282 hb_font_get_glyph_v_advance_func_t
3283 hb_font_get_glyph_h_origin_func_t
3284 hb_font_get_glyph_v_origin_func_t
3285 hb_font_get_glyph_h_kerning_func_t
3286 hb_font_get_glyph_v_kerning_func_t
3287
3288 o The following API removed as such:
3289 hb_font_funcs_set_glyph_advance_func()
3290 hb_font_funcs_set_kerning_func()
3291 hb_font_get_glyph_advance()
3292 hb_font_get_kerning()
3293
3294 o New API added instead:
3295 hb_font_funcs_set_glyph_h_advance_func()
3296 hb_font_funcs_set_glyph_v_advance_func()
3297 hb_font_funcs_set_glyph_h_origin_func()
3298 hb_font_funcs_set_glyph_v_origin_func()
3299 hb_font_funcs_set_glyph_h_kerning_func()
3300 hb_font_funcs_set_glyph_v_kerning_func()
3301 hb_font_get_glyph_h_advance()
3302 hb_font_get_glyph_v_advance()
3303 hb_font_get_glyph_h_origin()
3304 hb_font_get_glyph_v_origin()
3305 hb_font_get_glyph_h_kerning()
3306 hb_font_get_glyph_v_kerning()
3307
3308 o The following higher-leve API added for convenience:
3309 hb_font_get_glyph_advance_for_direction()
3310 hb_font_get_glyph_origin_for_direction()
3311 hb_font_add_glyph_origin_for_direction()
3312 hb_font_subtract_glyph_origin_for_direction()
3313 hb_font_get_glyph_kerning_for_direction()
3314 hb_font_get_glyph_extents_for_origin()
3315 hb_font_get_glyph_contour_point_for_origin()
3316
3317
3318* OpenType Layout API:
3319
3320 o New API:
3321 hb_ot_layout_position_start()
3322 hb_ot_layout_substitute_start()
3323 hb_ot_layout_substitute_finish()
3324
3325
3326* Glue code:
3327
3328 o New API:
3329 hb_glib_script_to_script()
3330 hb_glib_script_from_script()
3331 hb_icu_script_to_script()
3332 hb_icu_script_from_script()
3333
3334
3335* Version API added:
3336
3337 o New API:
3338 HB_VERSION_MAJOR
3339 HB_VERSION_MINOR
3340 HB_VERSION_MICRO
3341 HB_VERSION_STRING
3342 HB_VERSION_CHECK()
3343 hb_version()
3344 hb_version_string()
3345 hb_version_check()
3346
3347