[Webkit-unassigned] [Bug 239693] New: Apply layout adjustment for 'text-emphasis' to more languages or fonts
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Apr 23 11:35:57 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=239693
Bug ID: 239693
Summary: Apply layout adjustment for 'text-emphasis' to more
languages or fonts
Product: WebKit
Version: Safari 15
Hardware: All
OS: macOS 12
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bobbytung at me.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Created attachment 458218
--> https://bugs.webkit.org/attachment.cgi?id=458218&action=review
test case with multiple languages and fonts
Hello,
When I tested CSS property 'text-emphasis' in Japanese and Chinese language. I found that layout will be adjust to let the dot above/aside close to base text with certain fonts: Hiragino Mincho and Hiragino Sans. When I changed the value to sesame and circle, some other Japanese fonts may work. But it didn't apply to Traditional Chinese and Simplified Chinese.
Without the layout adjustment, the dot may far away from base text, even make line-height expand with a proper value 1.7 / 1.8.
I'm not sure this behavior related to font, or Webkit had a whitelist to adjust those fonts.
text-emphasis is not only used in Japanese, It's official punctuation in China[1] for Simplified Chinese. And it also occasionally used in Traditional Chinese books published in Taiwan, especially translated from Japanese.
I'd like this layout adjustment able to apply for more language and fonts.
Regards,
Bobby
[1]: In China National Standard GB/T 15834—2011.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220423/81393cb8/attachment.htm>
More information about the webkit-unassigned
mailing list