From f9bf846c72714cd065d6bf1187ec981ce40ed6b1 Mon Sep 17 00:00:00 2001 From: Jan-Bulthuis Date: Tue, 11 Feb 2025 19:31:06 +0100 Subject: [PATCH] Modified font --- pkgs/fonts/dina-psf.nix | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/pkgs/fonts/dina-psf.nix b/pkgs/fonts/dina-psf.nix index 1c51fbb..b401ed0 100644 --- a/pkgs/fonts/dina-psf.nix +++ b/pkgs/fonts/dina-psf.nix @@ -13,29 +13,16 @@ pkgs.stdenv.mkDerivation { buildInputs = with pkgs; [ dina-font - # ttf2psf bdf2psf - # kbd ]; - # buildPhase = '' - # # Get the base Dina otb font - # cp ${pkgs.dina-font}/share/fonts/misc/DinaMedium9.otb ./dina.otb - - # # Create the character set - # cp ${pkgs.ttf2psf}/share/ttf2psf/ascii - - # # Convert to psfu - # ttf2psu -g -c ${pkgs.ttf2psf}/share/ttf2psf/ -e ${pkgs.ttf2psf}/share/ttf2psf/standard.equivalents dina.otb dina.psfu.gz - # ''; - buildPhase = '' # Get the base Dina font - cp ${pkgs.dina-font.bdf}/share/fonts/misc/Dina_r400-10.bdf ./dina.bdf + cp ${pkgs.dina-font.bdf}/share/fonts/misc/Dina_r400-9.bdf ./dina.bdf # Set the AVERAGE_WIDTH property on the font sed 's/STARTPROPERTIES 16/STARTPROPERTIES 17\ - AVERAGE_WIDTH 80/' ./dina.bdf > ./dina-mod.bdf + AVERAGE_WIDTH 70/' ./dina.bdf > ./dina-mod.bdf # Convert the bdf to psf bdf2psf --fb ./dina-mod.bdf \