France
Particle physicist turned software engineer
Ticket created by ~sbinet on ~sbinet/star-tex
Currently, PDF generated via
dvi/dvipdf
seem to cause issues to Chromium/Firefox: they don't display all the glyphs on screen.
mupdf
seems ok.Running:
$> mutool convert -o o.pdf testdata/hello_golden.pdf
seems to fix it (Firefox/Chromium will display all the glyphs for
o.pdf
).
Comment by ~sbinet on ~sbinet/star-tex
REPORTED
RESOLVED FIXEDComment by ~sbinet on ~sbinet/star-tex
REPORTED
RESOLVED FIXEDTicket created by ~sbinet on ~sbinet/star-tex
testdata
directories are proliferating. we should gather them all under, say,internal/texdata
:
hello.tex
hello_golden.dvi
(generated by TeX)hello_golden.png
(generated by TeX)hello_golden.pdf
(generated by TeX)and have
internal/cmpdata
compare thexyz_golden.<EXT>
files with the one generated by the test. (with special handling for time differences and such)For PDFs and other files which may not be bit-by-bit identical, we could use
imagemagick
ormutool
to generate images for each page of the resulting PDFs, and usecmpimg
on that.We should probably have an (easy) way to regenerate the golden files.
example:
$> mutool convert -O resolution=100 -o output.png input.pdf
Comment by ~sbinet on ~sbinet/star-tex
REPORTED
RESOLVED FIXEDComment by ~sbinet on ~sbinet/star-tex
RESOLVED CLOSED
REPORTEDComment by ~sbinet on ~sbinet/star-tex
REPORTED
RESOLVED CLOSED