Skip to content

Commit

Permalink
[Update] グリフ個別のカーニング設定を調整
Browse files Browse the repository at this point in the history
  • Loading branch information
omonomo committed Sep 28, 2023
1 parent f238a54 commit 5cfb4de
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions calt_table_maker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -614,27 +614,13 @@ input=("jC")
chain_context "${index}" "${backtrack[*]}" "${input[*]}" "" "${lookupIndexC}"
index=`expr ${index} + 1`

# 左が幅広以外の文字、j 左に移動
backtrack=("${gravityLR[@]}" "${gravityRR[@]}" "${gravityER[@]}" "${gravityMR[@]}" "${gravityVR[@]}" "${gravityCR[@]}" \
"${gravityLC[@]}" "${gravityRC[@]}" "${gravityEC[@]}" "${gravityMC[@]}" "${gravityVC[@]}" "${gravityCC[@]}")
# 左が全ての文字、j 左に移動
backtrack=("${gravityLR[@]}" "${gravityRR[@]}" "${gravityWR[@]}" "${gravityER[@]}" "${gravityMR[@]}" "${gravityVR[@]}" "${gravityCR[@]}" \
"${gravityLC[@]}" "${gravityRC[@]}" "${gravityWC[@]}" "${gravityEC[@]}" "${gravityMC[@]}" "${gravityVC[@]}" "${gravityCC[@]}")
input=("jC")
chain_context "${index}" "${backtrack[*]}" "${input[*]}" "" "${lookupIndexL}"
index=`expr ${index} + 1`

# y に関する例外処理 ----------------------------------------

# 左が Rkp の場合 y 左に移動しない
backtrack=("RC" "kC" "pC")
input=("yC")
chain_context "${index}" "${backtrack[*]}" "${input[*]}" "" "${lookupIndexC}"
index=`expr ${index} + 1`

# 右が y の場合 Rkp 右に移動しない
input=("RC" "kC" "pC")
lookAhead=("yC")
chain_context "${index}" "" "${input[*]}" "${lookAhead[*]}" "${lookupIndexC}"
index=`expr ${index} + 1`

# 左を見て移動させない(絶対移動させない)通常処理 ----------------------------------------

# 左を見る 左寄りの文字、幅広な文字、均等な文字 移動しない
Expand Down

0 comments on commit 5cfb4de

Please sign in to comment.