You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Typing "oxide" into an instance's serial console renders the echoed text as "0×ide" #1840
I was experimenting with logging into a guest image with the username 'oxide' when I noticed something odd:
I see that the <span> containing the echoed console characters has the right contents, so this seems to be purely stylistic, but it threw me for a loop (the login attempt failed for unrelated reasons, but I had to triple-check that yes, I had, in fact, sent the guest the correct username!).
Is it intended that instance serial consoles render "oxide" this way? I'd venture that this behavior should be suppressed for them. (I looked around for where this substitution was happening and could find neither hide nor hair of it, so I'd be also curious about how it's implemented!)
(Having discussed this with a couple of folks this might be because there's a magical ligature in the font this is rendering in that's causing this to display as a "0x" in this particular case. In that case I'd be curious as to whether there's some way to suppress this in this particular view.)
if we can figure out what type of ligature the font is using for it, we can toggle it off in CSS. for example if it's a "contextual alternate" this would be font-feature-settings: "calt" off; (edit: for stylistic sets it'd be "ss##" off where ## is the number of the stylistic set)
Activity
gjcolombo commentedon Dec 7, 2023
(Having discussed this with a couple of folks this might be because there's a magical ligature in the font this is rendering in that's causing this to display as a "0x" in this particular case. In that case I'd be curious as to whether there's some way to suppress this in this particular view.)
lifning commentedon Dec 7, 2023
if we can figure out what type of ligature the font is using for it, we can toggle it off in CSS. for example if it's a "contextual alternate" this would be
font-feature-settings: "calt" off;(edit: for stylistic sets it'd be"ss##" offwhere##is the number of the stylistic set)benjaminleonard commentedon Dec 7, 2023
Whoops. This is an easy fix though, let me look up the font feature it's using.
Edit: It is "calt"
benjaminleonard commentedon Dec 7, 2023
Oh that's fun, Firefox has "calt" enabled by default and chrome doesn't.