Skip to content

Commit 294e30e

Browse files
committed
Adjust some glyphs.
1 parent 93b87dd commit 294e30e

11 files changed

+193
-90
lines changed

build/Firge-Bold.ttf

-68 Bytes
Binary file not shown.

build/Firge-Regular.ttf

-44 Bytes
Binary file not shown.

build/Firge35-Bold.ttf

-128 Bytes
Binary file not shown.

build/Firge35-Regular.ttf

-44 Bytes
Binary file not shown.

build/Firge35Console-Bold.ttf

-152 Bytes
Binary file not shown.

build/Firge35Console-Regular.ttf

-64 Bytes
Binary file not shown.

build/FirgeConsole-Bold.ttf

-92 Bytes
Binary file not shown.

build/FirgeConsole-Regular.ttf

-64 Bytes
Binary file not shown.

hackgen_generator.sh

Lines changed: 12 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -433,6 +433,8 @@ while (i < SizeOf(input_list))
433433
# 修正グリフの取り込み
434434
Select(0u0030) # 0
435435
SelectMore(0u0026) # &
436+
SelectMore(0u002A, 0u002B) # * +
437+
SelectMore(0u007C) # |
436438
Clear()
437439
MergeFonts(input_mod_list[i])
438440
@@ -447,33 +449,11 @@ while (i < SizeOf(input_list))
447449
UnlinkReference()
448450
ScaleToEm(${em_ascent}, ${em_descent})
449451
450-
# broken bar に貼り付ける素材準備 (パイプ記号を使うため、後述のパイプ破断線化より前に処理する)
451-
# Select(0u007c); Copy()
452-
# Select(0u0090); Paste(); Scale(100, 25)
453-
454-
# パイプの破断線化 (broken bar を縦に拡大)
455-
# Select(0u00a6); Copy()
456-
# Select(0u007c); Paste()
457-
# Scale(100, 114)
458-
459-
# 破断線化したパイプ記号と broken bar の区別を付きやすくする
460-
# Select(0u0090); Copy()
461-
# Select(0u00a6); Paste(); PasteWithOffset(0, 350); PasteWithOffset(0, -350)
462-
# Select(0u0090); Clear()
463-
464-
# 0 生成
465-
# Select(0u004f); Copy()
466-
# Select(0u0030); Paste(); Scale(99, 100)
467-
# Select(0u00b7); Copy()
468-
# Select(0ufff0); Paste(); Scale(75, 100); Copy()
469-
# Select(0u0030); PasteInto()
470-
# Select(0ufff0); Clear()
471-
472452
# クォーテーションの拡大
473-
# Select(0u0022)
474-
# SelectMore(0u0027)
475-
# SelectMore(0u0060)
476-
# Scale(109, 106)
453+
Select(0u0022)
454+
SelectMore(0u0027)
455+
SelectMore(0u0060)
456+
Scale(109, 106)
477457
478458
# ; : , . の拡大
479459
# Select(0u003a)
@@ -486,22 +466,11 @@ while (i < SizeOf(input_list))
486466
# Select(0u002e); Move(0, 5) # .
487467
# Select(0u002c); Move(0, -8) # ,
488468
489-
# クォーテーションの拡大
490-
# Select(0u0027)
491-
# SelectMore(0u0022)
492-
# SelectMore(0u0060)
493-
# Scale(108, 104)
494-
495469
# Eclipse Pleiades 半角スペース記号 (U+1d1c) 対策
496470
Select(0u054d); Copy()
497471
Select(0u1d1c); Paste()
498472
Scale(85, 60)
499473
500-
# 左右の波括弧の縦位置合わせ (Regular だけ)
501-
# if (i == 0)
502-
# Select(0u007D); Move(0, 5)
503-
# endif
504-
505474
# 結合分音記号は全て源柔ゴシックをベースにするため削除する
506475
# Select(0u0300, 0u036f); Clear()
507476
@@ -2781,22 +2750,22 @@ $fontforge_command -script ${tmpdir}/${modified_hack_generator} 2> $redirection_
27812750
$fontforge_command -script ${tmpdir}/${modified_genjyuu_generator} 2> $redirection_stderr || exit 4
27822751

27832752
# Generate powerline Symbol
2784-
$fontforge_command -script ${tmpdir}/${modified_hack_powerline_generator} 2> $redirection_stderr || exit 4
2753+
# $fontforge_command -script ${tmpdir}/${modified_hack_powerline_generator} 2> $redirection_stderr || exit 4
27852754

27862755
# Generate powerline Symbol
2787-
$fontforge_command -script ${tmpdir}/${modified_hack35_powerline_generator} 2> $redirection_stderr || exit 4
2756+
# $fontforge_command -script ${tmpdir}/${modified_hack35_powerline_generator} 2> $redirection_stderr || exit 4
27882757

27892758
# Generate Modified HackGen Nerd Symbol
2790-
$fontforge_command -script ${tmpdir}/${modified_hackgen_nerd_symbol_generator} 2> $redirection_stderr || exit 4
2759+
# $fontforge_command -script ${tmpdir}/${modified_hackgen_nerd_symbol_generator} 2> $redirection_stderr || exit 4
27912760

27922761
# Generate Modified HackGen Nerd Symbol
2793-
$fontforge_command -script ${tmpdir}/${modified_hackgen35_nerd_symbol_generator} 2> $redirection_stderr || exit 4
2762+
# $fontforge_command -script ${tmpdir}/${modified_hackgen35_nerd_symbol_generator} 2> $redirection_stderr || exit 4
27942763

27952764
# Generate Modified HackGen Console Nerd Symbol
2796-
$fontforge_command -script ${tmpdir}/${modified_hackgen_nerd_console_symbol_generator} 2> $redirection_stderr || exit 4
2765+
# $fontforge_command -script ${tmpdir}/${modified_hackgen_nerd_console_symbol_generator} 2> $redirection_stderr || exit 4
27972766

27982767
# Generate Modified HackGen Console Nerd Symbol
2799-
$fontforge_command -script ${tmpdir}/${modified_hackgen35_nerd_console_symbol_generator} 2> $redirection_stderr || exit 4
2768+
# $fontforge_command -script ${tmpdir}/${modified_hackgen35_nerd_console_symbol_generator} 2> $redirection_stderr || exit 4
28002769

28012770
# Generate Hack evacuation symbol
28022771
# $fontforge_command -script ${tmpdir}/${modified_hack_evacuate_from_hinting_generator} 2> $redirection_stderr || exit 4

source/modify_FiraMono-Bold.sfd

Lines changed: 91 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ OS2Version: 3
2222
OS2_WeightWidthSlopeOnly: 0
2323
OS2_UseTypoMetrics: 0
2424
CreationTime: 1441706346
25-
ModificationTime: 1623645344
25+
ModificationTime: 1623656100
2626
PfmFamily: 17
2727
TTFWeight: 700
2828
TTFWidth: 5
@@ -3387,7 +3387,7 @@ AntiAlias: 1
33873387
FitToEm: 0
33883388
WinInfo: 24 12 5
33893389
AnchorClass2: "Anchor-0" "'mark' Mark Positioning in Latin lookup 0 subtable" "Anchor-1" "'mark' Mark Positioning in Latin lookup 0 subtable" "Anchor-2" "'mark' Mark Positioning in Latin lookup 1 subtable" "Anchor-3" "'mark' Mark Positioning in Latin lookup 1 subtable" "Anchor-4" "'mark' Mark Positioning in Latin lookup 2 subtable" "Anchor-5" "'mark' Mark Positioning in Latin lookup 2 subtable" "Anchor-6" "'mkmk' Mark to Mark in Latin lookup 3 subtable" "Anchor-7" "'mkmk' Mark to Mark in Latin lookup 4 subtable" "Anchor-8" "'mkmk' Mark to Mark in Latin lookup 5 subtable"
3390-
BeginChars: 1114246 2
3390+
BeginChars: 1114246 5
33913391

33923392
StartChar: zero
33933393
Encoding: 48 48 0
@@ -3397,28 +3397,28 @@ Flags: W
33973397
LayerCount: 2
33983398
Fore
33993399
SplineSet
3400-
506.692382812 632.8671875 m 0,0,1
3401-
568.5 534.916583148 568.5 534.916583148 568.5 353 c 128,-1,2
3402-
568.5 171.104922732 568.5 171.104922732 506.717773438 72.6728515625 c 0,3,4
3403-
439.762718755 -34 439.762718755 -34 308 -34 c 128,-1,5
3404-
176.30386111 -34 176.30386111 -34 108.823242188 72.6083984375 c 0,6,7
3405-
46.5 171.068562669 46.5 171.068562669 46.5 353 c 0,8,9
3406-
46.5 533.893795303 46.5 533.893795303 108.282226562 632.327148438 c 0,10,11
3407-
175.236953454 739 175.236953454 739 308 739 c 0,12,13
3408-
439.720513787 739 439.720513787 739 506.692382812 632.8671875 c 0,0,1
3409-
197.5 353 m 0,14,15
3410-
197.5 302.750129424 197.5 302.750129424 200.813476562 261.987304688 c 1,16,-1
3411-
369.517578125 600.958984375 l 1,17,18
3412-
347.006785583 626.624326783 347.006785583 626.624326783 308.319335938 626 c 0,19,20
3413-
259.747102906 626 259.747102906 626 228.623551453 560.528832998 c 128,-1,21
3414-
197.5 495.057665996 197.5 495.057665996 197.5 353 c 0,14,15
3415-
418.5 353 m 0,22,23
3416-
418.5 403.718566674 418.5 403.718566674 415.197265625 445.241210938 c 1,24,-1
3417-
247.583007812 105.3359375 l 1,25,26
3418-
258.597097592 93.3032836341 258.597097592 93.3032836341 270.673828125 87.3984375 c 0,27,28
3419-
285.808663995 80 285.808663995 80 308 80 c 0,29,30
3420-
356.202760408 80 356.202760408 80 387.351380204 145.545286407 c 128,-1,31
3421-
418.5 211.090572815 418.5 211.090572815 418.5 353 c 0,22,23
3400+
506.692382812 611.499023438 m 0,0,1
3401+
568.5 519.166015625 568.5 519.166015625 568.5 347.68359375 c 128,-1,2
3402+
568.5 176.221679688 568.5 176.221679688 506.717773438 83.4345703125 c 0,3,4
3403+
439.762695312 -17.1201171875 439.762695312 -17.1201171875 308 -17.1201171875 c 128,-1,5
3404+
176.303710938 -17.1201171875 176.303710938 -17.1201171875 108.823242188 83.3740234375 c 0,6,7
3405+
46.5 176.1875 46.5 176.1875 46.5 347.68359375 c 0,8,9
3406+
46.5 518.202148438 46.5 518.202148438 108.282226562 610.990234375 c 0,10,11
3407+
175.237304688 711.544921875 175.237304688 711.544921875 308 711.544921875 c 0,12,13
3408+
439.720703125 711.544921875 439.720703125 711.544921875 506.692382812 611.499023438 c 0,0,1
3409+
197.5 347.68359375 m 0,14,15
3410+
197.5 300.31640625 197.5 300.31640625 200.813476562 261.890625 c 1,16,-1
3411+
369.517578125 581.420898438 l 1,17,18
3412+
347.006835938 605.614257812 347.006835938 605.614257812 308.319335938 605.025390625 c 0,19,20
3413+
259.747070312 605.025390625 259.747070312 605.025390625 228.624023438 543.310546875 c 128,-1,21
3414+
197.5 481.59375 197.5 481.59375 197.5 347.68359375 c 0,14,15
3415+
418.5 347.68359375 m 0,22,23
3416+
418.5 395.494140625 418.5 395.494140625 415.197265625 434.633789062 c 1,24,-1
3417+
247.583007812 114.224609375 l 1,25,26
3418+
258.596679688 102.8828125 258.596679688 102.8828125 270.673828125 97.3154296875 c 0,27,28
3419+
285.80859375 90.341796875 285.80859375 90.341796875 308 90.341796875 c 0,29,30
3420+
356.203125 90.341796875 356.203125 90.341796875 387.3515625 152.127929688 c 128,-1,31
3421+
418.5 213.913085938 418.5 213.913085938 418.5 347.68359375 c 0,22,23
34223422
EndSplineSet
34233423
Substitution2: "'zero' Slashed Zero in Latin lookup 25 subtable" zero.zero
34243424
Substitution2: "'onum' Oldstyle Figures in Latin lookup 22 subtable" zero.tosf
@@ -3505,5 +3505,72 @@ SplineSet
35053505
258.253222487 80 258.253222487 80 283.5 80 c 0,92,93
35063506
EndSplineSet
35073507
EndChar
3508+
3509+
StartChar: asterisk
3510+
Encoding: 42 42 2
3511+
Width: 615
3512+
VWidth: 999
3513+
Flags: W
3514+
LayerCount: 2
3515+
Fore
3516+
SplineSet
3517+
385 608 m 1,0,-1
3518+
231 608 l 1,1,-1
3519+
253 414 l 1,2,-1
3520+
76 495 l 1,3,-1
3521+
28 349 l 1,4,-1
3522+
219 311 l 1,5,-1
3523+
88 167 l 1,6,-1
3524+
212 77 l 1,7,-1
3525+
308 246 l 1,8,-1
3526+
404 77 l 1,9,-1
3527+
527 167 l 1,10,-1
3528+
396 311 l 1,11,-1
3529+
587 349 l 1,12,-1
3530+
539 495 l 1,13,-1
3531+
363 414 l 1,14,-1
3532+
385 608 l 1,0,-1
3533+
EndSplineSet
3534+
EndChar
3535+
3536+
StartChar: plus
3537+
Encoding: 43 43 3
3538+
Width: 615
3539+
VWidth: 999
3540+
Flags: W
3541+
LayerCount: 2
3542+
Fore
3543+
SplineSet
3544+
239 594 m 1,0,-1
3545+
375 594 l 1,1,-1
3546+
375 383 l 1,2,-1
3547+
582 383 l 1,3,-1
3548+
582 258 l 1,4,-1
3549+
375 258 l 1,5,-1
3550+
375 47 l 1,6,-1
3551+
239 47 l 1,7,-1
3552+
239 258 l 1,8,-1
3553+
34 258 l 1,9,-1
3554+
34 383 l 1,10,-1
3555+
239 383 l 1,11,-1
3556+
239 594 l 1,0,-1
3557+
EndSplineSet
3558+
EndChar
3559+
3560+
StartChar: bar
3561+
Encoding: 124 124 4
3562+
Width: 615
3563+
VWidth: 999
3564+
Flags: W
3565+
LayerCount: 2
3566+
Fore
3567+
SplineSet
3568+
232 923 m 1,0,-1
3569+
383 923 l 1,1,-1
3570+
383 -308 l 1,2,-1
3571+
232 -308 l 1,3,-1
3572+
232 923 l 1,0,-1
3573+
EndSplineSet
3574+
EndChar
35083575
EndChars
35093576
EndSplineFont

0 commit comments

Comments
 (0)