Add more character overrides to two Latin locales. (#2499)

* Add more character overrides to `PLK` and `TRK`.

* clarification.

* clarification.
This commit is contained in:
John McWilliams 2024-09-12 19:46:33 -04:00 committed by GitHub
parent 1ddbccc98c
commit 9d17e38ed9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 79 additions and 47 deletions

View file

@ -52,21 +52,7 @@ export : define [buildLOCL gsub para glyphStore] : begin
# PLK
define loclPLK : latnPLK.addFeature : gsub.createFeature 'locl'
loclPLK.addLookup : gsub.createLookup
.type 'gsub_single'
.substitutions : object
'CAcute' : glyphStore.ensureExists 'CAcute.PLK'
'cAcute' : glyphStore.ensureExists 'cAcute.PLK'
'NAcute' : glyphStore.ensureExists 'NAcute.PLK'
'nAcute' : glyphStore.ensureExists 'nAcute.PLK'
'OAcute' : glyphStore.ensureExists 'OAcute.PLK'
'oAcute' : glyphStore.ensureExists 'oAcute.PLK'
'SAcute' : glyphStore.ensureExists 'SAcute.PLK'
'sAcute' : glyphStore.ensureExists 'sAcute.PLK'
'ZAcute' : glyphStore.ensureExists 'ZAcute.PLK'
'zAcute' : glyphStore.ensureExists 'zAcute.PLK'
'ZDot' : glyphStore.ensureExists 'ZDot.PLK'
'zDot' : glyphStore.ensureExists 'zDot.PLK'
loclPLK.addLookup : createGsubLookupFromGr gsub glyphStore LocalizedForm.PLK
# ROM
define loclROM : gsub.createFeature 'locl'
@ -88,10 +74,7 @@ export : define [buildLOCL gsub para glyphStore] : begin
latnKAZ.addFeature loclTRK
latnTAT.addFeature loclTRK
latnCRT.addFeature loclTRK
loclTRK.addLookup : gsub.createLookup
.type 'gsub_single'
.substitutions : object
'i' : glyphStore.ensureExists 'i.TRK'
loclTRK.addLookup : createGsubLookupFromGr gsub glyphStore LocalizedForm.TRK
# VIT
define loclVIT : latnVIT.addFeature : gsub.createFeature 'locl'