summaryrefslogtreecommitdiff
path: root/macros/luatex/generic/barracuda/test/test-code39/001-code39-test.lua
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2022-06-24 03:01:47 +0000
committerNorbert Preining <norbert@preining.info>2022-06-24 03:01:47 +0000
commit1ef4c041ba74d4619dd62209ae48a2b24563954c (patch)
treeb45a2e8da583a0f219e75f9536d9696f9af2aca7 /macros/luatex/generic/barracuda/test/test-code39/001-code39-test.lua
parent00e67dfd87c53faeafcf0c9e66c8c2c7a410fcb8 (diff)
CTAN sync 202206240301
Diffstat (limited to 'macros/luatex/generic/barracuda/test/test-code39/001-code39-test.lua')
-rw-r--r--macros/luatex/generic/barracuda/test/test-code39/001-code39-test.lua41
1 files changed, 0 insertions, 41 deletions
diff --git a/macros/luatex/generic/barracuda/test/test-code39/001-code39-test.lua b/macros/luatex/generic/barracuda/test/test-code39/001-code39-test.lua
deleted file mode 100644
index a9d8894ba0..0000000000
--- a/macros/luatex/generic/barracuda/test/test-code39/001-code39-test.lua
+++ /dev/null
@@ -1,41 +0,0 @@
--- Copyright (C) 2020 Roberto Giacomelli
--- test Code 39 encoder
-
-local barracuda = require "barracuda"
-
-for k, v in pairs(barracuda) do
- print(k,v)
-end
-
-local barcode = barracuda:barcode()
-
-local c39, err = barcode:new_encoder("code39")
-assert(not err, err)
-
-print(c39._NAME)
-print(c39._VERSION)
-
-local info = c39:info()
-
-print("encoder name = ", info.name)
-print("description = ", info.description)
-
-for k, tp in ipairs(info.param) do
- print(k, tp.name, tp.value)
-end
-
-local symb = c39:from_string("123")
-
-print("print internal representation of chars")
-for _, c in ipairs(symb._code_data) do
- print(c)
-end
-print()
-
-local canvas = barracuda:new_canvas()
-symb:append_ga(canvas)
-
--- native driver
-local drv = barracuda:get_driver()
-
-for _, code in ipairs(canvas._data) do print(code) end