13rac1 / twemoji-color-font

Twitter Unicode emoji color OpenType-SVG font for Linux/MacOS/Windows
Other
1.72k stars 74 forks source link

make file broken #98

Closed ghost closed 3 years ago

ghost commented 3 years ago

I am on artix and tried to build the font (I need to replace a couple of emojis). make -j 4 opens inkscape and does nothing until I close inkscape. Then it seems to do the build, it doesn't abort on some error. Once that happens, I can't find any generated font there. Any ideas? In the meantime I'm gonna setup an ubuntu vm and test there

ghost commented 3 years ago

I deleted most emojis to get few output and I got these lines: Unknown option --export-png make: *** [Makefile:122: build/svg-bw/1f1e6.svg] Error 1 make: *** Waiting for unfinished jobs.... Unknown option --export-png make: *** [Makefile:122: build/svg-bw/1f1e7.svg] Error 1

ghost commented 3 years ago

ok, so I edited line 26 of makefile like this: ifeq (0, $(shell inkscape --export-filename 1>&2 2> /dev/null; echo $$?)) and it worked. In the inkscape wiki it is said that most command line arguments trigger no-gui and --file-type=png was for versions below 1.0. This gave me a font, gonna test it

ghost commented 3 years ago

I generated a font which contained only 3 emotes but it did not generate colored for some reason image

13rac1 commented 3 years ago

Does this solve the issue? https://github.com/eosrei/twemoji-color-font/pull/90

ghost commented 3 years ago

yes, sorry for the long response time