zadam / trilium

Build your personal knowledge base with Trilium Notes
GNU Affero General Public License v3.0
26.91k stars 1.88k forks source link

(Bug Report) Excalidraw changes fonts #4666

Open Linux-Alex opened 7 months ago

Linux-Alex commented 7 months ago

Trilium Version

0.62.6

What operating system are you using?

Ubuntu

What is your setup?

Local (no sync)

Operating System Version

Kubuntu 23.10

Description

Description: I am experiencing an issue with the Excalidraw Canvas part of the Trilium app. Specifically, when I use hand-drawn fonts in the Canvas, they are not displayed consistently in my notes. Instead, they are changed to a typewritten font, resulting in repositioning of the text due to differing widths of characters. This inconsistency renders my images unusable.

Steps to Reproduce:

Expected Behavior: The hand-drawn font used in the Excalidraw Canvas should remain consistent when displayed in the notes section of the Trilium app.

Actual Behavior: The hand-drawn font is changed to a typewritten font, leading to repositioning of the text within the notes.

Screenshots:

Screenshot of handwritten font in Excalidraw Canvas: Screenshot_20240228_211115

Screenshot of the same text in notes section with typewritten font: Screenshot_20240228_211038

Here it shows, that the text on the right part (the quantization sample) is out of the cells and it's hard to interpret the meaning of the image.

Environment:

Trilium version: 0.62.6 Operating System: Kubuntu 23.10 Additional Information: When the font is freesh imported, sometimes it's correctly displayed. But after I switch between notes, the font just breaks.

Error logs

image

Zanchet2020 commented 5 months ago

I have the same problem

Linux-Alex commented 5 months ago

@Zanchet2020, do you use Windows or Linux (maby it's just a linux thing)?

PatrickWindegger commented 5 months ago

@Zanchet2020, do you use Windows or Linux (maby it's just a linux thing)?

I have the same problem on my Windows Devices.

Zanchet2020 commented 5 months ago

@Zanchet2020, do you use Windows or Linux (maby it's just a linux thing)?

I'm on Linux Fedora