windows:: install d2coding, hack hack nerd font 코딩폰트


코딩용 폰트로는 Mono(동일간격) 폰트가 장점이 많다.

간단히 아래 설명글을 보면 좋음.

 

https://azi.medium.com/proportional-vs-monospaced-numbers-when-to-use-which-one-in-order-to-avoid-wiggling-labels-e31b1c83e4d0

 

Proportional vs. Monospaced Numbers: When to use which one in order to avoid “Wiggling Labels”

When to use which one in order to avoid “Wiggling Labels”

azi.medium.com

 

 

아래 사이트에서는 각 폰트를 실제 테스트해보기 좋음

https://www.programmingfonts.org/#hack




원하는 폰트는 아래 사이트에서 다운로드를 받을 수 있음

https://www.nerdfonts.com/font-downloads

 

Nerd Fonts - Iconic font aggregator, glyphs/icons collection, & fonts patcher

Iconic font aggregator, collection, & patcher: 9,000+ glyph/icons, 60+ patched fonts: Hack, Source Code Pro, more. Popular glyph collections: Font Awesome, Octicons, Material Design Icons, and more

www.nerdfonts.com

 

https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/D2Coding.zip



https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/Hack.zip



0과 o 

i와 l 등을 구분하기 좋게 

 

영어로만 쓰면 hack font 가 좋은데 한글도 쓰면 d2coding font를 선호


# for Hack font
choco install nerd-fonts-hack
 
# for D2Coding font
// choco에서 지원 안함 , 홈페이지에서 다운 받아 개별파일 설치필요
 
 
 
# 명령어줄 실행, powershell as 관리자권한
 
$url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/D2Coding.zip"
$tempPath = "$env:TEMP\D2Coding.zip"
$fontsPath = "$env:windir\Fonts"
Invoke-WebRequest -Uri $url -OutFile $tempPath
Expand-Archive -Path $tempPath -DestinationPath $env:TEMP -Force
Get-ChildItem -Path "$env:TEMP\D2Coding*.ttf" | ForEach-Object {
    Copy-Item -Path $_.FullName -Destination $fontsPath
}
Remove-Item -Path $tempPath
Remove-Item -Path "$env:TEMP\D2Coding*.ttf"
 
 
 
 
 
$url = "https://github.com/ryanoasis/nerd-fonts/releases/download/v3.2.1/Hack.zip"
$tempPath = "$env:TEMP\Hack.zip"
$fontsPath = "$env:windir\Fonts"
Invoke-WebRequest -Uri $url -OutFile $tempPath
Expand-Archive -Path $tempPath -DestinationPath $env:TEMP -Force
Get-ChildItem -Path "$env:TEMP\Hack*.ttf" | ForEach-Object {
    Copy-Item -Path $_.FullName -Destination $fontsPath
}
Remove-Item -Path $tempPath
Remove-Item -Path "$env:TEMP\Hack*.ttf"
 
>> 자동설치가 안됨.




댓글 쓰기 · 수정

0 댓글