Jump to content

Derani: Difference between revisions

501 bytes added ,  17:18, 25 February 2023
like wikipedia https://en.wikipedia.org/wiki/Whitespace_character
m (Reverted edits by Uakci (talk) to last revision by Loekıa)
Tag: Rollback
(like wikipedia https://en.wikipedia.org/wiki/Whitespace_character)
 
(6 intermediate revisions by 3 users not shown)
Line 262: Line 262:
|{{derani|󱚻}}||DERANI LETTER RAIRUA
|{{derani|󱚻}}||DERANI LETTER RAIRUA
|{{derani|◌󱛋}}||DERANI COMBINING LOW GLOTTAL TONE
|{{derani|◌󱛋}}||DERANI COMBINING LOW GLOTTAL TONE
|{{derani|󱛛}}
|<span style="background-color:teal">{{derani|󱛛}}</span>||DERANI COMPATIBILITY NON-BREAKING SPACE
|DERANI COMPATIBILITY NON-BREAKING SPACE
|-
|-
!C
!C
Line 289: 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.
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==
Line 300: Line 299:
*'''(#3)''' Open Discord, then open the custom CSS dialog (in the case of Better Discord, go to ⚙ ⊳ Custom CSS), and there copy-paste the following:
*'''(#3)''' Open Discord, then open the custom CSS dialog (in the case of Better Discord, go to ⚙ ⊳ Custom CSS), and there copy-paste the following:
<pre>
<pre>
@font-face {
  font-family: 'Derani';
  font-weight: 600;
  src: local('Derani');
}
* {
* {
    --font-primary: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif, 'Derani' !important;
  --font-primary: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif, 'Derani' !important;
    --font-display: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif, 'Derani' !important;
  --font-display: "gg sans", "Noto Sans", "Helvetica Neue", Helvetica, Arial, sans-serif, 'Derani' !important;
  --font-headline: "ABC Ginto Nord","Noto Sans","Helvetica Neue",Helvetica,Arial,sans-serif, 'Derani' !important;
  --font-code: Consolas,"Andale Mono WT","Andale Mono","Lucida Console","Lucida Sans Typewriter","DejaVu Sans Mono","Bitstream Vera Sans Mono","Liberation Mono","Nimbus Mono L",Monaco,"Courier New",Courier,monospace,'Derani' !important
}
}


[id^="message-content-"], [class^="username-"] {
[id^="message-content-"], [class^="username-"] {
    line-height: normal;
  line-height: normal;
}
}
</pre>
</pre>
Line 312: Line 319:


*'''(#4)''' Kill Discord, then restart it (doing Ctrl+R is apparently not enough; merely closing the application may not necessarily be sufficient).
*'''(#4)''' Kill Discord, then restart it (doing Ctrl+R is apparently not enough; merely closing the application may not necessarily be sufficient).
==External links==
==External links==


*[https://toaq.net/refgram/orthography/#derani Refgram: Derani]
*[https://toaq.net/refgram/orthography/#derani Refgram: Derani]