mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 10:47:04 +02:00
help me
This commit is contained in:
1 parent
58f6862279
commit
64f1de37ad
1 file changed
+4
-3
@@ -1,18 +1,19 @@
|
||||
import { readFileSync } from 'fs';
|
||||
import satori from 'satori';
|
||||
|
||||
const fonts = [
|
||||
{
|
||||
data: require('./Roboto.ttf'),
|
||||
data: readFileSync(require('./Roboto.ttf')),
|
||||
weight: 400 as const,
|
||||
name: 'Roboto',
|
||||
},
|
||||
{
|
||||
data: require('./Roboto-Bold.ttf'),
|
||||
data: readFileSync(require('./Roboto-Bold.ttf')),
|
||||
weight: 700 as const,
|
||||
name: 'Roboto-Bold',
|
||||
},
|
||||
{
|
||||
data: require('./Roboto-Black.ttf'),
|
||||
data: readFileSync(require('./Roboto-Black.ttf')),
|
||||
weight: 900 as const,
|
||||
name: 'Roboto-Black',
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user