Skip to content

Some questions #30

@NicolasPineau

Description

@NicolasPineau

Hi,

This is not an issue, I apologize if this is an abuse of issue tracker.
I'm currently using your work (great job !) in a little project of canvas text editor.
I've some questions, I keep trying to find answers from my own but in case you have some clues...

  • When the paragraph of your example has a line width of "80" it works if align is "center", but for getting breaks calculated when align is "left" I have to increase tolerance. Is this normal ?
  • Does it make sense to change the algorithm slightly so that it adds a break even if there is no penalty when the length of a box node is greater than the row in which it should be displayed ? (i.e. non hyphenable strings like "aaaaaaaaaaaaaa").

Thanks in advance,
Nicolas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions