Skip to content

Commit

Permalink
Updated to v10, added dependencies, updated to latest IOSEVKA.
Browse files Browse the repository at this point in the history
  • Loading branch information
saumyajyoti-mukherjee committed Jul 8, 2024
1 parent 5e91e63 commit c1bf80a
Show file tree
Hide file tree
Showing 59 changed files with 8,781 additions and 14 deletions.
16 changes: 16 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Dependency
node_modules

# Settings
.settings
.vscode

# Build artifacts
.build
dist

# Platform specified files
.DS_store

bin/nerdfont/bin/scripts/name_parser/__pycache__/*
bin/nerdfont/bin/scripts/name_parser/log
43 changes: 31 additions & 12 deletions IOSEVKA-Custom-NF/nerdfont.bat
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
:: Copyright
:: Saumyajyoti Mukherjee
:: 2024


@echo off
setlocal
:: prerequisites in comments
:: tested in Windows11 setup

:: install nodejs, ttfautohint, fontforge python 3 as mentioned in
:: install nodejs, fontforge python 3 as mentioned in
:: - https://github.com/be5invis/Iosevka/blob/main/doc/custom-build.md#building
:: - https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/FontPatcher.zip

SET IOSEVKA_PATH="D:\SOURCE\github\Iosevka"
SET "PATH=C:\Program Files (x86)\FontForgeBuilds\bin;%PATH%"
SET IOSEVKA_PATH="%temp%\Iosevka"
SET "PATH=C:\Program Files (x86)\FontForgeBuilds\bin;%~dp0\..\bin;%PATH%"
SET FFPYTHON_EXE="C:\Program Files (x86)\FontForgeBuilds\bin\ffpython.exe"
SET FONTVERNUM=9
SET FONTVERNUM=10
SET OUTPATH="D:\Font\Miosevka%FONTVERNUM%"
:: SET NERDFONT_PATCHER_PATH [ download from path above]
SET NERDFONT_PATCHER_PATH="D:\SETUP.tmp\nerdfont\font-patcher"
SET NERDFONT_PATCHER_PATH="%~dp0\..\bin\nerdfont\font-patcher"
SET FONTVER=Miosevka%FONTVERNUM%
echo =======================================================
echo Sync Iosevka
cd /d %IOSEVKA_PATH%
rmdir /S /Q "%IOSEVKA_PATH%\dist"

git pull --depth=1
if exist %IOSEVKA_PATH%\ (
echo Sync Iosevka
cd /d %IOSEVKA_PATH%
rmdir /S /Q "%IOSEVKA_PATH%\dist"
git pull --depth=1
) else (
echo Clone Iosevka
git clone https://github.com/be5invis/Iosevka.git %IOSEVKA_PATH% --depth=1
cd /d %IOSEVKA_PATH%
)

call npm install
echo =======================================================
Expand All @@ -47,11 +56,21 @@ echo patch fonts
%FFPYTHON_EXE% %NERDFONT_PATCHER_PATH% -c "%IOSEVKA_PATH%\dist\riosevka\ttf\riosevka-boldItalic.ttf"
echo =======================================================
echo Copy Files
copy /Y %~dp0\..\license.* %OUTPATH%
copy /Y %~dp0\..\*license.* %OUTPATH%
copy /Y "%IOSEVKA_PATH%\dist\miosevka\ttf\*.ttf" %OUTPATH%
copy /Y "%IOSEVKA_PATH%\dist\riosevka\ttf\*.ttf" %OUTPATH%
cd ..
echo create %FONTVER%.zip
tar.exe -a -c -f "%FONTVER%.zip" %OUTPATH%

REM :PROMPT
REM SET /P INSTALL=Install Fonts (yes/[no])?
REM IF /I "%INSTALL%" NEQ "yes" GOTO END

REM echo installing fonts
REM cd /d %OUTPATH%
REM start FontReg.exe /copy
REM cd ..
REM :END

explorer .
File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,7 @@ Added
![Sample Miosevka](Miosevka-Sample.png)

## License
- Nerdfont License : See License.txt
- Iosevka License : See License.md
- Nerdfont License : See NERDFONT-License.txt
- Iosevka License : See IOSEVKA-License.md
- TTF Autohint License: See TTFAH-LICENSE.txt

3 changes: 3 additions & 0 deletions TTFAH-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
The ttfautohint library contains a copy of FreeType's ā€˜autofitā€™ module, reformatted and using a different function prefix, and with slight extensions for hooks into hinting actions. It therefore inherits the same dual-licensing as FreeType; you can choose between the GNU Public License (GPL) Version 2 and the FreeType License (FTL).

v 1.8.4
Binary file added bin/FontReg.exe
Binary file not shown.
Loading

0 comments on commit c1bf80a

Please sign in to comment.