Commit graph

8 commits

Author SHA1 Message Date
Timothy Jaeryang Baek
508de20779 refac 2026-09-06 17:27:30 -04:00
Classic298
08ca3d859f
chore: drop the unused Noto Sans variable fonts (#29723)
The four Noto Sans variable fonts under open_webui/static/fonts have never been loaded. Removing them makes an installed package 40 MB smaller on disk, the wheel about 24 MB, and the Docker image about 80 MB, because the image currently stores the static directory twice.

The PDF generator registers only the static faces through add_font, and the stylesheet that names the variable fonts, pdf-style.css, is read into a variable that nothing ever uses, so no code path can reach them. The frontend never fetches these files either.

Only the four @font-face blocks that pointed at the deleted files are removed; the rest of the stylesheet, font stack included, is left exactly as it is.

The files were reachable under the public /static mount, so anything outside this repository that hotlinked them gets a 404 from now on.

Part of #29721.
2026-09-06 16:39:36 -04:00
Timothy Jaeryang Baek
139e764b2f refac 2026-03-23 23:39:52 -05:00
notyusheng
efedb7ab1f chore: removed duplicate css elements 2025-05-28 08:31:11 -04:00
Timothy Jaeryang Baek
1902d4238b chore: format 2024-12-17 13:51:29 -08:00
Timothy Jaeryang Baek
8dcee6b6ed refac: pdf 2024-12-07 14:28:17 -08:00
Timothy J. Baek
112cbdccbb revert: pdf gen 2024-10-13 00:05:28 -07:00
noczero
c41261e72b feat: PDF generator to export chat 2024-10-13 11:20:09 +07:00