Hacker News new | ask | show | jobs
by bx376 1278 days ago
Congrats! This is truly a game-changer.

Personally, I have two suggestions for a future release:

1). Invert-color PDF dark mode harms readability.

Simply invert the color will make serif fonts less readable. I use PDF.js with the following canvas renderer snippet to create a more pleasant reading experience.

```css

#viewerContainer > #viewer > .page > .canvasWrapper > canvas { filter: sepia(23%); filter: saturate(45%); filter: hue-rotate(181deg); filter: brightness(90%); filter: contrast(93%); filter: invert(81%); }

#viewerContainer > #viewer > .spread > .page > .canvasWrapper > canvas { filter: sepia(23%); filter: saturate(45%); filter: hue-rotate(181deg); filter: brightness(90%); filter: contrast(93%); filter: invert(81%); }

```

Try this with this PDF.js extension: https://chrome.google.com/webstore/detail/pdf-reader/ieepebp... by pasting it to the option page.

2). Custom Font support.

As a power user, I'd like to render the article with my personally preferable font (locally installed in most cases.) Why not simply give users the option to set css:font-family? It's really easy to implement.

Anyway, the current product is pleasing enough! I'm already spiritually a paid-user.

1 comments

Thank you!

1) Haha yeah, the inverted colors was kind of a quick hack to make some folks happy. That css looks great -- will definitely explore something like that with our designer :)

2) Not a bad idea at all...