by smegel ยท 10y ago ยท 0 comments
Surely not every font has to create glyphs for every Unicode character...how does that work? Is there a kind of "fall-back" font for characters not implemented?
A result of this is that if you ask for a character such as "๐ด" (U+13034 EGYPTIAN HIEROGLYPH A044) in a monospace font, the symbol you get back can be variable width.
Many other unicode symbols also suffer from this problem. E.g. โ is the printable version of the unprintable NUL (\0) control character, but it's so small at 13.3px / 10pt CSS font size that it's difficult to distinguish from the other control pictures.
โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โ โก
How those look on display w/o pixel scaling: https://i.imgur.com/lAAyjXu.png
(M-x ucs-insert FDFD)
http://i.imgur.com/kKfLYgx.jpg
Interestingly in Safari the hieroglyph is shown (still small though), I wonder why Chrome can't find it?
What browser/os are you using? Is it possible you're going through a proxy that is altering the HTTP headers?
[0] http://www.fileformat.info/info/unicode/char/2660/index.htm [1] http://www.fileformat.info/info/unicode/char/2406/index.htm
The basic problem is that Unicode characters (which may consist of as many codepoints as you like) have varying width. For instance Chinese has characters that are displayed over a width of two normal monospace characters.
See this hacker news post: https://news.ycombinator.com/item?id=10206380
So the problem with emojis is that they aren't really specified to be full width or half width characters: https://ianrenton.com/blog/adventures-in-emoji/
013
034
OSX 10.11.4
Not always true though, and can depend on the application using the right system calls for rendering text (for example).