Compare commits
3 Commits
refactor/r
...
1ae489cb94
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ae489cb94 | |||
| df7899ee4b | |||
| b6f2fd99b8 |
@@ -28,9 +28,9 @@
|
||||
/// - ltr-bits (bool): If true, bits are placed with the LSB on the left instead of the right
|
||||
/// -> dictionary
|
||||
#let config(
|
||||
default-font-family: "Ubuntu Mono",
|
||||
default-font-family: "DejaVu Sans Mono",
|
||||
default-font-size: 15pt,
|
||||
italic-font-family: "Ubuntu Mono",
|
||||
italic-font-family: "Libertinus Serif",
|
||||
italic-font-size: 12pt,
|
||||
background: white,
|
||||
text-color: black,
|
||||
|
||||
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 378 KiB After Width: | Height: | Size: 408 KiB |
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 303 KiB After Width: | Height: | Size: 328 KiB |
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 485 KiB After Width: | Height: | Size: 490 KiB |
BIN
gallery/test.pdf
BIN
gallery/test.pdf
Binary file not shown.
19638
manual.pdf
19638
manual.pdf
File diff suppressed because it is too large
Load Diff
@@ -1,7 +1,7 @@
|
||||
#let config(
|
||||
default-font-family: "Ubuntu Mono",
|
||||
default-font-family: "DejaVu Sans Mono",
|
||||
default-font-size: 15pt,
|
||||
italic-font-family: "Ubuntu Mono",
|
||||
italic-font-family: "Libertinus Serif",
|
||||
italic-font-size: 12pt,
|
||||
background: white,
|
||||
text-color: black,
|
||||
|
||||
@@ -387,8 +387,10 @@
|
||||
}
|
||||
let range-boundaries = ()
|
||||
for r in struct.ranges.values() {
|
||||
let i = to-real-i(if config.ltr-bits {r.start} else {r.end})
|
||||
range-boundaries.push(i)
|
||||
let start-i = to-real-i(if config.ltr-bits {r.start} else {r.end})
|
||||
let end-i = to-real-i(if config.ltr-bits {r.end} else {r.start}) + 1
|
||||
range-boundaries.push(start-i)
|
||||
range-boundaries.push(end-i)
|
||||
}
|
||||
|
||||
// Draw colors
|
||||
|
||||
Reference in New Issue
Block a user