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

Default browser font does not work well for dynamic filtering panel #943

Closed
gorhill opened this issue Nov 16, 2015 · 6 comments
Closed

Default browser font does not work well for dynamic filtering panel #943

gorhill opened this issue Nov 16, 2015 · 6 comments

Comments

@gorhill
Copy link
Owner

gorhill commented Nov 16, 2015

At least for Linux/Firefox -- the default browser font is too wide.

Just like uMatrix, consider shipping with the optimal font to be used for the dynamic filtering panel.

@gorhill gorhill changed the title Default browser font does not work well for advanced panel Default browser font does not work well for dynamic filtering panel Nov 16, 2015
@lewisje
Copy link

lewisje commented Nov 16, 2015

For your specific distro, are you talking about DejaVu Sans?

I'd consider just widening the popup UI to compensate, and then allowing Segoe UI et al. to be too narrow.

@gorhill
Copy link
Owner Author

gorhill commented Nov 16, 2015

For your specific distro, are you talking about DejaVu Sans?

I don't know what Firefox is using for Sans-serif, it does look like DejaVu Sans:

a

I myself usually change this to Droid Sans:

c

By packaging a specific font, I ensure uBO will look the same regardless of the platform. That would apply only to the dynamic filtetring panel, where space is constrained.

@lewisje
Copy link

lewisje commented Nov 17, 2015

I guess if you were curious enough, you could set up a page with the text font set to sans-serif and then use the Web Inspector to see the computed font; anyway I wonder whether subsetting or something similar could be reliably done, to reduce the additional size in the extension package.

@Goderw
Copy link

Goderw commented Nov 17, 2015

From my point of view the default font DejaVu Sans is extremely legible - despite or perhaps it takes up more space. Both facts stand in contrast to Droid sans... and I think legibility is much more important. So far I am not yet come across that some writings would have come off screen... I use also the German translation and German words use sometimes even more space than English ones. In terms of the size of the resulting extension package and also that you come across to prescribe a special font to a user, which he probably sees as "ugly", I would not even give me so much work to accomplish this little thing and to create by the way possibly discontent.

@Goderw
Copy link

Goderw commented Nov 17, 2015

Addition:
I am very pleased that this extension follows my font settings in particular because for me under Linux the entire system uses DejaVu Sans... so that the overall picture inserts this extension into the perfect.

gorhill added a commit that referenced this issue Nov 30, 2015
@gorhill
Copy link
Owner Author

gorhill commented Dec 1, 2015

Forcing the pluses and minuses to monospace takes care of the issue.

@gorhill gorhill closed this as completed Dec 1, 2015
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

3 participants