Add localized forms for Polish and Romanian. (#2486)

* Add localized forms for Polish and Romanian.

* bump

* Adjust terminal angle of `tonosAbove`.
This commit is contained in:
John McWilliams 2024-09-02 14:33:11 -04:00 committed by GitHub
parent bc2d27989f
commit c7529b1c0d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 111 additions and 28 deletions

View file

@ -16,6 +16,9 @@ export : define [buildLOCL gsub para glyphStore] : begin
define cyrlBGR : gsub.copyLanguage 'cyrl_BGR ' 'cyrl_DFLT'
define cyrlBSH : gsub.copyLanguage 'cyrl_BSH ' 'cyrl_DFLT'
define cyrlCHU : gsub.copyLanguage 'cyrl_CHU ' 'cyrl_DFLT'
define latnPLK : gsub.copyLanguage 'latn_PLK ' 'latn_DFLT'
define latnROM : gsub.copyLanguage 'latn_ROM ' 'latn_DFLT'
define latnMOL : gsub.copyLanguage 'latn_MOL ' 'latn_DFLT'
define latnTRK : gsub.copyLanguage 'latn_TRK ' 'latn_DFLT'
define latnAZE : gsub.copyLanguage 'latn_AZE ' 'latn_DFLT'
define latnGAG : gsub.copyLanguage 'latn_GAG ' 'latn_DFLT'
@ -47,6 +50,36 @@ export : define [buildLOCL gsub para glyphStore] : begin
define loclCHU : cyrlCHU.addFeature : gsub.createFeature 'locl'
loclCHU.addLookup : createGsubLookupFromGr gsub glyphStore LocalizedForm.CHU
# 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'
# ROM
define loclROM : gsub.createFeature 'locl'
latnROM.addFeature loclROM
latnMOL.addFeature loclROM
loclROM.addLookup : gsub.createLookup
.type 'gsub_single'
.substitutions : object
'SCedilla' : glyphStore.ensureExists 'SComma'
'sCedilla' : glyphStore.ensureExists 'sComma'
'TCedilla' : glyphStore.ensureExists 'TComma'
'tCedilla' : glyphStore.ensureExists 'tComma'
# TRK
define loclTRK : gsub.createFeature 'locl'
latnTRK.addFeature loclTRK