Commit graph

22 commits

Author SHA1 Message Date
wiz
e284349ff8 harfbuzz*: update to 4.3.0
Add PLIST_SUBST to reduce PLIST churn.

Overview of changes leading to 4.3.0
Friday, May 20, 2022
====================================
- Major speed up in loading and subsetting fonts, especially in
  handling CFF table. Subsetting some fonts is now 3 times faster.
  (Behdad Esfahbod, Garret Rieger)
- Speed up blending CFF2 table. (Behdad Esfahbod)
- Speed up hb_ot_tags_from_language(). (Behdad Esfahbod, David Corbett)
- Fix USE classification of U+10A38 to fix multiple marks on single Kharoshthi
  base. (David Corbett)
- Fix parsing of empty CFF Index. (Behdad Esfahbod)
- Fix subsetting CPAL table with partial palette overlaps. (Garret Rieger)

- New API
+hb_map_is_equal() (Behdad Esfahbod)
2022-05-28 09:17:52 +00:00
adam
aad64a71eb harfbuzz harfbuzz-icu: updated to 4.2.1
4.2.1
Make sure hb_blob_create_from_file_or_fail() always returns nullptr in case of failure and not empty blob sometimes. (Khaled Hosny)
Add --passthrough-tables option to hb-subset. (Cosimo Lupo)
Reinstate a pause after basic features in Khmer shaper, fixing a regression introduced in previous release. (Behdad Esfahbod)
Better handling of Regional_Indicator when shaped with RTL-native scripts, reverting earlier fix that caused regressions in AAT shaping.
2022-04-24 17:23:44 +00:00
tnn
59ee561172 harfbuzz-icu: catch up with fonts/harfbuzz 2022-04-20 23:25:58 +00:00
adam
f5e35d538b revbump for textproc/icu update 2022-04-18 19:09:40 +00:00
wiz
cd3cbecc8c harfbuzz*: update to 4.1.0
Overview of changes leading to 4.1.0
Wednesday, March 23, 2022
====================================
- Various OSS-Fuzz fixes. (Behdad Esfahbod)
- Make fallback vertical-origin match FreeType’s. (Behdad Esfahbod)
- Treat visible viramas like dependent vowels in USE shaper. (David Corbett)
- Apply presentation forms features and discretionary features in one go in
  Indic shaper, which seems to match Uniscribe and CoreText behaviour.
  (Behdad Esfahbod, David Corbett)
- Various bug fixes.

- New API
+hb_set_add_sorted_array()
2022-03-30 08:28:59 +00:00
adam
28291798a3 harfbuzz harfbuzz-icu: updated to 4.0.1
4.0.1

Update OpenType to AAT mappings for hist and vrtr features. (Florian Pircher)

Update IANA Language Subtag Registry to 2022-03-02. (David Corbett)

Update USE shaper to allow any non-numeric tail in a symbol cluster, and remove obsolete data overrides. (David Corbett)

Fix handling of baseline variations to return correctly scaled values. (Matthias Clasen)

A new experimental hb_subset_repack_or_fail() to repack an array of objects, eliminating offset overflows. The API is not available unless HarfBuzz is built with experimental APIs enabled. (Qunxin Liu)

New experimental API
+hb_link_t
+hb_object_t
+hb_subset_repack_or_fail()
2022-03-14 11:08:13 +00:00
wiz
dc876b1433 harfbuzz*: update to 4.0.0
Overview of changes leading to 4.0.0
Tuesday, March 1, 2022
====================================
- New public API to create subset plan and gather information on things like
  glyph mappings in the final subset. The plan can then be passed on to perform
  the subsetting operation. (Garret Rieger)
- Draw API for extracting glyph shapes have been extended and finalized and is
  no longer an experimental API. The draw API supports glyf, CFF and CFF2
  glyph outlines tables, and applies variation settings set on the font as well
  as synthetic slant. The new public API is not backward compatible with the
  previous, non-public, experimental API. (Behdad Esfahbod)
- The hb-view tool will use HarfBuzz draw API to render the glyphs instead of
  cairo-ft when compiled with Cairo 1.17.5 or newer, setting HB_DRAW
  environment variable to 1 or 0 will force using or not use the draw API,
  respectively. (Behdad Esfahbod)
- The hb-shape and hb-view tools now default to using HarfBuzz’s own font
  loading functions (ot) instead of FreeType ones (ft). They also have a new
  option, --font-slant, to apply synthetic slant to the font. (Behdad Esfahbod)
- HarfBuzz now supports more than 65535 (the OpenType limit) glyph shapes and
  metrics. See https://github.com/be-fonts/boring-expansion-spec/issues/6 and
  https://github.com/be-fonts/boring-expansion-spec/issues/7 for details.
  (Behdad Esfahbod)
- New API to get the dominant horizontal baseline tag for a given script.
  (Behdad Esfahbod)
- New API to get the baseline positions from the font, and synthesize missing
  ones. As well as new API to get font metrics and synthesize missing ones.
  (Matthias Clasen)
- Improvements to finding dependencies on Windows when building with Visual
  Studio. (Chun-wei Fan)
- New buffer flag, HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT, that must be set
  during shaping for HB_GLYPH_FLAG_UNSAFE_TO_CONCAT flag to be reliably
  produced. This is to limit the performance hit of producing this flag to when
  it is actually needed. (Behdad Esfahbod)
- Documentation improvements. (Matthias Clasen)
2022-03-08 09:04:07 +00:00
ryoon
7ddce048c6 harfbuzz-icu: Use INSTALL_LIB instead of LN to create symlinks 2022-03-04 13:41:16 +00:00
wiz
f8ff6b2717 harfbuzz{,-icu}: update to 3.4.0
Overview of changes leading to 3.4.0
Sunday, February 13, 2022
====================================
- Perform sanity checks on shaping results is now part of “harfbuzz” library
  and can be enabled by setting the buffer flag HB_BUFFER_FLAG_VERIFY.
  (Behdad Esfahbod)
- Arabic Mark Transient Reordering Algorithm have been updated to revision 6.
  (Khaled Hosny)
- ISO 15924 code for mathematical notation, ‘Zmth’, now maps to the OpenType
  ‘math’ tag. (Alexis King)
- It is now possible to get at once all math kerning values for a given glyph
  at a given corner. (Alexis King)
- Fix locale_t portability issues on systems the typdef’s it to a void pointer.
  (Behdad Esfahbod)

- New API:
+HB_BUFFER_FLAG_VERIFY
+HB_OT_TAG_MATH_SCRIPT
+HB_SCRIPT_MATH
+hb_ot_math_kern_entry_t
+hb_ot_math_get_glyph_kernings

- Deprecated API
+HB_OT_MATH_SCRIPT
2022-02-16 22:32:14 +00:00
adam
c9f0ebfa2a harfbuzz harfbuzz-icu: updated to 3.3.2
3.3.2:
Revert splitting of pair positioning values introduced in 3.3.0 as it proved problematic.
2022-02-06 17:13:17 +00:00
ryoon
176b88c4f4 harfbuzz{.-icu}: Update to 3.3.1
* Use GitHub release tarball as distfile.

Changelog:
Overview of changes leading to 3.3.1
Monday, January 31, 2022
====================================
- Fix heap-use-after-free in harfbuzz-subset introduced in previous release.
  (Garret Rieger)


Overview of changes leading to 3.3.0
Monday, January 31, 2022
====================================
- Improved documentation. (Matthias Clasen)
- Internal code cleanup, using C++ standard library more. (Behdad Esfahbod)
- The low 16-bits of face index will be used by hb_face_create() to select a
  face inside a font collection file format, while the high 16-bits will be
  used by hb_font_create() to load the named instance. (Behdad Esfahbod)
- Glyph positions and other font metrics now apply synthetic slant set by
  hb_font_set_synthetic_slant(), for improved positioning for synthetically
  slanted fonts. (Behdad Esfahbod)
- Fixed unintentional locale dependency in hb_variation_to_string() for decimal
  point representation. (Matthias Clasen)
- When applying pair positioning (kerning) the positioning value is split
  between the two sides of the pair for improved cursor positioning between
  such pairs. (Behdad Esfahbod)
- Introduced new HB_GLYPH_FLAG_UNSAFE_TO_CONCAT, to be used in conjunction
  with HB_GLYPH_FLAG_UNSAFE_TO_BREAK for optimizing re-shaping during line
  breaking. Check the documentation for further details. (Behdad Esfahbod)
- Improved handling of macrolanguages when mapping BCP 47 codes to OpenType
  tags. (David Corbett)

- New API:
+HB_GLYPH_FLAG_UNSAFE_TO_CONCAT
+hb_segment_properties_overlay()
+hb_buffer_create_similar()
+hb_font_set_synthetic_slant()
+hb_font_get_synthetic_slant()
+hb_font_get_var_coords_design()


Overview of changes leading to 3.2.0
Friday, November 26, 2021
====================================
"harfbuzz" library improvements:
- Fixed shaping of Apple Color Emoji flags in right-to-left context. (Behdad Esfahbod)
- Fixed positioning of CFF fonts in HB_TINY profile. (Behdad Esfahbod)
- OpenType 1.9 language tags update. (David Corbett)
- Add HB_NO_VERTICAL config option.
- Add HB_CONFIG_OVERRIDE_H for easier configuration. (Behdad Esfahbod)

