Skip to content

Commit 502bf59

Browse files
committed
Merge
2 parents 5778ce8 + 10cd730 commit 502bf59

109 files changed

Lines changed: 9765 additions & 6879 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

src/java.desktop/share/legal/harfbuzz.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Harfbuzz 12.3.2
1+
## Harfbuzz v14.2.0
22

33
### Harfbuzz License
44

@@ -75,7 +75,7 @@ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
7575
The below applies to the following file(s):
7676
libharfbuzz/hb-unicode-emoji-table.hh
7777

78-
© 2024 Unicode®, Inc.
78+
© 2025 Unicode®, Inc.
7979

8080
Unicode and the Unicode Logo are registered trademarks of Unicode, Inc.
8181
in the U.S. and other countries.

src/java.desktop/share/native/libharfbuzz/OT/Color/COLR/COLR.hh

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,13 @@ struct ColorLine
525525

526526
hb_paint_extend_t get_extend () const
527527
{
528-
return (hb_paint_extend_t) (unsigned int) extend;
528+
switch ((unsigned int) extend)
529+
{
530+
case Extend::EXTEND_REPEAT: return HB_PAINT_EXTEND_REPEAT;
531+
case Extend::EXTEND_REFLECT: return HB_PAINT_EXTEND_REFLECT;
532+
case Extend::EXTEND_PAD:
533+
default: return HB_PAINT_EXTEND_PAD;
534+
}
529535
}
530536

531537
HB_INTERNAL static hb_paint_extend_t static_get_extend (hb_color_line_t *color_line,
@@ -1520,9 +1526,9 @@ struct PaintComposite
15201526
void paint_glyph (hb_paint_context_t *c) const
15211527
{
15221528
TRACE_PAINT (this);
1523-
c->funcs->push_group (c->data);
1529+
c->funcs->push_group_for (c->data, HB_PAINT_COMPOSITE_MODE_SRC_OVER);
15241530
c->recurse (this+backdrop);
1525-
c->funcs->push_group (c->data);
1531+
c->funcs->push_group_for (c->data, (hb_paint_composite_mode_t) (int) mode);
15261532
c->recurse (this+src);
15271533
c->funcs->pop_group (c->data, (hb_paint_composite_mode_t) (int) mode);
15281534
c->funcs->pop_group (c->data, HB_PAINT_COMPOSITE_MODE_SRC_OVER);
@@ -1814,10 +1820,7 @@ struct ClipList
18141820
{
18151821
auto *rec = clips.as_array ().bsearch (gid);
18161822
if (rec)
1817-
{
1818-
rec->get_extents (extents, this, instancer);
1819-
return true;
1820-
}
1823+
return rec->get_extents (extents, this, instancer);
18211824
return false;
18221825
}
18231826

src/java.desktop/share/native/libharfbuzz/OT/Color/CPAL/CPAL.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ struct CPAL
172172

173173
bool has_data () const { return numPalettes; }
174174

175-
unsigned int get_size () const
175+
size_t get_size () const
176176
{ return min_size + numPalettes * sizeof (colorRecordIndicesZ[0]); }
177177

178178
unsigned int get_palette_count () const { return numPalettes; }

src/java.desktop/share/native/libharfbuzz/OT/Color/sbix/sbix.hh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ struct SBIXGlyph
7979

8080
struct SBIXStrike
8181
{
82-
static unsigned int get_size (unsigned num_glyphs)
82+
static size_t get_size (unsigned num_glyphs)
8383
{ return min_size + num_glyphs * HBUINT32::static_size; }
8484

8585
bool sanitize (hb_sanitize_context_t *c) const

0 commit comments

Comments
 (0)