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