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