Hacker News new | ask | show | jobs
by williamsharkey 3515 days ago
I wish that system fonts could be told the size of the characters of a web font upfront, before the web font was loaded. The system font's glyphs should smoothly fade/morph into the target webfont once it is loaded.

To solve the problem generally would be difficult or equivalent to the effort/data required to download the web font in the first place, but there may be a quick and dirty solution that covers 99% of text in the wild. The easiest case is monos paced fonts. Is there really an excuse why the system font can't be told via Css what spacing/height to use to match the target webfont?

1 comments

To be more explicit, it is insane that we find it acceptable for text to reflow/ break over lines at different points once the web font is loaded. There is something that bugs me -- On the one hand we are being considerate and trying to make the reading experience pleasant. On the other hand we are being careless creators of jank. Maybe jank is something that primarily irritates nerds and I am overreacting.