#Inkscape Templates Not Working Even When Just Re-Saving a Remarkable Template

1 messages · Page 1 of 1 (latest)

autumn widget
#

Edit: Creating my own .template file resolved this to my satisfaction. See the last comment for code to generate a Cornell template with procedural line spacing.

Hello,

I am designing custom templates in Inkscape but my Remarkable 2 does not display what I designed. This happens even when I just open and re-save a Remarkable template in Inkscape. I would like a solution which does not require downloading custom tools. Is there something with the distance calculation format in Remarkable SVGs I am not aware of?

Base, PNG, and SVG comparisons are attached.

Chief Differences on the Remarkable:

  • PNG templates are zoomed in slightly too much
  • SVG (plain) templates are zoomed out the point of being a sub-page
  • Sometimes templates are incredibly zoomed in, but I do not have a replication procedure
  • Lines are not as visible
  • Infinite scroll is broken on Inkscape templates

Replication Protocol:
Configure the Remarkable for SSH. SCP /usr/share/remarkable/templates/P Margin large.svg to your computer. Open it in Inkscape. Save as P Test.svg. SCP P Test.svg to the Remarkable as /usr/share/remarkable/templates/P Test.svg Edit templates.json to have the entry

{
  "name": "Test",
  "filename": "P Test",
  "iconCode": "\ue9ff",
  "categories": ["Lines"]
}

and restart xochitl with systemctl restart xochitl.

Settings Tried or Toggled:

  • Export as Plain SVG
  • 1404x1872 resolution
  • 1620x2160 resolution
  • Border on/off
  • Use antialiasing
autumn widget
#

Resolution Update (Still Unresolved):
The zoom level seems to be set by the DPI. By setting the PNG export "pHYs DPI" setting to 226 (image attached) the SVG fully-zoomed-out effect can be replicated with a PNG template. This suggests that something in the SVG resolution is causing the weird SVG zoom

Remarkable reports that the screen supports 226 DPI, so I am surprised that a 226 DPI image causes problems.
https://support.remarkable.com/s/article/About-reMarkable-2

autumn widget
#

Somehow, after some light formatting, the original and Inkscape SVGs for "P Margin large" are identical. I wonder if this has to do with some infinite scrolling situation. Currently debating between editing a non-infinite scroll template to see if the result differs

Thank you to @eternal girder for reminding me that SVGs are raw XML

#

I am losing my mind. Even when I duplicate the OEM svgs I get the same incorrect display

autumn widget
#

The file, rather than the file's data seems to control the SVG scaling size. There must be additional configuration beyond the template file and templates.json. Consider the two entries for a template named "Test" that is supposed to duplicate the "Margin large" template.

{
  "name": "Test",
  "filename": "P Margin large duplicate",
  "iconCode": "\ue9ff",
  "categories": ["Test"]
}
``` gives a zoomed out SVG as shown in the first post of this thread, despite having identical data to "Margin large." However, using the original file like so

{
"name": "Test",
"filename": "P Margin large",
"iconCode": "\ue9ff",
"categories": ["Test"]
}

#
Reddit

Explore this conversation and more from the RemarkableTablet community

Reddit

Explore this post and more from the RemarkableTablet community