From 1c549325f938d1ad7bdae9f9a0c122754723dbad Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Thu, 8 Oct 2026 19:34:49 +0200 Subject: [PATCH] Generate the Twemoji colour font, build Emoji.asset and route TMP's emoji fallback to it Assets/Fonts/Emoji/Twemoji.ttf is fetch_emoji_font.py's output for jdecked/twemoji v17.0.3 (nanoemoji 0.16.0, glyf_colr_0), reproduced bit-identically by two independent runs on Yggdrasil; the lock pins source and font sha256. EmojiFont.Build wrote Emoji.asset (dynamic, COLOR, multi-atlas) and TMP Settings' emoji fallback list, global fallback entry and empty default sprite asset. EmojiCheck.Run: 1425 single code points and the eight Pirates names render with no missing code point. CC BY 4.0 attribution ships in Assets/Fonts/Emoji/LICENSE.txt. Builds. Co-Authored-By: Claude Opus 5.5 --- Assets/Fonts/Emoji.meta | 8 + Assets/Fonts/Emoji/Emoji.asset | 3 + Assets/Fonts/Emoji/Emoji.asset.meta | 8 + Assets/Fonts/Emoji/LICENSE.txt | 410 +++++ Assets/Fonts/Emoji/LICENSE.txt.meta | 7 + Assets/Fonts/Emoji/Twemoji.ttf | 3 + Assets/Fonts/Emoji/Twemoji.ttf.meta | 21 + Assets/Fonts/Emoji/emoji-font.lock | 14 + Assets/Fonts/Emoji/emoji-font.lock.meta | 7 + Assets/Scripts/Editor/EmojiCheck.cs | 5 +- Assets/Scripts/Editor/EmojiFont.cs | 4 +- .../TextMesh Pro/Resources/TMP Settings.asset | 4 +- tools/emoji/emoji-singles.txt | 1425 +++++++++++++++++ 13 files changed, 1915 insertions(+), 4 deletions(-) create mode 100644 Assets/Fonts/Emoji.meta create mode 100644 Assets/Fonts/Emoji/Emoji.asset create mode 100644 Assets/Fonts/Emoji/Emoji.asset.meta create mode 100644 Assets/Fonts/Emoji/LICENSE.txt create mode 100644 Assets/Fonts/Emoji/LICENSE.txt.meta create mode 100644 Assets/Fonts/Emoji/Twemoji.ttf create mode 100644 Assets/Fonts/Emoji/Twemoji.ttf.meta create mode 100644 Assets/Fonts/Emoji/emoji-font.lock create mode 100644 Assets/Fonts/Emoji/emoji-font.lock.meta create mode 100644 tools/emoji/emoji-singles.txt diff --git a/Assets/Fonts/Emoji.meta b/Assets/Fonts/Emoji.meta new file mode 100644 index 000000000..442fb19cd --- /dev/null +++ b/Assets/Fonts/Emoji.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 5e0ef88f85924e146855ca7bb57bbdb6 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fonts/Emoji/Emoji.asset b/Assets/Fonts/Emoji/Emoji.asset new file mode 100644 index 000000000..b37478ebd --- /dev/null +++ b/Assets/Fonts/Emoji/Emoji.asset @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0da0ff045c78def703de64f1c79a0f6c0842985e21c261b165ada948dc726b1e +size 5791 diff --git a/Assets/Fonts/Emoji/Emoji.asset.meta b/Assets/Fonts/Emoji/Emoji.asset.meta new file mode 100644 index 000000000..f89bc04be --- /dev/null +++ b/Assets/Fonts/Emoji/Emoji.asset.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 4cbb1005dc560d54ba85c3d091dbe30b +NativeFormatImporter: + externalObjects: {} + mainObjectFileID: 11400000 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fonts/Emoji/LICENSE.txt b/Assets/Fonts/Emoji/LICENSE.txt new file mode 100644 index 000000000..db961e007 --- /dev/null +++ b/Assets/Fonts/Emoji/LICENSE.txt @@ -0,0 +1,410 @@ +Twemoji v17.0.3: https://github.com/jdecked/twemoji/archive/refs/tags/v17.0.3.tar.gz +Copyright (c) 2022–present Jason Sofonia & Justine De Caires +Copyright (c) 2014–2021 Twitter +Graphics licensed under CC-BY 4.0: + +Change notice (CC BY 4.0 section 3(a)(1)(B)): the SVG graphics are converted to a COLRv0 colour +font (Twemoji.ttf) by tools/emoji/fetch_emoji_font.py using nanoemoji. No artwork is edited. + +Attribution Requirements (upstream README) + +As an open source project, attribution is critical from a legal, practical and motivational perspective in our opinion. The graphics are licensed under the CC-BY 4.0 which has a pretty good guide on [best practices for attribution](https://wiki.creativecommons.org/Best_practices_for_attribution). + +However, we consider the guide a bit onerous and as a project, will accept a mention in a project README or an 'About' section or footer on a website. In mobile applications, a common place would be in the Settings/About section (for example, see the mobile Twitter application Settings->About->Legal section). We would consider a mention in the HTML/JS source sufficient also. + +LICENSE-GRAPHICS (upstream, verbatim) +======================================================================= + +Attribution 4.0 International + +======================================================================= + +Creative Commons Corporation ("Creative Commons") is not a law firm and +does not provide legal services or legal advice. Distribution of +Creative Commons public licenses does not create a lawyer-client or +other relationship. Creative Commons makes its licenses and related +information available on an "as-is" basis. Creative Commons gives no +warranties regarding its licenses, any material licensed under their +terms and conditions, or any related information. Creative Commons +disclaims all liability for damages resulting from their use to the +fullest extent possible. + +Using Creative Commons Public Licenses + +Creative Commons public licenses provide a standard set of terms and +conditions that creators and other rights holders may use to share +original works of authorship and other material subject to copyright +and certain other rights specified in the public license below. The +following considerations are for informational purposes only, are not +exhaustive, and do not form part of our licenses. + + Considerations for licensors: Our public licenses are + intended for use by those authorized to give the public + permission to use material in ways otherwise restricted by + copyright and certain other rights. Our licenses are + irrevocable. Licensors should read and understand the terms + and conditions of the license they choose before applying it. + Licensors should also secure all rights necessary before + applying our licenses so that the public can reuse the + material as expected. Licensors should clearly mark any + material not subject to the license. This includes other CC- + licensed material, or material used under an exception or + limitation to copyright. More considerations for licensors: + wiki.creativecommons.org/Considerations_for_licensors + + Considerations for the public: By using one of our public + licenses, a licensor grants the public permission to use the + licensed material under specified terms and conditions. If + the licensor's permission is not necessary for any reason--for + example, because of any applicable exception or limitation to + copyright--then that use is not regulated by the license. Our + licenses grant only permissions under copyright and certain + other rights that a licensor has authority to grant. Use of + the licensed material may still be restricted for other + reasons, including because others have copyright or other + rights in the material. A licensor may make special requests, + such as asking that all changes be marked or described. + Although not required by our licenses, you are encouraged to + respect those requests where reasonable. More_considerations + for the public: + wiki.creativecommons.org/Considerations_for_licensees + +======================================================================= + +Creative Commons Attribution 4.0 International Public License + +By exercising the Licensed Rights (defined below), You accept and agree +to be bound by the terms and conditions of this Creative Commons +Attribution 4.0 International Public License ("Public License"). To the +extent this Public License may be interpreted as a contract, You are +granted the Licensed Rights in consideration of Your acceptance of +these terms and conditions, and the Licensor grants You such rights in +consideration of benefits the Licensor receives from making the +Licensed Material available under these terms and conditions. + + +Section 1 -- Definitions. + + a. Adapted Material means material subject to Copyright and Similar + Rights that is derived from or based upon the Licensed Material + and in which the Licensed Material is translated, altered, + arranged, transformed, or otherwise modified in a manner requiring + permission under the Copyright and Similar Rights held by the + Licensor. For purposes of this Public License, where the Licensed + Material is a musical work, performance, or sound recording, + Adapted Material is always produced where the Licensed Material is + synched in timed relation with a moving image. + + b. Adapter's License means the license You apply to Your Copyright + and Similar Rights in Your contributions to Adapted Material in + accordance with the terms and conditions of this Public License. + + c. Copyright and Similar Rights means copyright and/or similar rights + closely related to copyright including, without limitation, + performance, broadcast, sound recording, and Sui Generis Database + Rights, without regard to how the rights are labeled or + categorized. For purposes of this Public License, the rights + specified in Section 2(b)(1)-(2) are not Copyright and Similar + Rights. + + d. Effective Technological Measures means those measures that, in the + absence of proper authority, may not be circumvented under laws + fulfilling obligations under Article 11 of the WIPO Copyright + Treaty adopted on December 20, 1996, and/or similar international + agreements. + + e. Exceptions and Limitations means fair use, fair dealing, and/or + any other exception or limitation to Copyright and Similar Rights + that applies to Your use of the Licensed Material. + + f. Licensed Material means the artistic or literary work, database, + or other material to which the Licensor applied this Public + License. + + g. Licensed Rights means the rights granted to You subject to the + terms and conditions of this Public License, which are limited to + all Copyright and Similar Rights that apply to Your use of the + Licensed Material and that the Licensor has authority to license. + + h. Licensor means the individual(s) or entity(ies) granting rights + under this Public License. + + i. Share means to provide material to the public by any means or + process that requires permission under the Licensed Rights, such + as reproduction, public display, public performance, distribution, + dissemination, communication, or importation, and to make material + available to the public including in ways that members of the + public may access the material from a place and at a time + individually chosen by them. + + j. Sui Generis Database Rights means rights other than copyright + resulting from Directive 96/9/EC of the European Parliament and of + the Council of 11 March 1996 on the legal protection of databases, + as amended and/or succeeded, as well as other essentially + equivalent rights anywhere in the world. + + k. You means the individual or entity exercising the Licensed Rights + under this Public License. Your has a corresponding meaning. + + +Section 2 -- Scope. + + a. License grant. + + 1. Subject to the terms and conditions of this Public License, + the Licensor hereby grants You a worldwide, royalty-free, + non-sublicensable, non-exclusive, irrevocable license to + exercise the Licensed Rights in the Licensed Material to: + + a. reproduce and Share the Licensed Material, in whole or + in part; and + + b. produce, reproduce, and Share Adapted Material. + + 2. Exceptions and Limitations. For the avoidance of doubt, where + Exceptions and Limitations apply to Your use, this Public + License does not apply, and You do not need to comply with + its terms and conditions. + + 3. Term. The term of this Public License is specified in Section + 6(a). + + 4. Media and formats; technical modifications allowed. The + Licensor authorizes You to exercise the Licensed Rights in + all media and formats whether now known or hereafter created, + and to make technical modifications necessary to do so. The + Licensor waives and/or agrees not to assert any right or + authority to forbid You from making technical modifications + necessary to exercise the Licensed Rights, including + technical modifications necessary to circumvent Effective + Technological Measures. For purposes of this Public License, + simply making modifications authorized by this Section 2(a) + (4) never produces Adapted Material. + + 5. Downstream recipients. + + a. Offer from the Licensor -- Licensed Material. Every + recipient of the Licensed Material automatically + receives an offer from the Licensor to exercise the + Licensed Rights under the terms and conditions of this + Public License. + + b. No downstream restrictions. You may not offer or impose + any additional or different terms or conditions on, or + apply any Effective Technological Measures to, the + Licensed Material if doing so restricts exercise of the + Licensed Rights by any recipient of the Licensed + Material. + + 6. No endorsement. Nothing in this Public License constitutes or + may be construed as permission to assert or imply that You + are, or that Your use of the Licensed Material is, connected + with, or sponsored, endorsed, or granted official status by, + the Licensor or others designated to receive attribution as + provided in Section 3(a)(1)(A)(i). + + b. Other rights. + + 1. Moral rights, such as the right of integrity, are not + licensed under this Public License, nor are publicity, + privacy, and/or other similar personality rights; however, to + the extent possible, the Licensor waives and/or agrees not to + assert any such rights held by the Licensor to the limited + extent necessary to allow You to exercise the Licensed + Rights, but not otherwise. + + 2. Patent and trademark rights are not licensed under this + Public License. + + 3. To the extent possible, the Licensor waives any right to + collect royalties from You for the exercise of the Licensed + Rights, whether directly or through a collecting society + under any voluntary or waivable statutory or compulsory + licensing scheme. In all other cases the Licensor expressly + reserves any right to collect such royalties. + + +Section 3 -- License Conditions. + +Your exercise of the Licensed Rights is expressly made subject to the +following conditions. + + a. Attribution. + + 1. If You Share the Licensed Material (including in modified + form), You must: + + a. retain the following if it is supplied by the Licensor + with the Licensed Material: + + i. identification of the creator(s) of the Licensed + Material and any others designated to receive + attribution, in any reasonable manner requested by + the Licensor (including by pseudonym if + designated); + + ii. a copyright notice; + + iii. a notice that refers to this Public License; + + iv. a notice that refers to the disclaimer of + warranties; + + v. a URI or hyperlink to the Licensed Material to the + extent reasonably practicable; + + b. indicate if You modified the Licensed Material and + retain an indication of any previous modifications; and + + c. indicate the Licensed Material is licensed under this + Public License, and include the text of, or the URI or + hyperlink to, this Public License. + + 2. You may satisfy the conditions in Section 3(a)(1) in any + reasonable manner based on the medium, means, and context in + which You Share the Licensed Material. For example, it may be + reasonable to satisfy the conditions by providing a URI or + hyperlink to a resource that includes the required + information. + + 3. If requested by the Licensor, You must remove any of the + information required by Section 3(a)(1)(A) to the extent + reasonably practicable. + + 4. If You Share Adapted Material You produce, the Adapter's + License You apply must not prevent recipients of the Adapted + Material from complying with this Public License. + + +Section 4 -- Sui Generis Database Rights. + +Where the Licensed Rights include Sui Generis Database Rights that +apply to Your use of the Licensed Material: + + a. for the avoidance of doubt, Section 2(a)(1) grants You the right + to extract, reuse, reproduce, and Share all or a substantial + portion of the contents of the database; + + b. if You include all or a substantial portion of the database + contents in a database in which You have Sui Generis Database + Rights, then the database in which You have Sui Generis Database + Rights (but not its individual contents) is Adapted Material; and + + c. You must comply with the conditions in Section 3(a) if You Share + all or a substantial portion of the contents of the database. + +For the avoidance of doubt, this Section 4 supplements and does not +replace Your obligations under this Public License where the Licensed +Rights include other Copyright and Similar Rights. + + +Section 5 -- Disclaimer of Warranties and Limitation of Liability. + + a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE + EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS + AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF + ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS, + IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION, + WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR + PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS, + ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT + KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT + ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU. + + b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE + TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION, + NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT, + INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES, + COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR + USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN + ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR + DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR + IN PART, THIS LIMITATION MAY NOT APPLY TO YOU. + + c. The disclaimer of warranties and limitation of liability provided + above shall be interpreted in a manner that, to the extent + possible, most closely approximates an absolute disclaimer and + waiver of all liability. + + +Section 6 -- Term and Termination. + + a. This Public License applies for the term of the Copyright and + Similar Rights licensed here. However, if You fail to comply with + this Public License, then Your rights under this Public License + terminate automatically. + + b. Where Your right to use the Licensed Material has terminated under + Section 6(a), it reinstates: + + 1. automatically as of the date the violation is cured, provided + it is cured within 30 days of Your discovery of the + violation; or + + 2. upon express reinstatement by the Licensor. + + For the avoidance of doubt, this Section 6(b) does not affect any + right the Licensor may have to seek remedies for Your violations + of this Public License. + + c. For the avoidance of doubt, the Licensor may also offer the + Licensed Material under separate terms or conditions or stop + distributing the Licensed Material at any time; however, doing so + will not terminate this Public License. + + d. Sections 1, 5, 6, 7, and 8 survive termination of this Public + License. + + +Section 7 -- Other Terms and Conditions. + + a. The Licensor shall not be bound by any additional or different + terms or conditions communicated by You unless expressly agreed. + + b. Any arrangements, understandings, or agreements regarding the + Licensed Material not stated herein are separate from and + independent of the terms and conditions of this Public License. + + +Section 8 -- Interpretation. + + a. For the avoidance of doubt, this Public License does not, and + shall not be interpreted to, reduce, limit, restrict, or impose + conditions on any use of the Licensed Material that could lawfully + be made without permission under this Public License. + + b. To the extent possible, if any provision of this Public License is + deemed unenforceable, it shall be automatically reformed to the + minimum extent necessary to make it enforceable. If the provision + cannot be reformed, it shall be severed from this Public License + without affecting the enforceability of the remaining terms and + conditions. + + c. No term or condition of this Public License will be waived and no + failure to comply consented to unless expressly agreed to by the + Licensor. + + d. Nothing in this Public License constitutes or may be interpreted + as a limitation upon, or waiver of, any privileges and immunities + that apply to the Licensor or You, including from the legal + processes of any jurisdiction or authority. + + +======================================================================= + +Creative Commons is not a party to its public licenses. +Notwithstanding, Creative Commons may elect to apply one of its public +licenses to material it publishes and in those instances will be +considered the "Licensor." Except for the limited purpose of indicating +that material is shared under a Creative Commons public license or as +otherwise permitted by the Creative Commons policies published at +creativecommons.org/policies, Creative Commons does not authorize the +use of the trademark "Creative Commons" or any other trademark or logo +of Creative Commons without its prior written consent including, +without limitation, in connection with any unauthorized modifications +to any of its public licenses or any other arrangements, +understandings, or agreements concerning use of licensed material. For +the avoidance of doubt, this paragraph does not form part of the public +licenses. + +Creative Commons may be contacted at creativecommons.org. diff --git a/Assets/Fonts/Emoji/LICENSE.txt.meta b/Assets/Fonts/Emoji/LICENSE.txt.meta new file mode 100644 index 000000000..8dabd4444 --- /dev/null +++ b/Assets/Fonts/Emoji/LICENSE.txt.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: db23d2e6bc295794888af02d32cbae60 +TextScriptImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fonts/Emoji/Twemoji.ttf b/Assets/Fonts/Emoji/Twemoji.ttf new file mode 100644 index 000000000..a9e0584f1 --- /dev/null +++ b/Assets/Fonts/Emoji/Twemoji.ttf @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:de66290bfa98226e40d8999a3ab024c2242e8d2938f939d9a85c1494844f6aa0 +size 1805808 diff --git a/Assets/Fonts/Emoji/Twemoji.ttf.meta b/Assets/Fonts/Emoji/Twemoji.ttf.meta new file mode 100644 index 000000000..5cc7ab440 --- /dev/null +++ b/Assets/Fonts/Emoji/Twemoji.ttf.meta @@ -0,0 +1,21 @@ +fileFormatVersion: 2 +guid: bde541f3fd3b82b4aa6aa068e4a205a7 +TrueTypeFontImporter: + externalObjects: {} + serializedVersion: 4 + fontSize: 16 + forceTextureCase: -2 + characterSpacing: 0 + characterPadding: 1 + includeFontData: 1 + fontNames: + - Aetheria Emoji + fallbackFontReferences: [] + customCharacters: + fontRenderingMode: 0 + ascentCalculationMode: 1 + useLegacyBoundsCalculation: 0 + shouldRoundAdvanceValue: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Fonts/Emoji/emoji-font.lock b/Assets/Fonts/Emoji/emoji-font.lock new file mode 100644 index 000000000..de5012a8b --- /dev/null +++ b/Assets/Fonts/Emoji/emoji-font.lock @@ -0,0 +1,14 @@ +source_url=https://github.com/jdecked/twemoji/archive/refs/tags/v17.0.3.tar.gz +source_version=v17.0.3 +source_sha256=a0855654b633045ae2337537e77f1bb4361162f7fcd910e613eaab1d6d9c5fca +svg_count=4009 +single_codepoint_count=1425 +tool_nanoemoji=0.16.0 +tool_fonttools=4.66.1 +tool_picosvg=0.23.0 +tool_ninja=1.13.2 +source_date_epoch=1780352497 +color_format=glyf_colr_0 +font_file=Twemoji.ttf +font_sha256=de66290bfa98226e40d8999a3ab024c2242e8d2938f939d9a85c1494844f6aa0 +singles_sha256=d07a0693cef0530acf540cdeb60d341912f639370e7e30271e90452a8aecdc0d diff --git a/Assets/Fonts/Emoji/emoji-font.lock.meta b/Assets/Fonts/Emoji/emoji-font.lock.meta new file mode 100644 index 000000000..d59e8a3eb --- /dev/null +++ b/Assets/Fonts/Emoji/emoji-font.lock.meta @@ -0,0 +1,7 @@ +fileFormatVersion: 2 +guid: 6290b5397f6ae1d47a19c6886ebd87e2 +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/Editor/EmojiCheck.cs b/Assets/Scripts/Editor/EmojiCheck.cs index 3623587ce..48afc0018 100644 --- a/Assets/Scripts/Editor/EmojiCheck.cs +++ b/Assets/Scripts/Editor/EmojiCheck.cs @@ -90,8 +90,11 @@ public static class EmojiCheck foreach (var cp in missing.OrderBy(c => c)) failures.Add($"missing code point U+{cp:X4}"); long ink = 0, colour = 0; + int pages = 0, nullPages = 0; foreach (var page in emoji.atlasTextures) { + if (page == null) { nullPages++; continue; } + pages++; var pixels = page.GetPixels32(); ink += pixels.LongCount(p => p.a != 0); colour += pixels.LongCount(p => p.a != 0 && (p.r != p.g || p.g != p.b)); @@ -102,7 +105,7 @@ public static class EmojiCheck // Dynamic atlas content is cache: drop it so this check leaves the asset as Build wrote it. emoji.ClearFontAssetData(true); return $"checked {corpus.Count} single code points + {PiratesNames.Length} Pirates names, {missing.Count} missing, " + - $"{viaEmoji} glyphs via the emoji asset, {viaOther} via other fonts, {blank} blank, {ink} atlas ink pixels of which {colour} coloured"; + $"{viaEmoji} glyphs via the emoji asset, {viaOther} via other fonts, {blank} blank, {ink} atlas ink pixels of which {colour} coloured, {pages} atlas pages ({nullPages} null)"; } static List LoadSingles() diff --git a/Assets/Scripts/Editor/EmojiFont.cs b/Assets/Scripts/Editor/EmojiFont.cs index 855bece3a..c7ce97aaf 100644 --- a/Assets/Scripts/Editor/EmojiFont.cs +++ b/Assets/Scripts/Editor/EmojiFont.cs @@ -57,7 +57,9 @@ public static class EmojiFont asset.material.name = "Emoji Atlas Material"; AssetDatabase.AddObjectToAsset(asset.material, asset); } - else asset.ClearFontAssetData(true); + + // The atlas pages are cache: Build leaves them empty, the same state EmojiCheck restores. + asset.ClearFontAssetData(true); // Text-presentation emoji (U+263A without FE0F) are not routed through the emoji list, so the // asset is also the global fallback. diff --git a/Assets/TextMesh Pro/Resources/TMP Settings.asset b/Assets/TextMesh Pro/Resources/TMP Settings.asset index 769423630..0371c3b56 100644 --- a/Assets/TextMesh Pro/Resources/TMP Settings.asset +++ b/Assets/TextMesh Pro/Resources/TMP Settings.asset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:76affcb169f370013c97b08f1d6d3e092a054a2abf970e164cd40400799552a7 -size 1852 +oid sha256:f00aad0de57d69c610a4a421bf4652e93f45c2a39bacc76dec8a7921bf699ecb +size 1930 diff --git a/tools/emoji/emoji-singles.txt b/tools/emoji/emoji-singles.txt new file mode 100644 index 000000000..09fcc972e --- /dev/null +++ b/tools/emoji/emoji-singles.txt @@ -0,0 +1,1425 @@ +1f004 +1f0cf +1f170 +1f171 +1f17e +1f17f +1f18e +1f191 +1f192 +1f193 +1f194 +1f195 +1f196 +1f197 +1f198 +1f199 +1f19a +1f1e6 +1f1e7 +1f1e8 +1f1e9 +1f1ea +1f1eb +1f1ec +1f1ed +1f1ee +1f1ef +1f1f0 +1f1f1 +1f1f2 +1f1f3 +1f1f4 +1f1f5 +1f1f6 +1f1f7 +1f1f8 +1f1f9 +1f1fa +1f1fb +1f1fc +1f1fd +1f1fe +1f1ff +1f201 +1f202 +1f21a +1f22f +1f232 +1f233 +1f234 +1f235 +1f236 +1f237 +1f238 +1f239 +1f23a +1f250 +1f251 +1f300 +1f301 +1f302 +1f303 +1f304 +1f305 +1f306 +1f307 +1f308 +1f309 +1f30a +1f30b +1f30c +1f30d +1f30e +1f30f +1f310 +1f311 +1f312 +1f313 +1f314 +1f315 +1f316 +1f317 +1f318 +1f319 +1f31a +1f31b +1f31c +1f31d +1f31e +1f31f +1f320 +1f321 +1f324 +1f325 +1f326 +1f327 +1f328 +1f329 +1f32a +1f32b +1f32c +1f32d +1f32e +1f32f +1f330 +1f331 +1f332 +1f333 +1f334 +1f335 +1f336 +1f337 +1f338 +1f339 +1f33a +1f33b +1f33c +1f33d +1f33e +1f33f +1f340 +1f341 +1f342 +1f343 +1f344 +1f345 +1f346 +1f347 +1f348 +1f349 +1f34a +1f34b +1f34c +1f34d +1f34e +1f34f +1f350 +1f351 +1f352 +1f353 +1f354 +1f355 +1f356 +1f357 +1f358 +1f359 +1f35a +1f35b +1f35c +1f35d +1f35e +1f35f +1f360 +1f361 +1f362 +1f363 +1f364 +1f365 +1f366 +1f367 +1f368 +1f369 +1f36a +1f36b +1f36c +1f36d +1f36e +1f36f +1f370 +1f371 +1f372 +1f373 +1f374 +1f375 +1f376 +1f377 +1f378 +1f379 +1f37a +1f37b +1f37c +1f37d +1f37e +1f37f +1f380 +1f381 +1f382 +1f383 +1f384 +1f385 +1f386 +1f387 +1f388 +1f389 +1f38a +1f38b +1f38c +1f38d +1f38e +1f38f +1f390 +1f391 +1f392 +1f393 +1f396 +1f397 +1f399 +1f39a +1f39b +1f39e +1f39f +1f3a0 +1f3a1 +1f3a2 +1f3a3 +1f3a4 +1f3a5 +1f3a6 +1f3a7 +1f3a8 +1f3a9 +1f3aa +1f3ab +1f3ac +1f3ad +1f3ae +1f3af +1f3b0 +1f3b1 +1f3b2 +1f3b3 +1f3b4 +1f3b5 +1f3b6 +1f3b7 +1f3b8 +1f3b9 +1f3ba +1f3bb +1f3bc +1f3bd +1f3be +1f3bf +1f3c0 +1f3c1 +1f3c2 +1f3c3 +1f3c4 +1f3c5 +1f3c6 +1f3c7 +1f3c8 +1f3c9 +1f3ca +1f3cb +1f3cc +1f3cd +1f3ce +1f3cf +1f3d0 +1f3d1 +1f3d2 +1f3d3 +1f3d4 +1f3d5 +1f3d6 +1f3d7 +1f3d8 +1f3d9 +1f3da +1f3db +1f3dc +1f3dd +1f3de +1f3df +1f3e0 +1f3e1 +1f3e2 +1f3e3 +1f3e4 +1f3e5 +1f3e6 +1f3e7 +1f3e8 +1f3e9 +1f3ea +1f3eb +1f3ec +1f3ed +1f3ee +1f3ef +1f3f0 +1f3f3 +1f3f4 +1f3f5 +1f3f7 +1f3f8 +1f3f9 +1f3fa +1f3fb +1f3fc +1f3fd +1f3fe +1f3ff +1f400 +1f401 +1f402 +1f403 +1f404 +1f405 +1f406 +1f407 +1f408 +1f409 +1f40a +1f40b +1f40c +1f40d +1f40e +1f40f +1f410 +1f411 +1f412 +1f413 +1f414 +1f415 +1f416 +1f417 +1f418 +1f419 +1f41a +1f41b +1f41c +1f41d +1f41e +1f41f +1f420 +1f421 +1f422 +1f423 +1f424 +1f425 +1f426 +1f427 +1f428 +1f429 +1f42a +1f42b +1f42c +1f42d +1f42e +1f42f +1f430 +1f431 +1f432 +1f433 +1f434 +1f435 +1f436 +1f437 +1f438 +1f439 +1f43a +1f43b +1f43c +1f43d +1f43e +1f43f +1f440 +1f441 +1f442 +1f443 +1f444 +1f445 +1f446 +1f447 +1f448 +1f449 +1f44a +1f44b +1f44c +1f44d +1f44e +1f44f +1f450 +1f451 +1f452 +1f453 +1f454 +1f455 +1f456 +1f457 +1f458 +1f459 +1f45a +1f45b +1f45c +1f45d +1f45e +1f45f +1f460 +1f461 +1f462 +1f463 +1f464 +1f465 +1f466 +1f467 +1f468 +1f469 +1f46a +1f46b +1f46c +1f46d +1f46e +1f46f +1f470 +1f471 +1f472 +1f473 +1f474 +1f475 +1f476 +1f477 +1f478 +1f479 +1f47a +1f47b +1f47c +1f47d +1f47e +1f47f +1f480 +1f481 +1f482 +1f483 +1f484 +1f485 +1f486 +1f487 +1f488 +1f489 +1f48a +1f48b +1f48c +1f48d +1f48e +1f48f +1f490 +1f491 +1f492 +1f493 +1f494 +1f495 +1f496 +1f497 +1f498 +1f499 +1f49a +1f49b +1f49c +1f49d +1f49e +1f49f +1f4a0 +1f4a1 +1f4a2 +1f4a3 +1f4a4 +1f4a5 +1f4a6 +1f4a7 +1f4a8 +1f4a9 +1f4aa +1f4ab +1f4ac +1f4ad +1f4ae +1f4af +1f4b0 +1f4b1 +1f4b2 +1f4b3 +1f4b4 +1f4b5 +1f4b6 +1f4b7 +1f4b8 +1f4b9 +1f4ba +1f4bb +1f4bc +1f4bd +1f4be +1f4bf +1f4c0 +1f4c1 +1f4c2 +1f4c3 +1f4c4 +1f4c5 +1f4c6 +1f4c7 +1f4c8 +1f4c9 +1f4ca +1f4cb +1f4cc +1f4cd +1f4ce +1f4cf +1f4d0 +1f4d1 +1f4d2 +1f4d3 +1f4d4 +1f4d5 +1f4d6 +1f4d7 +1f4d8 +1f4d9 +1f4da +1f4db +1f4dc +1f4dd +1f4de +1f4df +1f4e0 +1f4e1 +1f4e2 +1f4e3 +1f4e4 +1f4e5 +1f4e6 +1f4e7 +1f4e8 +1f4e9 +1f4ea +1f4eb +1f4ec +1f4ed +1f4ee +1f4ef +1f4f0 +1f4f1 +1f4f2 +1f4f3 +1f4f4 +1f4f5 +1f4f6 +1f4f7 +1f4f8 +1f4f9 +1f4fa +1f4fb +1f4fc +1f4fd +1f4ff +1f500 +1f501 +1f502 +1f503 +1f504 +1f505 +1f506 +1f507 +1f508 +1f509 +1f50a +1f50b +1f50c +1f50d +1f50e +1f50f +1f510 +1f511 +1f512 +1f513 +1f514 +1f515 +1f516 +1f517 +1f518 +1f519 +1f51a +1f51b +1f51c +1f51d +1f51e +1f51f +1f520 +1f521 +1f522 +1f523 +1f524 +1f525 +1f526 +1f527 +1f528 +1f529 +1f52a +1f52b +1f52c +1f52d +1f52e +1f52f +1f530 +1f531 +1f532 +1f533 +1f534 +1f535 +1f536 +1f537 +1f538 +1f539 +1f53a +1f53b +1f53c +1f53d +1f549 +1f54a +1f54b +1f54c +1f54d +1f54e +1f550 +1f551 +1f552 +1f553 +1f554 +1f555 +1f556 +1f557 +1f558 +1f559 +1f55a +1f55b +1f55c +1f55d +1f55e +1f55f +1f560 +1f561 +1f562 +1f563 +1f564 +1f565 +1f566 +1f567 +1f56f +1f570 +1f573 +1f574 +1f575 +1f576 +1f577 +1f578 +1f579 +1f57a +1f587 +1f58a +1f58b +1f58c +1f58d +1f590 +1f595 +1f596 +1f5a4 +1f5a5 +1f5a8 +1f5b1 +1f5b2 +1f5bc +1f5c2 +1f5c3 +1f5c4 +1f5d1 +1f5d2 +1f5d3 +1f5dc +1f5dd +1f5de +1f5e1 +1f5e3 +1f5e8 +1f5ef +1f5f3 +1f5fa +1f5fb +1f5fc +1f5fd +1f5fe +1f5ff +1f600 +1f601 +1f602 +1f603 +1f604 +1f605 +1f606 +1f607 +1f608 +1f609 +1f60a +1f60b +1f60c +1f60d +1f60e +1f60f +1f610 +1f611 +1f612 +1f613 +1f614 +1f615 +1f616 +1f617 +1f618 +1f619 +1f61a +1f61b +1f61c +1f61d +1f61e +1f61f +1f620 +1f621 +1f622 +1f623 +1f624 +1f625 +1f626 +1f627 +1f628 +1f629 +1f62a +1f62b +1f62c +1f62d +1f62e +1f62f +1f630 +1f631 +1f632 +1f633 +1f634 +1f635 +1f636 +1f637 +1f638 +1f639 +1f63a +1f63b +1f63c +1f63d +1f63e +1f63f +1f640 +1f641 +1f642 +1f643 +1f644 +1f645 +1f646 +1f647 +1f648 +1f649 +1f64a +1f64b +1f64c +1f64d +1f64e +1f64f +1f680 +1f681 +1f682 +1f683 +1f684 +1f685 +1f686 +1f687 +1f688 +1f689 +1f68a +1f68b +1f68c +1f68d +1f68e +1f68f +1f690 +1f691 +1f692 +1f693 +1f694 +1f695 +1f696 +1f697 +1f698 +1f699 +1f69a +1f69b +1f69c +1f69d +1f69e +1f69f +1f6a0 +1f6a1 +1f6a2 +1f6a3 +1f6a4 +1f6a5 +1f6a6 +1f6a7 +1f6a8 +1f6a9 +1f6aa +1f6ab +1f6ac +1f6ad +1f6ae +1f6af +1f6b0 +1f6b1 +1f6b2 +1f6b3 +1f6b4 +1f6b5 +1f6b6 +1f6b7 +1f6b8 +1f6b9 +1f6ba +1f6bb +1f6bc +1f6bd +1f6be +1f6bf +1f6c0 +1f6c1 +1f6c2 +1f6c3 +1f6c4 +1f6c5 +1f6cb +1f6cc +1f6cd +1f6ce +1f6cf +1f6d0 +1f6d1 +1f6d2 +1f6d5 +1f6d6 +1f6d7 +1f6d8 +1f6dc +1f6dd +1f6de +1f6df +1f6e0 +1f6e1 +1f6e2 +1f6e3 +1f6e4 +1f6e5 +1f6e9 +1f6eb +1f6ec +1f6f0 +1f6f3 +1f6f4 +1f6f5 +1f6f6 +1f6f7 +1f6f8 +1f6f9 +1f6fa +1f6fb +1f6fc +1f7e0 +1f7e1 +1f7e2 +1f7e3 +1f7e4 +1f7e5 +1f7e6 +1f7e7 +1f7e8 +1f7e9 +1f7ea +1f7eb +1f7f0 +1f90c +1f90d +1f90e +1f90f +1f910 +1f911 +1f912 +1f913 +1f914 +1f915 +1f916 +1f917 +1f918 +1f919 +1f91a +1f91b +1f91c +1f91d +1f91e +1f91f +1f920 +1f921 +1f922 +1f923 +1f924 +1f925 +1f926 +1f927 +1f928 +1f929 +1f92a +1f92b +1f92c +1f92d +1f92e +1f92f +1f930 +1f931 +1f932 +1f933 +1f934 +1f935 +1f936 +1f937 +1f938 +1f939 +1f93a +1f93c +1f93d +1f93e +1f93f +1f940 +1f941 +1f942 +1f943 +1f944 +1f945 +1f947 +1f948 +1f949 +1f94a +1f94b +1f94c +1f94d +1f94e +1f94f +1f950 +1f951 +1f952 +1f953 +1f954 +1f955 +1f956 +1f957 +1f958 +1f959 +1f95a +1f95b +1f95c +1f95d +1f95e +1f95f +1f960 +1f961 +1f962 +1f963 +1f964 +1f965 +1f966 +1f967 +1f968 +1f969 +1f96a +1f96b +1f96c +1f96d +1f96e +1f96f +1f970 +1f971 +1f972 +1f973 +1f974 +1f975 +1f976 +1f977 +1f978 +1f979 +1f97a +1f97b +1f97c +1f97d +1f97e +1f97f +1f980 +1f981 +1f982 +1f983 +1f984 +1f985 +1f986 +1f987 +1f988 +1f989 +1f98a +1f98b +1f98c +1f98d +1f98e +1f98f +1f990 +1f991 +1f992 +1f993 +1f994 +1f995 +1f996 +1f997 +1f998 +1f999 +1f99a +1f99b +1f99c +1f99d +1f99e +1f99f +1f9a0 +1f9a1 +1f9a2 +1f9a3 +1f9a4 +1f9a5 +1f9a6 +1f9a7 +1f9a8 +1f9a9 +1f9aa +1f9ab +1f9ac +1f9ad +1f9ae +1f9af +1f9b0 +1f9b1 +1f9b2 +1f9b3 +1f9b4 +1f9b5 +1f9b6 +1f9b7 +1f9b8 +1f9b9 +1f9ba +1f9bb +1f9bc +1f9bd +1f9be +1f9bf +1f9c0 +1f9c1 +1f9c2 +1f9c3 +1f9c4 +1f9c5 +1f9c6 +1f9c7 +1f9c8 +1f9c9 +1f9ca +1f9cb +1f9cc +1f9cd +1f9ce +1f9cf +1f9d0 +1f9d1 +1f9d2 +1f9d3 +1f9d4 +1f9d5 +1f9d6 +1f9d7 +1f9d8 +1f9d9 +1f9da +1f9db +1f9dc +1f9dd +1f9de +1f9df +1f9e0 +1f9e1 +1f9e2 +1f9e3 +1f9e4 +1f9e5 +1f9e6 +1f9e7 +1f9e8 +1f9e9 +1f9ea +1f9eb +1f9ec +1f9ed +1f9ee +1f9ef +1f9f0 +1f9f1 +1f9f2 +1f9f3 +1f9f4 +1f9f5 +1f9f6 +1f9f7 +1f9f8 +1f9f9 +1f9fa +1f9fb +1f9fc +1f9fd +1f9fe +1f9ff +1fa70 +1fa71 +1fa72 +1fa73 +1fa74 +1fa75 +1fa76 +1fa77 +1fa78 +1fa79 +1fa7a +1fa7b +1fa7c +1fa80 +1fa81 +1fa82 +1fa83 +1fa84 +1fa85 +1fa86 +1fa87 +1fa88 +1fa89 +1fa8a +1fa8e +1fa8f +1fa90 +1fa91 +1fa92 +1fa93 +1fa94 +1fa95 +1fa96 +1fa97 +1fa98 +1fa99 +1fa9a +1fa9b +1fa9c +1fa9d +1fa9e +1fa9f +1faa0 +1faa1 +1faa2 +1faa3 +1faa4 +1faa5 +1faa6 +1faa7 +1faa8 +1faa9 +1faaa +1faab +1faac +1faad +1faae +1faaf +1fab0 +1fab1 +1fab2 +1fab3 +1fab4 +1fab5 +1fab6 +1fab7 +1fab8 +1fab9 +1faba +1fabb +1fabc +1fabd +1fabe +1fabf +1fac0 +1fac1 +1fac2 +1fac3 +1fac4 +1fac5 +1fac6 +1fac8 +1facd +1face +1facf +1fad0 +1fad1 +1fad2 +1fad3 +1fad4 +1fad5 +1fad6 +1fad7 +1fad8 +1fad9 +1fada +1fadb +1fadc +1fadf +1fae0 +1fae1 +1fae2 +1fae3 +1fae4 +1fae5 +1fae6 +1fae7 +1fae8 +1fae9 +1faea +1faef +1faf0 +1faf1 +1faf2 +1faf3 +1faf4 +1faf5 +1faf6 +1faf7 +1faf8 +203c +2049 +2122 +2139 +2194 +2195 +2196 +2197 +2198 +2199 +21a9 +21aa +231a +231b +2328 +23cf +23e9 +23ea +23eb +23ec +23ed +23ee +23ef +23f0 +23f1 +23f2 +23f3 +23f8 +23f9 +23fa +24c2 +25aa +25ab +25b6 +25c0 +25fb +25fc +25fd +25fe +2600 +2601 +2602 +2603 +2604 +260e +2611 +2614 +2615 +2618 +261d +2620 +2622 +2623 +2626 +262a +262e +262f +2638 +2639 +263a +2640 +2642 +2648 +2649 +264a +264b +264c +264d +264e +264f +2650 +2651 +2652 +2653 +265f +2660 +2663 +2665 +2666 +2668 +267b +267e +267f +2692 +2693 +2694 +2695 +2696 +2697 +2699 +269b +269c +26a0 +26a1 +26a7 +26aa +26ab +26b0 +26b1 +26bd +26be +26c4 +26c5 +26c8 +26ce +26cf +26d1 +26d3 +26d4 +26e9 +26ea +26f0 +26f1 +26f2 +26f3 +26f4 +26f5 +26f7 +26f8 +26f9 +26fa +26fd +2702 +2705 +2708 +2709 +270a +270b +270c +270d +270f +2712 +2714 +2716 +271d +2721 +2728 +2733 +2734 +2744 +2747 +274c +274e +2753 +2754 +2755 +2757 +2763 +2764 +2795 +2796 +2797 +27a1 +27b0 +27bf +2934 +2935 +2b05 +2b06 +2b07 +2b1b +2b1c +2b50 +2b55 +3030 +303d +3297 +3299 +e50a