I put together a library stack that removes emojis from a field and replaces
them with an imageSource so that the field can print to pdf on mobile. I
wasn’t sure how to build a generalized solution that looked for emojis inside a
range of codepoints so I settled for a brute-force solution. Hope
Thanks for answering Scott!
Not a big issue for me at the moment.
Greetings,
William
Op ma 26 okt. 2020 om 03:57 schreef scott--- via use-livecode <
use-livecode@lists.runrev.com>:
> I think that emojis not rendering to PDF has been a longstanding issue…
> and I thought that I had filed a bug
I think that emojis not rendering to PDF has been a longstanding issue… and I
thought that I had filed a bug report on this but looking at bugzilla, I failed
to find it. (sigh). I have code in two of my apps that alert the user, should
PDF creation fail, that they should remove emojis from their
Hi Richmond,
That’s the short version of the code.
Like I said it works fine as long as it is text only. When an Emoji from the
iOS keyboard is added the Emoji is not printed in the PDF.
> Op 25 okt. 2020 om 21:13 heeft Richmond via use-livecode
> het volgende geschreven:
>
> " 'export
" 'export snapshot' to PDF as PNG" sounds a bit odd.
On 25.10.20 21:47, William de Smet via use-livecode wrote:
Hi there,
A simple iOS app in which the user chooses the iOS keyboard to add text and
an Emoji to a standard LC text field.
I use 'export snapshot' to PDF as PNG to print to PDF.
When
Hi there,
A simple iOS app in which the user chooses the iOS keyboard to add text and
an Emoji to a standard LC text field.
I use 'export snapshot' to PDF as PNG to print to PDF.
When there is only text in the field all text is printed to the PDF but
when an Emoji is added the Emoji is not printed