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

Текст выглядит "тоньше" после bold/unbold #76

Closed
maximvl opened this issue Jul 6, 2018 · 4 comments
Closed

Comments

@maximvl
Copy link

maximvl commented Jul 6, 2018

Сделал слово "under" жирным и потом обратно - оно стало выглядеть тоньше остального текста.

@xintrea
Copy link
Owner

xintrea commented Jul 6, 2018

Обоженьки, действительно. Я бы сказал, неожиданно. Попозже посмотрю как так получается.

@xintrea
Copy link
Owner

xintrea commented Jul 6, 2018

Видимо, тут зависимость от разрешения экрана (HiDPI или что-то такое). На старых экранах этой проблемы не было, на новых имеем:

С Bold:
<span style=" font-weight:600;">строка</span>

Без Bold:
<span style=" font-weight:0;">строка</span>

А для всего текста:
<body style=" font-family:'DejaVu Sans'; font-size:11pt; font-weight:400;

Поэтому и становится тонким. Щас подумаю как исправить.

@xintrea
Copy link
Owner

xintrea commented Jul 6, 2018

Исправлено в коммите 8ca52de

@xintrea xintrea closed this as completed Jul 6, 2018
@xintrea
Copy link
Owner

xintrea commented Jul 6, 2018

Кстати, на ноутбуке с Windows такой проблемы нет.

xintrea added a commit that referenced this issue Aug 4, 2018
без выделения данного слова, приводило к появлению тонкого шрифта, который
заметен на HiDPI конфигурациях.
Баг был аналогичен багу #76
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