Davi
Davi

Reputation: 428

Is there a font to support "made up" Unicode combining characters?

I'm trying to create a language as a world-building aspect of my project, and I have the intention of having an m with a caron above it as one of the characters in this language. I'm using WPF. I tried Segoe UI, Calibri, Cambria Math, Global Serif, Times New Roman... None of them work. Is there one which does?

Following the advice given by this answer Best way to add accent to letter? I tried this:

string result = 'm'.ToString()
result += "\u02C7";
result.Normalize();

The charon is not displayed above the m, but to its right instead, like so:

Upvotes: 1

Views: 411

Answers (1)

Sub Nemo
Sub Nemo

Reputation: 46

You need to use U+030C COMBINING CARON, not U+02C7 CARON:

string result = 'm'.ToString()
result += "\u030C";

or:

string result = "m" + "\u030C";

or simply:

string result = "m\u030C";

or directly:

string result = "m̌"; // "\u006D\u030C"

Upvotes: 3

Related Questions