Comments (8)
Unsure exactly what it is you want to do? 😄
Opentype.js is for font manipulation as far as I can see and since we're already zip'ing when building what would we need on-the-fly zipping for?
from monoid.
I was thinking: What if rather than building all the options before hand, we only host the original TTF files (Normal, Bold, Oblique, Retina) and then do the small option modifications in the browser? Think fontbuilder.py
in your browser for exactly what you picked (ex. it changes each style of the family) then zips them up.
from monoid.
Ah - that would be cool - would allow for an infinite amount of alternates. But that would require the website being hosted on a proper web server with python capabilities, right?
from monoid.
Nope! That's the beauty of this solution, everything is still static (we still build the base fonts using CircleCI) but all (or most) of the customization options would be implemented on the client-side browser. Opentype.js allows manipulation and writing of TTF blobs in the browser, no server needed.
It lacks some capabilities, but I'll have to check if it discards things like CALT/LIGA tables entirely on loading. If it doesn't, we could build the nocalt
option in CircleCI and just switch to those base fonts for Contextual Alternates / No Contextual Alternates
option. If it does, I can probably work out a hack.
What Opentype.js definitely can do:
- Line height changes (We could totally make a slider for this!)
- Glyph changes (resizing, etc, for things like Powerline symbols)
- Glyphn swaps
from monoid.
Wow - that sounds powerful and definitely cool to have. I'm afraid my schedule is quite packed for the next month or so I won't have time to really look into until then but if it's something you'd want to look into then by all means 🚀😎
from monoid.
I assigned myself to it, no need to do anything on your end. I'm pretty busy so this project is probably for post v1.0. This is more a reminder to check out this approach later on.
from monoid.
So this may be a better alternative to opentype.js:
https://github.com/kekee000/fonteditor-core
I'll have to investigate some more, but it seems like it may support everything we'd need.
from monoid.
Looking forward to this.
from monoid.
Related Issues (20)
- Just show my love
- Neovim-qt, Windows 7: "monoid is not a fixed pitch font" HOT 1
- Support on Xshell terminal
- Something is wrong with small l HOT 1
- Tight variant capitals kerning HOT 1
- CamelCase kerning to separate the words a bit?
- MM transforms to ligature in vsvode HOT 2
- Broken "&&" ligature on Kitty terminal HOT 2
- Add hinting to glyphs?
- U+2211 N-ARY SUMMATION is too short
- Consider distributing a non-ligature version of Monoid HOT 1
- Underline probably gone wrong - does not work in Eclipse
- sublime text 3 support HOT 1
- Monoid is NOT monospaced HOT 2
- How to download? HOT 1
- [help wanted] set retina version in visual studio code HOT 1
- U+0307 and U+0308 don't combine with some characters
- No bitmap-like sharpness? HOT 1
- Are Retina and Regular weights supposed to be different? HOT 1
- Inclusion of Monoid as a Fontist formula
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 monoid.