Add IPPH/APPH localization override for ǥ. (#2701)

Co-authored-by: Belleve <belleve@typeof.net>
This commit is contained in:
John McWilliams 2025-03-03 22:06:46 -05:00 committed by GitHub
parent 12b2bfb352
commit e251d14050
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 0 deletions

View file

@ -1 +1,2 @@
* Add full-serifed variants for `K` and `k`, and related letters (#2696). * Add full-serifed variants for `K` and `k`, and related letters (#2696).
* Add IPA localization form for Latin Lower G with Stroke (`ǥ`).

View file

@ -9,5 +9,6 @@ glyph-block Letter-Greek-Orthography : begin
# Link localization forms # Link localization forms
link-gr LocalizedForm.IPPH 'gBar' 'gScriptBar'
link-gr LocalizedForm.IPPH 'grek/beta' 'latn/beta' link-gr LocalizedForm.IPPH 'grek/beta' 'latn/beta'
link-gr LocalizedForm.IPPH 'grek/chi' 'latn/chi' link-gr LocalizedForm.IPPH 'grek/chi' 'latn/chi'

View file

@ -210,6 +210,7 @@ glyph-block Letter-Latin-Lower-G : begin
select-variant 'gScript' 0x261 (follow -- [conditional-follow SLAB 'g/singleStorey/autoSerifed/slab' 'g/singleStorey/autoSerifed/sans']) (shapeFrom -- 'g') select-variant 'gScript' 0x261 (follow -- [conditional-follow SLAB 'g/singleStorey/autoSerifed/slab' 'g/singleStorey/autoSerifed/sans']) (shapeFrom -- 'g')
select-variant 'GScript' 0xA7AC (follow -- [conditional-follow SLAB 'g/singleStorey/autoSerifed/slab' 'g/singleStorey/autoSerifed/sans']) select-variant 'GScript' 0xA7AC (follow -- [conditional-follow SLAB 'g/singleStorey/autoSerifed/slab' 'g/singleStorey/autoSerifed/sans'])
select-variant 'gScriptPalatalHook' 0x1D83 (follow -- [conditional-follow SLAB 'g/singleStorey/autoSerifed/slab' 'g/singleStorey/autoSerifed/sans']) (shapeFrom -- 'gPalatalHook') select-variant 'gScriptPalatalHook' 0x1D83 (follow -- [conditional-follow SLAB 'g/singleStorey/autoSerifed/slab' 'g/singleStorey/autoSerifed/sans']) (shapeFrom -- 'gPalatalHook')
select-variant 'gScriptBar' (follow -- [conditional-follow SLAB 'g/singleStorey/autoSerifed/slab' 'g/singleStorey/autoSerifed/sans']) (shapeFrom -- 'gBar')
select-variant 'gScriptCrossedTail' 0xAB36 (follow -- [conditional-follow SLAB 'g/singleStoreyBentHook/autoSerifed/slab' 'g/singleStoreyBentHook/autoSerifed/sans']) select-variant 'gScriptCrossedTail' 0xAB36 (follow -- [conditional-follow SLAB 'g/singleStoreyBentHook/autoSerifed/slab' 'g/singleStoreyBentHook/autoSerifed/sans'])
alias 'cyrl/de.BGR' null 'gScript' alias 'cyrl/de.BGR' null 'gScript'

View file

@ -32,6 +32,8 @@ export : define [buildLOCL gsub para glyphStore] : begin
define latnUDI : gsub.copyLanguage 'latn_UDI ' 'latn_DFLT' define latnUDI : gsub.copyLanguage 'latn_UDI ' 'latn_DFLT'
define latnZZA : gsub.copyLanguage 'latn_ZZA ' 'latn_DFLT' define latnZZA : gsub.copyLanguage 'latn_ZZA ' 'latn_DFLT'
define latnVIT : gsub.copyLanguage 'latn_VIT ' 'latn_DFLT' define latnVIT : gsub.copyLanguage 'latn_VIT ' 'latn_DFLT'
define latnIPPH : gsub.copyLanguage 'latn_IPPH' 'latn_DFLT'
define latnAPPH : gsub.copyLanguage 'latn_APPH' 'latn_DFLT'
define grekIPPH : gsub.copyLanguage 'grek_IPPH' 'grek_DFLT' define grekIPPH : gsub.copyLanguage 'grek_IPPH' 'grek_DFLT'
define grekAPPH : gsub.copyLanguage 'grek_APPH' 'grek_DFLT' define grekAPPH : gsub.copyLanguage 'grek_APPH' 'grek_DFLT'
@ -125,6 +127,8 @@ export : define [buildLOCL gsub para glyphStore] : begin
# IPPH # IPPH
define loclIPPH : gsub.createFeature 'locl' define loclIPPH : gsub.createFeature 'locl'
latnIPPH.addFeature loclIPPH
latnAPPH.addFeature loclIPPH
grekIPPH.addFeature loclIPPH grekIPPH.addFeature loclIPPH
grekAPPH.addFeature loclIPPH grekAPPH.addFeature loclIPPH
loclIPPH.addLookup : createGsubLookupFromGr gsub glyphStore LocalizedForm.IPPH loclIPPH.addLookup : createGsubLookupFromGr gsub glyphStore LocalizedForm.IPPH