mirror of
https://github.com/googlefonts/noto-emoji.git
synced 2025-06-07 23:37:58 +00:00
Merge pull request #18 from dougfelt/master
fix add_glyphs to use absolute path when extending sys.path
This commit is contained in:
commit
d9c46f652e
1 changed files with 3 additions and 2 deletions
5
third_party/color_emoji/add_glyphs.py
vendored
5
third_party/color_emoji/add_glyphs.py
vendored
|
@ -1,11 +1,12 @@
|
||||||
#!/usr/bin/env python
|
#!/usr/bin/env python
|
||||||
|
|
||||||
import glob, sys
|
import glob, os, sys
|
||||||
from fontTools import ttx
|
from fontTools import ttx
|
||||||
from fontTools.ttLib.tables import otTables
|
from fontTools.ttLib.tables import otTables
|
||||||
from png import PNG
|
from png import PNG
|
||||||
|
|
||||||
sys.path.append('../../')
|
sys.path.append(
|
||||||
|
os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))
|
||||||
import add_emoji_gsub
|
import add_emoji_gsub
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue