Artifacts Gallery Guilds Search Wiki Login Register

Welcome, Guest. Please login or register. - Thinking of joining?
Autumn, 14 Oct 2026 - @587.75
Forum Activity: Four Stars Random | Recent Posts | Guild Recents
News: :defrag: Lo and Behold :defrag: Guild Events: Halloween Watch-a-thon
Super News: ~~MelonLand's Halloween Profile Design Contest 2026~~
+  MelonLand Forum
|-+  Da Web Revival
| |-+  ✁ ∙ Web Crafting
| | |-+  ☔︎ ∙ I need Help!
| | | |-+  HELP: Custom web fonts; how to shrink file size


« previous next »
Pages: [1] Print Embed
Author Topic: HELP: Custom web fonts; how to shrink file size  (Read 1638 times)
Memory
Guest

« on: Spring, 16 Mar 2023 @448 » Embed

Hey there! :dog:

I know how to embed custom fonts into my website and I like using them a lot. Right now, I use a single font (Galmuri 9) throughout my entire website.

However, every single time someone clicks on my site they download a whole 4MB .ttf font! This is too much for me, especially if some people have to connect over a mobile network or from an old computer, and just generally I dislike bloat. I don't want to hotlink from a different website because that feels mean to them, and it also is a point of failure that I don't want to have to think about.

Is there any way to reduce effective file size with custom fonts for performance reasons, especially if I want to use multiple on the same site?

Logged
shevek
Hero Member ⚓︎
*****
View Profile WWW


˚₊⁀꒷₊˚︰₊︶꒦꒷₊⊹︰꒷
⛺︎ My Room
iMood: daintyeco

Artifacts:
Great Posts PacmanThanks for being rad!First 1000 Members!Joined 2023!
« Reply #1 on: Summer, 05 Jul 2023 @861 » Toggle Font Embed

I saw that you never got a reply to this issue. Is this still a problem or did you find a solution yet?

From my research I gather that small file sizes for fonts is kind of a tradeoff at times with not supporting specific characters or older browsers.

I found people save on font file size by only using the WOFF formats (not ttf etc.) which has the downside of not supporting older browsers, but has its own compression via Brotli and is therefore smaller.  Others use FontSquirrel Webfont generator on Expert to edit what the font files entail and remove glyphs; this would already reduce the file size on your end.
If you don't want to edit the file itself and don't mind the file size on your end, you might be interested in setting specifications in the CSS (Unicode range subsetting for example) so it arrives smaller for the end user, but I guess that depends on if your font even has all these characters. If it is already "barebones" so to speak, there might not be much to remove or subset.

Logged

Odo was just an idea. Shevek is the proof.
Pages: [1] Print Embed 
« previous next »
 

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021 | Privacy Notice | Send Feedback | Supporters ♥ Forum Guide | Rules | RSS | WAP | Mobile


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi
@000 Melon
Land
Forum Art Hub Chat Webring Explore Random Recent Tenement Arcade Want to Login or Join ? Web Craft Guide Graphic Catalogue Wiki Help I'm Lost! Link Land Newsletters Image Stream Minecraft: Online
Zap!
Passport Sites tamaNOTchi Asatte Add your site?
Aero Archive Onio Cafe 32 Bit Cafe Status Cafe