diff options
Diffstat (limited to 'Master/texmf-dist/source/fonts/pclnfss/rmligdups.awk')
-rw-r--r-- | Master/texmf-dist/source/fonts/pclnfss/rmligdups.awk | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/fonts/pclnfss/rmligdups.awk b/Master/texmf-dist/source/fonts/pclnfss/rmligdups.awk new file mode 100644 index 00000000000..83445ec7941 --- /dev/null +++ b/Master/texmf-dist/source/fonts/pclnfss/rmligdups.awk @@ -0,0 +1,14 @@ +# At kern steps, just save away the value, so only the last one will be output. +/\(KRN/ { lk_table[$3] = $0; next } + +# Assume (STOP)'s are in the right place. +# This rearranges the order, but oh well. +# It's random by the time the vpl file has been written anyway. +/\(STOP\)/ { for (lk in lk_table) + { + print lk_table[lk]; + delete lk_table[lk]; + } + } + + { print } |