Update HarfBuzz to 2.6.0
Categories
(Core :: Graphics: Text, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox70 | --- | fixed |
People
(Reporter: RyanVM, Assigned: RyanVM)
References
Details
(Whiteboard: [third-party-lib-audit][gfx-noted])
Attachments
(1 file)
Overview of changes leading to 2.6.0
Tuesday, August 13, 2019
- New OpenType metrics, baseline, and metadata table access APIs.
- New API to set font variations to a named-instance.
- New hb-gdi.h header and API for creating hb_face_t from HFONT.
- Amalgam: Provide a single-file harfbuzz.cc file for easier alternate building.
- More size-reduction configurable options, enabled by HB_TINY.
- New API:
+hb_font_set_var_named_instance()
+hb_gdi_face_create()
+hb_ot_layout_baseline_tag_t
+hb_ot_layout_get_baseline()
+hb_ot_meta_tag_t
+hb_ot_meta_get_entry_tags()
+hb_ot_meta_reference_entry()
+hb_ot_metrics_tag_t
+hb_ot_metrics_get_position()
+hb_ot_metrics_get_variation()
+hb_ot_metrics_get_x_variation()
+hb_ot_metrics_get_y_variation()
| Assignee | ||
Comment 1•6 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #0)
- Amalgam: Provide a single-file harfbuzz.cc file for easier alternate building.
Well, this could certainly make for a smaller moz.build. Any thoughts on me trying this out, Jonathan?
| Assignee | ||
Comment 2•6 years ago
|
||
That said, it'd bring in some things we've left out in the past, like hb-coretext, hb-directwrite, etc.
Comment 3•6 years ago
|
||
Yeah, given that we are deliberately selective about what we include in our build, I'd be inclined to ignore that for now.
(It does suggest, though, that we might be able to move the files we currently have in SOURCES back to UNIFIED_SOURCES, as the conflicts we originally encountered may have been resolved.)
| Assignee | ||
Comment 4•6 years ago
|
||
| Assignee | ||
Comment 5•6 years ago
|
||
(In reply to Jonathan Kew (:jfkthame) from comment #3)
(It does suggest, though, that we might be able to move the files we currently have in SOURCES back to UNIFIED_SOURCES, as the conflicts we originally encountered may have been resolved.)
Indeed we can :). Try push:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c62f2a5818e6a5acfc5b10e766af5ab9867af022
Comment 7•6 years ago
|
||
| bugherder | ||
Comment 8•6 years ago
|
||
First, please use 2.6.1. 2.6.0 had a regression.
Second, all conflicts are fixed. Also, hb-coretext, etc won't compile anything if the corresponding HAVE_CORETEXT etc are not defined. So it's safe to just include harfbuzz.cc But you can do your own unified build as well.
| Assignee | ||
Comment 9•6 years ago
|
||
(In reply to Behdad Esfahbod from comment #8)
First, please use 2.6.1. 2.6.0 had a regression.
We updated to 2.6.1 in bug 1576041 prior to Fx70 going to Beta, so we won't be shipping anything with 2.6.0.
Description
•