Comments (4)
Adding some other thoughts here. Font name, style, and weight can be optional as they can usually be parsed from the OpenType file. And if we want to support that, it doesn't make sense to require the font name as the key, it seems?
from satori.
Haha
from satori.
I think the current API is simpler to understand.
from satori.
Agreed, I think this change is not necessary
from satori.
Related Issues (20)
- Support for PandaCss HOT 1
- mask image render incorrect HOT 1
- mdx support HOT 1
- fontStyle italic not rendering correctly HOT 1
- repeating-linear-gradient() is not working when rendered as png, svg or pdf HOT 3
- Support `numberOfLines` HOT 6
- Accept HTML input, instead of just JSX HOT 5
- Mask image always applied to root instead of element HOT 1
- TextDecoration issue when used with transform property
- `lucide-react` not rendering
- `filter: "blur(...)"` doesn't work as expected with Satori + resvg-js HOT 2
- Image mask causing image to be hidden behind other SVG elements HOT 2
- CDN image not rendering
- Support `font-feature-settings`
- Custom fonts not rendered correctly
- Support -webkit-text-stroke HOT 1
- Option to keep font-family case-sensitive
- Custom Font files not loaded on Vercel Edge Function
- Error with linear-gradient HOT 2
- @vercel/og will not work on edge outside of next - noto-sans-v27-latin-regular.ttf HOT 4
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 satori.