#19912·xbmc

[Subtitles] Arial font (arial.ttf) is not actually Arial but DejavuSans (or similar)

Author: pitsiCreated Jun 26, 2021Updated Sep 28, 2026
LabelsComponent: Subtitles

Bug report

Describe the bug

The letters on the (greek) subtitles have some small "curves" which indicate that arial is not used as the subtitles font, but dejavu sans is, because its letters do have such "curves".

Expected Behavior

As seen on the screenshot below, which is from mpv with arial set as the subtitle font, the letters have that clean look and no "curves" (letters like ν, υ, τ, α and π)

mpv-shot0001

Actual Behavior

And this is how it looks in kodi with kodi's arial (/usr/share/kodi/media/Fonts/arial.ttf). Notice the "curves" on the edges of the forementioned letters

screenshot00000

Possible Fix

No idea. Possibly put a different font under ~/.kodi/media/Fonts and have kodi use that instead. I used to have tahoma for that reason, but I will get there in a future bug report.

To Reproduce

Steps to reproduce the behavior:

  1. Grab a video and a matching subtitle (in greek if possible)
  2. Set the subtitle font (settings > media > language > subtitles > font to use) to arial. The encoding (character set) can be set to auto.
  3. Play the video an notice what I mention.

Debuglog

The log can be found here, although it says nothing about the font or the subtitles in general. http://ix.io/3rbX

Screenshots

The relevant ones are posted above.

Additional context or screenshots (if appropriate)

The log and the screenshot is from libreelec nightly x64. The file in kodi plays via dlna (minidlna server on my network) but the file in mpv is played locally. It makes no difference though for what I wanted to show.

From the systems mentioned below, the one with coreelec can not be upgraded past 9.2.7 with kodi 18.9. The remaining 2 will be upgraded to kodi 19 once libreelec 10 becomes stable.

And this is how each font (/usr/share/kodi/media/Fonts/arial.ttf and the system's dejavu sans) looks in font viewer, with text in english and greek. They look almost identical in english, but in greek the differences are too obvious to ignore.

2021-06-26-200921_466x365_scrot

2021-06-26-200946_466x365_scrot

The text in greek is the greek version of "the quick brown fox".

Your Environment

Used Operating system:

  • Android

  • iOS

  • tvOS

  • Linux

  • OSX

  • Windows

  • Windows UWP

  • Operating system version/name: Tested on all these Debian testing/unstable x64 with kodi 19.1 Libreelec stable 9.2.6 x64 with kodi 18.9 Libreelec nightly (48fe299 as of today) x64 with kodi 19.1 Libreelec stable 9.2.6 armv7l (rpi3b+) with kodi 18.9 Coreelec stable 9.2.7 aarch64 (amlogic s905 tvbox) with kodi 18.9 Windows 10 x64 with kodi 19.1 (friend's pc) Android 8.1 with kodi 19.1 (other friend's tv box)

  • Kodi versions: 18.9 and 19.1 as explained above