Closed sbinet closed 3 years ago
I don't understand why lint
is failing (while trying to install cgo dependencies) whereas the ci
builds don't.
The only difference I can see between the two is that the ci build does an apt update. This should make any difference, but maybe try adding it? I note that the failure seen in the linting is real; I get a 404 trying to hit that from my laptop.
Well, disturbingly, that fixed it.
yeah... I've also s/apt install/apt-get install/
.
¯\_(ツ)_/¯
(ah! I can't believe github doesn't render very well "shruggie" in normal mode and I have to go "verbatim"...)
To shrug, you need to \\
to get a single \
and \_
to get a _
. Complicated? ¯\_(ツ)_/¯ (In matrix, you can just \shrug
to get it).
This CL adds a package-wide, goroutine-safe cache of fonts data that can be re-used across vgpdf.Canvas values.
Fixes gonum/plot#694.
Please take a look.