Yes, put them in a folder in an external webserver (or shared webfonts from a proper CDN). Problem solved.
codinghorror
(Jeff Atwood)
10
נושאים קשורים
| נושא | תגובות | צפיות | פעילות | |
|---|---|---|---|---|
| Include assets (e.g. images, fonts) in themes and components | 1 | 16399 | 23 באוגוסט, 2024 | |
| How do I use custom local fonts? | 2 | 1876 | 7 ביולי, 2022 | |
| Anyone embedding fonts successfully? | 11 | 3078 | 20 באפריל, 2020 | |
| Can I simply add directories to my Discourse install? | 6 | 771 | 6 באפריל, 2024 | |
| Create and share a font theme component | 4 | 6400 | 19 באוגוסט, 2025 |