Pixi.js: TextStyle.align justify support

Created on 28 Feb 2017  路  4Comments  路  Source: pixijs/pixi.js

Hi, just wanted to know whether a 'justify' alignment option would be considered for the TextStyle.align property. Something similar to the text-align: justify style in CSS. Thanks.

Stale 馃檹 Feature Request

Most helpful comment

Great idea, I think we would only consider this for v5 (the current next branch) and are closing v4 to new features. We really want to improve Text for v5, so we'll keep this in mind.

In the meantime, I created this Text object that's rendered using SVG instead of context2d text rendering. This would easily support justify (bonus, supports browser emojis):
https://jsfiddle.net/bigtimebuddy/wyacb6g1/ Downside: no IE9 support

All 4 comments

Hi, maybe you were thinking about adding that? justify for text align will be much appriciated by me and my team, I desperetaly need that to dazzle others with my amazing text style.

Great idea, I think we would only consider this for v5 (the current next branch) and are closing v4 to new features. We really want to improve Text for v5, so we'll keep this in mind.

In the meantime, I created this Text object that's rendered using SVG instead of context2d text rendering. This would easily support justify (bonus, supports browser emojis):
https://jsfiddle.net/bigtimebuddy/wyacb6g1/ Downside: no IE9 support

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

neciszhang picture neciszhang  路  3Comments

Makio64 picture Makio64  路  3Comments

courtneyvigo picture courtneyvigo  路  3Comments

st3v0 picture st3v0  路  3Comments

gigamesh picture gigamesh  路  3Comments