You are not logged in.

#1 2022-06-07 09:56:24

Neon095
Member
Registered: 2022-05-09
Posts: 10

Extrange font in youtube subtitles

I tried to play a yt video https://www.youtube.com/watch?v=U7L-3VXAkSA , in where the spanish subtitles where in orange, and it displays some extrange triangles and squares characters.
localectl

System Locale: LANG=en_US.UTF-8
       VC Keymap: n/a
      X11 Layout: n/a

locale

LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

locale -a

C
C.UTF-8
en_US.utf8
es_ES.utf8
ja_JP.utf8
POSIX

/etc/locale.conf

LC_ALL=C
LANG=en_US.UTF-8

Offline

#2 2022-06-07 10:26:56

progandy
Member
Registered: 2012-05-17
Posts: 5,319

Re: Extrange font in youtube subtitles

It looks like somebody wanted to be funny and set a symbol font for that language. You could fix that by adding your own CSS rules (temporarily with the developer tools, F12, or more permanently with e.g. Stylus)

.ytp-caption-segment {
  font-family: Roboto, sans-serif !important;
}

Last edited by progandy (2022-06-07 11:05:30)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2022-06-07 10:42:06

Neon095
Member
Registered: 2022-05-09
Posts: 10

Re: Extrange font in youtube subtitles

Oh, thank you. Where exactly do i need to add that?

Offline

#4 2022-06-07 11:09:15

progandy
Member
Registered: 2012-05-17
Posts: 5,319

Re: Extrange font in youtube subtitles

For the temporary solution with the developer tools see here: https://www.maketecheasier.com/live-edi … oper-tool/ (Mostly the part "Start Your Live Edit")
For stylus there should be enough tutorials available.


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB