roboto github
(roboto-env) m_fujii@LimMbp53 roboto % pip install -r requirements.txt Collecting git+https://github.com/typesupply/feaTools.git@ 8fc73f8ad5523cb6d9e0c8ac966eeb5dab5f7f49 (from -r requirements.txt (line 5)) Cloning https://github.com/typesupply/feaTools.git (to revision 8fc73f8ad5523cb6d9e0c8ac966eeb5dab5f7f49) to /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-jwfrh0am Running command git clone -q https://github.com/typesupply/feaTools.git /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-jwfrh0am Running command git checkout -q 8fc73f8ad5523cb6d9e0c8ac966eeb5dab5f7f49 Collecting git+https://github.com/googlei18n/nototools @8db437b21de59b2d7aba30429c60a78f3e853caa (from -r requirements.txt (line 8)) Cloning https://github.com/googlei18n/nototools (to revision 8db437b21de59b2d7aba30429c60a78f3e853caa) to /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-88l5letp Running command git clone -q https://github.com/googlei18n/nototools /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-88l5letp Running command git checkout -q 8db437b21de59b2d7aba30429c60a78f3e853caa Collecting git+https://github.com/robofab-developers/robofab.git @62229c4ea33c324e698766d3700ca9a47efcdeb6 (from -r requirements.txt (line 11)) Cloning https://github.com/robofab-developers/robofab.git (to revision 62229c4ea33c324e698766d3700ca9a47efcdeb6) to /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-dihuse8q Running command git clone -q https://github.com/robofab-developers/robofab.git /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-dihuse8q Running command git checkout -q 62229c4ea33c324e698766d3700ca9a47efcdeb6 ERROR: Command errored out with exit status 1: command: /Users/m_fujii/myFonts/github/roboto-src/roboto-env/bin/ python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T /pip-req-build-dihuse8q/setup.py'"'"'; __file__='"'"'/private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T /pip-req-build-dihuse8q/setup.py'"'"'; f=getattr(tokenize, '"'"'open'"'"', open)(__file__); code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"'); f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T /pip-pip-egg-info-3gw8gx3k cwd: /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T /pip-req-build-dihuse8q/ Complete output (6 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T /pip-req-build-dihuse8q/setup.py", line 15 print "*** Warning: FontTools needs the numpy library for some operations, see:" ^ SyntaxError: Missing parentheses in call to 'print'. Did you mean print("*** Warning: FontTools needs the numpy library for some operations, see:")? ---------------------------------------- ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
python3の場合、エラーになるよう。
% virtualenv --python=python2 roboto-env % source roboto-env/bin/activate
% which python % python -V Python 2.7.16 % cd roboto % pip install -r requirements.txt DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support Collecting git+https://github.com/typesupply/feaTools.git@8fc73f8ad5523cb6d9e0c8ac966eeb5dab5f7f49 (from -r requirements.txt (line 5)) Cloning https://github.com/typesupply/feaTools.git (to revision 8fc73f8ad5523cb6d9e0c8ac966eeb5dab5f7f49) to /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-MZFicw Running command git clone -q https://github.com/typesupply/feaTools.git /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-MZFicw Running command git checkout -q 8fc73f8ad5523cb6d9e0c8ac966eeb5dab5f7f49 Collecting git+https://github.com/googlei18n/nototools@8db437b21de59b2d7aba30429c60a78f3e853caa (from -r requirements.txt (line 8)) Cloning https://github.com/googlei18n/nototools (to revision 8db437b21de59b2d7aba30429c60a78f3e853caa) to /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-P2BJyh Running command git clone -q https://github.com/googlei18n/nototools /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-P2BJyh Running command git checkout -q 8db437b21de59b2d7aba30429c60a78f3e853caa Collecting git+https://github.com/robofab-developers/robofab.git@62229c4ea33c324e698766d3700ca9a47efcdeb6 (from -r requirements.txt (line 11)) Cloning https://github.com/robofab-developers/robofab.git (to revision 62229c4ea33c324e698766d3700ca9a47efcdeb6) to /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-k3DwUf Running command git clone -q https://github.com/robofab-developers/robofab.git /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-k3DwUf Running command git checkout -q 62229c4ea33c324e698766d3700ca9a47efcdeb6 Collecting git+https://github.com/googlei18n/ufo2ft.git@6184b1493bc4afc6969bd2516d02f3f616cb5484 (from -r requirements.txt (line 13)) Cloning https://github.com/googlei18n/ufo2ft.git (to revision 6184b1493bc4afc6969bd2516d02f3f616cb5484) to /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-i7IZwd Running command git clone -q https://github.com/googlei18n/ufo2ft.git /private/var/folders/s0/64qs_g2j54g694cykvzwczx00000gn/T/pip-req-build-i7IZwd Running command git checkout -q 6184b1493bc4afc6969bd2516d02f3f616cb5484 Collecting booleanOperations==0.5.2 Downloading booleanOperations-0.5.2-py2.py3-none-any.whl (19 kB) Collecting compreffor==0.3.0 Downloading compreffor-0.3.0.zip (86 kB) |████████████████████████████████| 86 kB 3.5 MB/s Collecting cu2qu==1.1.1 Downloading cu2qu-1.1.1-py2.py3-none-any.whl (79 kB) |████████████████████████████████| 79 kB 7.0 MB/s Collecting Cython==0.24.1 Downloading Cython-0.24.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (3.8 MB) |████████████████████████████████| 3.8 MB 8.6 MB/s Collecting fonttools==3.13.0 Downloading fonttools-3.13.0-py2.py3-none-any.whl (494 kB) |████████████████████████████████| 494 kB 23.3 MB/s Collecting freetype-py==1.0.2 Downloading freetype-py-1.0.2.tar.gz (394 kB) |████████████████████████████████| 394 kB 24.6 MB/s Collecting numpy==1.11.2rc1 Downloading numpy-1.11.2rc1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (3.9 MB) |████████████████████████████████| 3.9 MB 19.4 MB/s Collecting pyclipper==1.0.6 Downloading pyclipper-1.0.6-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (265 kB) |████████████████████████████████| 265 kB 22.9 MB/s Collecting scipy==0.18.1 Downloading scipy-0.18.1-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (21.8 MB) |████████████████████████████████| 21.8 MB 44.9 MB/s Collecting ufoLib==2.0.0 Downloading ufoLib-2.0.0-py2.py3-none-any.whl (95 kB) |████████████████████████████████| 95 kB 10.9 MB/s Building wheels for collected packages: compreffor, freetype-py, feaTools, nototools, robofab, ufo2ft Building wheel for compreffor (setup.py) ... done Created wheel for compreffor: filename=compreffor-0.3.0-cp27-cp27m-macosx_10_15_x86_64.whl size=70768 sha256=40d23cd00d288e9bf8d1722e2a9b23b63f56def2ffe238b1d6cb1797e2f7f175 Stored in directory: /Users/m_fujii/Library/Caches/pip/wheels/d8/e5/b8/3bbd39d2449d6ab01345bb7ad7bcbe3d6b2dc83108d51abdee Building wheel for freetype-py (setup.py) ... done Created wheel for freetype-py: filename=freetype_py-1.0.2-py2-none-any.whl size=64833 sha256=752221f3d2852c566ae603a15f03f980a2b96ce3449813e35d23124cc2b80bca Stored in directory: /Users/m_fujii/Library/Caches/pip/wheels/7e/78/64/fc54488a60a0fe06866ddbdc967f502f407b48e64800c83f06 Building wheel for feaTools (setup.py) ... done Created wheel for feaTools: filename=feaTools-0.1-py2-none-any.whl size=14751 sha256=f8b67049c6e2012c4b25fa620c8b0e363a56c0821c724c4c94777abe0ab11d5a Stored in directory: /Users/m_fujii/Library/Caches/pip/wheels/42/b0/15/78b2a526c2df5cfe863c2ddcde2b3bc89cfffa2d88f77f1c7a Building wheel for nototools (setup.py) ... done Created wheel for nototools: filename=nototools-0.0.1-py2-none-any.whl size=8736112 sha256=08999f03589d3c7094235bedc77faf41b5e0658ce64f104f012dd70d1201a019 Stored in directory: /Users/m_fujii/Library/Caches/pip/wheels/19/2e/ad/22d0c5a92fd3b8f8aedc8fa3b2e4fc989c2962d54384d639e2 Building wheel for robofab (setup.py) ... done Created wheel for robofab: filename=robofab-1.2-py2-none-any.whl size=177780 sha256=6f37f6bc23cdd37553a288291c857852dd090f02aebc323f0af0d1596147d18d Stored in directory: /Users/m_fujii/Library/Caches/pip/wheels/bb/40/29/4ed356491007adbc6472e5d502347c957e60999bfae7adae95 Building wheel for ufo2ft (setup.py) ... done Created wheel for ufo2ft: filename=ufo2ft-0.1-py2-none-any.whl size=28387 sha256=a4935f759a796d6946219d28ea3f005abab7546ee93c0b0f24f26f281b7f4b54 Stored in directory: /Users/m_fujii/Library/Caches/pip/wheels/e6/2d/fe/b3b87fb8830bb5bcd1d09ab44dce490d2816f34d5486056731 Successfully built compreffor freetype-py feaTools nototools robofab ufo2ft Installing collected packages: pyclipper, booleanOperations, fonttools, compreffor, ufoLib, cu2qu, Cython, freetype-py, numpy, scipy, feaTools, nototools, robofab, ufo2ft Successfully installed Cython-0.24.1 booleanOperations-0.5.2 compreffor-0.3.0 cu2qu-1.1.1 feaTools-0.1 fonttools-3.13.0 freetype-py-1.0.2 nototools-0.0.1 numpy-1.11.2rc1 pyclipper-1.0.6 robofab-1.2 scipy-0.18.1 ufo2ft-0.1 ufoLib-2.0.0 WARNING: You are using pip version 20.0.2; however, version 20.1.1 is available. You should consider upgrading via the '/Users/m_fujii/myFonts/github/roboto-src/roboto-env/bin/python -m pip install --upgrade pip' command. (roboto-env) m_fujii@LimMbp53 roboto %
brew install freetype glib cairo brew install autoconf automake libtool pkgconfig ragel gtk-doc ./autogen.sh ./configure make sudo make install
(roboto-env) m_fujii@LimMbp53 github % ls harfbuzz roboto-src (roboto-env) m_fujii@LimMbp53 github % cd roboto-src (roboto-env) m_fujii@LimMbp53 roboto-src % ls roboto roboto-env (roboto-env) m_fujii@LimMbp53 roboto-src % cd roboto (roboto-env) m_fujii@LimMbp53 roboto % ls CONTRIBUTING.md include samples LICENSE lib scripts Makefile pyvenv.cfg src README.md requirements.txt third_party bin res (roboto-env) m_fujii@LimMbp53 roboto % make PYTHONPATH=:/Users/m_fujii/myFonts/github/roboto-src/roboto/scripts/lib python scripts/build-v2.py --------------------- Roboto Thin ---------------------- >> Mixing masters >> Generating glyphs >> Generating diacritics Existing glyph "zcaron" found in font, ignoring composition rule "z+caron:top=zcaron" Existing glyph "Iogonek.smcp" found in font, ignoring composition rule "I.smcp+ogonek:right=Iogonek.smcp" Existing glyph "uni0424" found in font, ignoring composition rule "Phi=uni0424" Existing glyph "uni048D" found in font, ignoring composition rule "uni044C+crossbar:cross=uni048D" Existing glyph "uni0463" found in font, ignoring composition rule "uni044C+crossbar:cross=uni0463" Existing glyph "uni1E2C" found in font, ignoring composition rule "I+tildesubnosp:bottom=uni1E2C" Existing glyph "uni1E2D" found in font, ignoring composition rule "i+tildesubnosp:bottom=uni1E2D" Existing glyph "uni1E2E" found in font, ignoring composition rule "I+dieresisacutecomb:top=uni1E2E" Existing glyph "uni1E2F" found in font, ignoring composition rule "dotlessi+dieresisacutecomb.lc:top=uni1E2F" Existing glyph "uni1E3E" found in font, ignoring composition rule "M+acute:top=uni1E3E" Existing glyph "uni1E3F" found in font, ignoring composition rule "m+acute:top=uni1E3F" Existing glyph "uni1E9B" found in font, ignoring composition rule "longs+dotaccent:top=uni1E9B" Existing glyph "uni2C69" found in font, ignoring composition rule "K+cyrillictic:right=uni2C69" Existing glyph "uni2C6A" found in font, ignoring composition rule "k+cyrillictic:right=uni2C6A" Existing glyph "uni2C6B" found in font, ignoring composition rule "Z+cyrillictic:right=uni2C6B" Existing glyph "uni2C6C" found in font, ignoring composition rule "z+cyrillictic:right=uni2C6C" >> Copying features >> Decomposing >> Removing overlaps >> Generating font files >> Generating OTF file Traceback (most recent call last): File "scripts/build-v2.py", line 87, in <module> proj.generateFont(th.font, "%s/Thin/Regular/Th" % FAMILYNAME) File "/Users/m_fujii/myFonts/github/roboto-src/roboto/scripts/lib/fontbuild/Build.py", line 159, in generateFont self.thinGlyphOrder if "Thin" in otfName else self.glyphOrder) File "/Users/m_fujii/myFonts/github/roboto-src/roboto/scripts/lib/fontbuild/Build.py", line 281, in saveOTF useProductionNames=False) File "/Users/m_fujii/myFonts/github/roboto-src/roboto-env/lib/python2.7/site-packages/ufo2ft/__init__.py", line 24, in compileOTF otf = outlineCompiler.compile() File "/Users/m_fujii/myFonts/github/roboto-src/roboto-env/lib/python2.7/site-packages/ufo2ft/outlineOTF.py", line 98, in compile self.setupOtherTables() File "/Users/m_fujii/myFonts/github/roboto-src/roboto-env/lib/python2.7/site-packages/ufo2ft/outlineOTF.py", line 780, in setupOtherTables self.setupTable_CFF() File "/Users/m_fujii/myFonts/github/roboto-src/roboto-env/lib/python2.7/site-packages/ufo2ft/outlineOTF.py", line 895, in setupTable_CFF glyph = self.allGlyphs[glyphName] KeyError: 'Lj' make: *** [v2] Error 1 (roboto-env) m_fujii@LimMbp53 roboto %