Skip to content

Commit

Permalink
Add html comment ligature
Browse files Browse the repository at this point in the history
  • Loading branch information
Ciubix8513 committed Jul 7, 2023
1 parent e79ff56 commit b4294f6
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 b4294f6

Please sign in to comment.