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