pantable icon indicating copy to clipboard operation
pantable copied to clipboard

Improve autowidth on Unicode character

Open ickc opened this issue 6 years ago • 1 comments

Currently, autowidth only calculate width by no. of characters.

I recall @jgm does something smart in pandoc to account for the width of unicode character. e.g. Chinese character is considered twice as long as an ASCII.

Considerations:

  • what if its other unicode character?
  • do we need to match pandoc's behavior exactly? Note that this should not affect idempotency (because once the numerical value of width are set, it's done).
  • are there any better width prediction algorithm?
  • what does this mean to performance?

ickc avatar Aug 06 '17 23:08 ickc

lack of interested and not quite simple to do

ickc avatar Oct 07 '18 00:10 ickc