-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
I believe Cairo now supports emoji (https://www.phoronix.com/scan.php?page=news_item&px=Cairo-1.15.8-Colored-Emoji) as of 1.15.8. I think Cairo.jl is now based on 1.16.0. So I thought it should be possible to display emoji...
Changing sample_text.jl to contain this:
select_font_face(cr, "AppleColorEmoji", Cairo.FONT_SLANT_NORMAL,
Cairo.FONT_WEIGHT_BOLD)
set_font_size(cr, 90.0)
move_to(cr, 10.0, 135.0)
show_text(cr, "๐ฉ๐ช๐ซ๐ฌ๐ญ๐ฎ๐ฏ๐ฐ๐ฑ๐ฒ๐ณ๐ด๐ต๐ถ๐ท๐ธ๐น๐บ๐ป๐ผ๐ฝ๐พ๐ฟ๐๐") just produces empty boxes. Is there a trick to getting them showing? Perhaps it's a FontConfig/FreeType thing?
Edit: I see that on some devices Github canโt display some of the emojis in that string either... But theyโre rendered correctly in Julia (n the REPL and in my editor (Atom)).
c42f
Metadata
Metadata
Assignees
Labels
No labels