Also output mark attachment class

This commit is contained in:
Simon Cozens 2020-03-11 13:59:05 +00:00
parent d6d21e067d
commit 8fac69b0ea
6 changed files with 9 additions and 9 deletions

View File

@ -1579,7 +1579,7 @@ class LookupFlag(UShort):
if value & 0x04: flags.append("ignoreLigatures") if value & 0x04: flags.append("ignoreLigatures")
if value & 0x08: flags.append("ignoreMarks") if value & 0x08: flags.append("ignoreMarks")
if value & 0x10: flags.append("useMarkFilteringSet") if value & 0x10: flags.append("useMarkFilteringSet")
if value & 0xff00: flags.append("markAttachmentType") if value & 0xff00: flags.append("markAttachmentType[%i]" % (value >> 8))
xmlWriter.comment(" ".join(flags)) xmlWriter.comment(" ".join(flags))
xmlWriter.newline() xmlWriter.newline()

View File

@ -151,7 +151,7 @@
</Lookup> </Lookup>
<Lookup index="5"> <Lookup index="5">
<LookupType value="1"/> <LookupType value="1"/>
<LookupFlag value="256"/><!-- markAttachmentType --> <LookupFlag value="256"/><!-- markAttachmentType[1] -->
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<SinglePos index="0" Format="1"> <SinglePos index="0" Format="1">
<Coverage> <Coverage>
@ -163,7 +163,7 @@
</Lookup> </Lookup>
<Lookup index="6"> <Lookup index="6">
<LookupType value="1"/> <LookupType value="1"/>
<LookupFlag value="512"/><!-- markAttachmentType --> <LookupFlag value="512"/><!-- markAttachmentType[2] -->
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<SinglePos index="0" Format="1"> <SinglePos index="0" Format="1">
<Coverage> <Coverage>
@ -175,7 +175,7 @@
</Lookup> </Lookup>
<Lookup index="7"> <Lookup index="7">
<LookupType value="1"/> <LookupType value="1"/>
<LookupFlag value="260"/><!-- ignoreLigatures markAttachmentType --> <LookupFlag value="260"/><!-- ignoreLigatures markAttachmentType[1] -->
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<SinglePos index="0" Format="1"> <SinglePos index="0" Format="1">
<Coverage> <Coverage>
@ -251,7 +251,7 @@
</Lookup> </Lookup>
<Lookup index="13"> <Lookup index="13">
<LookupType value="1"/> <LookupType value="1"/>
<LookupFlag value="768"/><!-- markAttachmentType --> <LookupFlag value="768"/><!-- markAttachmentType[3] -->
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<SinglePos index="0" Format="1"> <SinglePos index="0" Format="1">
<Coverage> <Coverage>

View File

@ -5,7 +5,7 @@
<!-- LookupCount=2 --> <!-- LookupCount=2 -->
<Lookup index="0"> <Lookup index="0">
<LookupType value="8"/> <LookupType value="8"/>
<LookupFlag value="512"/><!-- markAttachmentType --> <LookupFlag value="512"/><!-- markAttachmentType[2] -->
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<ChainContextPos index="0" Format="1"> <ChainContextPos index="0" Format="1">
<Coverage Format="1"> <Coverage Format="1">

View File

@ -5,7 +5,7 @@
<!-- LookupCount=2 --> <!-- LookupCount=2 -->
<Lookup index="0"> <Lookup index="0">
<LookupType value="6"/> <LookupType value="6"/>
<LookupFlag value="512"/><!-- markAttachmentType --> <LookupFlag value="512"/><!-- markAttachmentType[2] -->
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<ChainContextSubst index="0" Format="1"> <ChainContextSubst index="0" Format="1">
<Coverage Format="1"> <Coverage Format="1">

View File

@ -31,7 +31,7 @@
<!-- LookupCount=1 --> <!-- LookupCount=1 -->
<Lookup index="0"> <Lookup index="0">
<LookupType value="4"/> <LookupType value="4"/>
<LookupFlag value="512"/><!-- markAttachmentType --> <LookupFlag value="512"/><!-- markAttachmentType[2] -->
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0" Format="1">
<LigatureSet glyph="g11"> <LigatureSet glyph="g11">

View File

@ -31,7 +31,7 @@
<!-- LookupCount=1 --> <!-- LookupCount=1 -->
<Lookup index="0"> <Lookup index="0">
<LookupType value="4"/> <LookupType value="4"/>
<LookupFlag value="514"/><!-- ignoreBaseGlyphs markAttachmentType --> <LookupFlag value="514"/><!-- ignoreBaseGlyphs markAttachmentType[2] -->
<!-- SubTableCount=1 --> <!-- SubTableCount=1 -->
<LigatureSubst index="0" Format="1"> <LigatureSubst index="0" Format="1">
<LigatureSet glyph="g18"> <LigatureSet glyph="g18">