Comments (5)
That was not my issue after all.
from puppeteer-lottie.
Hey, would you mind posting what your issue was so other users can benefit from it if they're having a similar issue?
Thanks!
from puppeteer-lottie.
To be honest it was one of those moments where I am not sure exactly what fixed it as I was frantically changing various things. It was either the fPath needing to not be blank (which is weird because I am using a google font) or it was needing to export it in legacy format or it may have been a misuse of the inject style (which never seems to do anything for me). I will report back if I find out exactly what has fixed the issue.
from puppeteer-lottie.
After some retracing of steps it seems to be the fPath being blank that causes the issue.
"fonts": {
"list": [{
"origin": 0,
"fPath": "fonts",
"fClass": "",
"fFamily": "Montserrat",
"fWeight": "600",
"fStyle": "SemiBold",
"fName": "Montserrat-SemiBold",
"ascent": 78.2477905973792
}
by setting the path to 'fonts' as opposed to '' makes the kerning work fine, otherwise the letters were all weirdly spaced. Any ideas what would be behind this? It seems so random because I am specifying the google font via the inject head option, I have nothing to do with a 'fonts' directory.
from puppeteer-lottie.
Sounds good -- really appreciate you taking the time to track this down. 🙏
from puppeteer-lottie.
Related Issues (20)
- image sequence not showing in exported mp4 or gif unless including in json (encoded) HOT 3
- I want to use it with php laravel, Can you guide how to do it. HOT 1
- How to improve rendering speed HOT 4
- Array of tasks HOT 2
- Use CSS classes /ID's from After FX when rendering PNG sequence
- Fix output rate when rendering to mp4
- working with typescript HOT 3
- Support animated WebP HOT 3
- UnhandledPromiseRejectionWarning: Error: Node has 0 height. HOT 2
- MP4 Exports not running smoothly HOT 1
- How to support a mp3 file? HOT 1
- How to render a specific frame? HOT 5
- Can't make it work HOT 3
- issues implementing background color HOT 1
- Colours mismatched
- Add Audio to Mp4 output
- Protocol error (Page.captureScreenshot): Target closed. HOT 3
- Rendering with external src
- Use webcodec to accelerate lottie to video
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 puppeteer-lottie.