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

Font size problem #48

Open
rampaa opened this issue May 5, 2020 · 1 comment
Open

Font size problem #48

rampaa opened this issue May 5, 2020 · 1 comment
Labels

Comments

@rampaa
Copy link

rampaa commented May 5, 2020

Nazeka sometimes uses the font size of a character instead of the selected font size in its options, you can try it out with: Font size test.txt (just rename the .txt as .html. Apparently Github doesn't support uploading HTML files.)

The displayed text size is also getting affected when one zooms in/out a page, but I think it shouldn't.

@wareya
Copy link
Owner

wareya commented May 5, 2020

Nazeka sometimes uses the font size of a character instead of the selected font size in its options,

This happens on pages with aggressive/poorly written CSS because nazeka doesn't use shadow DOM to stop the cascade like e.g. yomichan does. It's on my long-term todo list. Nazeka won't work 100% properly on pages that directly restyle the 'div' element (or other elements) unless I stuff a CSS reset inside of the popup element or something.

The displayed text size is also getting affected when one zooms in/out a page, but I think it shouldn't.

Unfortunately, I can't control this. If you have a site that you always read zoomed-in or zoomed-out, you could zoom it with the stylus extension somehow (https://addons.mozilla.org/en-US/firefox/addon/styl-us/) instead of using the browser's zoom feature. Not sure exactly what the CSS would have to look like, though.

@wareya wareya added the future label Nov 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants