Skip to content

Commit

Permalink
Disable custom fonts for now
Browse files Browse the repository at this point in the history
  • Loading branch information
minetoblend committed Aug 7, 2024
1 parent d7d8a23 commit a4bb4d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/services/cardRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import { Mapper } from '../entities/mapper.js';
import { GIF } from './GIF.js';
import { exec } from 'child_process';

const fontPath = import.meta.resolve('@expo-google-fonts/nunito-sans/').slice('file:///'.length);
// const fontPath = import.meta.resolve('@expo-google-fonts/nunito-sans/').slice('file:///'.length);

registerFont(path.resolve(path.resolve(fontPath, 'NunitoSans_400Regular.ttf')), { family: 'Nunito Sans' });
registerFont(path.resolve(path.resolve(fontPath, 'NunitoSans_600SemiBold.ttf')), { family: 'Nunito Sans Semibold' });
// registerFont(path.resolve(path.resolve(fontPath, 'NunitoSans_400Regular.ttf')), { family: 'Nunito Sans' });
// registerFont(path.resolve(path.resolve(fontPath, 'NunitoSans_600SemiBold.ttf')), { family: 'Nunito Sans Semibold' });

const tmpdir = './.files/tmp';
fs.mkdirSync(tmpdir, { recursive: true });
Expand Down

0 comments on commit a4bb4d6

Please sign in to comment.