More Typo

This commit is contained in:
be5invis 2025-03-07 17:53:29 -08:00
parent 82099c8f0d
commit 627a2193a1
2 changed files with 6 additions and 2 deletions

View file

@ -2,7 +2,7 @@ $$include '../../meta/macros.ptl'
import [mix clamp fallback linreg SuffixCfg] from "@iosevka/util"
import [Dotless MathSansSerif HintClass] from "@iosevka/glyph/relation"
import [maskBit] from "@iosevka/util/mask-bit"
import [maskBit maskOffBit] from "@iosevka/util/mask-bit"
glyph-module
@ -361,7 +361,7 @@ glyph-block Letter-Latin-K : begin
define [BotSerifMask] : HalfRectTriangle (dim.kshRight - dim.Ok - TINY) 0 (dim.arcTerminalX - TINY) dim.arcTerminalY
include : KLegSlabs
mode -- [if slabLegs 1 0]
mode -- [maskOffBit slabLegs 1]
top -- top
left -- left
right -- right

View file

@ -1,6 +1,10 @@
export function maskBit(x, y) {
return x & (1 << y);
}
export function maskOffBit(x, y) {
return x & ~(1 << y);
}
export function maskBits(x, y) {
return x & y;
}