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

FR: User defined font style #5

Open
manyfew opened this issue Nov 4, 2017 · 5 comments
Open

FR: User defined font style #5

manyfew opened this issue Nov 4, 2017 · 5 comments

Comments

@manyfew
Copy link

manyfew commented Nov 4, 2017

Currently the font size of the pop-up is linked to the zoom level of the web page. It would be nice if the pop-up size could be fixed and independent of the web page zoom level, and also if the pop-up font size could be defined by the user. Maybe the hanzi, pinyin and definition font size and colour could be user defined, too. When the tone colors feature is enabled, the tone colors would override the user-defined default colors, where applicable.

@Paperfeed
Copy link
Owner

I might add custom font sizes later on. For now I've added an option to disable scaling on zoom though!

@manyfew
Copy link
Author

manyfew commented Dec 8, 2017

I've check this feature. When disabled, I found the fonts looked too small on my Surface Pro 4 display, so I've left it enabled. I think linking it to zoom level is not the best idea because a website may use several font sizes, from tiny to huge. Users will zoom in and out to be able to make the website readable, but that doesn't guarantee the size of the pop-up text will be adequate, because the pop-up is not aware of the size of the text the user is looking at. So, if the mouse pointer is over an originally very small font, the user will zoom in until the font is big enough to read; meanwhile, the pop-up could look huge and take up one quarter of the screen!

Therefore, the main advantage of a pop-up with a fixed user-defined font is consistency. As a side effect, the pop-up translator also doubles as a text magnifier without having to manually zoom in to read text small text. This side effect is actually a huge workflow enhancement which a lot of people don't notice until they use a browser without the pop-up installed.

@Paperfeed
Copy link
Owner

Paperfeed commented Dec 8, 2017 via email

@manyfew
Copy link
Author

manyfew commented Dec 8, 2017

Usually well-designed websites don't need zooming and I usually browse at bewteen 100% and 120%, sometimes 140% on some crazy Chinese websites with tiny fonts. The problem is that on my computer the actual pop-up looks tiny. For example, the following screenshot shows Taobao at 100% zoom level, you can see the pop-up is very small (I'm deliberately showing you the whole screen so you can see really how small it is):

small popup

@Paperfeed
Copy link
Owner

Paperfeed commented Dec 8, 2017 via email

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