From bcee4c32438177f04dfb8142a195ad4f7fdcd4ff Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Mon, 19 Apr 2021 21:48:26 +0200 Subject: [PATCH] mpv: Use better subtitle settings --- users/simon/modules/mpv.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/users/simon/modules/mpv.nix b/users/simon/modules/mpv.nix index 2fec46a..fb227e5 100644 --- a/users/simon/modules/mpv.nix +++ b/users/simon/modules/mpv.nix @@ -52,12 +52,16 @@ in # Main application font osd-font = "DINW07-Medium"; # not included in repository (unfree) - # Subtitles - sub-font = "Gandhi Sans"; # see osd-font + # Subtitles (adapted from https://github.com/LightArrowsEXE/dotfiles/blob/75973b6c8493368bbdee6e8e632964045fcf22ec/mpv/.config/mpv/mpv.conf#L76) sub-bold = true; - sub-font-size = 44; + sub-border-color = "#ff000000"; + sub-border-size = 2.4; + sub-color = "#ffffff"; + sub-font = "Gandhi Sans"; # see osd-font + sub-font-size = 50; + sub-shadow-color = "#a0000000"; + sub-shadow-offset = 0.75; sub-use-margins = false; - sub-border-size = 2; # Nicer looking vobsub/PGS subtitles sub-gauss = 0.5;