Fonts: Difference between revisions
Add ref to askubuntu |
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight" |
||
| Line 56: | Line 56: | ||
* ubuntustudio-fonts (collection to help with graphic design, including non-free and jsMath, etc.) | * ubuntustudio-fonts (collection to help with graphic design, including non-free and jsMath, etc.) | ||
You can install all these fonts with | You can install all these fonts with | ||
< | <syntaxhighlight lang="bash">sudo apt-get update && sudo apt-get install ttf-mscorefonts-installer edubuntu-fonts fonts-font-awesome fonts-octicons fonts-hack-otf fonts-hack-ttf fonts-hack-web fonts-oxygen ubuntustudio-fonts</syntaxhighlight> | ||
| Line 75: | Line 75: | ||
You can download it from https://arkandis.tuxfamily.org/adffonts.html. If you're running Linux, it's probably already included in your distribution, and installed by default. If it's not installed, you can simply: | You can download it from https://arkandis.tuxfamily.org/adffonts.html. If you're running Linux, it's probably already included in your distribution, and installed by default. If it's not installed, you can simply: | ||
< | <syntaxhighlight lang="bash">sudo apt-get install ttf-adf-gillius</syntaxhighlight> | ||
You actually end up with quite a few files due to the fact that there is a Number 2 and each comes in every combination of Regular, Condensed, Bold and Italics | You actually end up with quite a few files due to the fact that there is a Number 2 and each comes in every combination of Regular, Condensed, Bold and Italics | ||
| Line 100: | Line 100: | ||
==== CSS ==== | ==== CSS ==== | ||
< | <syntaxhighlight lang="css"> | ||
/** Declare the @font-face rules */ | /** Declare the @font-face rules */ | ||
@font-face { | @font-face { | ||
| Line 115: | Line 115: | ||
font-family: gillius-adf; | font-family: gillius-adf; | ||
} | } | ||
</ | </syntaxhighlight> | ||
Now with either <pre> | Now with either <pre> | ||