More Typo
This commit is contained in:
parent
82099c8f0d
commit
627a2193a1
2 changed files with 6 additions and 2 deletions
|
@ -2,7 +2,7 @@ $$include '../../meta/macros.ptl'
|
||||||
|
|
||||||
import [mix clamp fallback linreg SuffixCfg] from "@iosevka/util"
|
import [mix clamp fallback linreg SuffixCfg] from "@iosevka/util"
|
||||||
import [Dotless MathSansSerif HintClass] from "@iosevka/glyph/relation"
|
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
|
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
|
define [BotSerifMask] : HalfRectTriangle (dim.kshRight - dim.Ok - TINY) 0 (dim.arcTerminalX - TINY) dim.arcTerminalY
|
||||||
|
|
||||||
include : KLegSlabs
|
include : KLegSlabs
|
||||||
mode -- [if slabLegs 1 0]
|
mode -- [maskOffBit slabLegs 1]
|
||||||
top -- top
|
top -- top
|
||||||
left -- left
|
left -- left
|
||||||
right -- right
|
right -- right
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
export function maskBit(x, y) {
|
export function maskBit(x, y) {
|
||||||
return x & (1 << y);
|
return x & (1 << y);
|
||||||
}
|
}
|
||||||
|
export function maskOffBit(x, y) {
|
||||||
|
return x & ~(1 << y);
|
||||||
|
}
|
||||||
|
|
||||||
export function maskBits(x, y) {
|
export function maskBits(x, y) {
|
||||||
return x & y;
|
return x & y;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue