Skip to content

Commit

Permalink
switch emoji font: this one isn't wavy
Browse files Browse the repository at this point in the history
  • Loading branch information
nhanb committed Oct 2, 2023
1 parent 31deae4 commit 9b2fcff
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 0 deletions.
8 changes: 8 additions & 0 deletions web/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,11 @@ Lifted from https://gwfh.mranftl.com/fonts
font-weight: 400;
src: url("./fonts/noto-color-emoji-v25-emoji-regular.woff2") format("woff2"); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

@font-face {
font-display: swap;
font-family: "Twemoji Mozilla";
font-style: normal;
font-weight: 400;
src: url("./fonts/Twemoji.Mozilla.ttf") format("ttf");
}
53 changes: 53 additions & 0 deletions web/fonts/Twemoji.Mozilla.license.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
Twemoji.Mozilla.ttf was downloaded from
https://github.com/mozilla/twemoji-colr/releases/tag/v0.7.0

## License for the Code

Copyright 2016-2018, Mozilla Foundation

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.



## License for the Visual Design

The Emoji art in the twe-svg.zip archive comes from [Twemoji](https://twitter.github.io/twemoji),
and is used and redistributed under the CC-BY-4.0 [license terms](https://github.com/twitter/twemoji#license)
offered by the Twemoji project.

### Creative Commons Attribution 4.0 International (CC BY 4.0)
https://creativecommons.org/licenses/by/4.0/legalcode
or for the human readable summary: https://creativecommons.org/licenses/by/4.0/


#### You are free to:
**Share** — copy and redistribute the material in any medium or format

**Adapt** — remix, transform, and build upon the material for any purpose, even commercially.

The licensor cannot revoke these freedoms as long as you follow the license terms.


#### Under the following terms:
**Attribution** — You must give appropriate credit, provide a link to the license,
and indicate if changes were made.
You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

**No additional restrictions** — You may not apply legal terms or **technological measures**
that legally restrict others from doing anything the license permits.

#### Notices:
You do not have to comply with the license for elements of the material in the public domain
or where your use is permitted by an applicable exception or limitation. No warranties are given.
The license may not give you all of the permissions necessary for your intended use.
For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.
Binary file added web/fonts/Twemoji.Mozilla.ttf
Binary file not shown.
5 changes: 5 additions & 0 deletions web/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,14 @@ body {

#p1country,
#p2country {
/*
font-family: "Noto Color Emoji";
font-size: 1.8em;
top: 8px;
*/
font-family: "Twemoji Mozilla";
font-size: 2.2em;
top: 8px;
}

#p1country {
Expand Down

0 comments on commit 9b2fcff

Please sign in to comment.