You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-21 14:57:09 +00:00
HarfBuzz: Update to version 3.3.1
This commit is contained in:
3
thirdparty/harfbuzz/src/hb-font.hh
vendored
3
thirdparty/harfbuzz/src/hb-font.hh
vendored
@@ -109,6 +109,8 @@ struct hb_font_t
|
||||
|
||||
int32_t x_scale;
|
||||
int32_t y_scale;
|
||||
float slant;
|
||||
float slant_xy;
|
||||
int64_t x_mult;
|
||||
int64_t y_mult;
|
||||
|
||||
@@ -617,6 +619,7 @@ struct hb_font_t
|
||||
signed upem = face->get_upem ();
|
||||
x_mult = ((int64_t) x_scale << 16) / upem;
|
||||
y_mult = ((int64_t) y_scale << 16) / upem;
|
||||
slant_xy = y_scale ? slant * x_scale / y_scale : 0.f;
|
||||
}
|
||||
|
||||
hb_position_t em_mult (int16_t v, int64_t mult)
|
||||
|
||||
Reference in New Issue
Block a user