repo กับแบบอักษรที่ฉันแนะนำสำหรับเชลล์และการเขียนโปรแกรมส่วนใหญ่มี ligatures และ powerline/nerdfont glyphs (ไอคอน) รองรับ!
หมายเหตุ: ฟอนต์ที่รวมอยู่ใน repo นี้เป็นสิ่งที่ฉันได้รับการแก้ไขหรือคุ้มค่าที่จะเก็บเป็นข้อมูลสำรอง หากฉันใช้แบบอักษรพื้นฐาน Nerd ฉันจะพยายามเชื่อมโยงไปยังเว็บไซต์ repo/repo ของผู้แต่งดั้งเดิม
ใช้ใบเสนอราคา ( '' ) ในแบบอักษรที่มี + ในชื่อของพวกเขาหากพวกเขาให้ข้อผิดพลาด
'0xProto v1.6 Ligaturised NF' , '0xProto v2 Ligaturised NF' , '0xProto v2 NF' , '0xProto v2 Nerd Font' ไม่มี ligatures (ลืมถ่ายภาพหน้าจอหลังจากการแก้ไข):
v1.6 ligaturised:
v2 ligaturised:
v2 nerd font: 

Cascadia Code NF , Cascadia Code PL <- ทั้งคู่ควรมี ligatures แต่ NF มีไอคอนมากขึ้น คุณอาจต้องการฟอนต์อื่นเป็นสำรองในทุกกรณี 
รหัสใหม่โรมัน : Code New Roman NF Ligaturized
Consolasligaturizedv2 NF , ConsolasLigaturizedV3 Nerd Font แทบจะไม่มีความแตกต่างใด ๆ ดังนั้นฉันจึงใช้ภาพหน้าจอเดียวเท่านั้น: 
Cousine : 'FiraCode+Cousine NF'
dejavusans : DejaVuSansCode NF
FragmentMono Nerd Font , Fragment Mono Regular 

GeistMono Nerd Font 
แฮ็ค : 'FiraCode+Hack NF'
Hasklig : Hasklug NF
'FiraCode+Inconsolata NF g' 
conniLolata : 'FiraCode+Inconsolata NF'
ตัวอักษร conniceolatago nerd : InconsolataGo Nerd Font
JetBrainsMono NF 
JuliaMono 
Lilex Nerd Font : Lilex Nerd Font
Maple Mono V7 NF , Maple Mono v6 Ligaturised NF , Maple Mono NF โดยส่วนตัวแล้วฉันใช้ V7 แต่ V6 ก็ค่อนข้างดีเช่นกัน
V6: 
V7: 

Notomono nerd font : NotoMono Nerd Font
Roboto Mono : 'FiraCode+RobotoMono NF'
SF mono ligaturised : SF Mono Ligatures
SF Mono Powerline : SF Mono Powerline
ubuntumono : 'FiraCode+UbuntuMono NF'
จากเอกสารของ Nerd Fonts:
Nerd Font Mono (หรือ NFM )Nerd Font Mono (หรือ NF ) เทอร์มินัลส่วนใหญ่สนับสนุนสิ่งนี้ แต่ ymmvNerd Font Propo (หรือ NFP ) เทอร์มินัลรวมของ VS Code จะใช้ไอคอนจากแบบอักษรที่คุณให้ไว้ในการสั่งซื้อที่ให้ไว้ นั่นคือถ้าฟอนต์แรกไม่มีไอคอนที่คุณต้องการมันจะกลับไปเป็นแบบอักษรที่สองและอื่น ๆ นั่นเป็นเหตุผลว่าทำไมจึงเป็นเรื่องสำคัญที่จะต้องจัดทำแบบอักษรทางเลือกอย่างน้อยหนึ่งแบบ Nerd Fonts ให้แบบอักษรดังกล่าว แต่ไม่รวมอยู่ใน repo และฉันไม่พบว่ามีประโยชน์ โดยส่วนตัวฉันมักจะใช้ consolas ligaturized v2 nf เป็นตัวอักษรทางเลือกของฉัน เช่น
"editor.fontFamily": "Your font,Consolasligaturizedv2 NF,monospace"
นี่เป็นมากกว่าสำหรับฉันมากกว่าสำหรับคุณ แต่ฉันได้รวมขั้นตอนที่ฉันใช้ในการแก้ไขแบบอักษรใน repo นี้
ฉันได้ลองใช้ Windows แต่ Fontforge เป็นความเจ็บปวดที่จะใช้ดังนั้นในกรณีที่คุณต้องการสร้างสิ่งที่ฉันทำฉันแนะนำโดยใช้ Linux หรืออย่างน้อย WSL ซึ่งง่ายกว่ามาก
ทางเลือกคุณสามารถรับได้จากเว็บไซต์ของ Nerd Font หรือจาก repo
# Pre-requisites
sudo add-apt-repository ppa:fontforge/fontforge -y
sudo apt update -y
sudo apt install software-properties-common python3-fontforge -y
brew install python-setuptools fontforge # or the alternative for your Linux distro
# Download and extract manually, then
cd Downloads/FontPatcher/
# Or
wget https://github.com/ryanoasis/nerd-fonts/releases/latest/download/FontPatcher.zip
unzip FontPatcher.zip -d font-patcher
cd font-patcher
# Or
git clone --depth 1 https://github.com/betaboon/nerd-fonts-patcher.git
cd nerd-fonts-patcher
# Then run:
fontforge -script ./font-patcher -l -c --careful -out /path/to/output_dir --ext otf /path/to/font
# And the new files should be in the output folder chosen
# Example (in WSL)
fontforge -script ./font-patcher -l -c --careful -out ./patched-fonts --ext otf /mnt/d/Users/Bosco/Downloads/Fonts/0xProto/0xProto-Regular.otf
# You can drop the --careful if you want to override the existing iconsคุณสามารถใช้สคริปต์./patch-fonts.sh เพื่อแก้ไขตัวอักษรทั้งหมดที่มีอยู่ในโฟลเดอร์ เล่นกับมันถ้าคุณต้องการ
ตัวเลือกอื่นคือการใช้ Docker ตาม ReadMe ของ Font-Patcher นี่อาจจะง่ายขึ้นและเร็วขึ้น แต่ฉันไม่ได้ลอง
# To obtain the ligatures
git clone --recurse-submodules https://github.com/ToxicFrog/Ligaturizer.git
# Do not remove any of the fonts in `fonts/`, they're needed for the ligaturizer to work
# Make sure to move the fonts you want changed into their own folder in Ligaturizer/fonts
# e.g. Ligaturizer/fonts/Code New Roman/
# Add them to build.py, whether on the prefixed_fonts or renamed_fonts. e.g
# build.py
renamed_fonts = {
' fonts/Code New Roman/*.otf ' : ' Code New Roman NF Ligaturized ' ,
}
# Then run
make
# And the files should be in the output folder with the correct name