🏁 Spaces after some unicode characters are looking like unicode placeholder characters
Bug #1489360 reported by
Removed by request
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
unifont (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm using Ubuntu 15.10 dev with unifont 1:8.0.01-1 and adding spaces after some unicode characters will cause them to look like unicode placeholder characters (a square with some characters in it). An example would be the 2 byte unicode character "D83C DFC1" which is drawn as a flag and looks this: 🏁
If I'm adding a space after the flag it looks this: 🏁
But it seems some browsers are drawing the space correctly but on system components the unicode placeholder character is shown. For this reason I have also added the flag and a space at the beginning of the summary to cause it to be shown in the title of the window manager.
description: | updated |
Changed in unifont (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
I don't think this is a bug with Unifont, but with a font rendering engine. I am on the road now and just have Debian Jessie with me using Unifont8.0.01-1. I don't have Ubuntu with me but my Debian setup should be close. The Iceweasel browser on my Debian Jessie system displays this bug report just fine. I've also tried this in Firefox with the same results. In both browsers I set the default font to Unifont.
The character you mention is in an upper Unicode plane, so it is not in the "Unifont" font; it is in the "Unifont Upper" font. Both TTF files are included in the "unifont" package. If you set your default font to Unifont though, I doubt that upper-plane glyphs are being taken from "Unifont Upper" unless you specifically tell the application you are running to do that.
TrueType has a hard limit of 2^16 glyphs per font, so it was necessary to put glyphs above Unicode Plane 0 (the Basic Multilingual Plane) in a separate font file.
If you are specifying upper-plane Unicode glyphs using Unicode surrogate pairs (U+D83C, U+DFC1), that might cause problems with an application expecting UTF-8. But if you saw the flag glyph (U+01F3C1), you must have entered it correctly in your original file.
I think this bug needs to be reassigned to whatever font rendering system is involved.