Skip to content

Commit

Permalink
Merge pull request #130 from Ciubix8513/html-commment-ligature
Browse files Browse the repository at this point in the history
Add html comment ligature
  • Loading branch information
IdreesInc authored Aug 10, 2024
2 parents 696ada3 + b4294f6 commit 16ded48
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/glyphs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ a b c d e f g h i j k l m n o p q r s t u v w x y z
 - > -> ->
 = > -> =>
 < = > -> <=>
 < ! - - -> <!--
 = = > -> ==>
 = = = > -> ===>
 = = = = > -> ====>
Expand Down
14 changes: 14 additions & 0 deletions src/ligatures.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,5 +149,19 @@
[0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0],
[0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0]
]
},
{
"ligature": "<!--",
"name": "html comment",
"sequence": [60, 33, 45, 45],
"pixels": [
[0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
]
}
]

0 comments on commit 16ded48

Please sign in to comment.