people are MISSING OUT on U+2044 FRACTION SLASH!
9400723⁄205473
👆 this does NOT use sub-/superscript letters!
people are MISSING OUT on U+2044 FRACTION SLASH! 9400723⁄205473 38 comments
Thats totally weird. Is it a HTML-specific? (does not work in word or Notepad, for example, but here. @anselmschueler Just checked, Safari doesn't do this on macOS either. But Chrome and Safari do! Even better, they're using the font's OpenType features, so the browser isn't doing faux sub/super figures but they come from the font. Looks like Chrome and Firefox enable `frac` if they encounter the fractional slash, which is cool. Safari needs this turned on explicitly with CSS. @anselmschueler annoyingly it doesn't seem to have propagated to other fediverse serviers - even mastodon and glitch ones @millihertz @anselmschueler It has propagated but the mastodon web interface doesn't show it. I'm on a mastodon server and it doesn't show in the web interface (shows a normal slash) but does show correctly in the Fedilab app connected to the same instance. @gbrnt @anselmschueler weird. it shows correctly, also, when i do "view original page" in the web interface. just, not on any of my instances... @millihertz @gbrnt @anselmschueler @silvermoon82 @millihertz @gbrnt y'all I'm fairly sure this is a font thing, i.e. whether it works doesn't really depend on the interface per se. @anselmschueler @silvermoon82 @gbrnt that's the conclusion i came to also. also there's no rhyme or reason to which fonts will render correctly. eg Roboto does, but Roboto Mono doesn't! @anselmschueler yeah I just thought it might be another on the list of things that the mastodon web interface strips out! @millihertz weird, for me in firefox on android it doesn't display properly even on the original instance https://ieji.de/@anselmschueler/114556598240414649 Maybe different fonts are getting used? @gbrnt maybe - i checked on ff/android, and you're right, it doesn't show it properly there. maybe it is fonts? on the original page, the specified font-family is < "mastodon-server-sans-serif", sans-serif >, whereas i have my fonts nailed down to Atkinson Hyperlegible... but if i switch to Roboto in the Inpsector, suddenly it gets rendered! so yes, it does appear to be a font thing! @owl that's cool! I haven't come around to putting custom compose binds on my system yet. I've been using the feature that GNOME Characters registers itself as a search provider. it is inefficient though @anselmschueler@ieji.de @anselmschueler Wow heck it works! I remember reading about it a while back, but back then it basically didn’t work. @anselmschueler Trying this with ⁄ for a sec: 40⁄100 Edit: Oh, cool, it works! I've been using it with sup and sub like a nitwit! XD @anselmschueler Interesting, doesn't work in mobile Firefox, but does work in mobile Vivaldi. @anselmschueler testing... 1.234/-12 (normal slash) ٠٫٢٥/12 (normal slash) 二/三 (normal slash) Ⅲ/Ⅳ (normal slash) No decimals, no negative numbers, no Roman numerals or other scripts... not quite what I had hoped for 😅, at least in Tusky's preview rendering, let me know if someone sees it working correctly in any of these! @anselmschueler for some reason my firefox refuses to render it using sub / super letters, chrome works tho lol |
if you’re viewing this in a terminal or something, this is what it is supposed to look like