-
Notifications
You must be signed in to change notification settings - Fork 699
Редактирует статью про font-synthesis #5925
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
base: main
Are you sure you want to change the base?
Conversation
|
Привет, Посмотри, пожалуйста, пару мелких коментов |
vitya-ne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Я тут ещё кое-что добавил, посмотри пожалуйста
vitya-ne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Спасибо за дополнение. Оставил один комент.
|
@gazievri Привет,
|
vitya-ne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ещё пара коментов
vitya-ne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Посмотри, пожалуйста на описание в разделе При использовании Google Fonts
Превью контента из 29e08cf опубликовано. |
vitya-ne
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Спасибо за дополнения! Возможно некоторые тонкости выходят за рамки темы, но при окончательной редактуре это можно поправить. )
Добавил ещё несколько мелочей.
| } | ||
| ``` | ||
|
|
||
| Это может приводить к неожиданному поведению в сложных layouts, поэтому важно учитывать наследование при использовании `font-synthesis` на верхних уровнях DOM-дерева. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Предлагаю:
- поднять это предложение выше (над примерами) - ведь оно является продолжением мысли;
- немного уточнить.
Это может приводить к неожиданному поведению в сложных layouts
- "сложный layouts" лучше заменить на какой-то аналог полностью на русском, например:
"в глубоко вложённой структуре элементов"
|
|
||
| 💡 **Дополнительно:** При работе с variable fonts полезно использовать `font-optical-sizing: auto`, которое автоматически подстраивает оптические размеры глифов в зависимости от `font-size`. Это не влияет на синтез, но дополняет качественную типографику при работе с вариативными шрифтами, особенно на маленьких и больших размерах текста. Свойство применяется при наличии оси `opsz` в шрифте. | ||
|
|
||
| ### Когда использовать font-synthesis: none |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Когда использовать font-synthesis: none
Я бы перенёс это в 'Подсказки', но это просто совет )
nasty23-star
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Привет! Большое тебе спасибо за желание закончить незавершённую статью!
(@^◡^)つ❀✾✿
Оставила несколько комментариев, посмотри, пожалуйста.
|
|
||
| ### Когда синтез особенно заметен | ||
|
|
||
| Синтетические варианты шрифта особенно плохо смотрятся: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Может быть, есть возможность прикрепить пару скриншотов с примерами синтетических и обычных шрифтов? Было бы здорово.
nasty23-star
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Спасибо!
Описание