Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-03-15 | Rename fitzdraw directory to draw. | Tor Andersson | |
2010-03-09 | Remove Jamfiles and update the README. | Tor Andersson | |
2010-02-09 | Use fz_pixmap instead of fz_image and remove the subclassing in pdf_image. | Tor Andersson | |
2010-01-07 | Reenable x11pdf viewer. | Tor Andersson | |
2010-01-07 | Shadings with background fill. | Tor Andersson | |
2010-01-07 | Clipping paths. | Tor Andersson | |
2010-01-07 | Draw images and shadings. | Tor Andersson | |
2010-01-07 | Render text. | Tor Andersson | |
2010-01-07 | Fix typos in stroking code and pass the device matrix to the interpreter. ↵ | Tor Andersson | |
Now tigers. | |||
2009-12-07 | Update path fill, stroke and dash code. | Tor Andersson | |
2009-12-03 | Consolidate include lines to a single fitz.h. | Tor Andersson | |
2009-12-02 | Killing time. Butchered display tree and disabled all calls to it. | Tor Andersson | |
2009-12-08 | Add support for 16 bit per component images. | Sebastian Rasmussen | |
2009-11-29 | Add some braces and fix up double-indentation on multi-line if/while ↵ | Tor Andersson | |
expressions. | |||
2009-11-29 | Fix up indentation. | Tor Andersson | |
2009-08-25 | Add implicit closepath segments when filling non-closed subpaths. | Tor Andersson | |
2009-08-19 | More portable fix for pointer alignments. | Ralph Giles | |
The previous patch cast the pointer to (unsigned long) which fixed a truncation warning on 64 bit Linux, but didn't help on Win64. Casting to (size_t) is a little more portable, but mupdf doesn't use that type. Casting to (char*) and substractiong (char*)0 is the best solution for this. It looks a little messy; if more such checks are added, I suggest moving to a macro: #define PTR_ALIGN4(ptr) (!((char *)(ptr) - (char *)0) & 3)) However, the pointer in rendersolid() is already an (unsigned) char pointer. The check in decodetile() is actually checking an unsigned int pointer for 4-octet alignment, so I don't see how that can ever fail. | |||
2009-08-19 | Cast pointers to unsigned long to avoid truncation. | Ralph Giles | |
In these two places, a pointer's alignment was checked by casting it to an unsigned in and then masking off all but the last low two bits. This method generates a warning on LP64 systems like Linux x86_64 since the pointer must be truncated. This is fine as far as the algorithm is concerned, but gcc generates a warning which we would like to remove. Casting to (unsigned long) resolves the warning, since this is the same width as a pointer on Linux x86_64. On 32 bit machines, it is generally also the same width as a pointer, and as the previous (unsigned) cast. However, it won't help on Windows x86_64, where long is still 32 bits. | |||
2009-07-30 | Adjust center-of-pixel offset for image rendering. | Tor Andersson | |
2009-07-30 | Clamp to edge when sampling outside the edge of an image. Solves many bugs ↵ | Tor Andersson | |
with 1x1 sized images used as rectangles that got rendered like gradients. | |||
2009-07-06 | Declare functions void if they take no arguments. | Sebastian Rasmussen | |
2009-07-05 | Make internal functions static. | Sebastian Rasmussen | |
2009-07-03 | Be less strict when comparing tiny features with epsilon in the path ↵ | Tor Andersson | |
stroking logic. | |||
2009-06-10 | Add a COPYING to the fitzdraw subdirectory. | Ralph Giles | |
2009-05-10 | Fix bug where image scaling accessed data outside of buffer. | Sebastian Rasmussen | |
2009-03-11 | Remove fz_outofmem constant. | Tor Andersson | |
2009-03-11 | Rename and prune some files and functions. | Tor Andersson | |
2009-03-11 | Change fz_error* struct into an integer error type fz_error. | Tor Andersson | |
2009-02-28 | Merge and move header files into the source directories. | Tor Andersson | |
2009-02-28 | Moved Fitz files into one directory. | Tor Andersson | |