I've got a bunch of golden tests that use various custom fonts and I'm able to successfully render my custom fonts using FontLoader.addFont(...)
, however, I also want to have some tests using some of the built-in font families like Courier
and Times New Roman
.
I'm having trouble figuring out how I can make these fonts available to my golden tests though.
I assume that Flutter itself doesn't provide these fonts and that it is falling back to the operating system to provide them... so I don't have a path for an otf/ttf file to load manually.
Any theories on how I might be able to make these fonts visible, so I don't just keep getting the black Ahem boxes?