/usr/include/minidjvu/alg/nosubst.h is in libminidjvu-dev 0.8.svn.2010.05.06+dfsg-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | /*
* nosubst.h - guessing what chunks are not letters and should not be changed
*/
/*
* This is the algorithm that mark bitmaps that cannot have a substitution.
*
* First, it looks what blits are suspiciously big. They will be no-subst.
* A blit with a bounding box that intersects a no-subst box will also be no-subst.
* And so no-subst infection is spread until no more new no-substs are found.
*
* You may ask, why this \expandafter when the splitter could simply mark results
* of splitting suspiciously big bitmaps as no-subst?
* Answer: this algorithm works even when we've read a DjVu page and didn't
* actually render it. Well, it works at least with cjb2-encoded files.
*/
MDJVU_FUNCTION void mdjvu_calculate_not_a_letter_flags(mdjvu_image_t);
|