Giter Site home page Giter Site logo

fonts's Introduction

Monaco 字体美观且容易辨识,普遍被认为是写代码的专用字体,而 Menlo 字体显示非常清晰,是继 Monaco 之后被选上的字体。二者均出于 Mac OS 系统下。

而出自 Adobe 之手的 Source Code Pro 使用感受也很好,且在持续更新,此处并没有直接把 Source Code Pro 字体放进来。

Source Code Pro 字体的获取:Source Code Pro Latest 页面下载最新版本,我们只需要里边的 OTF 文件就可以了。 据说 OTF 格式的字体要比 TTF 格式的字体有更好的显示效果,可参考 OpenType 的百科。

安装

# mkdir /usr/share/fonts/myfonts/

# git clone https://github.com/ueaner/fonts
# cp *.ttf /usr/share/fonts/myfonts/

# tar xf source-code-pro-xxx.tar.gz
# cp source-code-pro-xxx/TTF/*.otf /usr/share/fonts/myfonts/

# cd /usr/share/fonts/myfonts/
# mkfontscale
# mkfontdir
# fc-cache -f

安装完毕。

fonts's People

Contributors

ueaner avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.