-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Discretionary Hyphen (00AD) not respected #1383
Comments
Hey Linq, First of all, thank you for this issue, I've learned about a character I didn't know before 😄 I have a couple of questions for you regarding this topic :
|
Thanks for the reply! :D
Yes, I could do that, but I think this is a suboptimal solution in terms of maintenance. :-)
No, it's just about convenience.
I'm using German terms for my models, and in German, compound words are not separated by a space, e.g. "Modellierungsrichtlinie" rather than "modeling guideline". So yes, actually, I miss a proper word-wrapping quite frequently. Automatic word-wrapping would be best, of course, but I see this would be a major effort ... |
I will look into how labels are formatted and get back to you. 🙂 |
* soft breaks ("discretionary hyphens") are taken into account during word splitting * a hyphen is rendered, IF a softbreak becomes an actual break Related to bpmn-io/bpmn-js#1383
* soft breaks ("discretionary hyphens") are taken into account during word splitting * a hyphen is rendered, IF a softbreak becomes an actual break Related to bpmn-io/bpmn-js#1383
* soft breaks ("discretionary hyphens") are taken into account during word splitting * a hyphen is rendered, IF a softbreak becomes an actual break Related to bpmn-io/bpmn-js#1383
Great, thanks for implementing! Looking forward to the next release :-) |
Will these chars be supported and interpreted correctly both in the camunda modeler and in the cockpit when displaying process models and process instances? |
Nope. |
Where will they be supported then? Isn't the |
The feature will first land in the Camunda Modeler, likely with the next modeler release. The feature may end up in the next version of Cockpit, once the Camunda Platform team decides to update the dependency. I am afraid there does not exist an automatic update step here. |
Describe the Bug
When rendering a BPMN element, such as an activity, discretionary hyphens (code point
00AD
; on Windows, they can be typed using ALT + 0173) are not respected. As a result, long words cannot be wrapped correctly.Steps to Reproduce
Expected Behavior
Discretionary hyphens should be respected correctly for word-wrapping.
Environment
The text was updated successfully, but these errors were encountered: