SchOS/.gitattributes
Nexoniarz a8215149a3 docs/Website: Niveus at upstream f340d56; fonts are binary
The vendored copy of Niveus, the site's design system, brought up to
the current upstream (github.com/Nexoniarz/Niveus, 2026-10-18). The
tree under docs/Website/niveus is upstream's byte for byte.

.gitattributes says `* text eol=lf` and listed the binary types it
knew, and woff2 was not one of them: Niveus's InstrumentSans-Italic
had a CR LF pair in its compressed data, and committing it turned that
into LF and the font into garbage. woff, woff2, otf, ico, gif, webp,
pdf and wasm are binary now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-23 15:11:20 +02:00

29 lines
845 B
Text

# Keep LF in the working tree, on Windows included.
#
# Git's autocrlf would otherwise rewrite line endings on checkout, and this
# tree does not tolerate that: the build runs under Git Bash, and a Makefile
# recipe or a .S file with CRLF fails in ways that point nowhere near the
# actual cause.
* text eol=lf
# Binary, never touched.
*.png binary
*.jpg binary
*.ttf binary
*.img binary
*.iso binary
*.tar.gz binary
*.tgz binary
*.zip binary
*.wad binary
# Fonts and the rest of what the website ships. `* text` above applies to
# anything not listed, and a compressed font with a 0x0D 0x0A in it had that
# pair "fixed" to 0x0A on commit -- a woff2 that no longer decoded.
*.woff binary
*.woff2 binary
*.otf binary
*.ico binary
*.gif binary
*.webp binary
*.pdf binary
*.wasm binary