paps icon indicating copy to clipboard operation
paps copied to clipboard

Emoji not scaling well with increased font size

Open gnusupport opened this issue 2 years ago • 1 comments

IMHO, Emoji should be like SVG to scale equally well with increased font size. It doesn't. It has bad quality in PDF files.

gnusupport avatar Feb 09 '23 19:02 gnusupport

My guess is that it is a font problem. I don't do anything special with emoji, it is all handled by pango, and as far as I understand emoji's are just another (colored) font. Here is what it looks like on my system. I agree that there are some fuzzy edges, but that is a pango or a cairo problem.

See also: https://www.reddit.com/r/archlinux/comments/j0z3a8/pango_renders_nothing_for_emojis_with/

Input:

Here is text with an emoji: 🐻

Command line:

paps --markup --font="Sans 50" -o /tmp/foo.pdf --markup /tmp/foo.mu

Result paps-output

dov avatar Feb 09 '23 20:02 dov