-
Notifications
You must be signed in to change notification settings - Fork 47
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
render issues #22
Comments
No problem in Firefox here too. Am looking into the issue. |
Please update the theme and see if it is fixed. |
题外话:霞鹭文楷的粗体和常规体区分度不明显,有时候不仔细查看都无法发现某段文字有加粗。因此个人并不建议你使用这种字体。 |
@justlongfei TLDR: Long explanation: I believe this bug belongs to Safari or LXGW Wenkai. But I don't have the time to dig into the root cause right now. <!DOCTYPE html>
<html lang="en">
<head>
<style>
@import url('https://cdn.jsdelivr.net/npm/[email protected]/style.css');
#wrapper {
display: flex;
font-family: 'LXGW WenKai', serif;
}
</style>
</head>
<body>
<div id="wrapper">
<h1>
<a href="/">Any Text with Word-Breaks</a>
</h1>
<h1>
<a href="/">OK_When_No_Word_Breaks</a>
</h1>
</div>
</body>
</html> |
similar issue rsms/inter#321 |
I don't know, maybe really hit WebKit's bug. |
It appears to be some bug introduced by the cdn stylesheet however I did not study this through. #wrapper {
display: flex;
font-family: 'LXGW WenKai', serif;
background-color: blueviolet;
/* justify-content: space-around; */ /* not needed if inner elements have flex-grow and basis */
/* white-space: nowrap; */ /* result unnecessary overflow */
}
h1:first-of-type {
background-color: lightblue;
}
h1:last-of-type {
background-color: lightgreen;
}
h1 {
flex: auto;
text-align: center;
} |
感谢您的反馈,粗体本来是作为 Medium 字重,后因为有用户提议才将 Medium 改为 Bold 字重(lxgw/LxgwWenKai#37)。之后的版本会考虑调整,Bold 将改回 Medium,Light 将改为 SemiLight。 而在此基础上加粗调整的 臻楷 依然有很多人觉得细,或许有原字体比较细的原因,主要还是我在字重的选择上太保守了,直接机械加粗又怕糊掉。 |
Thanks for your pretty theme.
There is a render issue when use a different customer font in Safari and mobile.
No problem in Chrome.
custom.css
The text was updated successfully, but these errors were encountered: