hottext: fix

The default font is from Gentium, but the available font files in the
current version of Gentium don't contain the requested one
(GentiumPlus-R.ttf):

$ ls /nix/store/hyc050nq33gvxjrdxw1z8yc948q67xjp-gentium-6.000/share/fonts/truetype/
GentiumBookPlus-BoldItalic.ttf  GentiumBookPlus-Regular.ttf  GentiumPlus-Italic.ttf
GentiumBookPlus-Bold.ttf        GentiumPlus-BoldItalic.ttf   GentiumPlus-Regular.ttf
GentiumBookPlus-Italic.ttf      GentiumPlus-Bold.ttf

GentiumPlus-Regular seems more likely to be what was intended.
This commit is contained in:
Harrison Houghton 2021-07-02 17:14:49 -04:00 committed by ehmry
parent 0c1c0634d2
commit c5cb576222

View File

@ -67,7 +67,7 @@ in stdenv.mkDerivation rec {
nimFlags = [ "-d:release" ] ++ map (lib: "--path:${lib}/src") nimLibs;
HOTTEXT_FONT_PATH = "${gentium}/share/fonts/truetype/GentiumPlus-R.ttf";
HOTTEXT_FONT_PATH = "${gentium}/share/fonts/truetype/GentiumPlus-Regular.ttf";
buildPhase = ''
runHook preBuild