File details
Filename
font.ttfSize741.9 KB (759720 bytes)
MIME type
font/ttfExtension
.ttfSHA256
ae7b7855e115a5966d8b1b3f80f254ccc117ec86f9965e202ee2940453837280Download commands
Use in scripts and tests
curl -L -o font.ttf \
https://samplefile.com/samples/download/font/ttf/font.ttf/
wget -O font.ttf \
https://samplefile.com/samples/download/font/ttf/font.ttf/
import requests
url = "https://samplefile.com/samples/download/font/ttf/font.ttf/"
resp = requests.get(url)
with open("font.ttf", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/font/ttf/font.ttf/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("font.ttf", buf);
# Download and verify SHA256
curl -L -o font.ttf https://samplefile.com/samples/download/font/ttf/font.ttf/
echo "ae7b7855e115a5966d8b1b3f80f254ccc117ec86f9965e202ee2940453837280 font.ttf" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/font/ttf/font.ttf/").content
assert hashlib.sha256(data).hexdigest() == "ae7b7855e115a5966d8b1b3f80f254ccc117ec86f9965e202ee2940453837280"
Learn more