Fix bar variant preview's slopes

This commit is contained in:
be5invis 2020-10-27 23:23:49 -07:00
parent f0262ba5f8
commit 8b260c3c6b
7 changed files with 106 additions and 91 deletions

View file

@ -31,7 +31,7 @@ async function processSs() {
const md = new MdCol("Section-Stylistic-Sets");
const headerPath = path.resolve(__dirname, "fragments/description-stylistic-sets.md");
md.log(await fs.readFile(headerPath, "utf-8"));
for (const gr of variantsData.ssData) {
for (const gr of variantsData.composites) {
if (!gr.effective) continue;
md.log(` - \`${gr.tag}\`: Set character variant to “${gr.description}”.`);
}
@ -44,7 +44,7 @@ async function processCv() {
const headerPath = path.resolve(__dirname, "fragments/description-cheery-picking-styles.md");
md.log(await fs.readFile(headerPath, "utf-8"));
for (const gr of variantsData.cvData) {
for (const gr of variantsData.primes) {
const sampleText = gr.descSampleText
.map(c => (c === "`" ? "`` ` ``" : `\`${c}\``))
.join(", ");