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

Upstream list item tweaks, allow 2-pages mode without constraints #407

Merged
merged 5 commits into from
Jan 13, 2021

Conversation

poire-z
Copy link
Contributor

@poire-z poire-z commented Jan 13, 2021

(chore) Silence some clang warnings

(Upstream) CSS content: fix regression with open-quote/close-quote
buggins/coolreader#215. Regression from #379 d76b2f3

(Upstream) HTML lists: support the 'reversed' attribute
buggins/coolreader#212 + fix from buggins/coolreader#227

(Upstream) Tweak list items disc/circle/square symbols
From buggins/coolreader#217

2-pages mode: option to skip geometry checks
So CoolReader can keep it, put we can bypass them in KOReader.
See koreader/koreader#7129 (comment)
Also removed the thin line separator that was only showing on color screen (no need for a thin line separator: the middle margin was sized to be like the other margins: a separator would cut it in half and make it look like two smaller margins).


This change is Reviewable

poire-z and others added 5 commits January 13, 2021 10:46
Regression from d76b2f3: forgot to add +1 to the
length when converting quotes to strings.
Support reversed list item counting.
The start defaults to the number of list elements when
counting is reversed.
Fix the count to advance irrespective of the list style.
Avoid walking the elements if the list element has
a value defined.
Add option to prevent crengine from doing its W/H > 6/5
and W > 20em checks to allow 2-pages mode, so frontends
can propose it too in portrait mode.
Also remove the thin line separator that was only
showing on color screen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants