snipt

Ctrl+h for KB shortcuts

Bash

Install True Type Fonts on Ubuntu

1
2
3
4
# Copy new fonts to /usr/share/fonts/truetype

# Rebuild font cache
sudo fc-cache -f
https://snipt.net/embed/3d91f3f1b8ea9e6f3d646ce5a6beb3b8/
https://snipt.net/raw/3d91f3f1b8ea9e6f3d646ce5a6beb3b8/
3d91f3f1b8ea9e6f3d646ce5a6beb3b8
bash
Bash
4
2016-09-22T04:06:10
True
False
False
Apr 29, 2013 at 10:38 PM
/api/public/snipt/60297/
install-true-type-fonts-on-ubuntu
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="c"># Copy new fonts to /usr/share/fonts/truetype</span> </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a><span class="c"># Rebuild font cache</span> </span><span id="L-4"><a name="L-4"></a>sudo <span class="nb">fc</span>-cache -f </span></pre></div> </td></tr></table>
font, ubuntu

CSS

Helvetica Neue Font Stack

font-family:"HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif; 
https://snipt.net/embed/025003aa6a3d0b493fdb290f26a41218/
https://snipt.net/raw/025003aa6a3d0b493fdb290f26a41218/
025003aa6a3d0b493fdb290f26a41218
css
CSS
1
2016-09-27T08:14:27
True
False
False
/api/public/snipt/45599/
helvetica-neue-font-stack
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a><span class="nt">font-family</span><span class="o">:</span><span class="s2">&quot;HelveticaNeue-Light&quot;</span><span class="o">,</span> <span class="s2">&quot;Helvetica Neue Light&quot;</span><span class="o">,</span> <span class="s2">&quot;Helvetica Neue&quot;</span><span class="o">,</span> <span class="nt">Helvetica</span><span class="o">,</span> <span class="nt">Arial</span><span class="o">,</span> <span class="s2">&quot;Lucida Grande&quot;</span><span class="o">,</span> <span class="nt">sans-serif</span><span class="o">;</span> </span></pre></div> </td></tr></table>
css, font, fontstack

Text only

Turn off the 'q' problem with fonts under Linux

pdf(..., useDingbats = F) 
https://snipt.net/embed/c1ddbc98f33fed3511cc1fb5bdfa29e5/
https://snipt.net/raw/c1ddbc98f33fed3511cc1fb5bdfa29e5/
c1ddbc98f33fed3511cc1fb5bdfa29e5
text
Text only
1
2016-09-27T02:26:19
True
False
False
/api/public/snipt/33747/
turn-off-the-q-problem-with-fonts-under-linux
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>pdf(..., useDingbats = F) </span></pre></div> </td></tr></table>
font, pdf, plot, r

XML

~/.fonts.conf

1
2
3
4
5
    <match target="font" >
         <edit name="embeddedbitmap" mode="assign">
             <bool>false</bool>
         </edit>
    </match>
https://snipt.net/embed/405bd944b2496e282b47c12f02d47585/
https://snipt.net/raw/405bd944b2496e282b47c12f02d47585/
405bd944b2496e282b47c12f02d47585
xml
XML
5
2016-09-27T08:17:31
True
False
False
/api/public/snipt/32840/
fontsconf-1
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a> <span class="nt">&lt;match</span> <span class="na">target=</span><span class="s">&quot;font&quot;</span> <span class="nt">&gt;</span> </span><span id="L-2"><a name="L-2"></a> <span class="nt">&lt;edit</span> <span class="na">name=</span><span class="s">&quot;embeddedbitmap&quot;</span> <span class="na">mode=</span><span class="s">&quot;assign&quot;</span><span class="nt">&gt;</span> </span><span id="L-3"><a name="L-3"></a> <span class="nt">&lt;bool&gt;</span>false<span class="nt">&lt;/bool&gt;</span> </span><span id="L-4"><a name="L-4"></a> <span class="nt">&lt;/edit&gt;</span> </span><span id="L-5"><a name="L-5"></a> <span class="nt">&lt;/match&gt;</span> </span></pre></div> </td></tr></table>
font, smoothing, ubuntu

Text only

Great programming font

Meslo LG S DZ
https://snipt.net/embed/e7fe078f06465b37ee1e3214c36d1e69/
https://snipt.net/raw/e7fe078f06465b37ee1e3214c36d1e69/
e7fe078f06465b37ee1e3214c36d1e69
text
Text only
1
2016-09-27T07:26:15
True
False
False
/api/public/snipt/30794/
great-programming-font
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span id="L-1"><a name="L-1"></a>Meslo LG S DZ </span></pre></div> </td></tr></table>
font, programming
Copyrighted, illegal, or inappropriate content? Email support@snipt.net.