Tag Archives: Graphite

Tagāti Book G, Graphite and TeXLive 2014

I updated my operating system to Ubuntu 15.04 ‘Vivid’ the other day and ran into trouble when I tried using my Tahano Hikamu font, Tagāti Book G. The issue was that XeLaTeX would ignore Graphite as the text rendering engine for this font in spite of my explicitly declaring it:

\newfontfamily{\Tagati}[
    Renderer=Graphite,
    ...
]{Tagati Book G}

The result was that none of the diacritics were aligned correctly, since the font is not configured for OpenType to handle them:

Demonstration of the bug in fontspec-xetex.sty 2.4a
a: Rendering as expected; b: Graphite ignored

After some research, it turned out that the bug is with the file fontspec-xetex.sty.[1. On my system, the path to the file is /usr/share/texlive/texmf-dist/tex/latex/fontspec/fontspec-xetex.sty, use kpsewhere fontspec-xetex.sty to find it, otherwise.] Ubuntu 15.04 still ships with TeXLive 2014, which includes version 2.4a of it as a part of the fontspec package. In this version, there is a typo in the definition for Graphite which apparently makes it inaccessible through the Renderer option. You can read up on it in the bug report on GitHub.

Changing fontspec-xetex.sty according to the bug report and saving it under my home directory’s TeX tree at ~/texmf/tex/latex/fontspec/ to not overwrite the original file solved the issue for me. Another way to solve the issue for the time being is to include a snippet of code in your TeX file’s preamble that basically redefines the respective function.

The issue is already fixed in the latest version of the fontspec package, also in the version that’s available from CTAN, so I hope there will be an update to the fontspec package in the official Ubuntu repositories as well sometime.

Tagāti Book G Font is up for Download

Finally! After a couple of weeks of drawing characters (albeit in a rather lazy way) in February and March, and programming font features for the past couple of weeks, I decided to upload my Tahano Hikamu font to Github: https://github.com/carbeck/tagatibookg.

There’s still some things to improve, but for the most part, the font works now. Please be aware that this font uses Graphite and that not so many applications support that. Also, note that in order to use Graphite in Firefox 11+, you will need to activate it first.

The Github repository contains all files used in the making of the font so you can easily clone/download it. But if you really just want the font, you probably want to just

Download the ZIP archive

For some extra fun, here’s basically how I made it: See the video on Youtube

  • I had the ZIP file in my Dropbox ‘Public’ folder, however, Dropbox dropped support for the Public folder a while ago, so the link was broken. I fixed it now.

Some Work in Progress

I’ve been reworking my font of Tahano Hikamu since February now and also drew a hinyan version (“Tahano Hikamu Java”) completely from scratch. When I felt like toying around with these things again a couple of weeks ago, I started making the files functional with Graphite – that is, I added ways to handle diacritics and I’m currently working on getting dynamic diacritic replacement and character reordering right – this is so much easier and far less brain-twisting with pen and paper!

The whole thing is still messy and highly preliminary, which is why I won’t release any font files for download just now (please be patient). However, I’m kind of pleased with how this experiment comes along, so I wanted to share the link to my current testing page here as well and not just on Twitter.

There’s no version schedule, so it’s done when it’s done. Hopefully that won’t take too very long in spite of a pending term paper and other more important work. I’m looking forward to it, though, and so can you. 🙂