diff options
Diffstat (limited to 'docs/posts/bye_bye_BDFs/index.html')
-rw-r--r-- | docs/posts/bye_bye_BDFs/index.html | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/docs/posts/bye_bye_BDFs/index.html b/docs/posts/bye_bye_BDFs/index.html new file mode 100644 index 0000000..b191615 --- /dev/null +++ b/docs/posts/bye_bye_BDFs/index.html | |||
@@ -0,0 +1,61 @@ | |||
1 | <!DOCTYPE html> | ||
2 | <html lang="en"> | ||
3 | <head> | ||
4 | <link rel="stylesheet" href="/style.css"> | ||
5 | <meta charset="UTF-8"> | ||
6 | <meta name="viewport" content="initial-scale=1"> | ||
7 | <meta content="#ffffff" name="theme-color"> | ||
8 | <meta name="HandheldFriendly" content="true"> | ||
9 | <meta property="og:title" content="nerdypepper"> | ||
10 | <meta property="og:type" content="website"> | ||
11 | <meta property="og:description" content="a static site {for, by, about} me "> | ||
12 | <meta property="og:url" content="https://nerdypepper.tech"> | ||
13 | <body> | ||
14 | <div class="posts"> | ||
15 | <div class="post"> | ||
16 | <div class="date"> | ||
17 | 07/08 2019 | ||
18 | <span class="commit-hash"> | ||
19 | <a href="https://github.com/nerdypepper/site/blob/master/posts/bye_bye_BDFs.md | ||
20 | " style="text-decoration: none"> | ||
21 | 7f39c8d | ||
22 | </a> | ||
23 | </span> | ||
24 | </div> | ||
25 | <span class="post-title"> | ||
26 | Bye Bye BDFs | ||
27 | </span> | ||
28 | <div class="post-text"> | ||
29 | <p>Glyph Bitmap Distribution Format is no more, as the creators of | ||
30 | <a href="https://pango.org">Pango</a>, one of the most widely used text rendering | ||
31 | libraries, | ||
32 | <a href="https://blogs.gnome.org/mclasen/2019/05/25/pango-future-directions/">announced</a> | ||
33 | their plans for Pango 1.44.</p> | ||
34 | |||
35 | <p>Until recently, Pango used FreeType to draw fonts. They will be moving over | ||
36 | to <a href="https://harfbuzz.org">Harfbuzz</a>, an evolution of FreeType.</p> | ||
37 | |||
38 | <p><em>Why?</em></p> | ||
39 | |||
40 | <p>In short, FreeType was hard to work with. It required complex logic, and | ||
41 | provided no advantage over Harfbuzz (other than being able to fetch | ||
42 | opentype metrics with ease).</p> | ||
43 | |||
44 | <p>Upgrading to Pango v1.44 will break your GTK applications (if you use a | ||
45 | <code>bdf</code>/<code>pcf</code> bitmap font). Harfbuzz <em>does</em> support bitmap-only OpenType fonts, | ||
46 | <code>otb</code>s. Convert your existing fonts over to <code>otb</code>s using | ||
47 | <a href="https://fontforge.github.io">FontForge</a>. It is to be noted that applications | ||
48 | such as <code>xterm</code> and <code>rxvt</code> use <code>xft</code> (X FreeType) to render fonts, and will | ||
49 | remain unaffected by the update.</p> | ||
50 | |||
51 | <p>Both <a href="https://github.com/nerdypepper/scientifica">scientifica</a> and | ||
52 | <a href="https://github.com/nerdypepper/curie">curie</a> will soon ship with bitmap-only | ||
53 | OpenType font formats.</p> | ||
54 | |||
55 | </div> | ||
56 | <a href="/" class="post-end-link">⟵ Back</a> | ||
57 | <div class="separator"></div> | ||
58 | </div> | ||
59 | </div> | ||
60 | </body> | ||
61 | </html> | ||