-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
a figure of Ideographic baseline differs from the definition #6157
Comments
heads-up @whatwg/i18n |
See also the discussion in #5826. Ideally we'd rely entirely on CSS, but we lack the expertise to make that call confidently. Help would be appreciated. |
need to ask alphabetic typography experts (not i18n-jlreq?),, but it seems for me, 'bottom of em space' in the image should be descender... |
agreed it looks too high in the design space. Is it trying to refer to the ICF (Ideographic Character Face) baseline? If so, it could be labelled as such. |
"Bottom of em square" seems not to refer to the CJK embox bottom, but rather the Latin typographic em square (design space). We should add the bottom (and top) of the CJK embox in the correct position(s) since those baselines are the most significant for CJK... |
@himorin has informed me that I am on the hook for a better illustration. I will attempt to provide one shortly. cc @whatwg/i18n |
@groverlynn don’t worry, we know. However it is necessary to place text on a baseline to align the glyphs across different sizes, fonts of the same script, and fonts of different scripts. Being incredibly nuanced this current illustration and what it implies is I agree “incredibly wrong” so I will propose a new one or maybe several that outline what layout engines should consider when lining text up correctly especially for CJK. |
https://html.spec.whatwg.org/images/baselines.png (referred in https://html.spec.whatwg.org/multipage/canvas.html#text-styles)
The image above seems to show the ideographic baseline as ideographic character face bottom edge, but actually it should be ideographic em-box bottom edge by definition.
Ideographic em-box is called as character frame in Requirements for Japanese Text Layout.
Related specs
WHATWG Canvas: https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-textbaseline-ideographic
CSS Inline Module: https://drafts.csswg.org/css-inline/#ideographic-under-baseline
OpenType: https://docs.microsoft.com/en-us/typography/opentype/spec/baselinetags
The text was updated successfully, but these errors were encountered: