tall, condensed bitmap font for geeks

bump to v2.2

- fix excessive side bearings on few characters
- fix U+019D hook to be on left side
- fix erronous weight spec once and for all
- update build scripts to work on nix

+52 -32
+4 -3
default.nix
··· 4 4 with pkgs; 5 5 stdenv.mkDerivation rec { 6 6 name = "scientifica"; 7 - version = "v2.1"; 7 + version = "v2.2"; 8 8 src = ./src; 9 9 buildInputs = [ fontforge python3 xorg.mkfontdir ]; 10 10 11 11 buildPhase = '' 12 - for i in ./*; do 13 - fontforge -c 'open(argv[1]).generate(argv[2])' $i $i.otb 12 + for i in *; do 13 + p=''${i%%.*} 14 + fontforge -c 'open(argv[1]).generate(argv[2])' $i "$p".otb 14 15 done 15 16 ''; 16 17 installPhase = ''
+1 -1
shell.nix
··· 2 2 3 3 with pkgs; 4 4 mkShell { 5 - buildInputs = [ fontforge python3 xorg.mkfontdir ]; 5 + buildInputs = [ fontforge-gtk fontforge python3 xorg.mkfontdir adoptopenjdk-bin ]; 6 6 }
+19 -10
src/scientifica.sfd
··· 3 3 FullName: scientifica 4 4 FamilyName: scientifica 5 5 Weight: Medium 6 - Copyright: Copyright (c) 2016, romeovs 6 + Copyright: Copyright (c) 2021, Akshay Oppiliappan <nerdy@peppe.rs> 7 7 UComments: "2018-6-13: Created with FontForge (http://fontforge.org)" 8 8 Version: 001.000 9 9 ItalicAngle: 0 ··· 16 16 Layer: 0 0 "Back" 1 17 17 Layer: 1 0 "Fore" 0 18 18 XUID: [1021 714 -1221848914 16334107] 19 - StyleMap: 0x0000 19 + StyleMap: 0x0040 20 20 FSType: 0 21 21 OS2Version: 0 22 22 OS2_WeightWidthSlopeOnly: 0 23 23 OS2_UseTypoMetrics: 1 24 24 CreationTime: 1528931547 25 - ModificationTime: 1586791767 25 + ModificationTime: 315532800 26 + PfmFamily: 49 27 + TTFWeight: 500 28 + TTFWidth: 5 29 + LineGap: 90 30 + VLineGap: 0 26 31 OS2TypoAscent: 0 27 32 OS2TypoAOffset: 1 28 33 OS2TypoDescent: 0 ··· 37 42 HheadDescent: 0 38 43 HheadDOffset: 1 39 44 OS2Vendor: 'PfEd' 45 + MarkAttachClasses: 1 40 46 DEI: 91125 47 + LangName: 1033 41 48 Encoding: UnicodeBmp 42 49 UnicodeInterp: none 43 50 NameList: AGL For New Fonts 44 51 DisplaySize: 11 45 52 AntiAlias: 1 46 53 FitToEm: 0 47 - WinInfo: 56712 68 18 54 + WinInfo: 0 68 18 48 55 OnlyBitmaps: 1 56 + BeginPrivate: 0 57 + EndPrivate 49 58 BeginChars: 65536 1085 50 59 51 60 StartChar: space ··· 1594 1603 1595 1604 StartChar: Abreve 1596 1605 Encoding: 258 258 193 1597 - Width: 1000 1606 + Width: 454 1598 1607 VWidth: 0 1599 1608 Flags: W 1600 1609 LayerCount: 2 ··· 2834 2843 2835 2844 StartChar: uni019D 2836 2845 Encoding: 413 413 348 2837 - Width: 1000 2846 + Width: 454 2838 2847 VWidth: 0 2839 2848 Flags: W 2840 2849 LayerCount: 2 ··· 8737 8746 CHARSET_COLLECTIONS 16 "ASCII ISOLatin1Encoding ISO8859-2 ISO8859-9 ISO8859-4 Symbol ISO10646-1" 8738 8747 FONT_NAME 16 "scientifica" 8739 8748 FACE_NAME 16 "scientifica" 8740 - COPYRIGHT 16 "Copyright (c) 2016, romeovs" 8749 + COPYRIGHT 16 "Copyright (c) 2021, Akshay Oppiliappan <nerdy@peppe.rs>" 8741 8750 FONT_VERSION 16 "1.0.0" 8742 8751 FONT_ASCENT 18 9 8743 8752 FONT_DESCENT 18 2 ··· 9141 9150 n,QjXORS?nO8o7\ 9142 9151 BDFChar: 192 257 11 0 3 0 6 9143 9152 Duaj=OK_O] 9144 - BDFChar: 193 258 11 0 3 0 8 9153 + BDFChar: 193 258 5 0 3 0 8 9145 9154 OC2IXORS?nO8o7\ 9146 9155 BDFChar: 194 259 5 0 3 0 7 9147 9156 OC/'-OH?\C ··· 9451 9460 :nSpR@$$HM 9452 9461 BDFChar: 347 412 11 0 3 0 6 9453 9462 OH>QcORS>3 9454 - BDFChar: 348 413 11 0 3 -2 6 9455 - OH@hnY`OqX?iU0, 9463 + BDFChar: 348 413 5 -1 3 -2 6 9464 + 88)[==@btJJ,fQL 9456 9465 BDFChar: 349 414 11 0 3 -2 4 9457 9466 i/j%^O:Vs' 9458 9467 BDFChar: 350 415 11 0 3 0 5
+18 -8
src/scientificaBold.sfd
··· 3 3 FullName: scientifica 4 4 FamilyName: scientifica 5 5 Weight: Bold 6 - Copyright: Copyright (c) 2016, romeovs 6 + Copyright: Copyright (c) 2021, Akshay Oppiliappan <nerdy@peppe.rs> 7 7 UComments: "2018-6-13: Created with FontForge (http://fontforge.org)" 8 8 Version: 001.000 9 9 ItalicAngle: 0 ··· 22 22 OS2_WeightWidthSlopeOnly: 0 23 23 OS2_UseTypoMetrics: 1 24 24 CreationTime: 1528931301 25 - ModificationTime: 1528931301 25 + ModificationTime: 315532800 26 + PfmFamily: 17 27 + TTFWeight: 700 28 + TTFWidth: 5 29 + LineGap: 90 30 + VLineGap: 0 26 31 OS2TypoAscent: 0 27 32 OS2TypoAOffset: 1 28 33 OS2TypoDescent: 0 ··· 37 42 HheadDescent: 0 38 43 HheadDOffset: 1 39 44 OS2Vendor: 'PfEd' 45 + MarkAttachClasses: 1 40 46 DEI: 91125 47 + LangName: 1033 41 48 Encoding: UnicodeBmp 42 49 UnicodeInterp: none 43 50 NameList: AGL For New Fonts 44 51 DisplaySize: 11 45 52 AntiAlias: 1 46 53 FitToEm: 0 47 - WinInfo: 9570 58 15 54 + WinInfo: 0 58 15 48 55 OnlyBitmaps: 1 56 + BeginPrivate: 0 57 + EndPrivate 58 + TeXData: 1 0 0 476054 238026 158684 0 1048576 158684 783286 444596 497025 792723 393216 433062 380633 303038 157286 324010 404750 52429 2506097 1059062 262144 49 59 BeginChars: 65536 982 50 60 51 61 StartChar: space ··· 2834 2844 2835 2845 StartChar: uni019D 2836 2846 Encoding: 413 413 348 2837 - Width: 1000 2847 + Width: 454 2838 2848 VWidth: 0 2839 2849 Flags: W 2840 2850 LayerCount: 2 ··· 7894 7904 LayerCount: 2 7895 7905 EndChar 7896 7906 EndChars 7897 - BitmapFont: 11 982 9 2 1 nerdypepper 7907 + BitmapFont: 11 983 9 2 1 nerdypepper 7898 7908 BDFStartProperties: 39 7899 7909 FONT 1 "-nerdypepper-scientifica-bold-r-normal--11-80-100-100-C-50-ISO10646-1" 7900 7910 SIZE 1 "11 75 75" ··· 7919 7929 CHARSET_COLLECTIONS 16 "ASCII ISOLatin1Encoding ISO8859-2 ISO8859-9 ISO8859-4 Symbol ISO10646-1" 7920 7930 FONT_NAME 16 "scientificaBold" 7921 7931 FACE_NAME 16 "scientifica" 7922 - COPYRIGHT 16 "Copyright (c) 2016, romeovs" 7932 + COPYRIGHT 16 "Copyright (c) 2021, Akshay Oppiliappan <nerdy@peppe.rs>" 7923 7933 FONT_VERSION 16 "1.0.0" 7924 7934 FONT_ASCENT 18 9 7925 7935 FONT_DESCENT 18 2 ··· 8633 8643 :nSpR@$$HM 8634 8644 BDFChar: 347 412 11 0 3 0 6 8635 8645 OH>QcORS>3 8636 - BDFChar: 348 413 11 0 3 -2 6 8637 - OH@hnY`OqX?iU0, 8646 + BDFChar: 348 413 5 -1 3 -2 6 8647 + 84[Dr=@btJJ,fQL 8638 8648 BDFChar: 349 414 11 0 3 -2 4 8639 8649 i/j%^O:Vs' 8640 8650 BDFChar: 350 415 11 0 3 0 5
+10 -10
src/scientificaItalic.sfd
··· 3 3 FullName: scientifica 4 4 FamilyName: scientifica 5 5 Weight: Italic 6 - Copyright: Copyright (c) 2016, romeovs 6 + Copyright: Copyright (c) 2021, Akshay Oppiliappan <nerdy@peppe.rs> 7 7 Version: 001.000 8 8 ItalicAngle: 0 9 9 UnderlinePosition: -49 ··· 16 16 Layer: 0 0 "Back" 1 17 17 Layer: 1 0 "Fore" 0 18 18 XUID: [1021 552 -1923360401 8491390] 19 - StyleMap: 0x0000 19 + StyleMap: 0x0001 20 20 FSType: 0 21 21 OS2Version: 4 22 22 OS2_WeightWidthSlopeOnly: 0 23 23 OS2_UseTypoMetrics: 1 24 24 CreationTime: 1528752866 25 - ModificationTime: 1586963935 26 - PfmFamily: 17 25 + ModificationTime: 315532800 26 + PfmFamily: 49 27 27 TTFWeight: 500 28 28 TTFWidth: 5 29 29 LineGap: 90 ··· 1444 1444 1445 1445 StartChar: Abreve 1446 1446 Encoding: 258 258 196 1447 - Width: 1000 1447 + Width: 454 1448 1448 Flags: W 1449 1449 LayerCount: 2 1450 1450 EndChar ··· 2529 2529 2530 2530 StartChar: uni019D 2531 2531 Encoding: 413 413 351 2532 - Width: 1000 2532 + Width: 454 2533 2533 Flags: W 2534 2534 LayerCount: 2 2535 2535 EndChar ··· 7606 7606 CHARSET_COLLECTIONS 16 "ASCII ISOLatin1Encoding ISO8859-2 ISO8859-9 ISO8859-4 Symbol ISO10646-1" 7607 7607 FONT_NAME 16 "scientificaItalic" 7608 7608 FACE_NAME 16 "scientifica" 7609 - COPYRIGHT 16 "Copyright (c) 2016, romeovs" 7609 + COPYRIGHT 16 "Copyright (c) 2021, Akshay Oppiliappan <nerdy@peppe.rs>" 7610 7610 FONT_VERSION 16 "1.0.0" 7611 7611 FONT_ASCENT 18 9 7612 7612 FONT_DESCENT 18 2 ··· 8015 8015 n,QjXORS?nO8o7\ 8016 8016 BDFChar: 195 257 11 0 3 0 6 8017 8017 Duaj=OK_O] 8018 - BDFChar: 196 258 11 0 3 0 8 8018 + BDFChar: 196 258 5 0 3 0 8 8019 8019 OC2IXORS?nO8o7\ 8020 8020 BDFChar: 197 259 5 0 3 0 7 8021 8021 OC/'-OH?\C ··· 8325 8325 :nSpR@$$HM 8326 8326 BDFChar: 350 412 11 0 3 0 6 8327 8327 OH>QcORS>3 8328 - BDFChar: 351 413 11 0 3 -2 6 8329 - OH@hnY`OqX?iU0, 8328 + BDFChar: 351 413 5 -1 3 -2 6 8329 + 84[Dr=@btJJ,fQL 8330 8330 BDFChar: 352 414 11 0 3 -2 4 8331 8331 i/j%^O:Vs' 8332 8332 BDFChar: 353 415 11 0 3 0 5