mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-08 17:19:13 +00:00
Tests/LibGfx: Add a jbig2 test for transposed text segments
See the PR adding this test for local changes to `jbig2`. I used the shell script mentioned in #23659, except I added the line `-txt -Param -Transposed 1` at the very end of the .ini file. As with all the symbol test cases, after running Meta/jbig2_to_pdf.py -o foo.pdf foo.jb2 399 400 the file opens up ok in Chrome and Firefox (but not Safari), so maybe it's not completely broken.
This commit is contained in:
parent
b04569c1da
commit
ce11a34fc6
Notes:
sideshowbarker
2024-07-17 01:55:29 +09:00
Author: https://github.com/nico
Commit: ce11a34fc6
Pull-request: https://github.com/SerenityOS/serenity/pull/23780
Reviewed-by: https://github.com/LucasChollet ✅
2 changed files with 1 additions and 0 deletions
|
@ -366,6 +366,7 @@ TEST_CASE(test_jbig2_decode)
|
|||
TEST_INPUT("jbig2/bitmap-symbol.jbig2"sv),
|
||||
TEST_INPUT("jbig2/bitmap-symbol-textrefine.jbig2"sv),
|
||||
TEST_INPUT("jbig2/bitmap-symbol-symbolrefine.jbig2"sv),
|
||||
TEST_INPUT("jbig2/bitmap-symbol-texttranspose.jbig2"sv),
|
||||
};
|
||||
|
||||
for (auto test_input : test_inputs) {
|
||||
|
|
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-symbol-texttranspose.jbig2
Normal file
BIN
Tests/LibGfx/test-inputs/jbig2/bitmap-symbol-texttranspose.jbig2
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue