Merge branch 'main' of dandaedre.com:Ravenous/yonsen_language

This commit is contained in:
Yéti⋅e PEREZ 2026-08-30 01:40:55 +02:00
commit 6bd9fb7a92
7 changed files with 1024 additions and 577 deletions

View File

@ -1,6 +1,8 @@
#let glyphy(glyph) = {
box(
height: 1em,
image("svg/" + glyph + ".svg"),
)
}
#let glyphy(glyph) = {
box(
height: 1.5em,
image("svg/" + glyph + ".svg", scaling: "smooth"),
inset: -0.1em,
baseline: -0.08em,
)
}

390
data/svg/drawio_svg_cleaner.py Executable file
View File

@ -0,0 +1,390 @@
#!/usr/bin/env python3
from __future__ import annotations
import argparse
import re
import sys
import xml.etree.ElementTree as ET
from pathlib import Path
SVG_NS = "http://www.w3.org/2000/svg"
XLINK_NS = "http://www.w3.org/1999/xlink"
ET.register_namespace("", SVG_NS)
# -----------------------------------------------------------------------------
# Configuration
# -----------------------------------------------------------------------------
REMOVE_ATTRIBUTES = {
"style",
"id",
}
REMOVE_ROOT_ATTRIBUTES = {
f"{{http://www.w3.org/2000/xmlns/}}xlink",
"version",
}
REMOVE_TAGS = {
"style",
"defs",
}
# Convert verbose color spellings to compact stable forms.
COLOR_REPLACEMENTS = {
"#000000": "#000",
"#ffffff": "#fff",
"rgb(0, 0, 0)": "#000",
"rgb(255, 255, 255)": "#fff",
}
NUMBER_RE = re.compile(r"^-?(?:\d+\.\d+|\d+|\.\d+)$")
# -----------------------------------------------------------------------------
# Helpers
# -----------------------------------------------------------------------------
def local_name(tag: str) -> str:
"""Strip an XML namespace from a tag name."""
return tag.rsplit("}", 1)[-1]
def strip_number(value: str) -> str:
"""
Simplify numeric values where safe.
Examples:
305px -> 305
305.0 -> 305
0.5000 -> .5
-0.500 -> -.5
"""
value = value.strip()
# draw.io commonly emits px on root dimensions.
if value.endswith("px"):
value = value[:-2]
if not NUMBER_RE.match(value):
return value
try:
number = float(value)
except ValueError:
return value
if number == int(number):
return str(int(number))
result = f"{number:.12f}".rstrip("0").rstrip(".")
if result.startswith("0."):
result = result[1:]
elif result.startswith("-0."):
result = "-" + result[2:]
return result
def normalize_color(value: str) -> str:
value = value.strip()
if value in COLOR_REPLACEMENTS:
return COLOR_REPLACEMENTS[value]
return value
def clean_attributes(element: ET.Element, *, is_root: bool = False) -> None:
"""
Remove draw.io-specific styling and normalize simple attributes.
"""
attrs = dict(element.attrib)
for name in list(attrs):
lname = local_name(name)
if lname in REMOVE_ATTRIBUTES:
element.attrib.pop(name, None)
continue
if is_root and name in REMOVE_ROOT_ATTRIBUTES:
element.attrib.pop(name, None)
continue
# Normalize dimensions.
for name in ("width", "height", "x", "y"):
if name in element.attrib:
element.attrib[name] = strip_number(element.attrib[name])
# Normalize direct color attributes.
for name in ("fill", "stroke", "color"):
if name in element.attrib:
element.attrib[name] = normalize_color(element.attrib[name])
# Remove redundant draw.io defaults.
if element.attrib.get("stroke-miterlimit") == "10":
# Keep this for paths/groups where it could matter.
pass
if element.attrib.get("fill") == "none":
# Keep explicit fill="none": it is semantically important.
pass
def remove_unwanted_elements(parent: ET.Element) -> None:
"""Remove <style> and empty/unneeded <defs> blocks recursively."""
for child in list(parent):
if local_name(child.tag) in REMOVE_TAGS:
parent.remove(child)
continue
remove_unwanted_elements(child)
def remove_background_rect(root: ET.Element) -> None:
"""
Remove draw.io's generated full-canvas background rectangle.
Typical form:
<rect fill="#ffffff"
width="100%"
height="100%"
x="0"
y="0"/>
"""
for child in list(root):
if local_name(child.tag) != "rect":
continue
width = child.attrib.get("width")
height = child.attrib.get("height")
x = child.attrib.get("x", "0")
y = child.attrib.get("y", "0")
if width == "100%" and height == "100%" and x == "0" and y == "0":
root.remove(child)
def unwrap_single_child_groups(element: ET.Element) -> None:
"""
Recursively unwrap useless <g> elements.
A group is considered useless when:
- it has no attributes
- it contains children
"""
for child in list(element):
unwrap_single_child_groups(child)
children = list(element)
for index, child in reversed(list(enumerate(children))):
if local_name(child.tag) != "g":
continue
if child.attrib:
continue
grandchildren = list(child)
if not grandchildren:
element.remove(child)
continue
insertion_index = list(element).index(child)
element.remove(child)
for grandchild in reversed(grandchildren):
element.insert(insertion_index, grandchild)
def normalize_tree(root: ET.Element) -> None:
for element in root.iter():
clean_attributes(element, is_root=(element is root))
def set_default_black_fill(root: ET.Element) -> None:
"""
Put fill="black" on the root.
Individual shapes with fill="none" still override this.
"""
root.set("fill", "black")
def remove_white_shape_fills(root: ET.Element) -> None:
"""
Replace explicit white shape fills with inherited root fill.
This is useful for monochrome Ravenous-style icons.
NOTE:
This deliberately changes white geometry to black.
"""
for element in root.iter():
if element is root:
continue
fill = element.attrib.get("fill")
if fill in {"#fff", "#ffffff", "white"}:
element.attrib.pop("fill", None)
def remove_redundant_black_fills(root: ET.Element) -> None:
"""
Since root has fill='black', explicit black fills are unnecessary.
"""
for element in root.iter():
if element is root:
continue
fill = element.attrib.get("fill")
if fill in {"#000", "#000000", "black"}:
element.attrib.pop("fill", None)
def remove_redundant_none_strokes(root: ET.Element) -> None:
"""
stroke='none' is normally the SVG default, so remove it.
"""
for element in root.iter():
if element.attrib.get("stroke") == "none":
element.attrib.pop("stroke", None)
def indent(element: ET.Element, level: int = 0) -> None:
"""
Basic pretty printer without external dependencies.
"""
prefix = "\n" + " " * level
child_prefix = "\n" + " " * (level + 1)
children = list(element)
if children:
if not element.text or not element.text.strip():
element.text = child_prefix
for i, child in enumerate(children):
indent(child, level + 1)
if i == len(children) - 1:
child.tail = prefix
else:
child.tail = child_prefix
elif level and (not element.tail or not element.tail.strip()):
element.tail = prefix
# -----------------------------------------------------------------------------
# Main conversion
# -----------------------------------------------------------------------------
def clean_svg(
source: Path,
destination: Path,
*,
monochrome: bool = True,
unwrap_groups: bool = True,
) -> None:
tree = ET.parse(source)
root = tree.getroot()
if local_name(root.tag) != "svg":
raise ValueError(f"{source}: root element is not <svg>")
remove_unwanted_elements(root)
remove_background_rect(root)
normalize_tree(root)
if monochrome:
set_default_black_fill(root)
remove_white_shape_fills(root)
remove_redundant_black_fills(root)
remove_redundant_none_strokes(root)
if unwrap_groups:
unwrap_single_child_groups(root)
indent(root)
tree.write(
destination,
encoding="unicode",
xml_declaration=False,
short_empty_elements=True,
)
def output_path(source: Path, output: Path | None) -> Path:
if output is not None:
return output
return source.with_name(source.stem + ".clean.svg")
def main() -> int:
parser = argparse.ArgumentParser(
description="Clean draw.io SVG exports into simple static SVG files."
)
parser.add_argument(
"input",
type=Path,
help="Input SVG file",
)
parser.add_argument(
"-o",
"--output",
type=Path,
help="Output SVG file. Default: <input>.clean.svg",
)
parser.add_argument(
"--keep-colors",
action="store_true",
help="Do not force the SVG to monochrome black.",
)
parser.add_argument(
"--keep-groups",
action="store_true",
help="Do not unwrap empty draw.io <g> wrappers.",
)
args = parser.parse_args()
source = args.input
destination = output_path(source, args.output)
if not source.is_file():
print(f"error: file does not exist: {source}", file=sys.stderr)
return 1
try:
clean_svg(
source,
destination,
monochrome=not args.keep_colors,
unwrap_groups=not args.keep_groups,
)
except (ET.ParseError, ValueError) as exc:
print(f"error: {exc}", file=sys.stderr)
return 1
print(f"{source} -> {destination}")
return 0
if __name__ == "__main__":
raise SystemExit(main())

View File

@ -1,3 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: var(--ge-adaptive-bg, #ffffff); color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="520px" height="521px" viewBox="0 0 520 521" id="ge-svg-rR6f9rTRRtVy_2c_Nwzz"><style type="text/css">@supports (color: light-dark(#000, #fff)) { #ge-svg-rR6f9rTRRtVy_2c_Nwzz { --ge-adaptive-bg: light-dark(#ffffff, var(--ge-dark-color, #121212)); } }</style><defs/><rect fill="#ffffff" width="100%" height="100%" x="0" y="0" style="fill: var(--ge-adaptive-bg, #ffffff);"/><g><g data-cell-id="lPfbv0_P1aZ1J-pnbj95-0"><g data-cell-id="lPfbv0_P1aZ1J-pnbj95-1"><g data-cell-id="lPfbv0_P1aZ1J-pnbj95-2"/><g data-cell-id="lPfbv0_P1aZ1J-pnbj95-3"/><g data-cell-id="lPfbv0_P1aZ1J-pnbj95-4"/><g data-cell-id="lPfbv0_P1aZ1J-pnbj95-5"/><g data-cell-id="CGr_3vvq9daZjV2reoHS-0"><g><path d="M 59.75 179.75 L 459.75 179.75" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="CGr_3vvq9daZjV2reoHS-1"><g><path d="M 259.75 509.75 L 259.41 159.75" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="CGr_3vvq9daZjV2reoHS-2"><g><path d="M 509.75 479.75 Q 359.75 439.75 299.75 209.75" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="CGr_3vvq9daZjV2reoHS-3"><g><path d="M 9.75 479.75 Q 159.75 439.75 219.75 209.75" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="CGr_3vvq9daZjV2reoHS-4"><g><path d="M 259.75 159.75 L 459.75 79.75" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="CGr_3vvq9daZjV2reoHS-5"><g><path d="M 59.75 79.75 L 259.75 159.75" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="CGr_3vvq9daZjV2reoHS-6"><g><path d="M 159.75 9.75 L 259.75 119.75" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="CGr_3vvq9daZjV2reoHS-7"><g><path d="M 209.75 209.75 L 309.75 209.75" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="CGr_3vvq9daZjV2reoHS-8"><g><path d="M 259.75 99.75 L 329.75 39.75" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g></g></g></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="520" height="521" viewBox="0 0 520 521" fill="black">
<g data-cell-id="lPfbv0_P1aZ1J-pnbj95-0">
<g data-cell-id="lPfbv0_P1aZ1J-pnbj95-1">
<g data-cell-id="lPfbv0_P1aZ1J-pnbj95-2" />
<g data-cell-id="lPfbv0_P1aZ1J-pnbj95-3" />
<g data-cell-id="lPfbv0_P1aZ1J-pnbj95-4" />
<g data-cell-id="lPfbv0_P1aZ1J-pnbj95-5" />
<g data-cell-id="CGr_3vvq9daZjV2reoHS-0">
<path d="M 59.75 179.75 L 459.75 179.75" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
<g data-cell-id="CGr_3vvq9daZjV2reoHS-1">
<path d="M 259.75 509.75 L 259.41 159.75" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
<g data-cell-id="CGr_3vvq9daZjV2reoHS-2">
<path d="M 509.75 479.75 Q 359.75 439.75 299.75 209.75" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
<g data-cell-id="CGr_3vvq9daZjV2reoHS-3">
<path d="M 9.75 479.75 Q 159.75 439.75 219.75 209.75" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
<g data-cell-id="CGr_3vvq9daZjV2reoHS-4">
<path d="M 259.75 159.75 L 459.75 79.75" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
<g data-cell-id="CGr_3vvq9daZjV2reoHS-5">
<path d="M 59.75 79.75 L 259.75 159.75" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
<g data-cell-id="CGr_3vvq9daZjV2reoHS-6">
<path d="M 159.75 9.75 L 259.75 119.75" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
<g data-cell-id="CGr_3vvq9daZjV2reoHS-7">
<path d="M 209.75 209.75 L 309.75 209.75" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
<g data-cell-id="CGr_3vvq9daZjV2reoHS-8">
<path d="M 259.75 99.75 L 329.75 39.75" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

@ -1,3 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: var(--ge-adaptive-bg, #ffffff); color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="521px" height="521px" viewBox="0 0 521 521" id="ge-svg-vjWlkKGcIozxMXEviE0z"><style type="text/css">@supports (color: light-dark(#000, #fff)) { #ge-svg-vjWlkKGcIozxMXEviE0z { --ge-adaptive-bg: light-dark(#ffffff, var(--ge-dark-color, #121212)); } }</style><defs/><rect fill="#ffffff" width="100%" height="100%" x="0" y="0" style="fill: var(--ge-adaptive-bg, #ffffff);"/><g><g data-cell-id="xspq-ytx4beJIAy4gKG5-0"><g data-cell-id="xspq-ytx4beJIAy4gKG5-1"><g data-cell-id="xspq-ytx4beJIAy4gKG5-2"/><g data-cell-id="xspq-ytx4beJIAy4gKG5-3"/><g data-cell-id="xspq-ytx4beJIAy4gKG5-4"/><g data-cell-id="xspq-ytx4beJIAy4gKG5-5"/><g data-cell-id="xspq-ytx4beJIAy4gKG5-6"><g><path d="M 258.65 8.9 L 8.65 98.9" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="cPOsEvE30iKqlZz7xW7g-0"><g><path d="M 508.65 108.9 L 258.65 8.9" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="cPOsEvE30iKqlZz7xW7g-1"><g><path d="M 258.36 508.9 L 258.36 38.9" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="cPOsEvE30iKqlZz7xW7g-2"><g><path d="M 198.65 88.9 L 118.65 308.9" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="cPOsEvE30iKqlZz7xW7g-3"><g><path d="M 318.65 88.9 L 398.65 308.9" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g></g></g></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="521" height="521" viewBox="0 0 521 521" fill="black">
<g data-cell-id="xspq-ytx4beJIAy4gKG5-0">
<g data-cell-id="xspq-ytx4beJIAy4gKG5-1">
<g data-cell-id="xspq-ytx4beJIAy4gKG5-2" />
<g data-cell-id="xspq-ytx4beJIAy4gKG5-3" />
<g data-cell-id="xspq-ytx4beJIAy4gKG5-4" />
<g data-cell-id="xspq-ytx4beJIAy4gKG5-5" />
<g data-cell-id="xspq-ytx4beJIAy4gKG5-6">
<path d="M 258.65 8.9 L 8.65 98.9" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
<g data-cell-id="cPOsEvE30iKqlZz7xW7g-0">
<path d="M 508.65 108.9 L 258.65 8.9" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
<g data-cell-id="cPOsEvE30iKqlZz7xW7g-1">
<path d="M 258.36 508.9 L 258.36 38.9" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
<g data-cell-id="cPOsEvE30iKqlZz7xW7g-2">
<path d="M 198.65 88.9 L 118.65 308.9" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
<g data-cell-id="cPOsEvE30iKqlZz7xW7g-3">
<path d="M 318.65 88.9 L 398.65 308.9" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,3 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" style="background: #ffffff; background-color: var(--ge-adaptive-bg, #ffffff); color-scheme: light dark;" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="521px" height="520px" viewBox="0 0 521 520" id="ge-svg-ctfqZE33rzSjkMcIkDvt"><style type="text/css">@supports (color: light-dark(#000, #fff)) { #ge-svg-ctfqZE33rzSjkMcIkDvt { --ge-adaptive-bg: light-dark(#ffffff, var(--ge-dark-color, #121212)); } }</style><defs/><rect fill="#ffffff" width="100%" height="100%" x="0" y="0" style="fill: var(--ge-adaptive-bg, #ffffff);"/><g><g data-cell-id="j5sJau_9XM2mpI3El1N7-0"><g data-cell-id="j5sJau_9XM2mpI3El1N7-1"><g data-cell-id="j5sJau_9XM2mpI3El1N7-2"/><g data-cell-id="j5sJau_9XM2mpI3El1N7-3"/><g data-cell-id="j5sJau_9XM2mpI3El1N7-4"/><g data-cell-id="j5sJau_9XM2mpI3El1N7-5"/><g data-cell-id="j5sJau_9XM2mpI3El1N7-8"><g><path d="M 509.75 10 L 9.75 10" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g><g data-cell-id="iWyblOCpMlhrlzzA4Nru-0"><g><path d="M 509.75 10 Q 439.75 160 224.75 200 Q 9.75 240 9.75 375 Q 9.75 510 259.75 510 Q 509.75 510 509.75 320" fill="none" stroke="#000000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" style="stroke: light-dark(rgb(0, 0, 0), rgb(255, 255, 255));"/></g></g></g></g></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" width="521" height="520" viewBox="0 0 521 520" fill="black">
<g data-cell-id="j5sJau_9XM2mpI3El1N7-0">
<g data-cell-id="j5sJau_9XM2mpI3El1N7-1">
<g data-cell-id="j5sJau_9XM2mpI3El1N7-2" />
<g data-cell-id="j5sJau_9XM2mpI3El1N7-3" />
<g data-cell-id="j5sJau_9XM2mpI3El1N7-4" />
<g data-cell-id="j5sJau_9XM2mpI3El1N7-5" />
<g data-cell-id="j5sJau_9XM2mpI3El1N7-8">
<path d="M 509.75 10 L 9.75 10" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
<g data-cell-id="iWyblOCpMlhrlzzA4Nru-0">
<path d="M 509.75 10 Q 439.75 160 224.75 200 Q 9.75 240 9.75 375 Q 9.75 510 259.75 510 Q 509.75 510 509.75 320" fill="none" stroke="#000" stroke-width="20" stroke-miterlimit="10" pointer-events="stroke" />
</g>
</g>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 956 B

1103
main.pdf

File diff suppressed because it is too large Load Diff

View File

@ -9,14 +9,9 @@
#show title: set align(center)
#title()
= Introduction #glyphy("kami")
= Introduction
== Les langages de YonSen
#box(
height: 1em,
image("data/svg/perseverence.svg"),
)
Il existe deux langages distincts à YonSen. L'un --- que nous n'allons pas étudier ici --- est le language "commun". Le language parlé par la totalité des habitants du YonSen ; qui, pour des facilités de compréhension, sera lors des parties traduit dans la langue des joueurs, exception faite des situations ou il est entendu que l'un des partis ne comprend pas cette langue.
L'autre, celui qui nous intéresse, est un langage uniquement écrit et issu des origines immémoriales de YonSen.