mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-08 15:57:59 +00:00
Fix vert_x_bearing to integer type
At line 144: self.write (struct.pack ("BBbbBbbB", vert_x_bearing was expected to be an integer. Calculations is currently a double causing this to fail.
This commit is contained in:
parent
948b1a7f1e
commit
e753cc9d98
1 changed files with 1 additions and 1 deletions
2
third_party/color_emoji/emoji_builder.py
vendored
2
third_party/color_emoji/emoji_builder.py
vendored
|
@ -123,7 +123,7 @@ class CBDT:
|
||||||
y_bearing = 127
|
y_bearing = 127
|
||||||
advance = width
|
advance = width
|
||||||
|
|
||||||
vert_x_bearing = - width / 2
|
vert_x_bearing = int (- width / 2)
|
||||||
vert_y_bearing = 0
|
vert_y_bearing = 0
|
||||||
vert_advance = height
|
vert_advance = height
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue