remotion-dev / remotion

🎥 Make videos programmatically with React
https://remotion.dev
Other
20.94k stars 1.06k forks source link

Gt planar font in demo #4370

Closed UmungoBungo closed 1 month ago

UmungoBungo commented 1 month ago

Had an issue getting this to actually build and display due to the captions docs throwing errors. But changing the value in devtools was fixing the fonts.

image

vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bugs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 8:54am
remotion ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2024 8:54am
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **remotion-convert** | ⬜️ Skipped ([Inspect](https://vercel.com/remotion/remotion-convert/CqXrL5RQovF9coXv91fwRhUg3dJ6)) | | | Oct 7, 2024 8:54am |
UmungoBungo commented 1 month ago

wow excuse my noob moment, forgot how a monorepo even works 🤦🏻

I built all of the packages, restarted the docs server, it is all G

image

UmungoBungo commented 1 month ago

I see GT Planar is not available on Google Fonts. What considerations need to be made for this to work when rendering?

JonnyBurger commented 1 month ago

Nice! If we don't already do it, we need to load the font into the video also with FontFace / @remotion/fonts APIs. We cannot just rely on the font loading on the website.