import { Document, Font, Page, PDFViewer, StyleSheet, Text, } from '@react-pdf/renderer'; import React from 'react'; Font.register({ family: 'SpoqaHanSans', src: 'https://cdn.jsdelivr.net/gh/spoqa/spoqa-han-sans@01ff0283e4f36e159ffbf744b36e16ef742da6d8/Subset/SpoqaHanSans/SpoqaHanSansLight.ttf', }); const styles = StyleSheet.create({ viewer: { flex: 1, }, korean: { fontFamily: 'SpoqaHanSans', },..