Skip to content

Typing "oxide" into an instance's serial console renders the echoed text as "0×ide" #1840

Closed
oxidecomputer/design-system
#64

Description

@gjcolombo

I was experimenting with logging into a guest image with the username 'oxide' when I noticed something odd:

oxide-or-oxide

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!)

Activity

  1. gjcolombo commented on Dec 7, 2023

    @gjcolombo
    Author

    (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.)

  2. lifning commented on Dec 7, 2023

    @lifning
    Contributor

    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)

  3. benjaminleonard commented on Dec 7, 2023

    @benjaminleonard
    Contributor

    Whoops. This is an easy fix though, let me look up the font feature it's using.

    Edit: It is "calt"

  4. benjaminleonard commented on Dec 7, 2023

    @benjaminleonard
    Contributor

    Oh that's fun, Firefox has "calt" enabled by default and chrome doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions