Page 1 of 1
Combining Unicode Chrs
Posted: Sun Aug 09, 2020 4:46 pm
by Mike Olds
Hello,
I am using Courier New as my default font. I notice that there are some Unicode combining characters that do not display properly, for example the "r" with ring below: "r̥ " which I see does not display properly here either - it should be a ring, not a dot and it should be centered under the "r". (In Courier New it is a ring).
But in the search dialog box it does display properly. (These characters do display properly when viewed through the browser.)
I did some reding and this is a characteristic of some fonts (apparently Courier New).
The question is: What is the font being used in Search, that I might switch to that for regular use?
Posted: Sun Aug 09, 2020 8:02 pm
by ben_josephs
It displays correctly in my browser and in TextPad. I don't know which font is used in the Search text entry box. I use Lucida Console.
Posted: Sun Aug 09, 2020 8:10 pm
by Mike Olds
Hello Ben,
Are you using Courier New?
The character displays properly in browsers. This is a known issue with some fonts. It is the problem of the font. Supposedly.
And how (what keystrokes) did you use to input the character?
Posted: Sun Aug 09, 2020 10:24 pm
by ben_josephs
No, I use Lucida Console.
I copied and pasted your text into the editor.
Posted: Sun Aug 09, 2020 11:21 pm
by Mike Olds
Hello Ben,
That explains your results. This is a font specific problem.
I can't use Lucida Console as I need a monospaced font.
Posted: Sun Aug 09, 2020 11:57 pm
by AmigoJack
"Courier New" only supports few combining characters. What you get is simply the outcome of not supporting the combination. Keep in mind that fonts have different versions, i.e. version 5.11 does what you see: not support the ring combination (go to the folder C:\Windows\Fonts, then double click on "Courier New", then show properties for i.e. Standard to see the version).
"Lucida Console"
is a monospace font - what makes you think it is not?
The font in the search dialog depends on your Windows settings/version and is merely the default font you see for everything else, too (all window titles, all window menus, all button captions, all dialog texts...). In older Windows versions it used to be "Tahoma", since Vista it is "Segoe". Tahoma as of version 5.22 (year 2014) displays your text correctly.
In case you want to abandon "Courier New" and install a monospace font that has more to offer have a read on
https://stackoverflow.com/questions/193 ... icode-font - i.e. "Everson Mono" and "GNU FreeMono" look promising, while i.e. "GNU Unifont" explicitly says combining characters are almost never supported.
Further reading:
Posted: Mon Aug 10, 2020 11:21 am
by Mike Olds
Hello Amigo,
I only took a quick look at Lucida Console. My mistake.
I have read most of the links you provided. Very helpful, thank you.
Currently I appear to be using Courier New Version 5.12. There is a version 5.13, but the places where one can download the font do not seem to specify version.
Anyway a lot of good information to think about.