Skip to content

Instantly share code, notes, and snippets.

@atton
Created October 12, 2016 11:31
Show Gist options
  • Save atton/e38c88755ed5186096d4ad5e9bb8d94c to your computer and use it in GitHub Desktop.
Save atton/e38c88755ed5186096d4ad5e9bb8d94c to your computer and use it in GitHub Desktop.
diff --git a/data/charwidths.jl b/data/charwidths.jl
index bdcbc6c..25d8d9f 100644
--- a/data/charwidths.jl
+++ b/data/charwidths.jl
@@ -111,7 +111,7 @@ for line in readlines(open("EastAsianWidth.txt"))
#Assign widths
for c in charstart:charend
- if width=="W" || width=="F" # wide or full
+ if width=="W" || width=="F" || width=="A" # wide or full
CharWidths[c]=2
elseif width=="Na"|| width=="H" # narrow or half
CharWidths[c]=1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment