Skip to content
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

[articles/typography/linebreak] Need mention of effects of punctuation in "space" separated #154

Closed
asmusf opened this issue Jun 13, 2018 · 3 comments

Comments

@asmusf
Copy link

asmusf commented Jun 13, 2018

[source] (http://w3c.github.io/i18n-drafts/articles/typography/linebreak.en) [en]

I think the role of Hyphen in many (most?/all?) linebreaking for languages that are normally space separated needs to be discussed.

This includes the "secondary" linebreaks that happen when words are broken (hyphenation) to make the line fit better.

A full discussion may go too far, but to leave these out entirely means that the description is too incomplete to be useful.

Since you mention for the character-based linebreaking that not all characters allow breaks before them, it would be nice to acknowledge that not all spaces should allow breaks (e.g. after a title) and that this is handled, for example, by non-breaking clones for certain characters (space, hyphen, etc.) or perhaps other means.

Again, having this a cursory overview is fine, but the line should be drawn so it includes introducing some of the principal exceptions to the general strategies, possibly with mention that additional fine details exist and are not covered.

@simoncozens
Copy link

Agree. On the whole this is a good summary, but there are some interesting quirks regarding hyphenation and line breaking that may even warrant pulling hyphenation out into a separate article. One issue is the interaction between other punctuation characters and hyphenation; e.g. in Turkish the apostrophe is considered part of the word for hyphenation purposes. (See sile-typesetter/sile#265)

@r12a
Copy link
Contributor

r12a commented Jun 18, 2018

to leave these out entirely means that the description is too incomplete to be useful

may even warrant pulling hyphenation out into a separate article

Indeed, i expect we may have another article about hyphenation at some point, but it's not left out entirely here. There's a subsection devoted to it at http://w3c.github.io/i18n-drafts/articles/typography/linebreak.en#sec_hyphenation.

with mention that additional fine details exist and are not covered

Right up at the top of the page we say:

We will only give examples of the main differences, rather than exhaustively list all the details.

For more detailed information about how line-breaking happens in various scripts, see the International text layout and typography index.

I didn't include the (interesting) Turkish example, because i'm not entirely sure what the best solution is yet.

But i did add a subsection about preventing line breaks. Thank you for that suggestion.

@r12a
Copy link
Contributor

r12a commented Jun 18, 2018

Closing this. Reopen if you want to continue the discussion.

@r12a r12a closed this as completed Jun 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants