Commit 5d48b68a authored by Sylvain Coulange's avatar Sylvain Coulange
Browse files

retour font Ma Shan Zheng

parent 2e7acfba
......@@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mandarin en couleurs</title>
<link rel="stylesheet" type="text/css" href="../styles/phonochromie_alem_v3.css">
<link href="https://fonts.googleapis.com/css2?family=Ma+Shan+Zheng&display=swap" rel="stylesheet">
<style>
body {
background-color: black;
......@@ -72,14 +73,7 @@
margin: 0px 5px;
}
@font-face {
font-family: 'kaitiregular';
src: url('http://phonographe.alem-app.fr/static/fonts/simkai-webfont.woff2') format('woff2'),
url('http://phonographe.alem-app.fr/static/fonts/simkai-webfont.woff') format('woff');
font-weight: normal;
font-style: normal;
}
</style>
</svg>
......@@ -213,7 +207,7 @@
const txt = document.createElementNS("http://www.w3.org/2000/svg", "text");
txt.setAttribute("x","0");
txt.setAttribute("y","85");
txt.setAttribute("font-family", 'kaitiregular');
txt.setAttribute("font-family", 'Ma Shan Zheng');
txt.setAttribute("font-size","100");
txt.innerHTML = sin;
svg1.appendChild(txt);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment