Add IPA localization forms for Greek Lower Beta/Chi. (#2175)

* Add IPA localization forms for `grek/{beta|chi}`.

* simplify

* doc

* temp fix

* doc
This commit is contained in:
John McWilliams 2024-01-21 17:58:14 -05:00 committed by GitHub
parent 6a3613047f
commit b4f35d3725
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 1 deletions

View file

@ -14,6 +14,8 @@ export : define [buildLOCL gsub para glyphStore] : begin
define cyrlMKD : gsub.copyLanguage 'cyrl_MKD ' 'cyrl_DFLT'
define cyrlBGR : gsub.copyLanguage 'cyrl_BGR ' 'cyrl_DFLT'
define latnVIT : gsub.copyLanguage 'latn_VIT ' 'latn_DFLT'
define grekIPPH : gsub.copyLanguage 'grek_IPPH ' 'grek_DFLT'
define grekAPPH : gsub.copyLanguage 'grek_APPH ' 'grek_DFLT'
# SRB
define loclSRB : gsub.createFeature 'locl'
@ -61,4 +63,14 @@ export : define [buildLOCL gsub para glyphStore] : begin
{'breveAbove'} ~> nothing
viShiftableMarks ~> [sx 'viCenter']
# IPPH
define loclIPPH : gsub.createFeature 'locl'
grekIPPH.addFeature loclIPPH
grekAPPH.addFeature loclIPPH
loclIPPH.addLookup : gsub.createLookup
.type 'gsub_single'
.substitutions : object
'grek/beta' : glyphStore.ensureExists 'latn/beta'
'grek/chi' : glyphStore.ensureExists 'latn/chi'
gsub.endBlockAtFront rec