-
Notifications
You must be signed in to change notification settings - Fork 10
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
unfortunate hyphenation of file names #339
Comments
@sknorr If I remember correctly, we did that on purpose some time ago. This was not the case before. Links and filenames used the special hyphenation algorithm from However, we did that for a reason. I think, it had something to do with ZERO WIDTH SPACE (U+200B) which FOP couldn't interpret correctly. Maybe that has changed now. We should really package the latest FOP version soon... |
Hm, I don't remember anything about FOP not rendering 0-width spaces incorrectly... Maybe this was even before my time..? (Admittedly, remembering stuff is not always my strong suit.) |
Yes, it seems so. I've found commit 689d0e9 (Jul 4 2013!) which says:
Not sure about the FOP version, but it could be 1.0. |
This is still valid, but a systemic issue. If we enable the hyphenation algorithm in filenames and URLs, it will search for possible hyphenation spots (slashes, underscores, ampersands, etc.). However, very long filenames which consists of only characters cannot are not hyphenated correctly. In such a case, the writers has to do add the ZERO WIDTH SPACE manually. Or we don't hyphenate---with the above result. |
This might be a dupe, did not look too closely...
(discovered by Padraig/Shane, in the SES 5 docs)
The text was updated successfully, but these errors were encountered: