Difference between revisions of "Fonts"

From ArchWiki
Jump to navigation Jump to search
m (Undo revision 114608 by Mfm (talk))
m (Emoji and symbols: ttf-emojione-color merged into ttf-twemoji-color https://github.com/eosrei/emojione-color-font/commit/747e0ac425c29b58d94a97d7bc980659e9b1beef#diff-04c6e90faac2675aa89e2176d2eec7d8R5)
 
(707 intermediate revisions by more than 100 users not shown)
Line 1: Line 1:
[[Category:Fonts (English)]] [[Category:Graphics and DTP (English)]]
+
[[Category:Fonts]]
[[Category:HOWTOs (English)]] [[Category:Eye candy (English)]]
+
[[cs:Fonts]]
{{i18n|Fonts}}
+
[[de:Schriftarten]]
{{Article summary start}}
+
[[es:Fonts]]
{{Article summary text|Covers the selection and installation of fonts on Arch Linux}}
+
[[it:Fonts]]
{{Article summary heading|Legal}}
+
[[ja:フォント]]
{{Article summary text|Certain font licenses may impose some legal limitations}}
+
[[ru:Fonts]]
{{Article summary heading|Related}}
+
[[zh-hans:Fonts]]
{{Article summary wiki|Font Configuration}}: Font setup and beautification
+
[[zh-hant:Fonts]]
{{Article summary wiki|Java Fonts - Sun JRE}}: Fonts specific to Sun's Java machine
+
{{Related articles start}}
{{Article summary wiki|MS Fonts}}: Adding Microsoft fonts and mimicking Windows' font settings
+
{{Related|Font configuration}}
{{Article summary end}}
+
{{Related|Linux console#Fonts}}
 +
{{Related|Java Runtime Environment fonts}}
 +
{{Related|Metric-compatible fonts}}
 +
{{Related|Microsoft fonts}}
 +
{{Related articles end}}
 +
 
 +
From [[Wikipedia:Computer font]]: "A computer font (or font) is an electronic data file containing a set of glyphs, characters, or symbols such as dingbats."
 +
 
 +
Note that certain font licenses may impose some legal limitations.
 +
 
 
== Font formats ==
 
== Font formats ==
  
Most computer fonts used today are in either ''bitmap'' or ''outline'' data formats. Bitmap fonts store fixed images for each glyph in each typeface and point size. Outline or ''vector'' fonts store characters as instructions for drawing each glyph's lines and curves. Outline fonts scale smoothly in size over a wide range.
+
Most computer fonts used today are in either ''bitmap'' or ''outline'' data formats.  
 +
;Bitmap fonts: Consist of a matrix of dots or pixels representing the image of each glyph in each face and size.
 +
;Outline or ''vector'' fonts: Use Bézier curves, drawing instructions and mathematical formulae to describe each glyph, which make the character outlines scalable to any size.
 +
 
 +
=== Bitmap formats ===
 +
 
 +
* [[Wikipedia:Glyph Bitmap Distribution Format|Bitmap Distribution Format]] (BDF) by Adobe
 +
* [[Wikipedia:Portable Compiled Format|Portable Compiled Format]] (PCF) by Xorg
 +
* [[Wikipedia:PC Screen Font|PC Screen Font]] (PSF) used by the Kernel for console fonts, not supported by Xorg (for Unicode PSF files the extension is {{ic|psfu}})
 +
 
 +
These formats can also be gzipped. See [[#Bitmap]] for the available bitmap fonts.
  
Common font filename extensions include:
+
=== Outline formats ===
  
* {{Codeline|bdf}} and {{Codeline|bdf.gz}} bitmap fonts, ''b''itmap ''d''istribution ''f''ormat and gzip compressed {{Codeline|bdf}}
+
* [[Wikipedia:PostScript fonts|PostScript fonts]] by Adobe has various formats, e.g: Printer Font ASCII (PFA) and Printer Font Binary (PFB)
* {{Codeline|pcf}} and {{Codeline|pcf.gz}} – bitmaps, ''p''ortable ''c''ompiled ''f''ont and gzip compressed {{Codeline|pcf}}
+
* [[Wikipedia:TrueType|TrueType]] by Apple and Microsoft (file extension: {{ic|ttf}})
* {{Codeline|psf}}, {{Codeline|psfu}}, {{Codeline|psf.gz}} and {{Codeline|psfu.gz}} – bitmaps, ''P''C ''s''creen ''f''ont, ''P''C ''s''creen ''f''ont ''U''nicode and the gzipped versions
+
* [[Wikipedia:OpenType|OpenType]] by Microsoft, built on TrueType (file extensions: {{ic|otf}}, {{ic|ttf}})
* {{Codeline|pfa}} and {{Codeline|pfb}} – outline fonts, ''P''ostScript ''f''ont ''A''SCII and ''P''ostScript ''f''ont ''b''inary. PostScript fonts carry built-in printer instructions.
 
* {{Codeline|ttf}} – outline, ''T''rue''T''ype ''f''ont. Originally designed as a replacement for the PostScript fonts.
 
* {{Codeline|otf}} – outline, ''O''pen''T''ype ''f''ont. TrueType with PostScript typographic instructions.
 
  
For most purposes, the technical differences between TrueType and OpenType can be ignored, some fonts with a {{Codeline|ttf}} extension are actually OpenType fonts.
+
For most purposes, the technical differences between TrueType and OpenType can be ignored.
  
 
=== Other formats ===
 
=== Other formats ===
  
The typesetting application, ''TeX,'' and its companion font software, ''Metafont,'' render characters using their own methods. Some of the file extensions used for fonts by these two programs are {{Codeline|*pk}}, {{Codeline|*gf}}, {{Codeline|mf}} and {{Codeline|vf}}.
+
The typesetting application, ''TeX,'' and its companion font software, ''Metafont,'' render characters using their own methods. Some of the file extensions used for fonts by these two programs are {{ic|*pk}}, {{ic|*gf}}, {{ic|mf}} and {{ic|vf}}.
 +
 
 +
[https://fontforge.github.io/en-US/ FontForge] ({{Pkg|fontforge}}), a font editing application, can store fonts in its native text-based format, {{ic|sfd}}, ''s''pline ''f''ont ''d''atabase.
  
''FontForge,'' a font editing application, can store fonts in its native text-based format, {{Codeline|sfd}}, ''s''pline ''f''ont ''d''atabase.
+
The [http://www.w3.org/TR/SVG/fonts.html SVG] format also has its own font description method.
  
 
== Installation ==
 
== Installation ==
  
Various methods of installing fonts.
+
There are various methods for installing fonts.
  
 
=== Pacman ===
 
=== Pacman ===
  
Fonts and font collections in the enabled repositories can be installed using [[Pacman|pacman]]. Available fonts may be found by using:
+
Fonts and font collections in the enabled repositories can be installed using [[pacman]].
# pacman -Ss font
+
 
Or to search for {{Codeline|ttf}} fonts only:
+
Available fonts may be found by [[pacman#Querying package databases|querying packages]] (e.g. for {{ic|font}} or {{ic|ttf}}).
# pacman -Ss ttf
 
  
 
=== Creating a package ===
 
=== Creating a package ===
  
If you want to give pacman the ability to manage your fonts, you can create an Arch package. These can also be shared with the community in the [[AUR]]. Here is an example of how to create a basic package.  To learn more about building packages, read [[PKGBUILD]].
+
You should give pacman the ability to manage your fonts, which is done by creating an Arch package. These can also be shared with the community in the [[AUR]]. The packages to install fonts are particularly similar; simply taking an existing [https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/adobe-source-code-pro-fonts package] as template should work well. To learn about how to modify it for your font, please refer to [[Creating packages]].
 
 
<pre>
 
pkgname=ttf-fontname
 
pkgver=1.0
 
pkgrel=1
 
depends=('fontconfig' 'xorg-font-utils')
 
pkgdesc="custom fonts"
 
arch=('any')
 
source=(http://someurl.org/$pkgname.tar.bz2)
 
install=$pkgname.install
 
 
 
build()
 
{
 
  mkdir -p $pkgdir/usr/share/fonts/TTF
 
  cp $srcdir/$pkgname/*.ttf $pkgdir/usr/share/fonts/TTF
 
}
 
</pre>
 
  
This PKGBUILD assumes the fonts are TrueType.  An install file ({{Filename|ttf-fontname.install}}) will also need to be created to update the font cache:
+
The family name of a font file can be aquired with the use of {{ic|fc-query}} for example: {{ic|fc-query -f '%{family[0]}\n' /path/to/file}}. The formatting is described in the FcPatternFormat(3) manual.
 
 
<pre>
 
post_install()
 
{
 
  echo -n "Updating font cache... "
 
  fc-cache -fs >/dev/null
 
  mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1
 
  mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1
 
  echo "done"
 
}
 
 
post_upgrade()
 
{
 
  post_install
 
}
 
</pre>
 
  
 
=== Manual installation ===
 
=== Manual installation ===
  
The recommended way of adding fonts to your system that are not in the repositories is described in [[#Creating a package]]. This gives pacman the ability to be able to remove or update them at a later time. Fonts can alternately be installed manually as well.  
+
The recommended way of adding fonts that are not in the repositories to your system is described in [[#Creating a package]]. This gives pacman the ability to remove or update them at a later time. Fonts can alternately be installed manually as well.
  
To install fonts system-wide (available for all users), move the folder to the {{Filename|/usr/share/fonts/}} directory. To install fonts for only a single user, use {{Filename|~/.fonts/}} instead.
+
To install fonts system-wide (available for all users), move the folder to the {{ic|/usr/share/fonts/}} directory. The files need to be readable by every user, use [[chmod]] to set the correct permissions (i.e. at least {{ic|0444}} for files and {{ic|0555}} for directories). To install fonts for only a single user, use {{ic|~/.local/share/fonts}} ({{ic|~/.fonts/}} is now deprecated).
  
Also you may need to update {{Filename|/etc/X11/xorg.conf}} with the new directory. Search for {{Codeline|FontPath}} to find the correct location within the file to add your new path.
+
For Xserver to load fonts directly (as opposed to the use of a ''font server'') the directory for your newly added font must be added with a FontPath entry. This entry is located in the ''Files'' section [[Xorg#Configuration|of your Xorg configuration file]] (e.g. {{ic|/etc/X11/xorg.conf}} or {{ic|/etc/xorg.conf}}). See [[#Older applications]] for more detail.
  
Then update the fontconfig font cache:
+
Then update the fontconfig font cache: (usually unnecessary as software using the fontconfig library does this)
  
  $ fc-cache -vf
+
  $ fc-cache
  
==== Older applications ====
+
=== Older applications ===
  
With older applications that do not support fontconfig (e.g. GTK1 applications, and {{Codeline|xfontsel}}) the index will need to be created in the font directory:
+
With older applications that do not support fontconfig (e.g. GTK+ 1.x applications, and {{ic|xfontsel}}) the index will need to be created in the font directory:
  
 
  $ mkfontscale
 
  $ mkfontscale
 
  $ mkfontdir
 
  $ mkfontdir
  
Or, to include more than one folder with one command:
+
Or to include more than one folder with one command:
  
 
  $ for dir in /font/dir1/ /font/dir2/; do xset +fp $dir; done && xset fp rehash
 
  $ for dir in /font/dir1/ /font/dir2/; do xset +fp $dir; done && xset fp rehash
  
At times the X server may fail to load the fonts directory and you will need to rescan all the {{Filename|fonts.dir}} files:
+
Or if fonts were installed in a different sub-folders under the e.g. {{ic|/usr/share/fonts}}:
 +
 
 +
$ for dir in * ; do if [  -d  "$dir"  ]; then cd "$dir";xset +fp "$PWD" ;mkfontscale; mkfontdir;cd .. ;fi; done && xset fp rehash
 +
 
 +
At times the X server may fail to load the fonts directory and you will need to rescan all the {{ic|fonts.dir}} files:
  
 
  # xset +fp /usr/share/fonts/misc # Inform the X server of new directories
 
  # xset +fp /usr/share/fonts/misc # Inform the X server of new directories
Line 114: Line 102:
 
  $ xlsfonts | grep fontname
 
  $ xlsfonts | grep fontname
  
==Font packages==
+
{{note|Many packages will automatically configure Xorg to use the font upon installation. If that is the case with your font, this step is not necessary.}}
This is a selective list that includes many font packages from the [[AUR]] along with those in the official repositories.
+
 
 +
This can also be set globally in {{ic|/etc/X11/xorg.conf}} or {{ic|/etc/X11/xorg.conf.d}}.
 +
 
 +
Here is an example of the section that must be added to {{ic|/etc/X11/xorg.conf}}. Add or remove paths based on your particular font requirements.
 +
 
 +
# Let X.Org know about the custom font directories
 +
Section "Files"
 +
    FontPath    "/usr/share/fonts/100dpi"
 +
    FontPath    "/usr/share/fonts/75dpi"
 +
    FontPath    "/usr/share/fonts/cantarell"
 +
    FontPath    "/usr/share/fonts/cyrillic"
 +
    FontPath    "/usr/share/fonts/encodings"
 +
    FontPath    "/usr/share/fonts/misc"
 +
    FontPath    "/usr/share/fonts/truetype"
 +
    FontPath    "/usr/share/fonts/TTF"
 +
    FontPath    "/usr/share/fonts/util"
 +
EndSection
 +
 
 +
=== Pango Warnings ===
 +
 
 +
When [http://www.pango.org/ Pango] is in use on your system it will read from [http://www.freedesktop.org/wiki/Software/fontconfig fontconfig] to sort out where to source fonts.
 +
 
 +
(process:5741): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
 +
(process:5741): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
 +
 
 +
If you are seeing errors similar to this and/or seeing blocks instead of characters in your application then you need to add fonts and update the font cache. This example uses the {{Pkg|ttf-liberation}} fonts to illustrate the solution (after successful installation of the package) and runs as root to enable them system-wide.
 +
 +
# fc-cache
 +
/usr/share/fonts: caching, new cache contents: 0 fonts, 3 dirs
 +
/usr/share/fonts/TTF: caching, new cache contents: 16 fonts, 0 dirs
 +
/usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
 +
/usr/share/fonts/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
 +
/usr/share/fonts/util: caching, new cache contents: 0 fonts, 0 dirs
 +
/var/cache/fontconfig: cleaning cache directory
 +
fc-cache: succeeded
 +
 
 +
You can test for a default font being set like so:
 +
 
 +
# fc-match
 +
LiberationMono-Regular.ttf: "Liberation Mono" "Regular"
 +
 
 +
== Font packages ==
 +
 
 +
This is a selective list that includes many font packages from the [[AUR]] along with those in the official repositories. Fonts are tagged "Unicode" if they have wide Unicode support, see the project or
 +
Wikipedia pages for detail.
 +
 
 +
The [https://github.com/ternstor/distrofonts Archfonts Python script] can be used to generate an overview of all the TTF fonts found in the official repositories / the AUR (the image generation is done using {{AUR|ttf2png}}).
 +
 
 +
=== Bitmap ===
 +
 
 +
* Default 8x16
 +
* [http://www.dcmembers.com/jibsen/download/61/ Dina] ({{Pkg|dina-font}}) – 6pt, 8pt, 9pt, 10pt, monospaced, based on Proggy
 +
* [http://openlab.jp/efont/unicode/ Efont] ({{AUR|efont-unicode-bdf}}) – 10px, 12px, 14px, 16px, 24px, normal, bold and italic
 +
* [http://font.gohu.org/ Gohu] ({{AUR|gohufont}}) – 11px, 14px, normal and bold
 +
* [http://artwizaleczapka.sourceforge.net/ Lime] ({{AUR|artwiz-fonts}})
 +
* [http://tobiasjung.name/profont/ ProFont] ({{AUR|ttf-profont-iix}}) – 10px, 11px, 12px, 15px, 17px, 22px, 29px, normal
 +
* [[Wikipedia:Proggy programming fonts|Proggy]] ({{AUR|proggyfonts}}) – has different variants
 +
* [http://www.fial.com/~scott/tamsyn-font/ Tamsyn] ({{Pkg|tamsyn-font}})
 +
* [http://terminus-font.sourceforge.net/ Terminus] ({{Pkg|terminus-font}})
 +
* [https://github.com/lucy/tewi-font Tewi] ({{AUR|bdf-tewi-git}})
 +
* [http://unifoundry.com/unifont.html Unifont] ([[Wikipedia:Unicode font#Comparison of fonts|most extensive]] Unicode coverage of any font) ({{Pkg|bdf-unifont}})
 +
 
 +
=== Latin script ===
 +
 
 +
==== Families ====
 +
 
 +
* [[Wikipedia:Luxi fonts|Luxi fonts]] ({{Pkg|font-bh-ttf}}) – X.Org Luxi fonts
 +
* [[Wikipedia:Bitstream Vera|Bitstream Vera]] ({{Pkg|ttf-bitstream-vera}}) – serif, sans-serif, and monospace
 +
* [https://quoteunquoteapps.com/courierprime/ Courier Prime] ({{AUR|ttf-courier-prime}}) – Courier font alternative optimized for screenplays
 +
* [[Wikipedia:Croscore fonts|Croscore fonts]] ({{Pkg|ttf-croscore}}) – Google's substitute for Windows' Arial, Times New Roman, and Courier New
 +
* [[Wikipedia:DejaVu fonts|DejaVu fonts]] ({{Pkg|ttf-dejavu}}) – Bitstream Vera modified for greater Unicode coverage
 +
* [[Wikipedia:Droid (font)|Droid]] ({{Pkg|ttf-droid}}) – default font for older Android versions
 +
* [[Wikipedia:Roboto|Roboto]] ({{Pkg|ttf-roboto}}) – default font for newer Android versions
 +
* [[Wikipedia:Noto fonts|Google Noto]] ({{Pkg|noto-fonts}}) – Unicode
 +
* [[Wikipedia:Liberation fonts|Liberation fonts]] ({{Pkg|ttf-liberation}}) – free metric-compatible substitute for the Arial, Arial Narrow, Times New Roman and Courier New fonts found in Windows and Microsoft Office products
 +
* [[Wikipedia:Ubuntu Font Family|Ubuntu Font Family]] ({{Pkg|ttf-ubuntu-font-family}})
 +
* [[Microsoft fonts]] ({{AUR|ttf-ms-win10}}) – Windows 10 fonts
 +
Legacy Microsoft font packages:
 +
* [http://corefonts.sourceforge.net/ Microsoft fonts] ({{AUR|ttf-ms-fonts}}) – Andalé Mono, Courier New, Arial, Arial Black, Comic Sans, Impact, Lucida Sans, Microsoft Sans Serif, Trebuchet, Verdana, Georgia, Times New Roman
 +
* Vista fonts ({{AUR|ttf-vista-fonts}}) – Consolas, Calibri, Candara, Corbel, Cambria, Constantia
 +
 
 +
==== Monospaced ====
 +
 
 +
For more monospaced fonts see [[#Bitmap]] and [[#Families]].
 +
 
 +
* [http://www.marksimonson.com/fonts/view/anonymous-pro Anonymous Pro] ({{pkg|ttf-anonymous-pro}}, included in {{AUR|ttf-google-fonts-git}})
 +
* [https://damieng.com/blog/2008/05/26/envy-code-r-preview-7-coding-font-released Envy Code R] ({{AUR|ttf-envy-code-r}})
 +
* Fantasque Sans Mono ({{pkg|ttf-fantasque-sans-mono}}, {{pkg|otf-fantasque-sans-mono}})
 +
* [[Wikipedia:Fira Sans|Fira Mono]] ({{pkg|ttf-fira-mono}}, {{pkg|otf-fira-mono}}) – designed for Firefox OS
 +
* [https://github.com/tonsky/FiraCode Fira Code] ({{pkg|ttf-fira-code}}, {{pkg|otf-fira-code}}) – with programming ligatures
 +
* [[Wikipedia:GNU FreeFont|FreeMono]] ({{Pkg|ttf-freefont}}, {{pkg|gnu-free-fonts}}) - Unicode
 +
* [https://sourcefoundry.org/hack/ Hack] ({{pkg|ttf-hack}}) - an open source monospaced font, used as the default in KDE Plasma
 +
* [[Wikipedia:Inconsolata|Inconsolata]] ({{Pkg|ttf-inconsolata}}, included in {{AUR|ttf-google-fonts-git}}) - inspired by Consolas
 +
* [https://leonardo-m.livejournal.com/77079.html Inconsolata-g] ({{AUR|ttf-inconsolata-g}}) - adds some programmer-friendly modifications
 +
* [https://be5invis.github.io/Iosevka/ Iosevka] ({{AUR|ttf-iosevka}}) – slender sans-serif and slab-serif typeface inspired by Pragmata Pro, M+ and PF DIN Mono, designed to be the ideal font for programming; it supports programming ligatures and over 2000 latin, greek, cyrillic, phonetic and PowerLine glyphs
 +
* [[Wikipedia:Lucida Typewriter|Lucida Typewriter]] (included in package {{AUR|jre}})
 +
* [[Wikipedia:Menlo (typeface)|Menlo]] (derivative: {{AUR|ttf-meslo}}) - default monospaced font of OS X
 +
* [[Wikipedia:Monaco (typeface)|Monaco]] ({{AUR|ttf-monaco}}) - proprietary font designed by Apple for OS X
 +
* Monofur ({{AUR|ttf-monofur}})
 +
* [https://madmalik.github.io/mononoki Mononoki] ({{AUR|ttf-mononoki}})
 +
* [[Wikipedia:Source_Code_Pro|Source Code Pro]] ({{pkg|adobe-source-code-pro-fonts}})
 +
 
 +
Relevant websites:
 +
 
 +
* [http://hivelogic.com/articles/top-10-programming-fonts Dan Benjamin's Top 10 Programming Fonts].
 +
* [http://www.lowing.org/fonts/ Trevor Lowing's font list]
 +
* [https://www.slant.co/topics/67/~what-are-the-best-programming-fonts Slant: What are the best programming fonts?]
 +
* [https://stackoverflow.com/questions/4689/recommended-fonts-for-programming Stack Overflow: Recommended fonts for programming]
 +
 
 +
==== Sans-serif ====
 +
 
 +
* [http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=andika Andika] ({{AUR|ttf-andika}})
 +
* [[Wikipedia:GNU FreeFont|FreeSans]] ({{Pkg|ttf-freefont}}, {{pkg|gnu-free-fonts}}) - Unicode
 +
* [https://github.com/rsms/inter Inter UI] ({{AUR|ttf-inter-ui}}) – designed for user interfaces
 +
* [[Wikipedia:Linux Libertine|Linux Biolinum]] ({{Pkg|ttf-linux-libertine}}) – free substitute for Times New Roman
 +
* [[Wikipedia:PT Sans|PT Sans]] ({{AUR|ttf-google-fonts-git}}) - 3 major variations: normal, narrow, and caption - Unicode: Latin, Cyrillic
 +
* [[Wikipedia:Source Sans Pro|Source Sans Pro]] ({{pkg|adobe-source-sans-pro-fonts}})
 +
* [[Wikipedia:Tahoma (typeface)|Tahoma]] ({{AUR|ttf-tahoma}})
 +
 
 +
==== Serif ====
 +
 
 +
* [http://www.georgduffner.at/ebgaramond/ EB Garamond] ({{AUR|otf-eb-garamond}})
 +
* [[Wikipedia:GNU FreeFont|FreeSerif]] ({{Pkg|ttf-freefont}}, {{pkg|gnu-free-fonts}}) - Unicode
 +
* [[Wikipedia:Gentium|Gentium]] ({{Pkg|ttf-gentium}}) - Unicode: Latin, Greek, Cyrillic, Phonetic Alphabet
 +
* [[Wikipedia:Linux Libertine|Linux Libertine]] ({{Pkg|ttf-linux-libertine}}) - Unicode: Latin, Greek, Cyrillic, Hebrew
 +
 
 +
==== Unsorted ====
 +
 
 +
{{Style|This section should be absorbed into the Monospace/Serif/Sans-Serif structure}}
 +
 
 +
* {{AUR|ttf-cheapskate}} - Font collection from ''dustismo.com''
 +
* {{Pkg|ttf-junicode}} - Junius font containing almost complete medieval latin script glyphs
 +
* {{AUR|ttf-mph-2b-damase}} - Covers full plane 1 and several scripts
 +
* {{Pkg|xorg-fonts-type1}} - IBM Courier and Adobe Utopia sets of [[Wikipedia:PostScript fonts|PostScript fonts]]
 +
* {{AUR|all-repository-fonts}} - Meta package for all fonts in the official repositories.
 +
* {{AUR|ttf-google-fonts-git}} - a huge collection of free fonts (including Ubuntu, Inconsolata, Roboto, etc.) - Note: Your font dialog might get very long as >100 fonts will be added.
 +
 
 +
=== Non-latin scripts ===
 +
 
 +
==== Ancient Scripts ====
 +
 
 +
* {{AUR|ttf-ancient-fonts}} - Font containing Unicode symbols for Aegean, Egyptian, Cuneiform, Anatolian, Maya, and Analecta scripts
 +
 
 +
==== Arabic ====
 +
 
 +
* {{AUR|ttf-amiri}} - A classical Arabic typeface in Naskh style poineered by Amiria Press
 +
* {{AUR|ttf-arabeyes-fonts}} - Collection of free Arabic fonts
 +
* {{AUR|ttf-qurancomplex-fonts}} - Fonts by King Fahd Glorious Quran Printing Complex in al-Madinah al-Munawwarah
 +
* {{AUR|ttf-sil-lateef}} - Unicode Arabic font from [[wikipedia:SIL_International|SIL]]
 +
* {{AUR|ttf-sil-scheherazade}} - Unicode Arabic font from SIL (Alternative for Traditional Arabic font)
 +
 
 +
==== Braille ====
 +
 
 +
*{{AUR|ttf-ubraille}} - Font containing Unicode symbols for ''braille''
 +
 
 +
==== Chinese, Japanese, Korean, Vietnamese ====
 +
 
 +
===== Pan-CJK =====
 +
*adobe source han fonts - Large collection of fonts which comprehensively support Simplified Chinese, Traditional Chinese, Japanese, and Korean, with a consistent design and look.
 +
**{{Pkg|adobe-source-han-sans-otc-fonts}} - Sans fonts
 +
**{{Pkg|adobe-source-han-serif-otc-fonts}} - Serif fonts
 +
 
 +
*{{Pkg|noto-fonts-cjk}} - Large collection of fonts which comprehensively support Simplified Chinese, Traditional Chinese, Japanese, and Korean, with a consistent design and look. It is currently a rebadged version of {{Pkg|adobe-source-han-sans-otc-fonts}}.
 +
 
 +
===== Chinese =====
 +
 
 +
{{Move|Localization/Chinese#Fonts|It makes sense to group language-specific things together.|section=Move CJK and Indic fonts to Localization subpages}}
 +
 
 +
* adobe source han fonts
 +
** {{Pkg|adobe-source-han-sans-cn-fonts}} - Simplified Chinese OpenType/CFF Sans fonts
 +
** {{Pkg|adobe-source-han-sans-tw-fonts}} - Traditional Chinese OpenType/CFF Sans fonts
 +
** {{Pkg|adobe-source-han-serif-cn-fonts}} - Simplified Chinese OpenType/CFF Serif fonts
 +
** {{Pkg|adobe-source-han-serif-tw-fonts}} - Traditional Chinese OpenType/CFF Serif fonts
 +
 
 +
* noto Chinese fonts
 +
** {{AUR|noto-fonts-sc}} - Noto CJK-SC fonts for Simplified Chinese
 +
** {{AUR|noto-fonts-tc}} - Noto CJK-TC fonts for Traditional Chinese
 +
 
 +
* wqy fonts
 +
** {{Pkg|wqy-microhei}} - WenQuanYi Micro Hei font family (also known as Hei, Gothic or Dotum) is a sans-serif style derived from Droid Sans Fallback, it offers high quality CJK outline font and it is extremely compact (~5M).
 +
** {{Pkg|wqy-zenhei}} - Hei Ti Style (sans-serif) Chinese Outline font embedded with bitmapped Song Ti (also supporting Japanese (partial) and Korean characters).
 +
** {{Pkg|wqy-bitmapfont}} - Bitmapped Song Ti (serif) Chinese font.
 +
 
 +
* arphic fonts
 +
** {{Pkg|ttf-arphic-ukai}} - ''Kaiti'' (brush stroke) Unicode font (enabling anti-aliasing is suggested)
 +
** {{Pkg|ttf-arphic-uming}} - ''Mingti'' (printed) Unicode font
 +
 
 +
* {{Pkg|opendesktop-fonts}} - ''New Sung'' font, previously is ttf-fireflysung package
 +
 
 +
* {{Pkg|ttf-hannom}} - Chinese and Vietnamese ttf fonts
 +
 
 +
* Standart fonts of the Republic of China ministry of education in Taiwan
 +
** {{AUR|ttf-tw}} - Kai and Song traditional Chinese font from the Ministry of Education of Taiwan
 +
** {{AUR|ttf-twcns-fonts}} Chinese TrueType fonts by Ministry of Education of Taiwan government, support CNS11643 standard, including Kai and Sung fontface.
 +
 
 +
*Windows Chinese fonts
 +
**{{AUR|ttf-ms-win8-zh_cn}} - windows8 simple Chinese fonts。
 +
**{{AUR|ttf-ms-win8-zh_tw}} - windows8 traditional Chinese fonts。
 +
**{{AUR|ttf-ms-win10-zh_cn}} - windows10 simple Chinese fonts。
 +
**{{AUR|ttf-ms-win10-zh_tw}} - windows10 traditional Chinese fonts。
 +
 
 +
* {{AUR|ttf-i.bming}} - CJK serif font that emphasis on an old-style typeface.
 +
 
 +
===== Japanese =====
 +
 
 +
{{Move|Localization/Japanese#Fonts|It makes sense to group language-specific things together.|section=Move CJK and Indic fonts to Localization subpages}}
 +
 
 +
* {{Pkg|adobe-source-han-sans-jp-fonts}} - Japanese OpenType/CFF fonts
 +
* {{Pkg|otf-ipafont}} - Formal style Japanese Gothic (sans-serif) and Mincho (serif) fonts set; one of the highest quality open source font. Default of openSUSE-ja.
 +
* {{Pkg|ttf-hanazono}} - A free Japanese kanji font, style Mincho (serif).
 +
* {{Pkg|ttf-sazanami}} - Japanese free TrueType font. This is outdated and not maintained any more, but may be defined as a fallback font on several environments.
 +
* {{AUR|ttf-koruri}} - Japanese TrueType font obtained by mixing {{AUR|ttf-mplus}} and Open Sans
 +
* {{AUR|ttf-monapo}} - Japanese fonts to show [[wikipedia:2channel_Shift_JIS_art|2channel Shift JIS art]] properly.
 +
* {{AUR|ttf-mplus}} - Modern Gothic style Japanese outline fonts. It includes all of Japanese Hiragana/Katakana, Basic Latin, Latin-1 Supplement, Latin Extended-A, IPA Extensions and most of Japanese Kanji, Greek, Cyrillic, Vietnamese with 7 weights (proportional) or 5 weights (monospace).
 +
* {{AUR|ttf-vlgothic}} - Japanese Gothic fonts. Default of Debian/Fedora/Vine Linux
 +
 
 +
===== Korean =====
 +
 
 +
{{Move|Localization/Korean#Fonts|It makes sense to group language-specific things together.|section=Move CJK and Indic fonts to Localization subpages}}
 +
 
 +
* {{Pkg|adobe-source-han-sans-kr-fonts}} - Korean OpenType/CFF fonts
 +
* {{Pkg|ttf-baekmuk}} - Collection of Korean TrueType fonts
 +
* {{AUR|spoqa-han-sans}} - Source Han Sans customized by Spoqa
 +
* {{AUR|ttf-d2coding}} - D2Coding fixed width TrueType font made by Naver
 +
* {{AUR|ttf-nanum}} - Nanum series TrueType fonts
 +
* {{AUR|ttf-nanumgothic_coding}} - Nanum series fixed width TrueType fonts
 +
* {{AUR|ttf-kopub}}/{{AUR|otf-kopub}} - Korean TrueType/OpenType fonts by Korea Publisher Society
 +
* {{AUR|ttf-kopubworld}}/{{AUR|otf-kopubworld}} - Multilingual (Korean, Yethangul, Chinese extended, Japanese, Latin extended, Cyrillic, Arabic, Hebrew, Devanagari) TrueType/OpenType fonts by Korea Publisher Society
 +
* {{AUR|ttf-unfonts-core-ibx}} - A collection of Korean TrueType fonts by KLDP
 +
 
 +
===== Vietnamese =====
 +
 
 +
* {{Pkg|ttf-hannom}} - Vietnamese TrueType font for chữ Nôm characters
 +
 
 +
==== Cyrillic ====
 +
 
 +
See also [[#Latin script]].
 +
 
 +
* {{AUR|ttf-paratype}} - Font family by ParaType: sans, serif, mono, extended cyrillic and latin, OFL license
 +
* {{AUR|otf-russkopis}} - A free OpenType cursive font for Cyrillic script
 +
 
 +
==== Greek ====
 +
 
 +
Almost all Unicode fonts contain the Greek character set (polytonic included). Some additional font packages, which might not contain the complete Unicode set but utilize high quality Greek (and Latin, of course) typefaces are:
 +
 
 +
* {{AUR|otf-gfs}} - Selection of OpenType fonts from the Greek Font Society
 +
* {{AUR|ttf-mgopen}} - Professional TrueType fonts from Magenta
 +
 
 +
==== Hebrew ====
 +
 
 +
* {{AUR|opensiddur-hebrew-fonts}} - Large collection of Open-source licensed Hebrew fonts
 +
* {{AUR|culmus}} - Nice collection of free Hebrew fonts
 +
 
 +
==== Indic ====
 +
 
 +
{{Move|Localization/Indic#Fonts|It makes sense to group language-specific things together.|section=Move CJK and Indic fonts to Localization subpages}}
 +
 
 +
* {{AUR|ttf-freebanglafont}} - Font for Bangla
 +
* {{Pkg|ttf-indic-otf}} - Indic OpenType Fonts collection (containing ttf-freebanglafont), provides the character [http://www.fileformat.info/info/unicode/char/ca0/index.htm U+0CA0] "ಠ"
 +
* {{AUR|lohit-fonts}} - Indic TrueType fonts from Fedora Project (containing Oriya Fonts and more)
 +
* {{AUR|ttf-devanagarifonts}} - Devanagari TrueType fonts (contains 283 fonts)
 +
* {{AUR|ttf-gurmukhi-fonts_sikhnet}} - TrueType Gurmukhi fonts (gurbaniwebthick,prabhki)
 +
* {{AUR|ttf-gurmukhi_punjabi}} - TTF Gurmukhi / Punjabi (contains 252 fonts)
 +
* {{AUR|ttf-gujrati-fonts}} - TTF Gujarati fonts (Avantika,Gopika,Shree768)
 +
* {{AUR|ttf-kannada-font}} - Kannada, the language of Karnataka state in India
 +
* {{AUR|ttf-lklug}} - Sinhala Unicode font
 +
* {{AUR|ttf-tamil}} - Tamil Unicode fonts
 +
* {{AUR|ttf-urdufonts}} - Urdu fonts (Jameel Noori Nastaleeq (+kasheeda), Nafees Web Naskh, PDMS Saleem Quran Font) and font configuration to set Jameel Noori Nastaleeq as default font for Urdu
 +
* {{AUR|fonts-smc-malayalam}} - Malayalam Unicode Fonts released by 'Swathanthra Malayalam Computing' (contains 11 fonts).
 +
 
 +
==== Khmer ====
 +
 
 +
* {{Pkg|ttf-khmer}} - Font covering glyphs for Khmer language
 +
* [https://www.google.com/fonts/specimen/Hanuman Hanuman] ({{AUR|ttf-google-fonts-git}})
 +
 
 +
==== Mongolic and Tungusic ====
 +
 
 +
* {{AUR|ttf-abkai}} - Fonts for Sibe, Manchu and Daur scripts (incomplete, currently in development)
 +
 
 +
==== Persian ====
  
===Arabic===
+
* {{AUR|persian-fonts}} - Meta package for installing all Persian fonts in AUR.
* {{Package AUR|ttf-sil-lateef}} - Unicode Arabic font from SIL ''(AUR)''
+
* {{AUR|borna-fonts}} - Borna Rayaneh Co. Persian B font series.
* {{Package AUR|ttf-sil-scheherazade}} - Unicode Arabic font from SIL ''(AUR)''
+
* {{AUR|iran-nastaliq-fonts}} - A free Unicode calligraphic Persian font.
* {{Package AUR|arabeyes-fonts}} - Collection of free Arabic fonts ''(AUR)''
+
* {{AUR|iranian-fonts}} - Iranian-Sans and Iranian-Serif Persian font family.
 +
* {{AUR|ir-standard-fonts}} - Iran Supreme Council of Information and Communication Technology (SCICT) standard Persian fonts.
 +
* {{AUR|persian-hm-ftx-fonts}} - A Persian font series derived from X Series 2, Metafont and FarsiTeX fonts with Kashida feature.
 +
* {{AUR|persian-hm-xs2-fonts}} - A Persian font series derived from X Series 2 fonts with Kashida feature.
 +
* {{AUR|sina-fonts}} - Sina Pardazesh Co. Persian font series.
 +
* {{AUR|gandom-fonts}}, {{AUR|parastoo-fonts}}, {{AUR|sahel-fonts}}, {{AUR|samim-fonts}}, {{AUR|shabnam-fonts}}, {{AUR|tanha-fonts}}, {{AUR|vazir-fonts}}, {{AUR|vazir-code-fonts}} - Beautiful Persian fonts made by Ali Rasti Kerdar.
 +
* {{AUR|ttf-yas}} - The Yas Persian font series (with '''hollow zero''').
 +
* {{AUR|ttf-x2}} - Free fonts with support for Persian, Arabic, Urdu, Pashto, Dari, Uzbek, Kurdish, Uighur, old Turkish (Ottoman) and modern Turkish (Roman).
  
===Braille===
+
==== Tai–Kadai ====
* {{Package Official|ttf-ubraille}} - Font containing Unicode symbols for ''braille''
 
  
===Chinese, Japanese, Korean, Vietnamese===
+
* {{AUR|fonts-tlwg}} - Collection of scalable Thai fonts
* {{Package Official|ttf-arphic-ukai}} - ''Kaiti'' (brush stroke) Unicode font (enabling anti-aliasing is suggested)
+
* {{AUR|ttf-lao}} - Lao TTF font (Phetsarath_OT)
* {{Package Official|ttf-arphic-uming}} - ''Mingti'' (printed) Unicode font
+
* {{AUR|ttf-lao-fonts}} - Lao TTF fonts, both Unicode and non-Unicode for Windows
* {{Package Official|ttf-fireflysung}} - ''New Sung'' font
 
* {{Package Official|wqy-zenhei}} - Hei Ti Style (sans-serif) Chinese Outline font embedded with bitmapped Song Ti.
 
* {{Package Official|wqy-bitmapfont}} - Bitmapped Song Ti (serif) Chinese font
 
* {{Package AUR|ttf-hannom-usong}} - Song Ti quality TrueType fonts for Unicode Han and Nom (Chinese and Vietnamese) characters ''(AUR)''
 
* {{Package AUR|otf-ipafont}} - Japanese Gothic (san-serif) and Mincho (serif) font set; one of the highest quality open source fonts. Default of openSUSE-ja. ''(AUR)''
 
* {{Package AUR|otf-takao}} - Japanese fonts derived from IPAfont that aims to fix the problems of IPAfont by community. Default of Ubuntu-ja ''(AUR)''
 
* {{Package AUR|ttf-vlgothic}} - Japanese Gothic fonts. Default of Debian/Fedora/Vine Linux ''(AUR)''
 
* {{Package AUR|ttf-ipa-mona}}, {{Package AUR|ttf-monapo}} - Japanese fonts to show [http://en.wikipedia.org/wiki/2channel_Shift_JIS_art 2channel Shift JIS art] properly. ''(AUR)''
 
* {{Package AUR|ttf-aquafont}} - Handwritten fixed-width TrueType font (''AUR'')
 
* {{Package AUR|ttf-baekmuk}} - Collection of Korean TrueType fonts ''(AUR)''
 
* {{Package AUR|ttf-alee}} - Set of free Hangul TrueType fonts ''(AUR)''
 
* {{Package AUR|ttf-unfonts-core}} - Un fonts (default Baekmuk fonts may be unsatisfactory) (''AUR'')
 
  
===Cyrillic===
+
==== Tibeto-Burman ====
''See: [[#Unicode]] below''
 
* {{Package AUR|ttf-pt-sans}} - pan-Cyrillic font family (''AUR'')
 
* {{Package AUR|font-arhangai}} - Mongolian Cyrillic (''AUR'')
 
* {{Package AUR|ttf-pingwi-typography}} - PingWi Typography (PWT) fonts (''AUR'')
 
  
===Hebrew===
+
* {{Pkg|ttf-tibetan-machine}} - Tibetan Machine TTFont
* {{Package Official|culmus}} - Nice collection of free Hebrew fonts
+
* {{AUR|ttf-myanmar-fonts}} - 121 Fonts from myordbok.com
  
===Indic===
+
=== Emoji and symbols ===
* {{Package Official|ttf-freebanglafont}} - Font for Bangla
 
* {{Package Official|ttf-indic-otf}} - Indic Opentype Fonts collection (containing ttf-freebanglafont)
 
  
===Khmer===
+
A section of the Unicode standard is designated for pictographic characters called "emoji".
* {{Package Official|ttf-khmer}} - Font covering glyphs for Khmer language
 
  
===Latin===
+
* {{Pkg|noto-fonts-emoji}} - Google's own emoji font, like on Android or Google Hangouts.
* {{Package Official|font-bh-ttf}} - Xorg Luxi fonts
+
* {{AUR|ttf-symbola}} - provides many Unicode symbols, including emoji, in outline style.
* {{Package Official|ttf-cheapskate}} - Font collection from ''dustismo.com''
+
* {{AUR|ttf-emojione}} - Official colorful EmojiOne font.
* {{Package Official|ttf-isabella}} - Calligraphic font based on the ''Isabella Breviary'' of 1497
+
* {{AUR|ttf-twemoji-color}} - Twitter's open-sourced emoji glyphs.
* {{Package Official|ttf-junicode}} - Junius font containing almost complete medieval latin script glyphs
 
* {{Package Official|ttf-ms-fonts}} - Un-extracted fonts from ''Microsoft''. Note: ''Trebuchet Bold,'' {{Filename|trebucbd.ttf}}, is missing from this package.
 
* {{Package AUR|ttf-ms-fonts-lic}} - Cleaner alternative to the above (''AUR'')
 
  
===Sinhala===
+
[[wikipedia:Emoticon#Japanese_style|Kaomoji]] are sometimes referred to as "Japanese emoticons" and are composed of characters from various character sets, including CJK and Indic fonts. For example, the following set of packages covers most of existing kaomoji: {{Pkg|ttf-freefont}}, {{Pkg|ttf-arphic-uming}}, and {{Pkg|ttf-indic-otf}}.
* {{Package AUR|ttf-lklug}} - Sinhala Unicode font (''AUR'')
 
  
===Tamil===
+
=== Math ===
* {{Package AUR|ttf-tamil}} - Tamil Unicode fonts (''AUR'')
 
  
===Thai===
+
* {{Pkg|font-mathematica}} - Mathematica fonts by Wolfram Research, Inc.
* {{Package Official|ttf-thai}} - Font covering glyphs for Thai
+
* {{Pkg|texlive-core}} and {{Pkg|texlive-fontsextra}} contain many math fonts such as Latin Modern Math and [[Wikipedia:STIX Fonts project|STIX Fonts]]. See [[TeX Live#Making fonts available to Fontconfig]] for configuration.
 +
* {{AUR|otf-stix}} - A standalone, more recent version of STIX
 +
* {{Pkg|otf-latin-modern}}, {{Pkg|otf-latinmodern-math}} - Improved version of Computer Modern fonts as used in LaTeX
 +
* {{AUR|ttf-computer-modern-fonts}}, {{AUR|otf-cm-unicode}} - [[wikipedia:Computer Modern|Computer Modern]] (of TeX fame)
 +
* {{AUR|ttf-mathtype}} - MathType fonts
  
===Programmer===
+
=== Other operating system fonts ===
* {{Package Official|dina-font}}
 
* {{Package Official|terminus-font}}
 
* {{Package AUR|ttf-inconsolata-g}} (''AUR'')
 
* DejaVu Sans Mono (from package {{Package Official|ttf-dejavu}}), Lucida Typewriter (included in package {{Package Official|jre}})
 
  
===Math===
+
* {{AUR|ttf-mac-fonts}} - Apple MacOS TrueType fonts
* {{Package Official|font-mathematica}} - Mathematica fonts by Wolfram Research, Inc.
 
* {{Package AUR|ttf-mathtype}} - MathType fonts ''(AUR)''
 
* {{Package AUR|ttf-computer-modern-fonts}} - Flagged out of date as of 2009-11-14 ''(AUR)''
 
  
===Unicode===
+
See [[Metric-compatible fonts]], which lists available alternatives for [[Microsoft fonts]].
* {{Package Official|ttf-dejavu}} - Extension and replacement of Bitstream Vera
 
* {{Package Official|ttf-liberation}} - Collection of free fonts developed for Red Hat
 
* {{Package Official|ttf-linux-libertine}} - Replacement for Times New Roman
 
* {{Package Official|ttf-freefont}} - Clones of Times, Helvetica and Courier with large Unicode support but unequal quality
 
* {{Package Official|ttf-mph-2b-damase}} - Covers full plane 1 and several scripts
 
* {{Package AUR|ttf-liberastika}} - Liberation fonts with the Cyrillic glyphs redrawn ''(AUR)''
 
* {{Package AUR|ttf-sil-fonts}} - Gentium, Charis, Doulos, Andika and Abyssinica from SIL ''(AUR)''
 
  
==Recommendations==
+
== Fallback font order with X11 ==
  
Some recommendations for different types of uses.
+
Fontconfig automatically chooses a font that matches the current requirement. That is to say, if one is looking at a window containing English and Chinese for example, it will switch to another font for the Chinese text if the default one does not support it.
  
===International users===
+
Fontconfig lets every user configure the order they want via {{ic|$XDG_CONFIG_HOME/fontconfig/fonts.conf}}.
;Chinese
+
If you want a particular Chinese font to be selected after your favorite Serif font, your file would look like this:
:{{package AUR|wqy-zenhei}} (Hei Ti embedded with bitmapped Song Ti, also supporting Japanese (partial) and Korean characters), {{package AUR|ttf-arphic-ukai}}  (Kai Ti) , {{package AUR|ttf-hannom-usong}} (Song Ti, supporting Vietnamese characters)
 
;Japanese
 
:{{package AUR|otf-ipafont}} (IPA fonts), {{package AUR|otf-takao}} (Takao fonts)
 
;Korean
 
:{{package AUR|ttf-baekmuk}}
 
  
===Desktop environments===
+
<?xml version="1.0"?>
* {{Package Official|ttf-ms-fonts}} — Official Microsoft Fonts
+
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
* {{Package Official|ttf-dejavu}} — Popular Linux Serif and Sans-Serif fonts
+
<fontconfig>
* {{Package Official|ttf-liberation}} — Fonts designed by Red Hat to replace Microsoft Fonts on Linux
+
<alias>
* {{Package AUR|ttf-arkpandora}} — Alternative to Arial and Times New Roman fonts
+
    <family>serif</family>
* {{Package AUR|ttf-droid}} — Comfortable font designed for use on small screens of mobile handsets
+
    <prefer>
 +
      <family>Your favorite Latin Serif font name</family>
 +
      <family>Your Chinese font name</family>
 +
    </prefer>
 +
  </alias>
 +
</fontconfig>
  
Unneccessary:
+
{{Tip|If you use a Chinese locale, set {{ic|LC_LANG}} to {{ic|und}} to make this work. Otherwise both English and Chinese text will be rendered in the Chinese font.}}
  
* {{Package Official|xorg-fonts-75dpi}} and {{Package Official|xorg-fonts-100dpi}} - old bitmap fonts installed with the Xorg server.  It is safe to remove these.
+
You can add a section for sans-serif and monospace as well. For more information, have a look at the fontconfig manual.
  
===Terminals===
+
See also [[Font configuration#Replace or set default fonts]].
Here are some suggestions.  Every user has their own preference, experiment to find one that suits you.
 
If you won't like to try one by one, there's an opinion from Dan Benjamin on his blog: [http://hivelogic.com/articles/top-10-programming-fonts ''Top 10 Programming Fonts''].
 
  
Here's a big list of fonts by Trevor Lowing: http://www.lowing.org/fonts/
+
== Font alias ==
  
*Andale Mono ({{Package Official|ttf-ms-fonts}})
+
There are several font aliases which represent other fonts in order that applications may use similar fonts. The most common aliases are: {{ic|serif}} for a font of the serif type (e.g. DejaVu Serif); {{ic|sans-serif}} for a font of the sans-serif type (e.g. DejaVu Sans); and {{ic|monospace}} for a monospaced font (e.g. DejaVu Sans Mono). However, the fonts which these aliases represent may vary and the relationship is often not shown in font management tools, such as those found in [[KDE]] and other [[desktop environments]].
*Anka/Coder ({{Package AUR|ttf-anka-coder}})
 
*Anonymous Pro ({{Package AUR|ttf-anonymous-pro}})
 
*Bitstream Vera Mono ({{Package Official|ttf-bitstream-vera}})
 
*Courier ({{Package Official|ttf-ms-fonts}})
 
*Courier New ({{Package Official|ttf-ms-fonts}})
 
*Default 8x16
 
*Dina ({{Package Official|dina-font}})
 
*DejaVu fonts ({{Package Official|ttf-dejavu}})
 
*Droid Sans Mono  ({{Package AUR|ttf-droid}})
 
*Envy Code R ({{Package AUR|ttf-envy-code-r}})
 
*Gamow
 
*Inconsolata ({{Package Official|ttf-inconsolata}})
 
*Inconsolata-g (adds some programmer-friendly modifications) ({{Package AUR|ttf-inconsolata-g}})
 
*Liberation Mono ({{Package Official|ttf-liberation}})
 
*Lime ({{Package Official|artwiz-fonts}})
 
*Lucida Typewriter
 
*Monaco ({{Package AUR|monaco_linux}})
 
*[http://fontforge.sourceforge.net/sfds/ Monospace]
 
*Profont ({{Package AUR|profont}})
 
*Proggy fonts ({{Package AUR|proggyfonts}})
 
*Terminus  ({{Package Official|terminus-font}})
 
*Unifont (glyphs like ಠ_ಠ (look of disapproval)) ({{Package Official|bdf-unifont}})
 
  
==Console fonts==
+
To reverse an alias and find which font it is representing, run:
  
The console, meaning a terminal running with no ''X'' Window System, uses the ASCII character set as the default. This font and the keymap used are easily changed.
+
{{hc|$ fc-match monospace|
 +
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"
 +
}}
  
A console font is limited to either 256 or 512 characters. The fonts are found in {{Filename|/usr/share/kbd/consolefonts/}}. ''Keymaps, ''the connection between the key pressed and the character used by the computer, are found in the subdirectories of {{Filename|/usr/share/kbd/keymaps/}}.
+
In this case, {{ic|DejaVuSansMono.ttf}} is the font represented by the monospace alias.
  
=== Previewing and testing ===
+
== Tips and tricks ==
  
Unfortunately, no organized library of images is available to preview console fonts. The user can, however, use {{Codeline|setfont}} to temporarily change the font and be able to consider its use as the default. The available ''glyphs ''or letters in the font can also be viewed as a table with the command {{Codeline|showconsolefont}}.
+
=== List all installed fonts ===
  
If the newly changed font is not suitable, a return to the default font is done by issuing the command {{Codeline|setfont}} without any arguments. If the console display is totally unreadable, this command will still work—the user just types in {{Codeline|setfont}} while "working blind."
+
You can use the following command to list all installed Fontconfig fonts that are available on your system.  
  
Note that {{Codeline|setfont}} only works on the console currently being used. Any other consoles, active or inactive, remain unaffected.
+
$ fc-list
  
==== Examples ====
+
=== List installed fonts for a particular language ===
  
Change the font. This example is distinctive:
+
Applications and browsers select and display fonts depending upon fontconfig preferences and available font glyph for Unicode text. To list installed fonts for a particular language, issue a command {{ic|<nowiki>fc-list :lang="two letter language code"</nowiki>}}. For instance, to list installed Arabic fonts or fonts supporting Arabic glyph:
$ setfont /usr/share/kbd/consolefonts/gr737b-9x16-medieval.psfu.gz
+
{{hc|$ fc-list -f '%{file}\n' :lang&#61;ar|2=
 +
<nowiki>
 +
/usr/share/fonts/TTF/FreeMono.ttf
 +
/usr/share/fonts/TTF/DejaVuSansCondensed.ttf
 +
/usr/share/fonts/truetype/custom/DroidKufi-Bold.ttf
 +
/usr/share/fonts/TTF/DejaVuSansMono.ttf
 +
/usr/share/fonts/TTF/FreeSerif.ttf
 +
</nowiki>
 +
}}
  
Or change the font to one with 512 glyphs and set the keymap to ''ISO 8859-5'' using the {{Codeline|-m}} option:
+
=== List installed fonts for a particular Unicode character ===
$ setfont /usr/share/kbd/consolefonts/LatArCyrHeb-16.psfu.gz -m 8859-5
 
  
Then issue commands that send text to the display, perhaps view a ''manpage'' and try ''vi'' or ''nano'', and view the table of glyphs with the command, {{Codeline|showconsolefont}}.
+
To search for monospace fonts supporting a particular Unicode codepoint:
  
Return to the default font with:
+
  $ fc-match -s monospace:charset=1F4A9
  $ setfont
 
  
=== Changing the default font ===
+
=== Set terminal font on-the-fly ===
  
To change the default font, the {{Codeline|CONSOLEFONT<nowiki>=</nowiki>}} and {{Codeline|CONSOLEMAP<nowiki>=</nowiki>}} settings in {{Filename|/etc/rc.conf}} must be altered. Again, the fonts can be found in {{Filename|/usr/share/kbd/consolefonts/}} directory and keymaps can be found in the subdirectories of {{Filename|/usr/share/kbd/keymaps/}}.
+
{{Expansion|Where is the documentation for the escape codes?}}
  
==== Examples ====
+
For terminal emulators that use [[X resources]], e.g. [[xterm]] or [[rxvt-unicode]], fonts can be set by using escape sequences. Specifically, {{ic|echo -e "\033]710;$font\007"}} to change the normal font ({{ic|*font}} in {{ic|~/.Xresources}}), and replace {{ic|710}} with {{ic|711}}, {{ic|712}}, and {{ic|713}} to change the {{ic|*boldFont}}, {{ic|*italicFont}}, and {{ic|*boldItalicFont}}, respectively.
For displaying characters such as ''Č, ž, đ, ''or ''š,'' using the font {{Filename|lat2-16.psfu.gz}}:
 
CONSOLEFONT="lat2-16"
 
  
Set the proper keymap, in this case:
+
{{ic|$font}} uses the same syntax as in {{ic|~/.Xresources}} and can be anything the terminal emulator will support. (Example: {{ic|1=xft:dejavu sans mono:size=9}})
CONSOLEMAP="8859-2"
 
  
To use the specified font in early userspace, that is, early in the bootup process, add the {{Codeline|consolefont}} hook to {{Filename|/etc/mkinitcpio.conf}}:
+
=== Application-specific font cache ===
HOOKS="base udev autodetect pata scsi sata filesystems '''consolefont'''"
 
  
Then rebuild the image:
+
Matplotlib ({{pkg|python-matplotlib}} or {{pkg|python2-matplotlib}}) uses its own font cache, so after updating fonts, be sure to remove {{ic|~/.matplotlib/fontList.cache}},
# mkinitcpio -p kernel26
+
{{ic|~/.cache/matplotlib/fontList.cache}}, {{ic|~/.sage/matplotlib-1.2.1/fontList.cache}}, etc. so it will regenerate its cache and find the new fonts [http://matplotlib.1069221.n5.nabble.com/getting-matplotlib-to-recognize-a-new-font-td40500.html].
  
{{Note|The above steps must be repeated for each kernel if more than one kernel package is installed.}}
+
== See also ==
  
See: [[Mkinitcpio#HOOKS]]
+
* [http://behdad.org/text/ State of Text Rendering]
 +
* [https://fontlibrary.org/en Font Library] - Fonts under Free licenses
 +
* [https://screenshots.debian.net/packages?search=fonts&show=with Fonts on screenshots.debian.net]

Latest revision as of 13:38, 11 June 2019

From Wikipedia:Computer font: "A computer font (or font) is an electronic data file containing a set of glyphs, characters, or symbols such as dingbats."

Note that certain font licenses may impose some legal limitations.

Font formats

Most computer fonts used today are in either bitmap or outline data formats.

Bitmap fonts
Consist of a matrix of dots or pixels representing the image of each glyph in each face and size.
Outline or vector fonts
Use Bézier curves, drawing instructions and mathematical formulae to describe each glyph, which make the character outlines scalable to any size.

Bitmap formats

These formats can also be gzipped. See #Bitmap for the available bitmap fonts.

Outline formats

  • PostScript fonts by Adobe – has various formats, e.g: Printer Font ASCII (PFA) and Printer Font Binary (PFB)
  • TrueType by Apple and Microsoft (file extension: ttf)
  • OpenType by Microsoft, built on TrueType (file extensions: otf, ttf)

For most purposes, the technical differences between TrueType and OpenType can be ignored.

Other formats

The typesetting application, TeX, and its companion font software, Metafont, render characters using their own methods. Some of the file extensions used for fonts by these two programs are *pk, *gf, mf and vf.

FontForge (fontforge), a font editing application, can store fonts in its native text-based format, sfd, spline font database.

The SVG format also has its own font description method.

Installation

There are various methods for installing fonts.

Pacman

Fonts and font collections in the enabled repositories can be installed using pacman.

Available fonts may be found by querying packages (e.g. for font or ttf).

Creating a package

You should give pacman the ability to manage your fonts, which is done by creating an Arch package. These can also be shared with the community in the AUR. The packages to install fonts are particularly similar; simply taking an existing package as template should work well. To learn about how to modify it for your font, please refer to Creating packages.

The family name of a font file can be aquired with the use of fc-query for example: fc-query -f '%{family[0]}\n' /path/to/file. The formatting is described in the FcPatternFormat(3) manual.

Manual installation

The recommended way of adding fonts that are not in the repositories to your system is described in #Creating a package. This gives pacman the ability to remove or update them at a later time. Fonts can alternately be installed manually as well.

To install fonts system-wide (available for all users), move the folder to the /usr/share/fonts/ directory. The files need to be readable by every user, use chmod to set the correct permissions (i.e. at least 0444 for files and 0555 for directories). To install fonts for only a single user, use ~/.local/share/fonts (~/.fonts/ is now deprecated).

For Xserver to load fonts directly (as opposed to the use of a font server) the directory for your newly added font must be added with a FontPath entry. This entry is located in the Files section of your Xorg configuration file (e.g. /etc/X11/xorg.conf or /etc/xorg.conf). See #Older applications for more detail.

Then update the fontconfig font cache: (usually unnecessary as software using the fontconfig library does this)

$ fc-cache

Older applications

With older applications that do not support fontconfig (e.g. GTK+ 1.x applications, and xfontsel) the index will need to be created in the font directory:

$ mkfontscale
$ mkfontdir

Or to include more than one folder with one command:

$ for dir in /font/dir1/ /font/dir2/; do xset +fp $dir; done && xset fp rehash

Or if fonts were installed in a different sub-folders under the e.g. /usr/share/fonts:

$ for dir in * ; do if [  -d  "$dir"  ]; then cd "$dir";xset +fp "$PWD" ;mkfontscale; mkfontdir;cd .. ;fi; done && xset fp rehash

At times the X server may fail to load the fonts directory and you will need to rescan all the fonts.dir files:

# xset +fp /usr/share/fonts/misc # Inform the X server of new directories
# xset fp rehash                # Forces a new rescan

To check that the font(s) is included:

$ xlsfonts | grep fontname
Note: Many packages will automatically configure Xorg to use the font upon installation. If that is the case with your font, this step is not necessary.

This can also be set globally in /etc/X11/xorg.conf or /etc/X11/xorg.conf.d.

Here is an example of the section that must be added to /etc/X11/xorg.conf. Add or remove paths based on your particular font requirements.

# Let X.Org know about the custom font directories
Section "Files"
    FontPath    "/usr/share/fonts/100dpi"
    FontPath    "/usr/share/fonts/75dpi"
    FontPath    "/usr/share/fonts/cantarell"
    FontPath    "/usr/share/fonts/cyrillic"
    FontPath    "/usr/share/fonts/encodings"
    FontPath    "/usr/share/fonts/misc"
    FontPath    "/usr/share/fonts/truetype"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "/usr/share/fonts/util"
EndSection

Pango Warnings

When Pango is in use on your system it will read from fontconfig to sort out where to source fonts.

(process:5741): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
(process:5741): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'

If you are seeing errors similar to this and/or seeing blocks instead of characters in your application then you need to add fonts and update the font cache. This example uses the ttf-liberation fonts to illustrate the solution (after successful installation of the package) and runs as root to enable them system-wide.

# fc-cache
/usr/share/fonts: caching, new cache contents: 0 fonts, 3 dirs
/usr/share/fonts/TTF: caching, new cache contents: 16 fonts, 0 dirs
/usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/util: caching, new cache contents: 0 fonts, 0 dirs
/var/cache/fontconfig: cleaning cache directory
fc-cache: succeeded

You can test for a default font being set like so:

# fc-match
LiberationMono-Regular.ttf: "Liberation Mono" "Regular"

Font packages

This is a selective list that includes many font packages from the AUR along with those in the official repositories. Fonts are tagged "Unicode" if they have wide Unicode support, see the project or Wikipedia pages for detail.

The Archfonts Python script can be used to generate an overview of all the TTF fonts found in the official repositories / the AUR (the image generation is done using ttf2pngAUR).

Bitmap

Latin script

Families

Legacy Microsoft font packages:

  • Microsoft fonts (ttf-ms-fontsAUR) – Andalé Mono, Courier New, Arial, Arial Black, Comic Sans, Impact, Lucida Sans, Microsoft Sans Serif, Trebuchet, Verdana, Georgia, Times New Roman
  • Vista fonts (ttf-vista-fontsAUR) – Consolas, Calibri, Candara, Corbel, Cambria, Constantia

Monospaced

For more monospaced fonts see #Bitmap and #Families.

Relevant websites:

Sans-serif

Serif

Unsorted

Tango-edit-clear.pngThis article or section needs language, wiki syntax or style improvements. See Help:Style for reference.Tango-edit-clear.png

Reason: This section should be absorbed into the Monospace/Serif/Sans-Serif structure (Discuss in Talk:Fonts#)

Non-latin scripts

Ancient Scripts

  • ttf-ancient-fontsAUR - Font containing Unicode symbols for Aegean, Egyptian, Cuneiform, Anatolian, Maya, and Analecta scripts

Arabic

Braille

  • ttf-ubrailleAUR - Font containing Unicode symbols for braille

Chinese, Japanese, Korean, Vietnamese

Pan-CJK
  • noto-fonts-cjk - Large collection of fonts which comprehensively support Simplified Chinese, Traditional Chinese, Japanese, and Korean, with a consistent design and look. It is currently a rebadged version of adobe-source-han-sans-otc-fonts.
Chinese

Tango-go-next.pngThis article or section is a candidate for moving to Localization/Chinese#Fonts.Tango-go-next.png

Notes: It makes sense to group language-specific things together. (Discuss in Talk:Fonts#Move CJK and Indic fonts to Localization subpages)
  • noto Chinese fonts
  • wqy fonts
    • wqy-microhei - WenQuanYi Micro Hei font family (also known as Hei, Gothic or Dotum) is a sans-serif style derived from Droid Sans Fallback, it offers high quality CJK outline font and it is extremely compact (~5M).
    • wqy-zenhei - Hei Ti Style (sans-serif) Chinese Outline font embedded with bitmapped Song Ti (also supporting Japanese (partial) and Korean characters).
    • wqy-bitmapfont - Bitmapped Song Ti (serif) Chinese font.
  • Standart fonts of the Republic of China ministry of education in Taiwan
    • ttf-twAUR - Kai and Song traditional Chinese font from the Ministry of Education of Taiwan
    • ttf-twcns-fontsAUR Chinese TrueType fonts by Ministry of Education of Taiwan government, support CNS11643 standard, including Kai and Sung fontface.
  • ttf-i.bmingAUR - CJK serif font that emphasis on an old-style typeface.
Japanese

Tango-go-next.pngThis article or section is a candidate for moving to Localization/Japanese#Fonts.Tango-go-next.png

Notes: It makes sense to group language-specific things together. (Discuss in Talk:Fonts#Move CJK and Indic fonts to Localization subpages)
  • adobe-source-han-sans-jp-fonts - Japanese OpenType/CFF fonts
  • otf-ipafont - Formal style Japanese Gothic (sans-serif) and Mincho (serif) fonts set; one of the highest quality open source font. Default of openSUSE-ja.
  • ttf-hanazono - A free Japanese kanji font, style Mincho (serif).
  • ttf-sazanami - Japanese free TrueType font. This is outdated and not maintained any more, but may be defined as a fallback font on several environments.
  • ttf-koruriAUR - Japanese TrueType font obtained by mixing ttf-mplusAUR and Open Sans
  • ttf-monapoAUR - Japanese fonts to show 2channel Shift JIS art properly.
  • ttf-mplusAUR - Modern Gothic style Japanese outline fonts. It includes all of Japanese Hiragana/Katakana, Basic Latin, Latin-1 Supplement, Latin Extended-A, IPA Extensions and most of Japanese Kanji, Greek, Cyrillic, Vietnamese with 7 weights (proportional) or 5 weights (monospace).
  • ttf-vlgothicAUR - Japanese Gothic fonts. Default of Debian/Fedora/Vine Linux
Korean

Tango-go-next.pngThis article or section is a candidate for moving to Localization/Korean#Fonts.Tango-go-next.png

Notes: It makes sense to group language-specific things together. (Discuss in Talk:Fonts#Move CJK and Indic fonts to Localization subpages)
Vietnamese
  • ttf-hannom - Vietnamese TrueType font for chữ Nôm characters

Cyrillic

See also #Latin script.

  • ttf-paratypeAUR - Font family by ParaType: sans, serif, mono, extended cyrillic and latin, OFL license
  • otf-russkopisAUR - A free OpenType cursive font for Cyrillic script

Greek

Almost all Unicode fonts contain the Greek character set (polytonic included). Some additional font packages, which might not contain the complete Unicode set but utilize high quality Greek (and Latin, of course) typefaces are:

  • otf-gfsAUR - Selection of OpenType fonts from the Greek Font Society
  • ttf-mgopenAUR - Professional TrueType fonts from Magenta

Hebrew

Indic

Tango-go-next.pngThis article or section is a candidate for moving to Localization/Indic#Fonts.Tango-go-next.png

Notes: It makes sense to group language-specific things together. (Discuss in Talk:Fonts#Move CJK and Indic fonts to Localization subpages)
  • ttf-freebanglafontAUR - Font for Bangla
  • ttf-indic-otf - Indic OpenType Fonts collection (containing ttf-freebanglafont), provides the character U+0CA0 "ಠ"
  • lohit-fontsAUR - Indic TrueType fonts from Fedora Project (containing Oriya Fonts and more)
  • ttf-devanagarifontsAUR - Devanagari TrueType fonts (contains 283 fonts)
  • ttf-gurmukhi-fonts_sikhnetAUR - TrueType Gurmukhi fonts (gurbaniwebthick,prabhki)
  • ttf-gurmukhi_punjabiAUR - TTF Gurmukhi / Punjabi (contains 252 fonts)
  • ttf-gujrati-fontsAUR - TTF Gujarati fonts (Avantika,Gopika,Shree768)
  • ttf-kannada-fontAUR - Kannada, the language of Karnataka state in India
  • ttf-lklugAUR - Sinhala Unicode font
  • ttf-tamilAUR - Tamil Unicode fonts
  • ttf-urdufontsAUR - Urdu fonts (Jameel Noori Nastaleeq (+kasheeda), Nafees Web Naskh, PDMS Saleem Quran Font) and font configuration to set Jameel Noori Nastaleeq as default font for Urdu
  • fonts-smc-malayalamAUR - Malayalam Unicode Fonts released by 'Swathanthra Malayalam Computing' (contains 11 fonts).

Khmer

Mongolic and Tungusic

  • ttf-abkaiAUR - Fonts for Sibe, Manchu and Daur scripts (incomplete, currently in development)

Persian

Tai–Kadai

  • fonts-tlwgAUR - Collection of scalable Thai fonts
  • ttf-laoAUR - Lao TTF font (Phetsarath_OT)
  • ttf-lao-fontsAUR - Lao TTF fonts, both Unicode and non-Unicode for Windows

Tibeto-Burman

Emoji and symbols

A section of the Unicode standard is designated for pictographic characters called "emoji".

Kaomoji are sometimes referred to as "Japanese emoticons" and are composed of characters from various character sets, including CJK and Indic fonts. For example, the following set of packages covers most of existing kaomoji: ttf-freefont, ttf-arphic-uming, and ttf-indic-otf.

Math

Other operating system fonts

See Metric-compatible fonts, which lists available alternatives for Microsoft fonts.

Fallback font order with X11

Fontconfig automatically chooses a font that matches the current requirement. That is to say, if one is looking at a window containing English and Chinese for example, it will switch to another font for the Chinese text if the default one does not support it.

Fontconfig lets every user configure the order they want via $XDG_CONFIG_HOME/fontconfig/fonts.conf. If you want a particular Chinese font to be selected after your favorite Serif font, your file would look like this:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<alias>
   <family>serif</family>
   <prefer>
     <family>Your favorite Latin Serif font name</family>
     <family>Your Chinese font name</family>
   </prefer>
 </alias>
</fontconfig>
Tip: If you use a Chinese locale, set LC_LANG to und to make this work. Otherwise both English and Chinese text will be rendered in the Chinese font.

You can add a section for sans-serif and monospace as well. For more information, have a look at the fontconfig manual.

See also Font configuration#Replace or set default fonts.

Font alias

There are several font aliases which represent other fonts in order that applications may use similar fonts. The most common aliases are: serif for a font of the serif type (e.g. DejaVu Serif); sans-serif for a font of the sans-serif type (e.g. DejaVu Sans); and monospace for a monospaced font (e.g. DejaVu Sans Mono). However, the fonts which these aliases represent may vary and the relationship is often not shown in font management tools, such as those found in KDE and other desktop environments.

To reverse an alias and find which font it is representing, run:

$ fc-match monospace
DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"

In this case, DejaVuSansMono.ttf is the font represented by the monospace alias.

Tips and tricks

List all installed fonts

You can use the following command to list all installed Fontconfig fonts that are available on your system.

$ fc-list

List installed fonts for a particular language

Applications and browsers select and display fonts depending upon fontconfig preferences and available font glyph for Unicode text. To list installed fonts for a particular language, issue a command fc-list :lang="two letter language code". For instance, to list installed Arabic fonts or fonts supporting Arabic glyph:

$ fc-list -f '%{file}\n' :lang=ar
/usr/share/fonts/TTF/FreeMono.ttf
/usr/share/fonts/TTF/DejaVuSansCondensed.ttf
/usr/share/fonts/truetype/custom/DroidKufi-Bold.ttf
/usr/share/fonts/TTF/DejaVuSansMono.ttf
/usr/share/fonts/TTF/FreeSerif.ttf

List installed fonts for a particular Unicode character

To search for monospace fonts supporting a particular Unicode codepoint:

$ fc-match -s monospace:charset=1F4A9

Set terminal font on-the-fly

Tango-view-fullscreen.pngThis article or section needs expansion.Tango-view-fullscreen.png

Reason: Where is the documentation for the escape codes? (Discuss in Talk:Fonts#)

For terminal emulators that use X resources, e.g. xterm or rxvt-unicode, fonts can be set by using escape sequences. Specifically, echo -e "\033]710;$font\007" to change the normal font (*font in ~/.Xresources), and replace 710 with 711, 712, and 713 to change the *boldFont, *italicFont, and *boldItalicFont, respectively.

$font uses the same syntax as in ~/.Xresources and can be anything the terminal emulator will support. (Example: xft:dejavu sans mono:size=9)

Application-specific font cache

Matplotlib (python-matplotlib or python2-matplotlib) uses its own font cache, so after updating fonts, be sure to remove ~/.matplotlib/fontList.cache, ~/.cache/matplotlib/fontList.cache, ~/.sage/matplotlib-1.2.1/fontList.cache, etc. so it will regenerate its cache and find the new fonts [1].

See also