We only want two fonts - the pixel font and the Helvetica font.
Then you'll want to configure polytext-worker to use munro - cruise around the world and take some screenshots and see if the discord wants us to change all the polytext to pixelfonts - or should we make it opt-in, in which case we want to add a dropdown to polytext.tsx where we can choose 'helvetica' or 'munro' as the font.
Add munro pixel font.
https://gist.github.com/bnolan/4b355696a0ca66a705c65a17c2b73455
I compiled munro.ttf using these steps:
https://forum.babylonjs.com/t/adding-a-new-font-for-meshwriter/2453/25 https://github.com/briantbutton/meshwriter-font
I had to edit the
const converage
inindex.js
ofmeshwriter-font
to use thedefault-coverage
inconfig.js
.You'll need to follow the instructions in here somewhere to compile a new
meshwriter.js
and stick it invendor
.https://forum.babylonjs.com/t/adding-a-new-font-for-meshwriter/2453/25
We only want two fonts - the pixel font and the
Helvetica
font.Then you'll want to configure
polytext-worker
to usemunro
- cruise around the world and take some screenshots and see if the discord wants us to change all the polytext to pixelfonts - or should we make it opt-in, in which case we want to add a dropdown topolytext.tsx
where we can choose 'helvetica' or 'munro' as the font.