wordpress-mobile / release-toolkit

Shared tools used in release automation
GNU General Public License v2.0
31 stars 9 forks source link

Add the ability for the screenshot tool to install fonts #46

Open jkmassel opened 5 years ago

jkmassel commented 5 years ago

It'd be nice if the screenshot tool could handle the installation of resources needed for promo screenshot generation.

One part of that is installing fonts.

This won't work for every font, but having the ability to download and install Google Fonts, at the very least, would be a nice helper to have as part of the generation lane.

mokagio commented 4 years ago

I was looking into fonts while working on the Simplenote iOS screenshots.

The workaround I used was to add the font to the repo (via Git LSF of course) and then make Fastlane cp path/to/font ~/Library/Fonts/.

I worked on my machine, but on the GitHub CI, despite the cp being successful, the font wasn't used. 😞