I’m refering to this
I’ve also seen it happen to a single letter in that string

  • Still@programming.dev
    link
    fedilink
    English
    arrow-up
    39
    arrow-down
    1
    ·
    edit-2
    11 months ago

    it’s for contrast, white text on light background is almost impossible to read same with dark on dark. Uses a per character or per pixel filter to determine the color of the text

        • dave@feddit.uk
          link
          fedilink
          English
          arrow-up
          16
          ·
          11 months ago

          Plus it’s probably more complex to engineer multi-colour (well, two colour) font rendering onto the video. Getting the background brightness for each character is as simple as adding all the pixel rgb values together and threshold in. It doesn’t need to be very accurate.

        • 520@kbin.social
          link
          fedilink
          arrow-up
          7
          ·
          edit-2
          11 months ago

          Still pretty readable on a white background. The black outline sees to that.