mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-07-09 13:55:31 +00:00
Tidy mixed tabs and spaces
This commit is contained in:
parent
7159f45c58
commit
701acb4282
1 changed files with 37 additions and 39 deletions
4
third_party/color_emoji/emoji_builder.py
vendored
4
third_party/color_emoji/emoji_builder.py
vendored
|
@ -33,7 +33,6 @@ def get_glyph_name_from_gsub (string, font, cmap_dict):
|
|||
if ligature.Component == rest_of_glyphs:
|
||||
return ligature.LigGlyph
|
||||
|
||||
|
||||
def div (a, b):
|
||||
return int (round (a / float (b)))
|
||||
|
||||
|
@ -490,8 +489,7 @@ By default they are dropped.
|
|||
glyph_imgs[glyph_id] = img_file
|
||||
if "verbose" in options:
|
||||
uchars_name = ",".join (["%04X" % ord (char) for char in uchars])
|
||||
# print "Matched U+%s: id=%d name=%s image=%s" % (
|
||||
# uchars_name, glyph_id, glyph_name, img_file)
|
||||
# print "Matched U+%s: id=%d name=%s image=%s" % (uchars_name, glyph_id, glyph_name, img_file)
|
||||
|
||||
advance += glyph_metrics[glyph_name][0]
|
||||
w, h = PNG (img_file).get_size ()
|
||||
|
|
Loading…
Add table
Reference in a new issue