How do I install and use fonts in Linux?
来源:互联网 发布:网店美工课程实训报告 编辑:程序博客网 时间:2024/06/02 11:01
If you are a graphic artist, writer, designer, or desktop publisher, then you are likely to need specific fonts installed on your computer. For Linux users this used to be a more difficult task. The good news is that more modern distributions make font installation much easier. Gone are the days of editing your xorg.conf font path information.
Installing fonts in Ubuntu
Once you have your handy collection of True Type fonts, you are going to want to create a directory to hold them. Installing the fonts system-wide will give all users access to them. First, create a font directory in/usr/share/fonts/truetype. Call this directory newfonts. Issue the command sudo mkdir /usr/share/fonts/truetype/newfonts. You will have to enter your sudo password to complete this task.
Once this directory is created, place all your *ttf or *TTF files in thenewfonts directory. With the fonts in place you will then need to issue the command fc-cache -f -v to make the system aware of the new fonts. Once this is done, the system knows about the new fonts and all the system users will have access to them.
If you want to make these fonts available only to specific users, then you will follow the same directions except you will add the fonts only to the users' ~/.fonts directory. If the ~/.fonts directory doesn't exist, create it with mkdir ~/.fonts (while logged into the specific users' accounts). Now move (or copy) all of the *ttf and/or *TTF files into the new directory and run fc-cache -f -v to make the users' accounts aware of the fonts.
- How do I install and use fonts in Linux?
- How do I install fonts in Fedora
- How do I use Cygwin in Geophysics ?
- How to use windows fonts in Linux WPS (kingsoft-office)
- How do I download and install Java for my Linux computer?
- How do I use “slice_before” with initial_state in Ruby 1.9?
- How do I use gcc, g++, and gdb?
- What is a cronjob and how do I use it?
- How do I use gcc, g++, and gdb?
- How do I use IStream?
- How do I Install VE?
- How to build & install GLFW 3 and use it in a Linux project
- How do I setup JAVA_HOME and Path variables in Windows?
- How to Configure, Install and Use libnefilter_queue on Linux
- How to Configure, Install and Use libnefilter_queue on Linux
- What is a "sosreport" and how do I create it in Red Hat Enterprise Linux 4.6 and later
- UE4 How do I use InstancedStaticMeshes ?
- ActiveMQ - How do I use SSL
- linux中vim编辑退出
- Quora cqa问题抓取
- c++stl之逆向迭代器 Reverse Iterators
- ubuntu下python管理
- laravrl 将编辑器内的图片上传到ftp上
- How do I install and use fonts in Linux?
- 比较全的正则表达式
- STL heap 堆
- 关于移位操作
- Linux 查看进程启动详细时间及记录进程启动PID
- spring3(5)
- 10 个免费的服务器监控工具
- Config类(Leap::Config)
- IOS OC声明变量在@interface括号中与使用@property的区别