Skip to content
This repository has been archived by the owner on Dec 7, 2021. It is now read-only.

Support RTL strings (arabic/hebrew). #23

Closed
Robpol86 opened this issue May 14, 2016 · 0 comments
Closed

Support RTL strings (arabic/hebrew). #23

Robpol86 opened this issue May 14, 2016 · 0 comments

Comments

@Robpol86
Copy link
Owner

Support default justification for strings containing RTL characters.

Robpol86 added a commit that referenced this issue May 14, 2016
Started adding support for colorama, termcolor, and regular ANSI color
codes. Using same regex used by colorclass in
https://github.com/Robpol86/colorclass/blob/169b5c7e/colorclass/parse.py#L12

Started testing RTL characters. Using arabic and hebrew in tests.

Begun working on:
#20
#23
Robpol86 added a commit that referenced this issue May 15, 2016
Renamed string_width() to visible_width(). Better describes the purpose
of the function.

Added justification() which detects RTL characters.

Refactored align_and_pad_cell(). Combined padding and increasing
width/height. Using ljust/rjust to do half the padding. Started adding
code to support height padding and alignment. No longer repeatedly
joining and line splitting.

For:
#22
#23
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant