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

Blocking fonts breaks only one menu #459

Closed
xundeenergie opened this issue May 3, 2021 · 3 comments
Closed

Blocking fonts breaks only one menu #459

xundeenergie opened this issue May 3, 2021 · 3 comments

Comments

@xundeenergie
Copy link

Describe the bug

I have browser.display.use_document_fonts set to 0 in my firefox as security-feature. This breaks only one menu. All others are working as expected. Look at the screenshot.

screenshot_writefreely_broken_menu

Setting this to 1 the menu is correct.

Steps to reproduce (if necessary)

Steps to reproduce the behavior:

  1. Go to 'about:config'
  2. Set browser.display.use_document_fonts to 0
  3. Go to writefreely and hover over "Drafts" in writing-mode

Expected behavior

The fonts in this menu should be the same as in every other menu in writefreely too.

Application configuration

  • Single mode or Multi-user mode? Multiuser
  • Database? [mysql/sqlite] mysql
  • Open registration? [yes/no] no
  • Federation enabled? [yes/no] yes

Version or last commit: v0.12.0

@xundeenergie
Copy link
Author

I found, the broken Menu has this CSS-Styles (from Firefox developer tools)
`header nav#user-nav a {
font-size: 1.2em;
font-family: 'Open Sans','Segoe UI',Tahoma,Arial,sans-serif;
}
header nav#user-nav a {
font-size: 1.2em;
font-family: 'Open Sans','Segoe UI',Tahoma,Arial,sans-serif;
}
.material-icons {

font-family: 'Material Icons';
font-weight: 400;
font-style: normal;
font-size: 24px;
display: inline-block;
width: 1em;
height: 1em;
line-height: 1;
text-transform: none;
letter-spacing: normal;
word-wrap: normal;
white-space: nowrap;
direction: ltr;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-moz-osx-font-smoothing: grayscale;
font-feature-settings: 'liga';

}
`

the other menu haas only this CSS-Style
header nav#user-nav a { font-size: 1.2em; font-family: 'Open Sans','Segoe UI',Tahoma,Arial,sans-serif; }

@thebaer
Copy link
Member

thebaer commented Jun 21, 2021

Thanks for the report, @xundeenergie. Do you have any resources on what security improvements that browser feature gives you? From my own knowledge, I'm not sure of why someone might be motivated to disable icon fonts, and hence if it's worth supporting that browser feature in the near term.

@thebaer
Copy link
Member

thebaer commented Jun 28, 2021

I'll close this now, but please feel free to respond whenever you can.

@thebaer thebaer closed this as completed Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants