Raku / doc

🦋 Raku documentation
https://docs.raku.org/
Artistic License 2.0
286 stars 293 forks source link

Seeing all Unicode glyphs / characters #4296

Open finanalyst opened 1 year ago

finanalyst commented 1 year ago

Problem or new feature

Some standard distributions have installed fonts that do not contain all Unicode glyphs. For example, after a fresh installation of Ubuntu Linux, my terminal would not render (try running raku -e 'say "\x2a76 ", "\x2a76".uninames' ) correctly. I solved this by installing a font that aims to have all Unicode glyphs GNU unifont v15. By installing the font as the monospace system default, the browser also produced the glyph.

Suggestions

Add text to one or more documentation files that mentions this problem and a solution. I suggest the GNU font, but maybe there is a better solution, or one that is more OS neutral.

There are two documents on Unicode Entering unicode characters and Unicode but neither mention seeing all unicode glyphs. Perhaps also a note in About the docs

patrickbkr commented 1 year ago

Which OS are you using? By my experience most end-user Linux distributions, Windows and MacOS come preinstalled with a suitable set of fonts. In the explanation it might make sense to be specific in which constellation this problem typically comes up.

finanalyst commented 1 year ago

@patrickbkr I was using a very recent vanilla Ubuntu distribution. Most Unicode glyphs were installed, but not the one cited above. A note that not all glyphs are available sometimes, and a fix.