envlh / dicare-tools

Tools to contribute to and gather statistics about Wikimedia projects.
https://tools.dicare.org/
GNU Affero General Public License v3.0
3 stars 4 forks source link

Lexemes challenge: support for klingon letters #12

Closed fuddl closed 9 months ago

fuddl commented 9 months ago

Currently klingon letters in the lexermes challange look like this: not working Klingon letters in lexemes challange

With a dedicated font it could look like this: Klingon letters in lexemes challange

You could simply define it as a fallback

@font-face {
  font-family: 'DIn pIqaD';
  src: url(dist/DIn pIqaD.woff);
  unicode-range: U+F8D0-F8E9,U+F8F0-F8F9,U+F8FD-F8FF;
}

body, input, select {
    font-family: "Open Sans", 'DIn pIqaD', sans-serif;
    font-size: 14px;
    background: #FFF;
}

or scope it to a specific language:

td:lang(tlh) {
   font-family: 'DIn pIqaD', monospace;
}
envlh commented 9 months ago

Thank you for the idea and the code :)

It's implemented by 80d0d33ac0d382a2791b73685c948149b3d8ef8a.