Evidlo / remarkable_news

Daily news/comics on your reMarkable's suspend screen
GNU General Public License v3.0
285 stars 32 forks source link

Add ability to set title and subtitle #37

Closed hashworks closed 10 months ago

hashworks commented 11 months ago

After I wrote this I noticed that there is already a very similar PR (#28). But I think I can trump that one, since this PR implements xpath support.

PXL_20231217_173731403 MP

hashworks commented 11 months ago

Closes #28.

hashworks commented 11 months ago

Closes #1.

hashworks commented 11 months ago

Labels that are too long are now split into two lines: PXL_20231219_133312120

Evidlo commented 10 months ago

This is looking really good, and the pictures look nice!

Could I make a request to include a default font by embedding Noto-Sans into the binary itself. Not all systems will have NotoSans installed, and I'd like this to be as portable as possible. NotoSans-Bold.ttf seems to be only around 500KB.

hashworks commented 10 months ago

Could I make a request to include a default font by embedding Noto-Sans into the binary itself.

I've done that, I've also taken the liberty to include the xkcd font.

I wanted to add the TTF files using LFS, but it seems like GitHub doesn't support that for public forks. I've included the .gitattributes file, feel free to fix that later.

Evidlo commented 10 months ago

Thanks, this has been a long sought-after feature

mehalter commented 5 months ago

@hashworks sorry for commenting off topic on this PR, but I'm curious how you added your name/email at the bottom of the generated image. Is this an extra flag that can be added to the service to add a footer with contact information?

Thanks so much for an awesome project!

hashworks commented 5 months ago

This is a standard reMarkable Feature, just go to Settings -> Security -> Personal information ("Contact details to identify your reMarkable in sleep mode").