장난감들
[dmg2img] Ubuntu 에 Apple 폰트 설치하기 ( 맥분투 )
헤르메스의날개
2024. 2. 18. 23:55
728x90
Apple 폰트인 San Francisco 폰트를 다운받았습니다.
Ubuntu에 설치해서 사용해보고자 했지만 실패 했습니다.
https://developer.apple.com/fonts/
Apple Font를 상용 폰트입니다. 디자인이라든지 상업용에 사용할 수 없습니다.
# dmg2img 설치
$ sudo apt-get install dmg2img
# .dmg를 .img로 변환
$ dmg2img SF-Pro.dmg SF-Pro.img
dmg2img v1.6.7 (c) vu1tur (to@vu1tur.eu.org)
SF-Pro.dmg --> SF-Pro.img
decompressing:
opening partition 0 ... 100.00% ok
opening partition 1 ... 100.00% ok
opening partition 2 ... 100.00% ok
opening partition 3 ... 100.00% ok
opening partition 4 ... 100.00% ok
Archive successfully decompressed as SF-Pro.img
# .img를 .iso로 이름 바꾸기
$ mv filename.img filename.iso
# mount 실패
$ sudo mount -o loop SF-Pro.iso /mnt
mount: /mnt: wrong fs type, bad option, bad superblock on /dev/loop26, missing codepage or helper program, or other error.
San Francisco 폰트를 찾아보니 Git 에 올려진 파일을 찾았습니다.
Ubuntu에 설치해봅니다.
https://github.com/posteroffonts/sanfran/tree/master
압축을 풀고, fonts 폴더에 복사합니다.
$ sudo cp *.otf /usr/share/fonts/
# 폰트 갱신: 시스템에 폰트반영.
$ fc-cache -f -v
설치는 된 것 같네요.
Apple 폰트와 비슷하게 만들어진 폰트가 있습니다.
Inter 와 Pretendard 라는 폰트입니다. Pretendard 폰트는 오픈폰트 라이선스를 사용합니다.
https://github.com/orioncactus/pretendard
https://github.com/supermarin/YosemiteSanFranciscoFont
https://hermeslog.tistory.com/740
728x90