Page MenuHomeWildfire Games

3 → ȝ ; ‘ and ’ → ʿ
ClosedPublic

Authored by Nescio on Feb 7 2020, 11:07 PM.

Details

Summary

This patch replaces the 3 (three, a digit) with a ȝ (yogh, a letter) and the ‘ and ’ (quotation marks) with a ʿ (ayin, a letter) in the Kushite specific names, because it looks better, and for consistency.
The specialist transliteration symbol are actually:
U+A722 Ꜣ LATIN CAPITAL LETTER EGYPTOLOGICAL ALEF
U+A723 ꜣ LATIN SMALL LETTER EGYPTOLOGICAL ALEF
U+A724 Ꜥ LATIN CAPITAL LETTER EGYPTOLOGICAL AIN
U+A725 ꜥ LATIN SMALL LETTER EGYPTOLOGICAL AIN
However, those do not exist in the game's font, the yogh and ayin do.

As for the other letters in the specific names, there is a difference between ı͗, j, and y; h, ḥ, ḫ, and ẖ; z, s, ś, and š; ḳ and k; t and ṯ; d and ḏ, but it's hard to determine which one is which without the originals.
The aleph and ayin are at least unambiguous.

Test Plan

Agree this is an improvement.

Diff Detail

Repository
rP 0 A.D. Public Repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Nescio created this revision.Feb 7 2020, 11:07 PM

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1727/display/redirect

Stan accepted this revision.Feb 9 2020, 7:40 PM
This revision is now accepted and ready to land.Feb 9 2020, 7:40 PM
Stan added a comment.Feb 9 2020, 7:41 PM

That's sad the correct symbol does not exist in the game's font though... I assume there isn't much we can do about that...

That's sad the correct symbol does not exist in the game's font though... I assume there isn't much we can do about that...

There is nothing wrong with the yogh, it is used in many publications. U+A723 is relatively new. If one really wants it, one could consider adding another font that has the character (e.g. Charis SIL, DejaVu Serif, Doulos SIL, Gentium Plus, Liberation Serif) or let 0 A.D. use font files directly (e.g. with pango) rather than as rendered images. However, that's a lot of work and far beyond the scope of this patch.

Nescio updated this revision to Diff 11318.Feb 10 2020, 10:17 AM
Nescio retitled this revision from 3 → ȝ to 3 → ȝ ; ‘ and ’ → ʿ.
Nescio edited the summary of this revision. (Show Details)

Also replace quotation marks with proper ayin.

Nescio edited the summary of this revision. (Show Details)Feb 10 2020, 10:20 AM

Successful build - Chance fights ever on the side of the prudent.

Link to build: https://jenkins.wildfiregames.com/job/docker-differential/1744/display/redirect

Added in Unicode 5.1 (April 2008):

U+A722 Ꜣ LATIN CAPITAL LETTER EGYPTOLOGICAL ALEF
U+A723 ꜣ LATIN SMALL LETTER EGYPTOLOGICAL ALEF
U+A724 Ꜥ LATIN CAPITAL LETTER EGYPTOLOGICAL AIN
U+A725 ꜥ LATIN SMALL LETTER EGYPTOLOGICAL AIN

Added in Unicode 12.0 (March 2019):

U+A7BA Ꞻ LATIN CAPITAL LETTER GLOTTAL A
U+A7BB ꞻ LATIN SMALL LETTER GLOTTAL A
U+A7BC Ꞽ LATIN CAPITAL LETTER GLOTTAL I
U+A7BD ꞽ LATIN SMALL LETTER GLOTTAL I
U+A7BE Ꞿ LATIN CAPITAL LETTER GLOTTAL U
U+A7BF ꞿ LATIN SMALL LETTER GLOTTAL U

0 A.D.'s default fonts (Linux Biolinum and FreeSans) support none of the above. Gentium Plus and FreeSerif support the first four but not the last six. The only font I know of that supports all of them is New Athena Unicode.

Stan added a comment.Mar 7 2020, 3:49 PM

.Are there any fonts we could fall back to which have those special chars? As far as I understand it we specify multiple fonts to add characters we might be missing. Adding another one that fits with the current one would allow us to not have to use this hack.

Are there any fonts we could fall back to which have those special chars?

As stated above, New Athena Unicode. However, that is a serif font visibly different from the sans-serif game font, Linux Biolinum:

Adding another one that fits with the current one would allow us to not have to use this hack.

It's not a hack, it's a valid transliteration scheme: https://www.ifao.egnet.net/publications/outils/polices/ under “Système de translittération des hiéroglyphes et de l'arabe”.
In a perfect world 0 A.D.'s transliteration would use the newest unicode characters, but since those were introduced only a year ago, hardly any fonts support them.

Stan accepted this revision.Mar 8 2020, 11:27 AM

No sans serif font supports it?

It's not a hack, it's a valid transliteration scheme: https://www.ifao.egnet.net/publications/outils/polices/ under “Système de translittération des hiéroglyphes et de l'arabe”.
In a perfect world 0 A.D.'s transliteration would use the newest unicode characters, but since those were introduced only a year ago, hardly any fonts support them.

Alright then

Owners added a subscriber: Restricted Owners Package.Mar 8 2020, 11:30 AM

Owners added a subscriber: O11: Templates (Balancing).Sun, Mar 8, 11:30

?

Stan added a comment.Mar 8 2020, 11:40 AM

Owners added a subscriber: O11: Templates (Balancing).Sun, Mar 8, 11:30

?

It changed templates :D

It changed templates :D

It doesn't change balance.