Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Pédagogies Multimodales
wikicolor
Commits
8f98ceaf
Commit
8f98ceaf
authored
Oct 02, 2022
by
Sylvain Coulange
🌼
Browse files
font svg zh
parent
8e764855
Changes
1
Hide whitespace changes
Inline
Side-by-side
static/scripts/zhoutput.js
View file @
8f98ceaf
...
...
@@ -148,7 +148,7 @@ function createZh(sin,sy,phonList,ton) {
const
txt
=
document
.
createElementNS
(
"
http://www.w3.org/2000/svg
"
,
"
text
"
);
txt
.
setAttribute
(
"
x
"
,
"
0
"
);
txt
.
setAttribute
(
"
y
"
,
"
85
"
);
txt
.
setAttribute
(
"
font-family
"
,
'
KaiTi
'
);
// Ma Shan Zheng 'AR PL UKai TW'
//
txt.setAttribute("font-family", 'KaiTi' ); // Ma Shan Zheng 'AR PL UKai TW'
txt
.
setAttribute
(
"
font-size
"
,
"
100
"
);
txt
.
setAttribute
(
"
class
"
,
"
sinosvgText
"
);
txt
.
innerHTML
=
sin
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment