[okular] [Bug 496661] Exporting markdown to PDF loses emojis

Iizuki bugzilla_noreply at kde.org
Mon Dec 9 17:31:43 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=496661

--- Comment #4 from Iizuki <kv3f5ves at mailer.me> ---
That is weird yeah, but it gave me a debugging idea.

I have the following configuration in
`/home/iizuki/.config/fontconfig/fonts.conf`:

```xml
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
 <alias>
   <family>sans-serif</family>
   <prefer>
     <family>Noto Sans</family>
     <family>Noto Color Emoji</family>
     <family>Noto Emoji</family>
   </prefer> 
 </alias>

 <alias>
   <family>serif</family>
   <prefer>
     <family>Noto Serif</family>
     <family>Noto Color Emoji</family>
     <family>Noto Emoji</family>
   </prefer>
 </alias>

 <alias>
  <family>monospace</family>
  <prefer>
    <family>Noto Mono</family>
    <family>Noto Color Emoji</family>
    <family>Noto Emoji</family>
   </prefer>
 </alias>
</fontconfig>
```

The point is just to use color emojis where-ever possible.

Disabling that conf makes the export work, only with a black and white teapot
emoji before and after. The files exported with the conf enabled still don't
show anything. There's just no (selectable) character in the PDF.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list