Skip to content

Conversation

@Doublonmousse
Copy link
Collaborator

@Doublonmousse Doublonmousse commented Jul 19, 2025

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 ?

@flxzt
Copy link
Owner

flxzt commented Aug 1, 2025

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?

@Doublonmousse
Copy link
Collaborator Author

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

@flxzt
Copy link
Owner

flxzt commented Oct 24, 2025

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) :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants