mirror of
https://github.com/kiliman/operator-mono-lig.git
synced 2026-08-12 02:10:52 +02:00
🔨 Make italics-hack the default option with ability to turn it off
This commit is contained in:
@@ -4,7 +4,7 @@ setlocal
|
|||||||
if not exist .\build\* mkdir build
|
if not exist .\build\* mkdir build
|
||||||
|
|
||||||
set flags=
|
set flags=
|
||||||
if "%1"=="--italics-hack" (
|
if "%1"=="--italics-hack-off" (
|
||||||
set flags=%1
|
set flags=%1
|
||||||
shift
|
shift
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ build_font() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
flags=
|
flags=
|
||||||
if [ "$1" = "--italics-hack" ]
|
if [ "$1" = "--italics-hack-off" ]
|
||||||
then
|
then
|
||||||
flags=$1
|
flags=$1
|
||||||
shift
|
shift
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ let italicsHack = false;
|
|||||||
function main() {
|
function main() {
|
||||||
fontName = process.argv[2];
|
fontName = process.argv[2];
|
||||||
italicsHack =
|
italicsHack =
|
||||||
process.argv[3] === '--italics-hack' && fontName.includes('Italic');
|
fontName.includes('Italic') && process.argv[3] !== '--italics-hack-off';
|
||||||
|
|
||||||
ligFontName = fontName.split('-').join('Lig-');
|
ligFontName = fontName.split('-').join('Lig-');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user