I've been thinking about this article by Jim Mitchell on using Phosphor Icons for Micro.blog navigation but haven't finished implementing it with my preferred icon font, tabler .
I was researching what would happen if someone was to read the site and the font is not available – for example, RSS – when I came across a post talking about descent-override.
While font metrics are baked into a typeface’s definition, there are various CSS properties that allow stylesheet authors to override those metrics. Among them, the three most important ones that we’re interested in are size-adjust, ascent-override, and descent-override.
I’ve currently have a small selection of fonts being referenced, to verify for myself that the font isn’t downloaded when not used. I want to make this a two step rollout as I redo my page navigation and change the spacing in the articles.
Be sure to check out Jim’s blog for lots of great content !
Categories:
Web Development
July 17, 2025
A High-quality stranger. I've considered myself a digital gofer. Y'know, go for this and go for that. I'm using micro.blog now to par down my technical projects and be part of an outstanding community.
Debug Information
Permalink
"https://mandarismoore.com/2025/07/17/creating-perfect-font-fallbacks-in/"
Params
map[categories:[Web Development] custom_summary:%!s(bool=false) date:2025-07-17 17:22:51 -0700 -0700 draft:%!s(bool=false) guid:http://mandaris.micro.blog/2025/07/17/creating-perfect-font-fallbacks-in/ iscjklanguage:%!s(bool=false) lastmod:2025-11-04 00:42:58 -0700 -0700 layout:post microblog:%!s(bool=false) opengraph:map[image:https://s3.amazonaws.com/micro.blog/opengraph/2025/07/18/5482486.png title:Mandaris - Creating Perfect Font Fallbacks in CSS | Aleksandr Hovhannisyan] post_id:%!s(uint64=5482486) publishdate:2025-07-17 17:22:51 -0700 -0700 summary: thumbnail:https://s3.amazonaws.com/micro.blog/thumbnails/2025/07/18/mandarismoore.com/824f45a8c59e825504c21e543aa0e192.png title:Creating Perfect Font Fallbacks in CSS | Aleksandr Hovhannisyan type:post url:/2025/07/17/creating-perfect-font-fallbacks-in/]
Page Variables
&hugolib.pageState{pid:0x838, s:(*hugolib.Site)(0xc000860400), pageOutputs:[]*hugolib.pageOutput{(*hugolib.pageOutput)(0xc004d47520), (*hugolib.pageOutput)(0xc004d476c0), (*hugolib.pageOutput)(0xc004d47860), (*hugolib.pageOutput)(0xc004d47a00), (*hugolib.pageOutput)(0xc004d47ba0), (*hugolib.pageOutput)(0xc004d47d40), (*hugolib.pageOutput)(0xc004d4a000), (*hugolib.pageOutput)(0xc004d4a1a0), (*hugolib.pageOutput)(0xc004d4a340)}, pageOutputTemplateVariationsState:atomic.Uint32{_:atomic.noCopy{}, v:0x1}, pageOutputIdx:0, pageOutput:(*hugolib.pageOutput)(0xc004d47520), pageCommon:(*hugolib.pageCommon)(0xc001d47c08), Staler:(*hugolib.pageMeta)(0xc0024c7c20), dependencyManager:(*identity.nopManager)(0xc00069a280)}
All variables scoped to the current context
&hugolib.pageState{pid:0x838, s:(*hugolib.Site)(0xc000860400), pageOutputs:[]*hugolib.pageOutput{(*hugolib.pageOutput)(0xc004d47520), (*hugolib.pageOutput)(0xc004d476c0), (*hugolib.pageOutput)(0xc004d47860), (*hugolib.pageOutput)(0xc004d47a00), (*hugolib.pageOutput)(0xc004d47ba0), (*hugolib.pageOutput)(0xc004d47d40), (*hugolib.pageOutput)(0xc004d4a000), (*hugolib.pageOutput)(0xc004d4a1a0), (*hugolib.pageOutput)(0xc004d4a340)}, pageOutputTemplateVariationsState:atomic.Uint32{_:atomic.noCopy{}, v:0x1}, pageOutputIdx:0, pageOutput:(*hugolib.pageOutput)(0xc004d47520), pageCommon:(*hugolib.pageCommon)(0xc001d47c08), Staler:(*hugolib.pageMeta)(0xc0024c7c20), dependencyManager:(*identity.nopManager)(0xc00069a280)}