質問編集履歴
2
追記②
test
CHANGED
File without changes
|
test
CHANGED
@@ -49,3 +49,33 @@
|
|
49
49
|
```
|
50
50
|
|
51
51
|
![イメージ説明](002a5094f3111b54ef63cf3e72622a8b.png)
|
52
|
+
|
53
|
+
|
54
|
+
|
55
|
+
追記②
|
56
|
+
|
57
|
+
---
|
58
|
+
|
59
|
+
```
|
60
|
+
|
61
|
+
const Font = new FontFace(
|
62
|
+
|
63
|
+
'Noto Sans JP, 游ゴシック Medium, 游ゴシック体, Yu Gothic Medium, YuGothic, ヒラギノ角ゴ ProN, Hiragino Kaku Gothic ProN, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif',
|
64
|
+
|
65
|
+
'url(https://fonts.gstatic.com/s/notosansjp/v18/-F62fjtqLzI2JPCgQBnw7HFow2os2HUP5pp0erwTqsSGs8dLiZ-nVOFVLsE_RS1PblwsiBhLorUfH78.109.woff2),\
|
66
|
+
|
67
|
+
url(https://fonts.gstatic.com/s/notosansjp/v18/-F6pfjtqLzI2JPCgQBnw7HFQMisq1xVDjch_dakBof6Bs-tL3bPjUOFWcPh-SzpiOR0Rz0tCsqIHassVrl0.109.woff2),\
|
68
|
+
|
69
|
+
url(https://fonts.gstatic.com/s/notosansjp/v18/-F6pfjtqLzI2JPCgQBnw7HFQMisq1xVDjch_dakBof6Bs-tL3bPjUOFWcPh-SzpiOR0Rz0tCsqIHassVrl0.110.woff2),\
|
70
|
+
|
71
|
+
url(https://fonts.gstatic.com/s/notosansjp/v18/-F6pfjtqLzI2JPCgQBnw7HFQMisq1xVDjch_dakBof6Bs-tL3bPjUOFWcPh-SzpiOR0Rz0tCsqIHassVrl0.115.woff2),\
|
72
|
+
|
73
|
+
url(https://fonts.gstatic.com/s/notosansjp/v18/-F6pfjtqLzI2JPCgQBnw7HFQMisq1xVDjch_dakBof6Bs-tL3bPjUOFWcPh-SzpiOR0Rz0tCsqIHassVrl0.117.woff2),\
|
74
|
+
|
75
|
+
url(https://fonts.gstatic.com/s/notosansjp/v18/-F6pfjtqLzI2JPCgQBnw7HFQMisq1xVDjch_dakBof6Bs-tL3bPjUOFWcPh-SzpiOR0Rz0tCsqIHassVrl0.118.woff2),\
|
76
|
+
|
77
|
+
url(https://fonts.gstatic.com/s/notosansjp/v18/-F6pfjtqLzI2JPCgQBnw7HFQMisq1xVDjch_dakBof6Bs-tL3bPjUOFWcPh-SzpiOR0Rz0tCsqIHassVrl0.119.woff2)'
|
78
|
+
|
79
|
+
);
|
80
|
+
|
81
|
+
```
|
1
コード追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -25,3 +25,27 @@
|
|
25
25
|
|
26
26
|
|
27
27
|
よろしくお願いいたします。
|
28
|
+
|
29
|
+
|
30
|
+
|
31
|
+
追記
|
32
|
+
|
33
|
+
---
|
34
|
+
|
35
|
+
[url指定複数指定しているサンプルコード](https://codepen.io/matuzo/pen/jrzyYA?editors=0010)を参考にurl複数指定してみましたが、画像のエラーが出ますね。。。
|
36
|
+
|
37
|
+
```
|
38
|
+
|
39
|
+
const Font = new FontFace(
|
40
|
+
|
41
|
+
'Noto Sans JP, 游ゴシック Medium, 游ゴシック体, Yu Gothic Medium, YuGothic, ヒラギノ角ゴ ProN, Hiragino Kaku Gothic ProN, メイリオ, Meiryo, MS Pゴシック, MS PGothic, sans-serif',
|
42
|
+
|
43
|
+
'url(https://fonts.gstatic.com/s/notosansjp/v18/-F62fjtqLzI2JPCgQBnw7HFow2os2HUP5pp0erwTqsSGs8dLiZ-nVOFVLsE_RS1PblwsiBhLorUfH78.109.woff2),
|
44
|
+
|
45
|
+
url(https://fonts.gstatic.com/s/notosansjp/v18/-F62fjtqLzI2JPCgQBnw7HFow2os2HUP5pp0erwTqsSGs8dLiZ-nVOFVLsE_RS1PblwsiBhLorUfH78.119.woff2)'
|
46
|
+
|
47
|
+
);
|
48
|
+
|
49
|
+
```
|
50
|
+
|
51
|
+
![イメージ説明](002a5094f3111b54ef63cf3e72622a8b.png)
|