diff --git a/example/android/app/src/main/assets/fonts/Nunito-Black.ttf b/example/android/app/src/main/assets/fonts/Nunito-Black.ttf new file mode 100644 index 000000000..e522d1f89 Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-Black.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-BlackItalic.ttf b/example/android/app/src/main/assets/fonts/Nunito-BlackItalic.ttf new file mode 100644 index 000000000..a1a066d6f Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-BlackItalic.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-Bold.ttf b/example/android/app/src/main/assets/fonts/Nunito-Bold.ttf new file mode 100644 index 000000000..581cdf3b9 Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-Bold.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-BoldItalic.ttf b/example/android/app/src/main/assets/fonts/Nunito-BoldItalic.ttf new file mode 100644 index 000000000..f05accc2f Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-BoldItalic.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-ExtraBold.ttf b/example/android/app/src/main/assets/fonts/Nunito-ExtraBold.ttf new file mode 100644 index 000000000..bc36db0ec Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-ExtraBold.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-ExtraBoldItalic.ttf b/example/android/app/src/main/assets/fonts/Nunito-ExtraBoldItalic.ttf new file mode 100644 index 000000000..ae9ee8ab5 Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-ExtraBoldItalic.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-ExtraLight.ttf b/example/android/app/src/main/assets/fonts/Nunito-ExtraLight.ttf new file mode 100644 index 000000000..80a030a3a Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-ExtraLight.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-ExtraLightItalic.ttf b/example/android/app/src/main/assets/fonts/Nunito-ExtraLightItalic.ttf new file mode 100644 index 000000000..3c50b263c Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-ExtraLightItalic.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-Italic-VariableFont_wght.ttf b/example/android/app/src/main/assets/fonts/Nunito-Italic-VariableFont_wght.ttf new file mode 100644 index 000000000..048cda208 Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-Italic-VariableFont_wght.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-Italic.ttf b/example/android/app/src/main/assets/fonts/Nunito-Italic.ttf new file mode 100644 index 000000000..9298469f9 Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-Italic.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-Light.ttf b/example/android/app/src/main/assets/fonts/Nunito-Light.ttf new file mode 100644 index 000000000..2d1d58238 Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-Light.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-LightItalic.ttf b/example/android/app/src/main/assets/fonts/Nunito-LightItalic.ttf new file mode 100644 index 000000000..7e1930c79 Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-LightItalic.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-Medium.ttf b/example/android/app/src/main/assets/fonts/Nunito-Medium.ttf new file mode 100644 index 000000000..444a21dfb Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-Medium.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-MediumItalic.ttf b/example/android/app/src/main/assets/fonts/Nunito-MediumItalic.ttf new file mode 100644 index 000000000..f964bb519 Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-MediumItalic.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-Regular.ttf b/example/android/app/src/main/assets/fonts/Nunito-Regular.ttf new file mode 100644 index 000000000..61a0f7865 Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-Regular.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-SemiBold.ttf b/example/android/app/src/main/assets/fonts/Nunito-SemiBold.ttf new file mode 100644 index 000000000..bd7946ce7 Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-SemiBold.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-SemiBoldItalic.ttf b/example/android/app/src/main/assets/fonts/Nunito-SemiBoldItalic.ttf new file mode 100644 index 000000000..fd5859304 Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-SemiBoldItalic.ttf differ diff --git a/example/android/app/src/main/assets/fonts/Nunito-VariableFont_wght.ttf b/example/android/app/src/main/assets/fonts/Nunito-VariableFont_wght.ttf new file mode 100644 index 000000000..4ef649190 Binary files /dev/null and b/example/android/app/src/main/assets/fonts/Nunito-VariableFont_wght.ttf differ diff --git a/example/android/link-assets-manifest.json b/example/android/link-assets-manifest.json index a8216a4d7..beea0be59 100644 --- a/example/android/link-assets-manifest.json +++ b/example/android/link-assets-manifest.json @@ -1,6 +1,14 @@ { "migIndex": 1, "data": [ + { + "path": "assets/icons/FontAwesome.json", + "sha1": "65c34e3f33cb539a501615b68f1f306588e63692" + }, + { + "path": "assets/icons/FontAwesome.ttf", + "sha1": "13b1eab65a983c7a73bc7997c479d66943f7c6cb" + }, { "path": "assets/fonts/Cascadia_Code/CascadiaCode-Italic-VariableFont_wght.ttf", "sha1": "a084a4c3d908e5b3de7d900e73c2d7c02737be88" @@ -65,12 +73,77 @@ "path": "assets/fonts/Cascadia_Code/static/CascadiaCode-SemiBoldItalic.ttf", "sha1": "9e4969123917b46ada13a4b38171c0f8ee9d0924" }, - "path": "assets/icons/FontAwesome.json", - "sha1": "65c34e3f33cb539a501615b68f1f306588e63692" + { + "path": "assets/fonts/Nunito/Nunito-Italic-VariableFont_wght.ttf", + "sha1": "1ed03c3e8efd1dfb99567d274da89c07724ffdf4" }, { - "path": "assets/icons/FontAwesome.ttf", - "sha1": "13b1eab65a983c7a73bc7997c479d66943f7c6cb" + "path": "assets/fonts/Nunito/Nunito-VariableFont_wght.ttf", + "sha1": "a031c129002aa44c4cd3b8b2c234cf9252476853" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-Black.ttf", + "sha1": "9bc4857978df5a2d4340dfa7f2e1a5ebab04aaf5" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-BlackItalic.ttf", + "sha1": "481726fda1e57824bf4971e052e31802f49c518e" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-Bold.ttf", + "sha1": "4a505b70c66f48130872ed50b87e4cbebb1f2fbc" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-BoldItalic.ttf", + "sha1": "0d87b460e838beb01b088379f3ad3fa540b8b877" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-ExtraBold.ttf", + "sha1": "350a651693803cf369b05732920d119fdf557d6f" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-ExtraBoldItalic.ttf", + "sha1": "5b6b732af26838546aaa494eca3ac0592c713452" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-ExtraLight.ttf", + "sha1": "3f61065495641280b08dac27e4fab46e788bd079" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-ExtraLightItalic.ttf", + "sha1": "9e1a9fc918bba8079f5496797a7ade4cd4e2cdba" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-Italic.ttf", + "sha1": "6fd4abf3af151e5678295a345f420ee3ba86042e" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-Light.ttf", + "sha1": "250cafb545270387998ea2de3b4de5b9b496605c" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-LightItalic.ttf", + "sha1": "ad90741b613f345f0ff9f9f33bf86258e51db587" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-Medium.ttf", + "sha1": "6602087f0730c0980af15231022cf3471c8371f0" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-MediumItalic.ttf", + "sha1": "24cdfe03f80f2463c6112f26e5b4c6fdb994826b" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-Regular.ttf", + "sha1": "1061e4e1867b95fa1353d449970e3dcb23da5f40" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-SemiBold.ttf", + "sha1": "c1b768ee15ef8969a6e6d9c59f9a4cd7c3ca2a5e" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-SemiBoldItalic.ttf", + "sha1": "519f79a38bf66bae446e241b1b1c86eac79d677f" } ] } diff --git a/example/assets/fonts/Nunito/Nunito-Italic-VariableFont_wght.ttf b/example/assets/fonts/Nunito/Nunito-Italic-VariableFont_wght.ttf new file mode 100644 index 000000000..048cda208 Binary files /dev/null and b/example/assets/fonts/Nunito/Nunito-Italic-VariableFont_wght.ttf differ diff --git a/example/assets/fonts/Nunito/Nunito-VariableFont_wght.ttf b/example/assets/fonts/Nunito/Nunito-VariableFont_wght.ttf new file mode 100644 index 000000000..4ef649190 Binary files /dev/null and b/example/assets/fonts/Nunito/Nunito-VariableFont_wght.ttf differ diff --git a/example/assets/fonts/Nunito/OFL.txt b/example/assets/fonts/Nunito/OFL.txt new file mode 100644 index 000000000..8f5b7e218 --- /dev/null +++ b/example/assets/fonts/Nunito/OFL.txt @@ -0,0 +1,93 @@ +Copyright 2014 The Nunito Project Authors (https://github.com/googlefonts/nunito) + +This Font Software is licensed under the SIL Open Font License, Version 1.1. +This license is copied below, and is also available with a FAQ at: +https://openfontlicense.org + + +----------------------------------------------------------- +SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 +----------------------------------------------------------- + +PREAMBLE +The goals of the Open Font License (OFL) are to stimulate worldwide +development of collaborative font projects, to support the font creation +efforts of academic and linguistic communities, and to provide a free and +open framework in which fonts may be shared and improved in partnership +with others. + +The OFL allows the licensed fonts to be used, studied, modified and +redistributed freely as long as they are not sold by themselves. The +fonts, including any derivative works, can be bundled, embedded, +redistributed and/or sold with any software provided that any reserved +names are not used by derivative works. The fonts and derivatives, +however, cannot be released under any other type of license. The +requirement for fonts to remain under this license does not apply +to any document created using the fonts or their derivatives. + +DEFINITIONS +"Font Software" refers to the set of files released by the Copyright +Holder(s) under this license and clearly marked as such. This may +include source files, build scripts and documentation. + +"Reserved Font Name" refers to any names specified as such after the +copyright statement(s). + +"Original Version" refers to the collection of Font Software components as +distributed by the Copyright Holder(s). + +"Modified Version" refers to any derivative made by adding to, deleting, +or substituting -- in part or in whole -- any of the components of the +Original Version, by changing formats or by porting the Font Software to a +new environment. + +"Author" refers to any designer, engineer, programmer, technical +writer or other person who contributed to the Font Software. + +PERMISSION & CONDITIONS +Permission is hereby granted, free of charge, to any person obtaining +a copy of the Font Software, to use, study, copy, merge, embed, modify, +redistribute, and sell modified and unmodified copies of the Font +Software, subject to the following conditions: + +1) Neither the Font Software nor any of its individual components, +in Original or Modified Versions, may be sold by itself. + +2) Original or Modified Versions of the Font Software may be bundled, +redistributed and/or sold with any software, provided that each copy +contains the above copyright notice and this license. These can be +included either as stand-alone text files, human-readable headers or +in the appropriate machine-readable metadata fields within text or +binary files as long as those fields can be easily viewed by the user. + +3) No Modified Version of the Font Software may use the Reserved Font +Name(s) unless explicit written permission is granted by the corresponding +Copyright Holder. This restriction only applies to the primary font name as +presented to the users. + +4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font +Software shall not be used to promote, endorse or advertise any +Modified Version, except to acknowledge the contribution(s) of the +Copyright Holder(s) and the Author(s) or with their explicit written +permission. + +5) The Font Software, modified or unmodified, in part or in whole, +must be distributed entirely under this license, and must not be +distributed under any other license. The requirement for fonts to +remain under this license does not apply to any document created +using the Font Software. + +TERMINATION +This license becomes null and void if any of the above conditions are +not met. + +DISCLAIMER +THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT +OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE +COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL +DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM +OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/example/assets/fonts/Nunito/README.txt b/example/assets/fonts/Nunito/README.txt new file mode 100644 index 000000000..0935d13bf --- /dev/null +++ b/example/assets/fonts/Nunito/README.txt @@ -0,0 +1,79 @@ +Nunito Variable Font +==================== + +This download contains Nunito as both variable fonts and static fonts. + +Nunito is a variable font with this axis: + wght + +This means all the styles are contained in these files: + Nunito/Nunito-VariableFont_wght.ttf + Nunito/Nunito-Italic-VariableFont_wght.ttf + +If your app fully supports variable fonts, you can now pick intermediate styles +that aren’t available as static fonts. Not all apps support variable fonts, and +in those cases you can use the static font files for Nunito: + Nunito/static/Nunito-ExtraLight.ttf + Nunito/static/Nunito-Light.ttf + Nunito/static/Nunito-Regular.ttf + Nunito/static/Nunito-Medium.ttf + Nunito/static/Nunito-SemiBold.ttf + Nunito/static/Nunito-Bold.ttf + Nunito/static/Nunito-ExtraBold.ttf + Nunito/static/Nunito-Black.ttf + Nunito/static/Nunito-ExtraLightItalic.ttf + Nunito/static/Nunito-LightItalic.ttf + Nunito/static/Nunito-Italic.ttf + Nunito/static/Nunito-MediumItalic.ttf + Nunito/static/Nunito-SemiBoldItalic.ttf + Nunito/static/Nunito-BoldItalic.ttf + Nunito/static/Nunito-ExtraBoldItalic.ttf + Nunito/static/Nunito-BlackItalic.ttf + +Get started +----------- + +1. Install the font files you want to use + +2. Use your app's font picker to view the font family and all the +available styles + +Learn more about variable fonts +------------------------------- + + https://developers.google.com/web/fundamentals/design-and-ux/typography/variable-fonts + https://variablefonts.typenetwork.com + https://medium.com/variable-fonts + +In desktop apps + + https://theblog.adobe.com/can-variable-fonts-illustrator-cc + https://helpx.adobe.com/nz/photoshop/using/fonts.html#variable_fonts + +Online + + https://developers.google.com/fonts/docs/getting_started + https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Fonts/Variable_Fonts_Guide + https://developer.microsoft.com/en-us/microsoft-edge/testdrive/demos/variable-fonts + +Installing fonts + + MacOS: https://support.apple.com/en-us/HT201749 + Linux: https://www.google.com/search?q=how+to+install+a+font+on+gnu%2Blinux + Windows: https://support.microsoft.com/en-us/help/314960/how-to-install-or-remove-a-font-in-windows + +Android Apps + + https://developers.google.com/fonts/docs/android + https://developer.android.com/guide/topics/ui/look-and-feel/downloadable-fonts + +License +------- +Please read the full license text (OFL.txt) to understand the permissions, +restrictions and requirements for usage, redistribution, and modification. + +You can use them in your products & projects – print or digital, +commercial or otherwise. + +This isn't legal advice, please consider consulting a lawyer and see the full +license for all details. diff --git a/example/assets/fonts/Nunito/static/Nunito-Black.ttf b/example/assets/fonts/Nunito/static/Nunito-Black.ttf new file mode 100644 index 000000000..e522d1f89 Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-Black.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-BlackItalic.ttf b/example/assets/fonts/Nunito/static/Nunito-BlackItalic.ttf new file mode 100644 index 000000000..a1a066d6f Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-BlackItalic.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-Bold.ttf b/example/assets/fonts/Nunito/static/Nunito-Bold.ttf new file mode 100644 index 000000000..581cdf3b9 Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-Bold.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-BoldItalic.ttf b/example/assets/fonts/Nunito/static/Nunito-BoldItalic.ttf new file mode 100644 index 000000000..f05accc2f Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-BoldItalic.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-ExtraBold.ttf b/example/assets/fonts/Nunito/static/Nunito-ExtraBold.ttf new file mode 100644 index 000000000..bc36db0ec Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-ExtraBold.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-ExtraBoldItalic.ttf b/example/assets/fonts/Nunito/static/Nunito-ExtraBoldItalic.ttf new file mode 100644 index 000000000..ae9ee8ab5 Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-ExtraBoldItalic.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-ExtraLight.ttf b/example/assets/fonts/Nunito/static/Nunito-ExtraLight.ttf new file mode 100644 index 000000000..80a030a3a Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-ExtraLight.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-ExtraLightItalic.ttf b/example/assets/fonts/Nunito/static/Nunito-ExtraLightItalic.ttf new file mode 100644 index 000000000..3c50b263c Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-ExtraLightItalic.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-Italic.ttf b/example/assets/fonts/Nunito/static/Nunito-Italic.ttf new file mode 100644 index 000000000..9298469f9 Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-Italic.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-Light.ttf b/example/assets/fonts/Nunito/static/Nunito-Light.ttf new file mode 100644 index 000000000..2d1d58238 Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-Light.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-LightItalic.ttf b/example/assets/fonts/Nunito/static/Nunito-LightItalic.ttf new file mode 100644 index 000000000..7e1930c79 Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-LightItalic.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-Medium.ttf b/example/assets/fonts/Nunito/static/Nunito-Medium.ttf new file mode 100644 index 000000000..444a21dfb Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-Medium.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-MediumItalic.ttf b/example/assets/fonts/Nunito/static/Nunito-MediumItalic.ttf new file mode 100644 index 000000000..f964bb519 Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-MediumItalic.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-Regular.ttf b/example/assets/fonts/Nunito/static/Nunito-Regular.ttf new file mode 100644 index 000000000..61a0f7865 Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-Regular.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-SemiBold.ttf b/example/assets/fonts/Nunito/static/Nunito-SemiBold.ttf new file mode 100644 index 000000000..bd7946ce7 Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-SemiBold.ttf differ diff --git a/example/assets/fonts/Nunito/static/Nunito-SemiBoldItalic.ttf b/example/assets/fonts/Nunito/static/Nunito-SemiBoldItalic.ttf new file mode 100644 index 000000000..fd5859304 Binary files /dev/null and b/example/assets/fonts/Nunito/static/Nunito-SemiBoldItalic.ttf differ diff --git a/example/ios/EnrichedTextInputExample.xcodeproj/project.pbxproj b/example/ios/EnrichedTextInputExample.xcodeproj/project.pbxproj index 630ee5059..6e9cfe0f4 100644 --- a/example/ios/EnrichedTextInputExample.xcodeproj/project.pbxproj +++ b/example/ios/EnrichedTextInputExample.xcodeproj/project.pbxproj @@ -30,6 +30,24 @@ D8B2038262614F14AE6245F0 /* CascadiaCode-SemiBoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4DA2D2AB9E3743888DAD5779 /* CascadiaCode-SemiBoldItalic.ttf */; }; DCB0457B1CAE40B29979CDB9 /* CascadiaCode-VariableFont_wght.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D384E64346204A8C8E773595 /* CascadiaCode-VariableFont_wght.ttf */; }; F83E68A3773947EA87D1FD9C /* CascadiaCode-SemiBold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3FD646A3FF0F4F33AC65021F /* CascadiaCode-SemiBold.ttf */; }; + B17531A20CBB4D92B0AF89A3 /* Nunito-Italic-VariableFont_wght.ttf in Resources */ = {isa = PBXBuildFile; fileRef = ABF6C071A9704D7F84EAC642 /* Nunito-Italic-VariableFont_wght.ttf */; }; + C80AB0BB2819464CBD323B30 /* Nunito-VariableFont_wght.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 5D3162FFD8AA482CB6A0E084 /* Nunito-VariableFont_wght.ttf */; }; + 475EC9D8C2514408931549DD /* Nunito-Black.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 012D53DFD8C6464DBF6E19E4 /* Nunito-Black.ttf */; }; + E64C1255A2B748B297BA8F1B /* Nunito-BlackItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 50E0071425F54B07BF7B82D6 /* Nunito-BlackItalic.ttf */; }; + 44F3116C228D441D96648511 /* Nunito-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = DA817F04F35B4BA1A6C0BB7A /* Nunito-Bold.ttf */; }; + C59BBACF1E9D4EE080EAE3DC /* Nunito-BoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7E08275110DC492AA81F5BE2 /* Nunito-BoldItalic.ttf */; }; + 86BAE2C940DB4ECEBA4017A6 /* Nunito-ExtraBold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = DA75506A4F2A44D7B27420C8 /* Nunito-ExtraBold.ttf */; }; + 6491322815F54E2A8CF781B9 /* Nunito-ExtraBoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B6D4F5AC2C5D41998A5643BB /* Nunito-ExtraBoldItalic.ttf */; }; + 087EA4A7BE074F1C9FA480B7 /* Nunito-ExtraLight.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 1872D96B58594795BDF6C766 /* Nunito-ExtraLight.ttf */; }; + 7273695A32B64C6EA43A124A /* Nunito-ExtraLightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = AFECE93D073F484A93612569 /* Nunito-ExtraLightItalic.ttf */; }; + EB8E1B7B820143BBA376237D /* Nunito-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = B6CB34AFACC240079497790D /* Nunito-Italic.ttf */; }; + 95CD2D9394AA4FD8B184FC56 /* Nunito-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 153B340F016F497BA045811A /* Nunito-Light.ttf */; }; + 07A496954A674C3DB9041545 /* Nunito-LightItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 8DDAE8E93F2D4651A22D1882 /* Nunito-LightItalic.ttf */; }; + A2B3511833CC42D2B563A6C8 /* Nunito-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 974D908628154101A0445B89 /* Nunito-Medium.ttf */; }; + 31EE7B79626043278451F7C2 /* Nunito-MediumItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 56DFDD6005684613BABE1A5B /* Nunito-MediumItalic.ttf */; }; + DE74CF65696442438B3E3F5C /* Nunito-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 5D3228FB7E494D31805D6C01 /* Nunito-Regular.ttf */; }; + A9294579BC314C709C083877 /* Nunito-SemiBold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 375DF342F26841F6BF549CAB /* Nunito-SemiBold.ttf */; }; + 4FEAEB180FF94632ADFA7D7D /* Nunito-SemiBoldItalic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 78A78FF825C747578571B76F /* Nunito-SemiBoldItalic.ttf */; }; /* End PBXBuildFile section */ /* Begin PBXFileReference section */ @@ -61,6 +79,24 @@ D384E64346204A8C8E773595 /* CascadiaCode-VariableFont_wght.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "CascadiaCode-VariableFont_wght.ttf"; path = "../assets/fonts/Cascadia_Code/CascadiaCode-VariableFont_wght.ttf"; sourceTree = ""; }; DA76D9192FE24EC28C84DE79 /* CascadiaCode-Light.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "CascadiaCode-Light.ttf"; path = "../assets/fonts/Cascadia_Code/static/CascadiaCode-Light.ttf"; sourceTree = ""; }; ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; + ABF6C071A9704D7F84EAC642 /* Nunito-Italic-VariableFont_wght.ttf */ = {isa = PBXFileReference; name = "Nunito-Italic-VariableFont_wght.ttf"; path = "../assets/fonts/Nunito/Nunito-Italic-VariableFont_wght.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + 5D3162FFD8AA482CB6A0E084 /* Nunito-VariableFont_wght.ttf */ = {isa = PBXFileReference; name = "Nunito-VariableFont_wght.ttf"; path = "../assets/fonts/Nunito/Nunito-VariableFont_wght.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + 012D53DFD8C6464DBF6E19E4 /* Nunito-Black.ttf */ = {isa = PBXFileReference; name = "Nunito-Black.ttf"; path = "../assets/fonts/Nunito/static/Nunito-Black.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + 50E0071425F54B07BF7B82D6 /* Nunito-BlackItalic.ttf */ = {isa = PBXFileReference; name = "Nunito-BlackItalic.ttf"; path = "../assets/fonts/Nunito/static/Nunito-BlackItalic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + DA817F04F35B4BA1A6C0BB7A /* Nunito-Bold.ttf */ = {isa = PBXFileReference; name = "Nunito-Bold.ttf"; path = "../assets/fonts/Nunito/static/Nunito-Bold.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + 7E08275110DC492AA81F5BE2 /* Nunito-BoldItalic.ttf */ = {isa = PBXFileReference; name = "Nunito-BoldItalic.ttf"; path = "../assets/fonts/Nunito/static/Nunito-BoldItalic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + DA75506A4F2A44D7B27420C8 /* Nunito-ExtraBold.ttf */ = {isa = PBXFileReference; name = "Nunito-ExtraBold.ttf"; path = "../assets/fonts/Nunito/static/Nunito-ExtraBold.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + B6D4F5AC2C5D41998A5643BB /* Nunito-ExtraBoldItalic.ttf */ = {isa = PBXFileReference; name = "Nunito-ExtraBoldItalic.ttf"; path = "../assets/fonts/Nunito/static/Nunito-ExtraBoldItalic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + 1872D96B58594795BDF6C766 /* Nunito-ExtraLight.ttf */ = {isa = PBXFileReference; name = "Nunito-ExtraLight.ttf"; path = "../assets/fonts/Nunito/static/Nunito-ExtraLight.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + AFECE93D073F484A93612569 /* Nunito-ExtraLightItalic.ttf */ = {isa = PBXFileReference; name = "Nunito-ExtraLightItalic.ttf"; path = "../assets/fonts/Nunito/static/Nunito-ExtraLightItalic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + B6CB34AFACC240079497790D /* Nunito-Italic.ttf */ = {isa = PBXFileReference; name = "Nunito-Italic.ttf"; path = "../assets/fonts/Nunito/static/Nunito-Italic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + 153B340F016F497BA045811A /* Nunito-Light.ttf */ = {isa = PBXFileReference; name = "Nunito-Light.ttf"; path = "../assets/fonts/Nunito/static/Nunito-Light.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + 8DDAE8E93F2D4651A22D1882 /* Nunito-LightItalic.ttf */ = {isa = PBXFileReference; name = "Nunito-LightItalic.ttf"; path = "../assets/fonts/Nunito/static/Nunito-LightItalic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + 974D908628154101A0445B89 /* Nunito-Medium.ttf */ = {isa = PBXFileReference; name = "Nunito-Medium.ttf"; path = "../assets/fonts/Nunito/static/Nunito-Medium.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + 56DFDD6005684613BABE1A5B /* Nunito-MediumItalic.ttf */ = {isa = PBXFileReference; name = "Nunito-MediumItalic.ttf"; path = "../assets/fonts/Nunito/static/Nunito-MediumItalic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + 5D3228FB7E494D31805D6C01 /* Nunito-Regular.ttf */ = {isa = PBXFileReference; name = "Nunito-Regular.ttf"; path = "../assets/fonts/Nunito/static/Nunito-Regular.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + 375DF342F26841F6BF549CAB /* Nunito-SemiBold.ttf */ = {isa = PBXFileReference; name = "Nunito-SemiBold.ttf"; path = "../assets/fonts/Nunito/static/Nunito-SemiBold.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; + 78A78FF825C747578571B76F /* Nunito-SemiBoldItalic.ttf */ = {isa = PBXFileReference; name = "Nunito-SemiBoldItalic.ttf"; path = "../assets/fonts/Nunito/static/Nunito-SemiBoldItalic.ttf"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -156,6 +192,24 @@ 8A425B9B75B9488EA0FDF624 /* README.txt */, D133E950DA6A4BC0A97DDFFE /* FontAwesome.ttf */, C667157990F34428AEE8CC93 /* FontAwesome.json */, + ABF6C071A9704D7F84EAC642 /* Nunito-Italic-VariableFont_wght.ttf */, + 5D3162FFD8AA482CB6A0E084 /* Nunito-VariableFont_wght.ttf */, + 012D53DFD8C6464DBF6E19E4 /* Nunito-Black.ttf */, + 50E0071425F54B07BF7B82D6 /* Nunito-BlackItalic.ttf */, + DA817F04F35B4BA1A6C0BB7A /* Nunito-Bold.ttf */, + 7E08275110DC492AA81F5BE2 /* Nunito-BoldItalic.ttf */, + DA75506A4F2A44D7B27420C8 /* Nunito-ExtraBold.ttf */, + B6D4F5AC2C5D41998A5643BB /* Nunito-ExtraBoldItalic.ttf */, + 1872D96B58594795BDF6C766 /* Nunito-ExtraLight.ttf */, + AFECE93D073F484A93612569 /* Nunito-ExtraLightItalic.ttf */, + B6CB34AFACC240079497790D /* Nunito-Italic.ttf */, + 153B340F016F497BA045811A /* Nunito-Light.ttf */, + 8DDAE8E93F2D4651A22D1882 /* Nunito-LightItalic.ttf */, + 974D908628154101A0445B89 /* Nunito-Medium.ttf */, + 56DFDD6005684613BABE1A5B /* Nunito-MediumItalic.ttf */, + 5D3228FB7E494D31805D6C01 /* Nunito-Regular.ttf */, + 375DF342F26841F6BF549CAB /* Nunito-SemiBold.ttf */, + 78A78FF825C747578571B76F /* Nunito-SemiBoldItalic.ttf */, ); name = Resources; path = ""; @@ -242,6 +296,24 @@ 88B97641EDA042B383FCFCAB /* README.txt in Resources */, 95A487B0B0A94AFDA7B10C06 /* FontAwesome.ttf in Resources */, 76440F80827A49FFA3B1BED5 /* FontAwesome.json in Resources */, + B17531A20CBB4D92B0AF89A3 /* Nunito-Italic-VariableFont_wght.ttf in Resources */, + C80AB0BB2819464CBD323B30 /* Nunito-VariableFont_wght.ttf in Resources */, + 475EC9D8C2514408931549DD /* Nunito-Black.ttf in Resources */, + E64C1255A2B748B297BA8F1B /* Nunito-BlackItalic.ttf in Resources */, + 44F3116C228D441D96648511 /* Nunito-Bold.ttf in Resources */, + C59BBACF1E9D4EE080EAE3DC /* Nunito-BoldItalic.ttf in Resources */, + 86BAE2C940DB4ECEBA4017A6 /* Nunito-ExtraBold.ttf in Resources */, + 6491322815F54E2A8CF781B9 /* Nunito-ExtraBoldItalic.ttf in Resources */, + 087EA4A7BE074F1C9FA480B7 /* Nunito-ExtraLight.ttf in Resources */, + 7273695A32B64C6EA43A124A /* Nunito-ExtraLightItalic.ttf in Resources */, + EB8E1B7B820143BBA376237D /* Nunito-Italic.ttf in Resources */, + 95CD2D9394AA4FD8B184FC56 /* Nunito-Light.ttf in Resources */, + 07A496954A674C3DB9041545 /* Nunito-LightItalic.ttf in Resources */, + A2B3511833CC42D2B563A6C8 /* Nunito-Medium.ttf in Resources */, + 31EE7B79626043278451F7C2 /* Nunito-MediumItalic.ttf in Resources */, + DE74CF65696442438B3E3F5C /* Nunito-Regular.ttf in Resources */, + A9294579BC314C709C083877 /* Nunito-SemiBold.ttf in Resources */, + 4FEAEB180FF94632ADFA7D7D /* Nunito-SemiBoldItalic.ttf in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; diff --git a/example/ios/EnrichedTextInputExample/Info.plist b/example/ios/EnrichedTextInputExample/Info.plist index 75363b512..b8550f77b 100644 --- a/example/ios/EnrichedTextInputExample/Info.plist +++ b/example/ios/EnrichedTextInputExample/Info.plist @@ -32,7 +32,7 @@ NSLocationWhenInUseUsageDescription - + RCTNewArchEnabled UIAppFonts @@ -52,6 +52,24 @@ CascadiaCode-SemiBold.ttf CascadiaCode-SemiBoldItalic.ttf FontAwesome.ttf + Nunito-Italic-VariableFont_wght.ttf + Nunito-VariableFont_wght.ttf + Nunito-Black.ttf + Nunito-BlackItalic.ttf + Nunito-Bold.ttf + Nunito-BoldItalic.ttf + Nunito-ExtraBold.ttf + Nunito-ExtraBoldItalic.ttf + Nunito-ExtraLight.ttf + Nunito-ExtraLightItalic.ttf + Nunito-Italic.ttf + Nunito-Light.ttf + Nunito-LightItalic.ttf + Nunito-Medium.ttf + Nunito-MediumItalic.ttf + Nunito-Regular.ttf + Nunito-SemiBold.ttf + Nunito-SemiBoldItalic.ttf UILaunchStoryboardName LaunchScreen diff --git a/example/ios/link-assets-manifest.json b/example/ios/link-assets-manifest.json index a8216a4d7..beea0be59 100644 --- a/example/ios/link-assets-manifest.json +++ b/example/ios/link-assets-manifest.json @@ -1,6 +1,14 @@ { "migIndex": 1, "data": [ + { + "path": "assets/icons/FontAwesome.json", + "sha1": "65c34e3f33cb539a501615b68f1f306588e63692" + }, + { + "path": "assets/icons/FontAwesome.ttf", + "sha1": "13b1eab65a983c7a73bc7997c479d66943f7c6cb" + }, { "path": "assets/fonts/Cascadia_Code/CascadiaCode-Italic-VariableFont_wght.ttf", "sha1": "a084a4c3d908e5b3de7d900e73c2d7c02737be88" @@ -65,12 +73,77 @@ "path": "assets/fonts/Cascadia_Code/static/CascadiaCode-SemiBoldItalic.ttf", "sha1": "9e4969123917b46ada13a4b38171c0f8ee9d0924" }, - "path": "assets/icons/FontAwesome.json", - "sha1": "65c34e3f33cb539a501615b68f1f306588e63692" + { + "path": "assets/fonts/Nunito/Nunito-Italic-VariableFont_wght.ttf", + "sha1": "1ed03c3e8efd1dfb99567d274da89c07724ffdf4" }, { - "path": "assets/icons/FontAwesome.ttf", - "sha1": "13b1eab65a983c7a73bc7997c479d66943f7c6cb" + "path": "assets/fonts/Nunito/Nunito-VariableFont_wght.ttf", + "sha1": "a031c129002aa44c4cd3b8b2c234cf9252476853" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-Black.ttf", + "sha1": "9bc4857978df5a2d4340dfa7f2e1a5ebab04aaf5" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-BlackItalic.ttf", + "sha1": "481726fda1e57824bf4971e052e31802f49c518e" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-Bold.ttf", + "sha1": "4a505b70c66f48130872ed50b87e4cbebb1f2fbc" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-BoldItalic.ttf", + "sha1": "0d87b460e838beb01b088379f3ad3fa540b8b877" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-ExtraBold.ttf", + "sha1": "350a651693803cf369b05732920d119fdf557d6f" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-ExtraBoldItalic.ttf", + "sha1": "5b6b732af26838546aaa494eca3ac0592c713452" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-ExtraLight.ttf", + "sha1": "3f61065495641280b08dac27e4fab46e788bd079" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-ExtraLightItalic.ttf", + "sha1": "9e1a9fc918bba8079f5496797a7ade4cd4e2cdba" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-Italic.ttf", + "sha1": "6fd4abf3af151e5678295a345f420ee3ba86042e" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-Light.ttf", + "sha1": "250cafb545270387998ea2de3b4de5b9b496605c" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-LightItalic.ttf", + "sha1": "ad90741b613f345f0ff9f9f33bf86258e51db587" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-Medium.ttf", + "sha1": "6602087f0730c0980af15231022cf3471c8371f0" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-MediumItalic.ttf", + "sha1": "24cdfe03f80f2463c6112f26e5b4c6fdb994826b" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-Regular.ttf", + "sha1": "1061e4e1867b95fa1353d449970e3dcb23da5f40" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-SemiBold.ttf", + "sha1": "c1b768ee15ef8969a6e6d9c59f9a4cd7c3ca2a5e" + }, + { + "path": "assets/fonts/Nunito/static/Nunito-SemiBoldItalic.ttf", + "sha1": "519f79a38bf66bae446e241b1b1c86eac79d677f" } ] } diff --git a/example/src/App.tsx b/example/src/App.tsx index a265374a9..3aecca9ab 100644 --- a/example/src/App.tsx +++ b/example/src/App.tsx @@ -215,7 +215,7 @@ export default function App() { style={styles.container} contentContainerStyle={styles.content} > - SWM Rich Text Editor + react-native-enriched