Comments (9)
For anyone looking for a quick fix, I used this PR (#65) plus some fixes (on my machine, it only worked with Node v10) to build the TTF file. Here is the TTF file and here is a demo.
from twemoji-colr.
14.0.2 released.
https://github.com/twitter/twemoji/releases/tag/v14.0.2
from twemoji-colr.
Just for future devs coming by this issue, following @nolanlawson's suggestion of using PR #65, I can execute make
successfully with Node.js versions v10.24.1 and v11.15.0.
The build fails with Node.js versions v12.22.12, v13.14.0, v14.19.3, v15.14.0, v16.15.0, v17.9.0, & v18.2.0 with the following error:
/tmp/node-v18.2.0-linux-x64/bin/node layerize.js twe-svg.zip overrides extras build Twemoji\ Mozilla
fs.js:47
} = primordials;
^
ReferenceError: primordials is not defined
at fs.js:47:5
at req_ (/home/atoponce/src/twemoji-colr/node_modules/natives/index.js:143:24)
at Object.req [as require] (/home/atoponce/src/twemoji-colr/node_modules/natives/index.js:55:10)
at Object.<anonymous> (/home/atoponce/src/twemoji-colr/node_modules/fstream/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Module._load (node:internal/modules/cjs/loader:827:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
Node.js v18.2.0
make: *** [Makefile:52: build/codepoints.js] Error 1
from twemoji-colr.
Just for future devs coming by this issue, following @nolanlawson's suggestion of using PR #65, I can execute
make
successfully with Node.js versions v10.24.1 and v11.15.0.The build fails with Node.js versions v12.22.12, v13.14.0, v14.19.3, v15.14.0, v16.15.0, v17.9.0, & v18.2.0 with the following error:
I tend to report this as separated issue, as updating to latest version of the Emoji fonts won't solve it.
from twemoji-colr.
@nolanlawson @atoponce @hpreusse
In my submitted PR #65, I've stated in additional notes that -
On Node versions 16 and 17 (should work on all versions >=12 I guess), before running
npm install
(as in “Getting started” part inREADME.md
), I have to runnpm install --package-lock-only --ignore-scripts && npx npm-force-resolutions
so that themake
step (as in “Building the font” part also inREADME.md
) will run successfully.
Maybe try the above as a workaround and see if it works?
from twemoji-colr.
Does anybody know when this will be merged/released and if there is a corresponding ticket to use the new version in firefox?
from twemoji-colr.
As the PR creator (refer #65), I am waiting for it too. Meanwhile, you can just replace the Firefox's included font file (yikes for Microsoft Windows 10/11 UWP users though) with your own generated font file for the time being.
from twemoji-colr.
@nolanlawson this apparently doesn't work correctly on Mac OS. You know why?
from twemoji-colr.
On MacOS the previous version of this font family didn't work. Does this version work?
from twemoji-colr.
Related Issues (20)
- Repo description on GitHub still refers to EmojiOne HOT 1
- update to Twemoji v11.0
- Ubuntu Getting Started instructions miss out python-fontforge package HOT 1
- Should MINIMAL_REPORT: true retain failed reports?
- Should version number reflect Unicode/Twemoji version? HOT 1
- CODE_OF_CONDUCT.md file missing
- Should we care that some of the Twemoji filenames don't match their actual sequence HOT 1
- Update to Twemoji v12
- Provide updated releases on GitHub HOT 2
- Glyphs do not render on Firefox 66 or Chrome 74 on MacOS 10.14.4 HOT 7
- `npm install` failing HOT 2
- Update to 13.0 HOT 3
- Not showing numbers on input like 1 , 2, 3 using this font family. HOT 13
- Flag of Martinique not showing snake eyes
- Update to 13.1.0 HOT 1
- v0.6.0 release has outdated binary uploaded HOT 5
- OT: Build with national flags
- CSS font-palette documentation
- Important metadata missing in ttf file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twemoji-colr.