Skip to content

Commit

Permalink
Merge pull request #35 from iwsfutcmd/main
Browse files Browse the repository at this point in the history
Fix pengkal blocking above-base mark ligatures
  • Loading branch information
simoncozens authored Nov 9, 2024
2 parents 6236f23 + 8dd6db1 commit 2663fac
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion sources/NotoSansJavanese.glyphs
Original file line number Diff line number Diff line change
Expand Up @@ -703,14 +703,18 @@ code = "lookup CakraPasLigature2 {\012 sub pa.pas_cakra u.ns by pa.pas_cakra_
name = pres;
},
{
code = "\012# [('java', 'dflt')]\012 lookup ChainedContextualGSUB19;\012\012# Use alternate below marks on all pasangans; see #6\012sub @class79 [u.ns uu.ns keret.ns pengkal]' lookup SingleSubstitution28;\012\012# [('java', 'dflt')]\012 lookup ContextualGSUB20;\012\012# [('java', 'dflt')]\012 lookup ChainedContextualGSUB33;\012\012lookup OmLigature {\012 lookupflag MarkAttachmentType @abovemarks;\012 sub okara panyangga.ns uni25CC tarung by om_javanese;\012 sub okara panyangga.ns tarung by om_javanese;\012 sub okara tarung panyangga.ns by om_javanese;\012} OmLigature;\012\012lookup SwapPengkalVowel {\012 sub pengkal' lookup ReplaceWithNull @abovemarks' lookup AddPengkalAfter;\012 sub tarung' lookup ReplaceWithNull @abovemarks' lookup AddTarungAfter;\012 sub tolong' lookup ReplaceWithNull @abovemarks' lookup AddTolongAfter;\012} SwapPengkalVowel;\012";
code = "\012# [('java', 'dflt')]\012 lookup ChainedContextualGSUB19;\012\012# Use alternate below marks on all pasangans; see #6\012sub @class79 [u.ns uu.ns keret.ns pengkal]' lookup SingleSubstitution28;\012\012# [('java', 'dflt')]\012 lookup ContextualGSUB20;\012\012# [('java', 'dflt')]\012 lookup ChainedContextualGSUB33;\012\012lookup OmLigature {\012 lookupflag MarkAttachmentType @abovemarks;\012 sub okara panyangga.ns uni25CC tarung by om_javanese;\012 sub okara panyangga.ns tarung by om_javanese;\012 sub okara tarung panyangga.ns by om_javanese;\012} OmLigature;\012";
name = psts;
},
{
code = "lookupflag IgnoreLigatures UseMarkFilteringSet @abovemarks;\012sub panyangga.ns layar.ns by panyangga.ns_layar.ns;\012sub cecak.ns layar.ns by cecak.ns_layar.ns;\012sub cecaktelu.ns ae.ns cecak.ns by cecaktelu.ns_ae.ns_cecak.ns;\012sub cecaktelu.ns ae.ns layar.ns by cecaktelu.ns_ae.ns_layar.ns;\012sub cecaktelu.ns ae.ns panyangga.ns by cecaktelu.ns_ae.ns_panyangga.ns;\012sub cecaktelu.ns i.ns cecak.ns by cecaktelu.ns_i.ns_cecak.ns;\012sub cecaktelu.ns i.ns layar.ns by cecaktelu.ns_i.ns_layar.ns;\012sub cecaktelu.ns i.ns panyangga.ns by cecaktelu.ns_i.ns_panyangga.ns;\012sub cecaktelu.ns ii.ns cecak.ns by cecaktelu.ns_ii.ns_cecak.ns;\012sub cecaktelu.ns ii.ns layar.ns by cecaktelu.ns_ii.ns_layar.ns;\012sub cecaktelu.ns ii.ns panyangga.ns by cecaktelu.ns_ii.ns_panyangga.ns;\012sub cecaktelu.ns ae.ns by cecaktelu.ns_ae.ns;\012sub cecaktelu.ns cecak.ns by cecaktelu.ns_cecak.ns;\012sub cecaktelu.ns i.ns by cecaktelu.ns_i.ns;\012sub cecaktelu.ns ii.ns by cecaktelu.ns_ii.ns;\012sub cecaktelu.ns layar.ns by cecaktelu.ns_layar.ns;\012sub cecaktelu.ns panyangga.ns by cecaktelu.ns_panyangga.ns;\012sub i.ns cecak.ns layar.ns by i.ns_cecak.ns_layar.ns;\012sub i.ns panyangga.ns layar.ns by i.ns_panyangga.ns_layar.ns;\012sub i.ns cecak.ns by i.ns_cecak.ns;\012sub i.ns layar.ns by i.ns_layar.ns;\012sub i.ns panyangga.ns by i.ns_panyangga.ns;\012sub ii.ns cecak.ns layar.ns by ii.ns_cecak.ns_layar.ns;\012sub ii.ns panyangga.ns layar.ns by ii.ns_panyangga.ns_layar.ns;\012sub ii.ns cecak.ns by ii.ns_cecak.ns;\012sub ii.ns layar.ns by ii.ns_layar.ns;\012sub ii.ns panyangga.ns by ii.ns_panyangga.ns;\012sub ae.ns cecak.ns layar.ns by ae.ns_cecak.ns_layar.ns;\012sub ae.ns panyangga.ns layar.ns by ae.ns_panyangga.ns_layar.ns;\012sub ae.ns cecak.ns by ae.ns_cecak.ns;\012sub ae.ns layar.ns by ae.ns_layar.ns;\012sub ae.ns panyangga.ns by ae.ns_panyangga.ns;\012";
name = abvs;
},
{
code = "lookup SwapPengkalVowel {\012 sub pengkal' lookup ReplaceWithNull @abovemarks' lookup AddPengkalAfter;\012 sub tarung' lookup ReplaceWithNull @abovemarks' lookup AddTarungAfter;\012 sub tolong' lookup ReplaceWithNull @abovemarks' lookup AddTolongAfter;\012} SwapPengkalVowel;\012";
name = psts;
},
{
code = "\012lookup DeleteNullMk {\012 sub NullMk by NULL;\012} DeleteNullMk;";
name = rlig;
},
Expand Down

0 comments on commit 2663fac

Please sign in to comment.