rnote icon indicating copy to clipboard operation
rnote copied to clipboard

Xopp text import

Open Doublonmousse opened this issue 5 months ago • 4 comments

Progress on #15

Text import from xournal files.

Now the actual text is a little bit larger in rnote. Should I increase the font weight to compensate ? Or maybe it is spaces that are larger ?

image

Also added some notes for the export.

From #1320 there's a way to retain shapes by converting them to brushstrokes, but under some conditions. Maybe I can add a can_convert_to_brush method to test these conditions and create a common code path for both conversions ?

Doublonmousse avatar Jul 19 '25 11:07 Doublonmousse

thanks, looks good!

Maybe the weight does not correspond 100% to the weight in Xournal++? It seems to be a bit larger/heavier, but this could also be just differences how fonts are rendered between Rnote and Xournal++.

Is this happening for a variable or fixed weight font?

flxzt avatar Aug 01 '25 10:08 flxzt

For now testing on the most default settings. In xournal++ Sans regular 12.

Testing with source code pro (regular on xournal++ side), the difference is less so (in the green rectangle)

But there's quite a big difference if spaces are involved. image

Doublonmousse avatar Aug 02 '25 17:08 Doublonmousse

let's just go with it, right? If it's ready from your side, feel free to merge @Doublonmousse (with a commit message following conventional commits) :)

flxzt avatar Oct 24 '25 09:10 flxzt

let's just go with it, right?

Yeah, will open an issue to keep tabs on the remaining issue later

Doublonmousse avatar Nov 02 '25 15:11 Doublonmousse