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

ppoliani picture ppoliani  路  24Comments

KagiJPN picture KagiJPN  路  24Comments

pr1ntr picture pr1ntr  路  25Comments

bigtimebuddy picture bigtimebuddy  路  24Comments

trusktr picture trusktr  路  30Comments