Commit b4a18ea9 authored by Sylvain Coulange's avatar Sylvain Coulange 🌼
Browse files

debug font weight français

parent 36ca4ea9
......@@ -363,22 +363,24 @@ function writeGraph(graph,phon){
// GESTION PROSODIE
var stress = ''; // ajout du stress si besoin
if (stress1) {
stress = " stress1"
toggleStress1()
}
else if (stress2) {
stress = " stress2"
toggleStress2()
}
//if (phon in ["phon_schwa","phon_schwi","phon_schwu","phon_schwju"]) stress = " schwa"
else if (phon == "phon_schwa" || phon == "phon_schwi" || phon == "phon_schwu" || phon == "phon_schwju" || phon == "phon_schw6") {
if (stress1) toggleStress1
if (stress2) toggleStress2
stress = " schwa"
}
else {
stress = " unstressed"
if (["en","de"].includes(thisPageLang)) {
if (stress1) {
stress = " stress1"
toggleStress1()
}
else if (stress2) {
stress = " stress2"
toggleStress2()
}
//if (phon in ["phon_schwa","phon_schwi","phon_schwu","phon_schwju"]) stress = " schwa"
else if (phon == "phon_schwa" || phon == "phon_schwi" || phon == "phon_schwu" || phon == "phon_schwju" || phon == "phon_schw6") {
if (stress1) toggleStress1
if (stress2) toggleStress2
stress = " schwa"
}
else {
stress = " unstressed"
}
}
......
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