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

NPM upgrade + Thorium ports #150

Merged
merged 47 commits into from
Sep 20, 2024
Merged

NPM upgrade + Thorium ports #150

merged 47 commits into from
Sep 20, 2024

Conversation

JayPanoz
Copy link
Collaborator

Please check if the PR fulfills these requirements:

(Add x between brackets to check.)

  • I’ve read contributing guidelines
  • I’m making this pull request against the develop branch
  • I’ve updated from the develop branch before proposing this pull request
  • I’ve tested the changes for bug fixes and/or features
  • I’ve documented new code

What kind of change does this PR introduce? (Bug fix, feature, docs update, other)

This carries a couple of fixes (correcting Accessible DfA font rendering among others).

It also updates NPM env – and upgrades its dependencies.

Finally it implements Thorium changes that can be useful to all consumers of ReadiumCSS.

Specifically:

it resolves #136
it resolves #140
it fixes #94
it fixes #128

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Fixes should be straightforward and transparent for most apps, unless they already had something in place to fix these bugs.

New features i.e. hiding ruby annotation and letter-spacing in CJK languages, should obviously be implemented.

Other information:

This PR is meant to be the last version 1 of ReadiumCSS and will be tagged as such.

Given the extent of breaking changes and the new philosophy guiding decisions in the last months of development, it’s been decided to upgrade to version 2.

JayPanoz and others added 30 commits May 6, 2020 09:45
Resolves #97 but doesn’t fix the overarching issue in Chromium. Also
needs docs before being pushed into main.
Audio now on its own so that value auto for width or height doesn’t break controls. Resolves #94
Forcing value of var instead of inherit to make sure it is applied in all conditions. Resolves #128
This module allows for the hiding of ruby annotations in CJK. Resolves #140
Tests for letter-spacing in CJK and hiding ruby annotations
Remove Japanese name settings as much as possible and add Postscripting name settings. Font order is basically based on the previous one.
Remove Japanese names as much as possible. Since MS fonts do not have anti-aliasing, try adjusting them to use BIZ UD Fonts, which are currently considered easy to read in Japanese Windows environments.
With fixed japanese fonts
Thorium ports: 

- it resolves Letter-spacing for japanese #136
- it resolves User setting to disable/hide ruby #140
- it fixes Width and height safeguards hide audio controls + video #94
- it fixes forcing "start" text alignment (left or right depending on document language) does not work with "inherit" #128
@JayPanoz JayPanoz removed the request for review from danielweck September 20, 2024 07:23
@JayPanoz JayPanoz merged commit 5084cac into master Sep 20, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants