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
    41
    arrow-down
    1
    ·
    edit-2
    1 year 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
          17
          ·
          1 year 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.

      • Tetsuo
        link
        fedilink
        arrow-up
        9
        ·
        1 year ago

        Also this conveniently doesn’t show white color background.

        • 520@kbin.social
          link
          fedilink
          arrow-up
          8
          ·
          edit-2
          1 year ago

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