1Q74

  • 홈
  • 태그
  • 방명록

fontKit 1

【React/PDF편집】fetch, pdf-lib, downloadjs (feat. 한글폰트)

1. Descritpion React에서 PDF 템플릿을 편집하고 다운로드하는 과정입니다. 2. Prerequisite 다음과 같은 Library가 임포트되어야 합니다. import React from 'react'; import { PDFDocument, rgb } from 'pdf-lib'; import fontkit from '@pdf-lib/fontkit'; import download from "downloadjs"; 3. Example 다음과 같은 과정으로 PDF파일에 텍스트를 입력한 후 다운로드 합니다. // PDF와 한글 폰트파일을 서버에서 읽어옵니다. fetch(templateUrl).then(response => { response.blob().then(blob => { const te..

Node.js/React 2023.03.14
이전
1
다음
더보기
프로필사진

어디로 갈 지 몰라 헤멘 날도, 너무 아파 잠 못 들던 밤도 여전히 나는 기억하고 있어.

  • 분류 전체보기 (90)
    • JavaScript (70)
      • jQuery (66)
      • Native (4)
    • Node.js (4)
      • React (4)
    • CSS (6)
      • Cookbook (6)
    • Java (1)
      • Cookbook (1)
    • .NET (6)
      • 일반 (1)
      • C++ (5)
    • Python (1)
      • Cookbook (1)
    • Go (1)
      • Cookbook (1)
    • Database (1)
      • Tibero (1)

Tag

name selector, :parent, [name|='value'], [name*='value'], selector, addback, only-of-type, nth-last-of-type, nodejs, [name~=”value”], JavaScript, C++, traversing, .NET, CSS, native, attribute prefix contains, react, Attribute Contains Word, jQuery,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바