Xopp text import
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 ?
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 ?
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?
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.
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) :)
let's just go with it, right?
Yeah, will open an issue to keep tabs on the remaining issue later