Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some pages result in smaller font size #85

Open
danburzo opened this issue Oct 30, 2018 · 6 comments
Open

Some pages result in smaller font size #85

danburzo opened this issue Oct 30, 2018 · 6 comments
Labels
Available This issue is up for grabs Bug Something isn't working

Comments

@danburzo
Copy link
Owner

On some pages, e.g.

percollate pdf pdf https://de.wikipedia.org/wiki/JavaScript

The font size in the resulting PDF is much smaller than usual, although the page size remains the same.

@danburzo danburzo added Bug Something isn't working Available This issue is up for grabs labels Oct 30, 2018
@danburzo
Copy link
Owner Author

It can be fixed with:

html, body {
  width: 100%;
  overflow: hidden;
}

But it causes wide tables to get clipped and I'm not sure whether we should do this by default.

@yashha
Copy link
Contributor

yashha commented Nov 1, 2018

It should probably be default. What speaks against it?

@danburzo
Copy link
Owner Author

danburzo commented Nov 2, 2018

Tables with many columns, and possibly large SVG illustrations (#89) may be cut off? In which case I guess it's better if the font size shrinks rather than content that goes missing.

@yashha
Copy link
Contributor

yashha commented Jul 14, 2019

It would may be cool to only shrink the table down, but I don't know atm, if it is doable.

@yashha
Copy link
Contributor

yashha commented Jul 15, 2019

@yashha
Copy link
Contributor

yashha commented Jul 15, 2019

Maybe we should split the table in the pre-processing, depending if it is a4 or a5
https://stackoverflow.com/questions/8891944/print-a-very-wide-html-table-without-clipping-right-hand-side/16278665#16278665

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Available This issue is up for grabs Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants