w3c / mlreq

Mongolian Layout Requirements
https://www.w3.org/International/mlreq/
23 stars 12 forks source link

Controls needed for width of NNBSP #28

Open r12a opened 5 years ago

r12a commented 5 years ago

This is an issue originally raised by Nasun-urt and Huqitu in the mlreq draft. Moving the issue here for discussion and elaboration before contacting the CSS WG.

Whether Mongolian space (0x202F) is stretched: CSS-MONGOLIAN-SPACE:Stretch|Normal, when the Stretch option is designated, the length of Mogolian space should be stretched as that of normal space. While the option Normal is designated, Mongolian space should not be stretched, and should be displayed in the length of the font library.

r12a commented 5 years ago

Could you describe the use case for this?

Are we talking about a user preference for the width of the NNBSP in any text, or is this related to maximum stretch widths in justification or letter-spacing?

asmusf commented 5 years ago

(I read that as a fixed vs. adjustable width setting for U+202F; I didn't see any indication that a particular amount of stretch was proposed. Adjustable width, if enabled, would presumably be caused by justificaiton, etc.)

lianghai commented 5 years ago

This is about justification.

This is part of the efforts to allow the ill-defined NNBSP to behave actually like an ordinary U+0020 SP character (which is the preferred behavior for many users). As the width is already controllable in fonts (fonts can make NNBSP as wide as SP), the authors are saying there’s got to be some way to allow NNBSP, which is usually not stretchable, to be stretchable for justification.