Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combining marks confuse ArrangeColumn #195

Closed
bpj opened this issue Jun 12, 2021 · 4 comments
Closed

Combining marks confuse ArrangeColumn #195

bpj opened this issue Jun 12, 2021 · 4 comments

Comments

@bpj
Copy link

bpj commented Jun 12, 2021

As mentioned in #174 I (ab)use this plugin to edit Markdown pipe tables. When doing so I have noticed that ArrangeColumn gets confused by combining marks. It's actually quite trivial: the width of the column is calculated from the number of characters so that (a) one character's worth of width is added also for the zero-width characters and (b) cells/rows containing zero-width characters get misaligned, though not always for some reason.

I just wonder if there might be some reasonably easy fix for this?

@chrisbra
Copy link
Owner

hm, can you provide an example please?

@bpj
Copy link
Author

bpj commented Jun 14, 2021 via email

@bpj
Copy link
Author

bpj commented Jun 14, 2021

The email attachment didn't work. Let's see if a huge codeblock works. Sort of but the combining marks in the top row aren't displayed correctly on my phone. I hope they are still there.

  |◌    |◌̣ |◌̤   |◌̱, ◌̄|◌̇   |◌̌   |◌̤̌      |◌̦ | |◌̦̌|◌̂  |◌̤̂ |◌̊          |◌̑             |◌̆             
c |k    |∅ |g   |x, h|    |tʃ  |dʒ     |s | | |ts |  |
ch|tʃ   |∅ |dʒ  |ʃ   |k   |tʃ  |dʒ     |  | | |   |
d |d    |∅ |t   |ð   |    |dʒ  |tʃ     |  | | |   |
f |f    |∅ |v   |    |    |    |       |  |
g |g    |∅ |k   |ɣ   |    |dʒ  |tʃ     |  | | |   |
gh|∅    |∅ |∅   |ɣ   |g   |dʒ  |tʃ     |  | | |   |  |f            
h |h    |∅ |ɦ   |x   |    |    |       |  | | |
j |dʒ   |∅ |tʃ  |ʒ   |    |dʒ  |tʃ     |  | | |dz |  |           |j             |x, h           
k |k    |∅ |g   |x, h|    |tʃ  |dʒ     |  | | |   |  |
l |l    |∅ |    |ɬ   |    |    |       |  | | |   |  |w          |ʎ, lj         |ɫ             
n |n    |∅ |    |    |    |    |       |  | | |   |  |           |ɲ               
ph|f    |∅ |v   |f   |p   |    |       |  | |
q |k    |∅ |g   |x, h|    |tʃ  |dʒ     |  | | |   |  |kw         |kj              
r |/r/  |∅ |r̥   |ɹ, ɻ|ɾ   |ʒ   |ʃ      |  | | |   |  |r          |              |             |ʁ, ʀ           
s |s    |∅ |z   |    |    |ʃ   |ʒ      |  |
t |t    |∅ |d   |θ   |    |tʃ  |dʒ     |s | |ʃ|ts |
th|ð    |∅ |θ   |d    
v |v    |∅ |f   |    |    |    |       |  | | |   |  |w           
x |ks   |∅ |gz  |x   |    |tʃ  |dʒ     |s |z|ʃ|   |dz|
y |j    |∅ |    |
z |z    |∅ |s   |    |    |ʒ   |ʃ      |  | | |dz |ts 

@chrisbra
Copy link
Owner

this seems to work for me:
image

@chrisbra chrisbra closed this as completed May 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants