emoji Swap Lib
![]() |
THE PROBLEM WE ARE SOLVING (Bug 22982 ): PDF creation on mobile fails if the text being rendered contains an emoji. This library (EmojiSwapLib) is a workaround that takes a field with emoji unicode glyphs and removes the emojis, replacing them with identical imageSource that mimics the emojis. For speed and simplicity, the current method replaces all instances of a particular emoji in one go, using the same image... this means that all instances of that emoji will inherit the same "textSize" since they all reference the same image. |