- Saved searches
- Use saved searches to filter your results more quickly
- theo-a1/macfonts
- Name already in use
- Sign In Required
- Launching GitHub Desktop
- Launching GitHub Desktop
- Launching Xcode
- Launching Visual Studio Code
- Latest commit
- Git stats
- Files
- README.md
- Arch Linux User Repository
- abdulhakeem commented on 2022-03-31 12:39 (UTC)
- alerque commented on 2021-08-29 05:56 (UTC)
- Feakster commented on 2020-11-13 09:25 (UTC)
- alerque commented on 2020-11-13 09:20 (UTC)
- Feakster commented on 2020-11-12 20:06 (UTC)
- juxuanu commented on 2020-10-22 08:08 (UTC)
- dakataca commented on 2019-06-17 17:18 (UTC)
- roachsinai commented on 2018-07-17 07:54 (UTC) (edited on 2018-07-17 07:54 (UTC) by roachsinai)
- Как установить шрифты MacOS в Ubuntu?
- Устанавливаем шрифты MacOS в Ubuntu:
- Комментарии (11)
- Aswin Mohan
- MacOS like Fonts on Manjaro/Arch Linux
- Results
- Some Pointers
- Installation
- Font Setup
- Chrome
- Interface Text
Saved searches
Use saved searches to filter your results more quickly
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.
theo-a1/macfonts
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
README.md
you can use the inter font from google fonts for better compatibilty (looks v similar to this and 100% legal)
these are the fonts used throught all modern apple systems (macos, ios, etc.)
i made this just because i was tired of having to sign into my onedrive every time i needed one of these
the San Francisco folder contains every SF style .otf file
the New York folder contains every NY style .otf file
this method works across most OSes/distros
download the zip (you dont have to extract the files depending on your os but you can if you want to)
open an .otf file (double-click)
repeat for all desired files
using an account with administrative privileges is recommended
download the zip and extract its contents
copy all desired .otf font files (not the folders) into C:/Windows/Fonts
download the zip and extract its contents
double click on an .otf file
repeat this for every font desired
method 3 (not recommended — windows 10 only)
download the zip and extract its contents
go to personalisation and select the fonts tab
drag and drop all appropriate .otf font files into this section:
the installation method is different for all distributions, but this is the most common
open a terminal (usually ctrl+alt+t) and type:
git clone https://github.com/froggeboi/macfonts.git
(if ~/.fonts does not exist, use mkdir ~/.fonts to create it)
please refer to your linux distro’s documentation for proper installation instructions — this is just what i think should work based off of what ive seen)
download the fonts you want
install the .dmg file(s) (i dont know how)
i am not associated or affiliated in any way with Apple, Inc.
these fonts are created by Apple and i am simply here to pass them onto you
also i used 7-zip to extract files from the official .dmg files that Apple supplies (for free)
Arch Linux User Repository
@abdulhakeem I also ran into this issue, because I didn’t have svn installed. I fixed it by removing ~/.cache/yay/ttf-mac-fonts after installing svn.
abdulhakeem commented on 2022-03-31 12:39 (UTC)
I get this error when trying to install with yay:
install: cannot stat ‘gbk/*.ttf’: No such file or directory
alerque commented on 2021-08-29 05:56 (UTC)
@Enzo et all, this package is not out of date, it installs the latest version available upstream. In fact it’s setup to check whatever than version is and update itself at build time if there are any changes. I just checked and it is fully up to date and installs what it says it does.
Feakster commented on 2020-11-13 09:25 (UTC)
Didn’t know they had a package on here already. Thanks.
alerque commented on 2020-11-13 09:20 (UTC)
@Feakster That script is a whole lot of hoopla for less than nothing. Those other fonts don’t belong in this package since they come from different sources, are versioned and released on a different cycle, and don’t even have the same license. If you want them, install them from their respective packages: otf-new-york and otf-san-francisco-pro.
Feakster commented on 2020-11-12 20:06 (UTC)
@caleb, the New York & San Francisco fonts can be obtained from https://developer.apple.com/design/downloads. I don’t believe any login is required. I was going to adapt the script (below) into a new PKGBUILD, but you’re more than welcome to cannibalise it for yours if you wish:
# Set Variables DOWNDIR="$HOME/Downloads/mac-fonts" FONTDIR="$HOME/.fonts/apple" URL=https://developer.apple.com/design/downloads FONTS="SF-Font-Compact SF-Font-Pro SF-Mono NY-Font" declare -a PKGS=("San Francisco Compact" "San Francisco Pro" "SF Mono Fonts" "NY Fonts") # available() function available () < command -v "$1" >/dev/null 2>&1 > # If wget not installed echo 'Checking dependencies . ' if ! available wget then echo 'Error: wget is not installed.' >&2 echo 'run sudo pacman -S wget' exit 1 fi # If 7zip not installed if ! available 7z then echo 'Error: p7zip is not installed.' >&2 echo 'run sudo pacman -S p7zip' exit 1 fi # Download & unarchive macOS NY & SF fonts echo 'Downloading and unarchiving dmg files . ' mkdir -p "$DOWNDIR" cd "$DOWNDIR" for FONT in $FONTS do wget -nc -nv --show-progress $URL/$FONT.dmg 7z -y e $FONT.dmg >/dev/null 2>&1 rm -rf $FONT.dmg "[HFS+ Private Data]" done # Extracting pkg archives echo 'Extracting fonts . ' for PKG in "$" do #PKG=$(echo $PKG | tr "_" " ") echo -e "\t$PKG.pkg" 7z -y x "$PKG.pkg" >/dev/null 2>&1 CRUD=$(echo $PKG | tr -d " ") 7z -y x Payload\~ >/dev/null 2>&1 mv Library/Fonts ./ mv Fonts "$PKG" rm -rf "$PKG.pkg" $CRUD Payload\~ Library done # Install Fonts echo "Installing fonts . " mkdir -p "$FONTDIR" for PKG in "$" do DIR=$(echo $PKG | tr -d " ") mv "$PKG" "$FONTDIR/$DIR" done # Tidy up cd rm -rf "$DOWNDIR" # Reload Font Cache fc-cache
juxuanu commented on 2020-10-22 08:08 (UTC)
Same issue than @roachsinai
dakataca commented on 2019-06-17 17:18 (UTC)
When I consult the remote package version I get «20100901.134», but when I consult the local version of the package I get only one point «.». I hope you solve that soon to be able to control the local versions. Thanks in advance.
roachsinai commented on 2018-07-17 07:54 (UTC) (edited on 2018-07-17 07:54 (UTC) by roachsinai)
(1/3) Updating fontconfig cache. (2/3) Arming ConditionNeedsUpdate. (3/3) Updating X fontdir indices. Unknown Type 1 weight "normal" Couldn't determine weight for Lucida Gr Regular.pfb Unknown Type 1 weight "normal" Couldn't determine weight for Lucida G.pfb
my OS is Manjaro, and what do you mean: custom fontconfig configuration
Как установить шрифты MacOS в Ubuntu?
Операционная система MacOS — это произведение дизайнерского искусства и профессиональная работа специалистов по юзабилити. С этим, наверное, никто не будет спорить. На операционную систему от Apple равняются все производители других ОС и хотят быть на нее похожими.
В этой операционной системе используются очень качественные и красивые шрифты, которые неплохо смотрелись бы и в ОС Ubuntu. Устанавливаем шрифты MacOS в Ubuntu.
Устанавливаем шрифты MacOS в Ubuntu:
После этого мы получаем красивые шрифты в графическом окружении Gnome операционной системы Ubuntu.
Парашютист со стажем. Много читаю и слушаю подкасты. Люблю посиделки у костра, песни под гитару и приближающиеся дедлайны. Люблю путешествовать.
Комментарии (11)
Спасибо за статью и за шрифты.
ОФТОП:
Я тут ставил темы Bisigi (ppa:bisigi/ppa). Если ставить одним пакетом (bisigi-themes), то около 120 Мб (13 тем). Особо понравилась тема Eco (на мой взгляд).
На вашем сайте вроде не было статьи про темы – вот вам материал для следующей статьи. Хотя в инете уже и есть про Bisigi, но ваш сайт вроде как сборник полезных материалов по настройке линукс-систем. У меня вот почти вся RSS -лента хранится с заголовками статей, удобно когда все в одном месте.
Еще обновился драйвер на сайте Canon
http://support-asia.canon-asia.com/contents/ASIA/EN/0900772407.html
(сейчас уже 2 версия). Настраивал тут LBP -810 – работает!
Еще раз спасибо за ваш сайт, много ценного отсюда черпаю.
Илья: Я тут ставил темы Bisigi (ppa:bisigi/ppa). Если ставить одним пакетом (bisigi-themes), то около 120 Мб (13 тем). Особо понравилась тема Eco (на мой взгляд). На вашем сайте вроде не было статьи про темы – вот вам материал для следующей статьи.
Спасибо за заботу, но этот материал был на сайте Вот только тогда не было еще темы Eco. Посмотрю, спасибо.
Aswin Mohan
handcrafted by someone who loves code (mobile, frontend, backend), design and life.
I’m currently looking for contracting oppurtunities in Elixir, Phoenix, LiveView, React and React Native. If you’re looking for a kickass product focused full-stack designer/developer and you need the MVP of your Mobile or Web App built fast and right, I’m your guy. We can talk at hey@aswinmohan.me.
MacOS like Fonts on Manjaro/Arch Linux
Either you love gorgeous typography or just don’t care. If you are the former read ahead on how to make the font rendering on your Linux look just as awesome as that on macOS, else read on to find out what beauty you have been missing.
I switched to a hackintosh for a while and fell in love with how beautiful the typography was. After returning to Linux and some fiddiling around I came across a not so ugly setup that looked close enough to macOS. So if you want to make your Linux Distro a tad bit typographically better, follow along.
Results
This is how the fonts look on the default installation of Manjaro Linux.
This is how they would look after we are done.
Some Pointers
Rather than copy pasting everything on here, let’s try to understand why the fonts on macOS looks better than the ones we have on Linux.
Fonts belong to certain types.
- sans-serif : Well the sans fonts on your computer. The regular plain fonts.
- serif : The fonts that look like they came out of a 14th century Bible. You know with the curves and they look like showoffs.
- monospace : The typical code font. The ones where every character is the same width.
The reason fonts look way better on macOS is because Steve Jobs loved typography, and he went the extra mile and licensed some great typefaces for each font type, and recently Apple put in the extra effort to make their custom fonts even better. Well fret not Linux has some free fonts that are metric compatible(means they look awfully similar), and better that we can substitute for fonts.
Installation
Step one is installing the fonts that look similar or better than the ones on macOS. All the fonts that are used here can be found on the Arch Repositories, and on Google Fonts. You are free to replace everything with the ones you find great.
- sans-serif : tex-gyre-fonts, free alternative to Helvetica and Arial and looks really really similar
- serif : Libertinus Serif, suprisingly looks really great
- monospace : DM Mono from Google Fonts, for monospace fonts that look great
- emoji : noto-fonts-emoji, get some colorful emojis
If you are using Manjaro or Arch here is the command to get all fonts in one go.
yay -S tex-gyre-fonts otf-libertinus noto-fonts-emoji
Font Setup
Everything about fonts can be configured from a single file located at /etc/fonts/local.conf if the file doesn’t exist create it. You do require sudo for it.
sudo nvim /etc/fonts/local.conf
After you are editing the file copy paste everything here.
true true hintslight lcddefault -apple-system ja --> Tex Gyre Heros Helvetica Neue ja --> Tex Gyre Heros Helvetica ja --> Tex Gyre Heros arial ja --> Tex Gyre Heros sans-serif ja --> Tex Gyre Heros serif Libertinus Serif Noto Serif Noto Color Emoji IPAPMincho HanaMinA SFMono-Regular DM Mono Space Mono Inconsolatazi4 IPAGothic Menlo DM Mono Space Mono Inconsolatazi4 IPAGothic monospace DM Mono Space Mono Inconsolatazi4 IPAGothic sans-serif Noto Sans Noto Color Emoji Noto Emoji Open Sans Droid Sans Ubuntu Roboto NotoSansCJK Source Han Sans JP IPAPGothic VL PGothic Koruri serif Noto Serif Noto Color Emoji Noto Emoji Droid Serif Roboto Slab IPAPMincho monospace Noto Sans Mono Noto Color Emoji Noto Emoji Inconsolatazi4 Ubuntu Mono Droid Sans Mono Roboto Mono IPAGothic
What this file does that is it creates aliases for the common fonts used on the web and uses the metric compatible fonts that we have. That way we have way better looking fonts.
After you have done all this, restart your computer to see the changes.
Chrome
If you are using chrome, you can do something more too.
- Goto Settings
- Select Customize Fonts under Appearences
- Set Standard to Libertinus Serif
- Set Serif to Libertinus Serif
- Set Sans-serif to TeX Gyre Heros
- Set Fixed-width to Monospace
Interface Text
For Desktop Environments like Gnome and KDE, you could use Tex-Gyre-Heros for the overall Helvetica look. I use Gnome 3.36 and use TeX Gyre Heros Regular 10 as my interface text.
That’s all set, and keep in mind this guide will be improved.