XXX

fuzzy notepad

Tagged: typography

[articles] Dark corners ofĀ Unicode

Iā€™m assuming, if you are on the Internet and reading kind of a nerdy blog, that you know what Unicode is. At the very least, you have a very general understanding of it ā€” maybe ā€œitā€™s what gives usĀ emojiā€.

Thatā€™s about as far as most peopleā€™s understanding extends, in my experience, even among programmers. And thatā€™s a tragedy, because Unicode has a lot ofā€¦ ah, depth to it. Not to say that Unicode is a terrible disaster ā€” more that human language is a terrible disaster, and anything with the lofty goals of representing all of it is going to have someĀ wrinkles.

So here is a collection of curiosities Iā€™ve encountered in dealing with Unicode that you generally only find out about through experience.Ā Enjoy.

Also, I strongly recommend you install the Symbola font, which contains basic glyphs for a vast number of characters. They may not be pretty, but theyā€™re better than seeing the infamous UnicodeĀ lego.

[articles] I stared into the fontconfig, and the fontconfig stared back atĀ me

Wow! My Patreon experiment has been successful enough that Iā€™m finally obliged to write one post per month, and this is the first such post. Let us celebrate with a post about something near and dear to everyoneā€™s heart: fonts. Or rather, aboutĀ fontconfig.

fontconfig is a pretty impressive piece of work. If youā€™re on Linux, itā€™s probably the thing that picks default fonts, handles Unicode fallback, and magically notices when new fonts are installed without having to restart anything. Itā€™s invisible andĀ great.

And unfortunately once in a great while itā€™s wrong. There is no common GUI for configuring fontconfig, so youā€™re stuck manually editing XML configuration files ā€” for which the documentation isĀ atrocious.

Lucky for you, and unlucky for me, I have twice now had to delve down this rabbit hole. Here is my story, that others may be saved from thisĀ madness.