Fix corrupted glyphicons webfont files causing decode failures
Playwright Tests / test (push) Canceled after 0s

The previous gulp-copy refresh (3111347) mangled the binary
eot/ttf/woff/woff2 files through a text-mode path, replacing invalid
byte sequences with U+FFFD and desyncing each file's internal length
header from its actual size — hence the browser's "Failed to decode
downloaded font" error in production. Reverted the four files to the
last known-good (pre-corruption) bytes and marked font extensions as
binary in .gitattributes so text=auto can never normalize them again.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-10 13:10:55 +02:00
co-authored by Claude Sonnet 5
parent 311134727c
commit 1a8a14791d
5 changed files with 9 additions and 0 deletions
+9
View File
@@ -44,6 +44,15 @@
#*.png binary #*.png binary
#*.gif binary #*.gif binary
###############################################################################
# Web font files must never be normalized (they are binary, not text).
###############################################################################
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.otf binary
############################################################################### ###############################################################################
# diff behavior for common document formats # diff behavior for common document formats
# #
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.