Fonts: Difference between revisions

add resource and installation info
No edit summary
Line 31: Line 31:
** <code>apt-cache search "((otf|ttf)-)|(woff)"</code>
** <code>apt-cache search "((otf|ttf)-)|(woff)"</code>
** <code>apt-cache search "woff" --full</code> shows same results as <code>apt-cache show</code> for each found package
** <code>apt-cache search "woff" --full</code> shows same results as <code>apt-cache show</code> for each found package
=== Freely licensed Fonts ===


# The [https://fedorahosted.org/liberation-fonts/ Liberation Fonts], initially released in 2007, is a font family which aims at metric compatibility with '''Arial, Times New Roman, and Courier New'''. It is sponsored by [[Red Hat]].  They are included in most Linux distributions.
# The [https://fedorahosted.org/liberation-fonts/ Liberation Fonts], initially released in 2007, is a font family which aims at metric compatibility with '''Arial, Times New Roman, and Courier New'''. It is sponsored by [[Red Hat]].  They are included in most Linux distributions.
Line 65: Line 67:


== Embedding Fonts ==
== Embedding Fonts ==
The so-called 'Web Safe Fonts' (meaning those installed by a majority of operating system variants) is pretty boring.  The list is essentially Sans-serif: Arial, Tahoma, Verdana; Serif: Palatino, Times new Roman; Monospaced: Courier New <ref>http://www.cssfontstack.com/</ref>.  If you want to move beyond those fonts and still provide the same look to 90-100% of your website visitors then you will need to "embed" the fonts in your website.  It's great to have free fonts because you have the distribution rights. The problem with using free fonts on your webpage is that some people don't use a free operating system, and won't have the free fonts installed.  You can use a service like [https://fonts.google.com/ Google Fonts] if they offer the font you want to use.  Google doesn't offer Gillius or Linux Libertine.
The so-called 'Web Safe Fonts' (meaning those installed by a majority of operating system variants) is pretty boring.  The list is essentially Sans-serif: Arial, Tahoma, Verdana; Serif: Palatino, Times new Roman; Monospaced: Courier New <ref>http://www.cssfontstack.com/</ref>.  If you want to move beyond those fonts and still provide the same look to 90-100% of your website visitors then you will need to "embed" the fonts in your website.  It's great to have free fonts because you have the distribution rights. The problem with using free fonts on your webpage is that some people don't use a free operating system, and won't have the free fonts installed.  You can use a service like [https://fonts.google.com/ Google Fonts] if they offer the font you want to use.  Google doesn't offer Gillius or Linux Libertine. Also, using a third-party server, although convenient, comes with costs or disadvantages (e.g. privacy). Since embedding fonts is easy to do, why not just create an obedient and faithful server which has the fonts?  We'll give an example using '''Gillius ADF'''


Note that many font technologies have come and gone (TrueType, OpenType, etc.). The latest standard (2012) is '[https://developer.mozilla.org/en-US/docs/Web/Guide/WOFF WOFF]' (and WOFF File Format 2.0 March 2016) developed by the Mozilla Foundation. It's where all the browsers are.
Note that many font technologies have come and gone (TrueType, OpenType, etc.). The latest standard (2012) is '[https://developer.mozilla.org/en-US/docs/Web/Guide/WOFF WOFF]' (and WOFF File Format 2.0 March 2016) developed by the Mozilla Foundation. It's where all the browsers are.
Line 72: Line 74:
Gillius comes from the Arkandis Digital Foundry (ADF).  A nice page to see the font in action, with all it's variants is at http://www.1001fonts.com/gillius-adf-font.html
Gillius comes from the Arkandis Digital Foundry (ADF).  A nice page to see the font in action, with all it's variants is at http://www.1001fonts.com/gillius-adf-font.html


==== Downloads / Installation ====
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:
<source lang="bash">sudo apt-get install ttf-adf-gillius</source>
<source lang="bash">sudo apt-get install ttf-adf-gillius</source>