[HN Gopher] The 'Ahem' Font
___________________________________________________________________
The 'Ahem' Font
Author : slater
Score : 34 points
Date : 2022-06-08 15:03 UTC (7 hours ago)
(HTM) web link (web-platform-tests.org)
(TXT) w3m dump (web-platform-tests.org)
| ssalka wrote:
| Without reading the other comments here, I can't tell what this
| font looks like, and I don't care to dig deeper to find out.
| frizlab wrote:
| Not a single screenshot, I'm disappointed.
| owlninja wrote:
| Same! Appears to be some more info/usage here:
|
| https://github.com/Hydrock/AhemFont
| tombh wrote:
| I need a font (or some other method) to display the UTF8 Full
| Block for _all_ characters, including CJK. Does anybody know of
| anything?
|
| It's for rendering in Browsh, a text-based web browser:
| https://github.com/browsh-org/browsh/issues/75
| soperj wrote:
| Looks like it's entirely consistent of squares:
|
| https://hydrock.github.io/AhemFont/
|
| It's used for testing line heights (still confused about how
| though)
| CharlesW wrote:
| Can someone smarter than me explain what this is for? (I've read
| https://github.com/Hydrock/AhemFont and
| https://hydrock.github.io/AhemFont/.)
| re wrote:
| For writing portable, reliable tests for web browsers.
|
| > The web-platform-tests project is a cross-browser test suite
| for the Web-platform stack. Writing tests in a way that allows
| them to be run in all browsers gives browser projects
| confidence that they are shipping software which is compatible
| with other implementations, and that later implementations will
| be compatible with their implementations.
|
| https://web-platform-tests.org/
|
| > Tests should be as cross-platform as reasonably possible,
| working across different devices, screen resolutions, paper
| sizes, etc. ... Fonts cannot be relied on to be either
| installed or to have specific metrics. As such, in most cases
| when a known font is needed, Ahem should be used and loaded as
| a web font. In other cases, @font-face should be used.
|
| https://web-platform-tests.org/writing-tests/general-guideli...
| bombcar wrote:
| I suppose you use it when you're adjusting things to "look
| right" and need to know how big the character space actually is
| (then you replace it with the real font you want to use)?
| GuB-42 wrote:
| It looks like a font to make unit tests for browsers. Nothing
| obvious from the link though.
|
| Also, why use these weird characters (X, p, E, Chinese
| characters) for the test glyphs? What's wrong with simple ASCII?
___________________________________________________________________
(page generated 2022-06-08 23:01 UTC)