Exporting PDF with SVG Checkbox Icons not working

Once you’ve done the above, delete everything above this line.

Steps to reproduce

  1. In a Sandbox, download the Alternative Set Checkboxes CSS Snippet.
  2. Create a sample list of checkboxes with SVG icons, Like from here
  3. Export to PDF
  4. Open exported PDF in local viewer

Did you follow the troubleshooting guide? [Y/N]

  • [p] Yes, I did follow the above guide

Expected result

I expect a PDF which shows the same Lucide Icons set in the CSS which are shown inside of the application.

Actual result

The exported PDF has only standard black squares and no Lucide Icons

Environment

SYSTEM INFO:
Obsidian version: v1.9.2
Installer version: v1.8.10
Operating system: #63-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 15 19:04:15 UTC 2025 6.8.0-60-generic
Login status: logged in
Language: en
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: dark
Community theme: Nordic v1.4.0
Snippets enabled: 1
Restricted mode: on

RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.


Additional information

○ → echo $XDG_CURRENT_DESKTOP
ubuntu:GNOME

○ → lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.2 LTS
Release: 24.04
Codename: noble

Bug reports aren’t generally accepted using custom css, but this is working for me in a PDF export on macOS v15.5, Obsidian v1.9.2 Sandbox.

Yes, I have seen this works on Windows and on MacOS, and on a few other Linuxes. I see this not as a Custom CSS problem, although technically it is.

It is definitely with the PDF Export feature of Obsidian not handling non-default Lucide Icons correctly with this OS/Desktop manager.

Although I would understand if this is therefore closed. Nonetheless, I feel this may be a small bug which could be squashed if I could only help to debug it.

I think I have found the culprit. And it seems indeed to be not Obsidian’s fault. I am using evince to view my PDFs. With the GNOME Document Viewer 46.3.1 of evince I see the problem. Opening the file in Chrome shows the correct icons. It still might be an Obsidian PDF writing problem? Probably not. But if the developers care, those were the recreations of the problem.