From fd8484a615a5480a918443ae323203c73f273065 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 7 Mar 2021 11:16:58 +0530 Subject: 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 --- default.nix | 7 ++++--- shell.nix | 2 +- src/scientifica.sfd | 29 +++++++++++++++++++---------- src/scientificaBold.sfd | 26 ++++++++++++++++++-------- 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 with pkgs; stdenv.mkDerivation rec { name = "scientifica"; - version = "v2.1"; + version = "v2.2"; src = ./src; buildInputs = [ fontforge python3 xorg.mkfontdir ]; buildPhase = '' - for i in ./*; do - fontforge -c 'open(argv[1]).generate(argv[2])' $i $i.otb + for i in *; do + p=''${i%%.*} + fontforge -c 'open(argv[1]).generate(argv[2])' $i "$p".otb done ''; installPhase = '' diff --git a/shell.nix b/shell.nix index 850aa8d..d806c60 100644 --- a/shell.nix +++ b/shell.nix @@ -2,5 +2,5 @@ with pkgs; mkShell { - buildInputs = [ fontforge python3 xorg.mkfontdir ]; + buildInputs = [ fontforge-gtk fontforge python3 xorg.mkfontdir adoptopenjdk-bin ]; } 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 FullName: scientifica FamilyName: scientifica Weight: Medium -Copyright: Copyright (c) 2016, romeovs +Copyright: Copyright (c) 2021, Akshay Oppiliappan UComments: "2018-6-13: Created with FontForge (http://fontforge.org)" Version: 001.000 ItalicAngle: 0 @@ -16,13 +16,18 @@ LayerCount: 2 Layer: 0 0 "Back" 1 Layer: 1 0 "Fore" 0 XUID: [1021 714 -1221848914 16334107] -StyleMap: 0x0000 +StyleMap: 0x0040 FSType: 0 OS2Version: 0 OS2_WeightWidthSlopeOnly: 0 OS2_UseTypoMetrics: 1 CreationTime: 1528931547 -ModificationTime: 1586791767 +ModificationTime: 315532800 +PfmFamily: 49 +TTFWeight: 500 +TTFWidth: 5 +LineGap: 90 +VLineGap: 0 OS2TypoAscent: 0 OS2TypoAOffset: 1 OS2TypoDescent: 0 @@ -37,15 +42,19 @@ HheadAOffset: 1 HheadDescent: 0 HheadDOffset: 1 OS2Vendor: 'PfEd' +MarkAttachClasses: 1 DEI: 91125 +LangName: 1033 Encoding: UnicodeBmp UnicodeInterp: none NameList: AGL For New Fonts DisplaySize: 11 AntiAlias: 1 FitToEm: 0 -WinInfo: 56712 68 18 +WinInfo: 0 68 18 OnlyBitmaps: 1 +BeginPrivate: 0 +EndPrivate BeginChars: 65536 1085 StartChar: space @@ -1594,7 +1603,7 @@ EndChar StartChar: Abreve Encoding: 258 258 193 -Width: 1000 +Width: 454 VWidth: 0 Flags: W LayerCount: 2 @@ -2834,7 +2843,7 @@ EndChar StartChar: uni019D Encoding: 413 413 348 -Width: 1000 +Width: 454 VWidth: 0 Flags: W LayerCount: 2 @@ -8737,7 +8746,7 @@ FONTNAME_REGISTRY 16 "" CHARSET_COLLECTIONS 16 "ASCII ISOLatin1Encoding ISO8859-2 ISO8859-9 ISO8859-4 Symbol ISO10646-1" FONT_NAME 16 "scientifica" FACE_NAME 16 "scientifica" -COPYRIGHT 16 "Copyright (c) 2016, romeovs" +COPYRIGHT 16 "Copyright (c) 2021, Akshay Oppiliappan " FONT_VERSION 16 "1.0.0" FONT_ASCENT 18 9 FONT_DESCENT 18 2 @@ -9141,7 +9150,7 @@ BDFChar: 191 256 5 0 3 0 8 n,QjXORS?nO8o7\ BDFChar: 192 257 11 0 3 0 6 Duaj=OK_O] -BDFChar: 193 258 11 0 3 0 8 +BDFChar: 193 258 5 0 3 0 8 OC2IXORS?nO8o7\ BDFChar: 194 259 5 0 3 0 7 OC/'-OH?\C @@ -9451,8 +9460,8 @@ BDFChar: 346 411 11 0 3 0 6 :nSpR@$$HM BDFChar: 347 412 11 0 3 0 6 OH>QcORS>3 -BDFChar: 348 413 11 0 3 -2 6 -OH@hnY`OqX?iU0, +BDFChar: 348 413 5 -1 3 -2 6 +88)[==@btJJ,fQL BDFChar: 349 414 11 0 3 -2 4 i/j%^O:Vs' 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 FullName: scientifica FamilyName: scientifica Weight: Bold -Copyright: Copyright (c) 2016, romeovs +Copyright: Copyright (c) 2021, Akshay Oppiliappan UComments: "2018-6-13: Created with FontForge (http://fontforge.org)" Version: 001.000 ItalicAngle: 0 @@ -22,7 +22,12 @@ OS2Version: 0 OS2_WeightWidthSlopeOnly: 0 OS2_UseTypoMetrics: 1 CreationTime: 1528931301 -ModificationTime: 1528931301 +ModificationTime: 315532800 +PfmFamily: 17 +TTFWeight: 700 +TTFWidth: 5 +LineGap: 90 +VLineGap: 0 OS2TypoAscent: 0 OS2TypoAOffset: 1 OS2TypoDescent: 0 @@ -37,15 +42,20 @@ HheadAOffset: 1 HheadDescent: 0 HheadDOffset: 1 OS2Vendor: 'PfEd' +MarkAttachClasses: 1 DEI: 91125 +LangName: 1033 Encoding: UnicodeBmp UnicodeInterp: none NameList: AGL For New Fonts DisplaySize: 11 AntiAlias: 1 FitToEm: 0 -WinInfo: 9570 58 15 +WinInfo: 0 58 15 OnlyBitmaps: 1 +BeginPrivate: 0 +EndPrivate +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 BeginChars: 65536 982 StartChar: space @@ -2834,7 +2844,7 @@ EndChar StartChar: uni019D Encoding: 413 413 348 -Width: 1000 +Width: 454 VWidth: 0 Flags: W LayerCount: 2 @@ -7894,7 +7904,7 @@ Flags: W LayerCount: 2 EndChar EndChars -BitmapFont: 11 982 9 2 1 nerdypepper +BitmapFont: 11 983 9 2 1 nerdypepper BDFStartProperties: 39 FONT 1 "-nerdypepper-scientifica-bold-r-normal--11-80-100-100-C-50-ISO10646-1" SIZE 1 "11 75 75" @@ -7919,7 +7929,7 @@ FONTNAME_REGISTRY 16 "" CHARSET_COLLECTIONS 16 "ASCII ISOLatin1Encoding ISO8859-2 ISO8859-9 ISO8859-4 Symbol ISO10646-1" FONT_NAME 16 "scientificaBold" FACE_NAME 16 "scientifica" -COPYRIGHT 16 "Copyright (c) 2016, romeovs" +COPYRIGHT 16 "Copyright (c) 2021, Akshay Oppiliappan " FONT_VERSION 16 "1.0.0" FONT_ASCENT 18 9 FONT_DESCENT 18 2 @@ -8633,8 +8643,8 @@ BDFChar: 346 411 11 0 3 0 6 :nSpR@$$HM BDFChar: 347 412 11 0 3 0 6 OH>QcORS>3 -BDFChar: 348 413 11 0 3 -2 6 -OH@hnY`OqX?iU0, +BDFChar: 348 413 5 -1 3 -2 6 +84[Dr=@btJJ,fQL BDFChar: 349 414 11 0 3 -2 4 i/j%^O:Vs' 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 FullName: scientifica FamilyName: scientifica Weight: Italic -Copyright: Copyright (c) 2016, romeovs +Copyright: Copyright (c) 2021, Akshay Oppiliappan Version: 001.000 ItalicAngle: 0 UnderlinePosition: -49 @@ -16,14 +16,14 @@ LayerCount: 2 Layer: 0 0 "Back" 1 Layer: 1 0 "Fore" 0 XUID: [1021 552 -1923360401 8491390] -StyleMap: 0x0000 +StyleMap: 0x0001 FSType: 0 OS2Version: 4 OS2_WeightWidthSlopeOnly: 0 OS2_UseTypoMetrics: 1 CreationTime: 1528752866 -ModificationTime: 1586963935 -PfmFamily: 17 +ModificationTime: 315532800 +PfmFamily: 49 TTFWeight: 500 TTFWidth: 5 LineGap: 90 @@ -1444,7 +1444,7 @@ EndChar StartChar: Abreve Encoding: 258 258 196 -Width: 1000 +Width: 454 Flags: W LayerCount: 2 EndChar @@ -2529,7 +2529,7 @@ EndChar StartChar: uni019D Encoding: 413 413 351 -Width: 1000 +Width: 454 Flags: W LayerCount: 2 EndChar @@ -7606,7 +7606,7 @@ FONTNAME_REGISTRY 16 "" CHARSET_COLLECTIONS 16 "ASCII ISOLatin1Encoding ISO8859-2 ISO8859-9 ISO8859-4 Symbol ISO10646-1" FONT_NAME 16 "scientificaItalic" FACE_NAME 16 "scientifica" -COPYRIGHT 16 "Copyright (c) 2016, romeovs" +COPYRIGHT 16 "Copyright (c) 2021, Akshay Oppiliappan " FONT_VERSION 16 "1.0.0" FONT_ASCENT 18 9 FONT_DESCENT 18 2 @@ -8015,7 +8015,7 @@ BDFChar: 194 256 5 0 3 0 8 n,QjXORS?nO8o7\ BDFChar: 195 257 11 0 3 0 6 Duaj=OK_O] -BDFChar: 196 258 11 0 3 0 8 +BDFChar: 196 258 5 0 3 0 8 OC2IXORS?nO8o7\ BDFChar: 197 259 5 0 3 0 7 OC/'-OH?\C @@ -8325,8 +8325,8 @@ BDFChar: 349 411 11 0 3 0 6 :nSpR@$$HM BDFChar: 350 412 11 0 3 0 6 OH>QcORS>3 -BDFChar: 351 413 11 0 3 -2 6 -OH@hnY`OqX?iU0, +BDFChar: 351 413 5 -1 3 -2 6 +84[Dr=@btJJ,fQL BDFChar: 352 414 11 0 3 -2 4 i/j%^O:Vs' BDFChar: 353 415 11 0 3 0 5 -- cgit v1.2.3