Category «Uncategorized»

Fixing a PDF Bug: Part 2

So I previously wrote about my difficulties with the Linux Libertine font in PDF files being displayed by the PDF.js viewer. The brief overview is this: PDF files using the Linux Libertine font, as compiled by XeTeX on OS X and displayed in PDF.js via Firefox, will have ligatures show up as various incorrect characters, …

Fixing a Complicated PDF Bug

UPDATE: I have a new and improved solution described here. I am generating PDF files using the Linux Libertine fonts and XeTeX. When I view the files with an ordinary PDF reader, they appear fine. However, when I open them with the PDF.js viewer built into Firefox, the ligatures appear as odd foreign characters.

How XeTeX Selects Bold Fonts

I’ve been using the Linux Libertine fonts with XeTeX for several months now, and while they look beautiful, they for some reason tend to trigger odd quirks about just about every aspect of the typesetting system. One that I’ve been dealing with: the font comes in regular, semibold, and bold weights, but by default XeTeX …

Symlinked MySQL Configuration File Problem

Say you are me and you are updating your MySQL configuration. Say that, for purposes of backup and version control, you replace /etc/mysql/my.cnf with a symlink. Say you stop MySQL and start it up again, and you receive a failure message. You might venture to look at the service startup log file, perhaps /var/log/upstart/mysql.log. You …

Renewing a StartSSL Certificate

My SSL certificate signer is StartSSL. Their free certificates are valid for one year. This is how I renew my certificates. Log in using my personal certificate. A copy is in my scans folder. Use the Validations Wizard to validate the domain name (it just sends an email with a code). Generate a certificate signing …