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 books contains spacing that breaks yomichan's scanning #28

Closed
archiif opened this issue Nov 18, 2021 · 2 comments
Closed

Some books contains spacing that breaks yomichan's scanning #28

archiif opened this issue Nov 18, 2021 · 2 comments

Comments

@archiif
Copy link

archiif commented Nov 18, 2021

I found that some books have weird spacing in them when there is a furigana which breaks yomichan's scanning:

image

Can the reader strip spaces like these so that yomichan scanning would work? If there is a way to remove spaces like these from the file itself, that would also be great.

@ttu-ttu
Copy link
Owner

ttu-ttu commented Nov 19, 2021

I would consider this out of scope of the reader, but you can fix this on yomichan instead.

  1. Go to Yomichan's settings page
  2. Turn on Advanced
  3. Look "Configure custom text replacement patterns" under Translation
  4. Add a new pattern "\s" and replace it with nothing

image
image

@ttu-ttu ttu-ttu closed this as completed Nov 19, 2021
@archiif
Copy link
Author

archiif commented Nov 19, 2021

Thanks, that's good enough for me

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

No branches or pull requests

2 participants