morepretty
This commit is contained in:
parent
a718fb6b1b
commit
4a0d9c29b8
|
@ -808,7 +808,9 @@ proc parseKernTable(buf: string, offset: int): KernTable =
|
|||
else:
|
||||
failUnsupported("Kern version")
|
||||
|
||||
proc parseCFFIndexOffsets(buf: string, start: var int, stripZero = false): seq[(int, int)] =
|
||||
proc parseCFFIndexOffsets(
|
||||
buf: string, start: var int, stripZero = false
|
||||
): seq[(int, int)] =
|
||||
|
||||
proc getOffset(buf: string, offset, offSize: int): int =
|
||||
var v = 0
|
||||
|
|
|
@ -32,6 +32,7 @@ import chroma, pixie, pixie/fileformats/bmp
|
|||
|
||||
block:
|
||||
for bits in [32, 24]:
|
||||
let image =
|
||||
decodeBmp(readFile("tests/fileformats/bmp/knight." & $bits & ".master.bmp"))
|
||||
let image = decodeBmp(readFile(
|
||||
"tests/fileformats/bmp/knight." & $bits & ".master.bmp"
|
||||
))
|
||||
writeFile("tests/fileformats/bmp/knight." & $bits & ".bmp", encodeBmp(image))
|
||||
|
|
Loading…
Reference in a new issue