"harfbuzz-subset" library improvements:
- Improved packing of cmap, loca, and Ligature tables. (Garret Rieger)
- Significantly improved overflow-resolution strategy in the repacker. (Garret Rieger)
2022-02-04 16:39:36 +00:00
adam
b6d9bd86bc revbump for icu and libffi 2021-12-08 16:01:42 +00:00
adam
f375a09143 harfbuzz harfbuzz-icu: updated to 3.1.2
3.1.2
hb-shape / hb-view: revert treating text on the commandline as single paragraph (was introduced in 3.0.0); add new --single-par to do that.
Subsetter bug fixes.
2021-11-29 20:24:56 +00:00
adam
f60e3c10a4 harfbuzz harfbuzz-icu: updated to 3.1.1
3.1.1:
Work around GCC cast-align error/warning on some platforms.
Documentation improvements.
2021-11-08 06:47:42 +00:00
wiz
552b5ca55d harfbuzz-icu: adapt PLIST for harfbuzz update 2021-11-07 17:18:13 +00:00
wiz
634b9cf008 harfbuzz-icu: fix for 3.0 update 2021-09-29 20:26:01 +00:00
markd
a1392459d6 harfbuzz{,-icu}: update to 2.8.1
Overview of changes leading to 2.8.1
Tuesday, May 4, 2021
====================================
- Subsetter now fully supports GSUB/GPOS/GDEF tables (including variations); as
  such, layout tables are retained by subsetter by default. (Garret Rieger, Qunxin Liu)
- Build scripts no longer check for FontConfig as HarfBuzz does not use it.
- hb-view supports iTerm2 and kitty inline image protocols (Khaled Hosny),
  it can also use Chafa for terminal graphics if available (Hans Petter Jansson).

Overview of changes leading to 2.8.0
Tuesday, March 16, 2021
====================================
- Shape joining scripts other than Arabic/Syriac using the Universal Shaping Engine.
  Previously these were shaped using the generalized Arabic shaper. (David Corbett)
- Fix regression in shaping of U+0B55 ORIYA SIGN OVERLINE. (David Corbett)
- Update language tags. (David Corbett)
- Variations: reduce error: do not round each interpolated delta. (Just van Rossum)
- Documentation improvements. (Khaled Hosny, Nathan Willis)
- Subsetter improvements: subsets most, if not all, lookup types now. (Garret Rieger,
  Qunxin Liu)
- Fuzzer-found fixes and other improvements when memory failures happen. (Behdad)
- Removed most atomic implementations now that we have C++11 atomic impl. (Behdad)
- General codebase upkeep; using more C++11 features: constexpr constructors, etc.
  (Behdad)
2021-07-09 23:14:12 +00:00
adam
9d0e79c401 revbump for textproc/icu 2021-04-21 11:40:12 +00:00
adam
a20fbacf34 harfbuzz-icu: fix library name for Darwin 2021-04-01 06:16:50 +00:00
ryoon
5428de4702 harfbuzz: Update to 2.7.4
Changelog:
2.7.4
    Fix missing --enable-introspection configure option from previous release tarball.
    Documentation updates.

2.7.3
    Update USE shaper to 2020-08-13 specification, and other improvements.
    Don't disable liga feature in myanmar shaper, to match Uniscribe.
    Improvements to language and script tags handling.
    Update language system tag registry to OpenType 1.8.4
    Support for serializing and deserializing Unicode buffers. Serialized buffers
    are now delimited with <> or [] based on whether it is a Unicode or
    glyphs buffer.
    Increase buffer work limits to handle fonts with many complex lookups.
    Handle more shaping operations in trace output.
    Memory access fixes.
    More OOM fixes.
    Improved documentation.
    Build system improvements.
    New API:
    +hb_buffer_has_positions()
    +hb_buffer_serialize()
    +hb_buffer_serialize_unicode()
    +hb_buffer_deserialize_unicode()
2021-01-01 08:58:00 +00:00
ryoon
62a194cb35 harfbuzz-icu: Pick up fonts/harfbuzz-icu directory 2020-11-06 17:00:06 +00:00
nia
adb3368547 Split out ICU integration library from the harfbuzz package.
Only a few pieces of software are using the ICU integration library,
these aren't the big harfbuzz users (i.e. gtk). this is intended to lessen
the impact of icu's frequent ABI breaks.
2020-11-06 15:06:49 +00:00