Derani: Difference between revisions

689 bytes added ,  23:38, 1 January 2023
Add a compatibility non-breaking space
(Make CSS work with non-English language settings)
(Add a compatibility non-breaking space)
Line 262: Line 262:
|{{derani|󱚻}}||DERANI LETTER RAIRUA
|{{derani|󱚻}}||DERANI LETTER RAIRUA
|{{derani|◌󱛋}}||DERANI COMBINING LOW GLOTTAL TONE
|{{derani|◌󱛋}}||DERANI COMBINING LOW GLOTTAL TONE
| colspan="2" |
|{{derani|󱛛}}
|DERANI COMPATIBILITY NON-BREAKING SPACE
|-
|-
!C
!C
Line 287: Line 288:


The encoding has separate characters for the start and end of a cartouche. This is because cartouches can span across more than one word, so fonts need both ends delineated to know which letters they extend over.
The encoding has separate characters for the start and end of a cartouche. This is because cartouches can span across more than one word, so fonts need both ends delineated to know which letters they extend over.
Some software, including Firefox, Chrome, and Discord, has a tendency to switch back to a font without Derani support whenever it encounters a space. If a space appears inside a cartouche, as in the phrase {{Derani|󱛘󱛀󱛊󱚲 󱛓󱚰󱚺󱛎󱚹󱛓󱛙}}, the change in fonts prevents the cartouche from connecting all the way. As a workaround, a "compatibility non-breaking space" is provided which functions the same as a non-breaking space, with the difference that only fonts with Derani support will recognize it. It should only be used inside cartouches, and should be avoided in environments with more intelligent font selection.


==Displaying Derani on Discord==
==Displaying Derani on Discord==