mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-20 20:35:43 +01: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';
|
import satori from 'satori';
|
||||||
|
|
||||||
const fonts = [
|
const fonts = [
|
||||||
{
|
{
|
||||||
data: require('./Roboto.ttf'),
|
data: readFileSync(require('./Roboto.ttf')),
|
||||||
weight: 400 as const,
|
weight: 400 as const,
|
||||||
name: 'Roboto',
|
name: 'Roboto',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
data: require('./Roboto-Bold.ttf'),
|
data: readFileSync(require('./Roboto-Bold.ttf')),
|
||||||
weight: 700 as const,
|
weight: 700 as const,
|
||||||
name: 'Roboto-Bold',
|
name: 'Roboto-Bold',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
data: require('./Roboto-Black.ttf'),
|
data: readFileSync(require('./Roboto-Black.ttf')),
|
||||||
weight: 900 as const,
|
weight: 900 as const,
|
||||||
name: 'Roboto-Black',
|
name: 'Roboto-Black',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in new issue
Block a user