@blockspoon/cert-badge-renderer 1.0.44 → 1.0.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -46,6 +46,18 @@ async function generateAchievementHTML(achievementInfo, options = {}) {
46
46
  <title>Certificate</title>
47
47
  <style>
48
48
  @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
49
+ @font-face {
50
+ font-family: 'BookkMyungjo';
51
+ src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.0/BookkMyungjo-Lt.woff2') format('woff2');
52
+ font-weight: 400;
53
+ font-style: normal;
54
+ }
55
+ @font-face {
56
+ font-family: 'BookkMyungjo';
57
+ src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.0/BookkMyungjo-Bd.woff2') format('woff2');
58
+ font-weight: 700;
59
+ font-style: normal;
60
+ }
49
61
  * {
50
62
  margin: 0;
51
63
  padding: 0;
@@ -46,6 +46,18 @@ async function generateAchievementHTML(achievementInfo, options = {}) {
46
46
  <title>Certificate</title>
47
47
  <style>
48
48
  @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
49
+ @font-face {
50
+ font-family: 'BookkMyungjo';
51
+ src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.0/BookkMyungjo-Lt.woff2') format('woff2');
52
+ font-weight: 400;
53
+ font-style: normal;
54
+ }
55
+ @font-face {
56
+ font-family: 'BookkMyungjo';
57
+ src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.0/BookkMyungjo-Bd.woff2') format('woff2');
58
+ font-weight: 700;
59
+ font-style: normal;
60
+ }
49
61
  * {
50
62
  margin: 0;
51
63
  padding: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blockspoon/cert-badge-renderer",
3
- "version": "1.0.44",
3
+ "version": "1.0.45",
4
4
  "description": "Render certificate and badge designs from Kolleges achievement data into HTML, PNG, or Base64.",
5
5
  "main": "./dist/esm/index.js",
6
6
  "exports": {
@@ -69,6 +69,18 @@ export async function generateAchievementHTML(
69
69
  <title>Certificate</title>
70
70
  <style>
71
71
  @import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
72
+ @font-face {
73
+ font-family: 'BookkMyungjo';
74
+ src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.0/BookkMyungjo-Lt.woff2') format('woff2');
75
+ font-weight: 400;
76
+ font-style: normal;
77
+ }
78
+ @font-face {
79
+ font-family: 'BookkMyungjo';
80
+ src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2302@1.0/BookkMyungjo-Bd.woff2') format('woff2');
81
+ font-weight: 700;
82
+ font-style: normal;
83
+ }
72
84
  * {
73
85
  margin: 0;
74
86
  padding: 0;