Gnome 3.28发布说明说,Cantarell字体经历了重大的更新,但是这种字体并没有在Ubuntu18.04中预装,软件中心提供的版本已经很多年没有更新了。
有办法安装新的吗?
发布于 2018-04-29 18:55:09
您可以从Cantarell github页面获取最新的信息,并从源代码:https://github.com/madig/cantarell-fonts/releases构建它。
最新的发布日期是2018年3月15日的0.101。
构建和安装非常简单:
sudo apt install python3-pip meson ninja-build
pip3 install --user fontmake
pip3 install --user git+https://github.com/adobe-type-tools/psautohint.git@v1.1.0#egg=psautohint
meson build
cd build
sudo ninja install结果:
Installing appstream/org.gnome.cantarell.metainfo.xml to /usr/local/share/metainfo/org.gnome.cantarell.metainfo.xml
Installing /home/valiano/cantarell-fonts-0.101/prebuilt/Cantarell-Thin.otf to /usr/local/share/fonts/cantarell
Installing /home/valiano/cantarell-fonts-0.101/prebuilt/Cantarell-Light.otf to /usr/local/share/fonts/cantarell
Installing /home/valiano/cantarell-fonts-0.101/prebuilt/Cantarell-Regular.otf to /usr/local/share/fonts/cantarell
Installing /home/valiano/cantarell-fonts-0.101/prebuilt/Cantarell-Bold.otf to /usr/local/share/fonts/cantarell
Installing /home/valiano/cantarell-fonts-0.101/prebuilt/Cantarell-ExtraBold.otf to /usr/local/share/fonts/cantarellhttps://askubuntu.com/questions/1029667
复制相似问题