Commit graph

2479 commits

Author SHA1 Message Date
Adrian Johnson
e194c9cdbe Correct the value of /LastChar in the PDF Type 1 font dictionary.
(cherry picked from 49fa8d353b commit)
2006-10-31 20:55:43 -05:00
Adrian Johnson
25e46ac935 Fix Type 1 embedding in PDF
PDF Files with Type 1 fonts fail to open in any version of
ghostscript prior to 8.54. The problem is the hex encoding of the
encrypted portion of the font. The PDF reference says this should
only be in binary.
(cherry picked from d81de15804 commit)
2006-10-31 20:55:37 -05:00
Behdad Esfahbod
ab1c334c7e [configure] Invalidate cached warning flags if list of flags changes
such that one doesn't need to remove config.cache when when we add
new warning flags to be checked.
(cherry picked from e5a9c23308 commit)
2006-10-31 20:55:23 -05:00
Carl Worth
80d8e695ff bug 8104: Eliminate unused variables. Replicate assert statement to identify branch of interest.
(cherry picked from 7c97a787eb commit)
2006-10-31 20:55:11 -05:00
Behdad Esfahbod
4d7b341a7e [test] Use FcFreeTypeQuery
(cherry picked from 7ad6e94101 commit)
2006-10-31 20:53:48 -05:00
Behdad Esfahbod
eb388ca4cb [test] Use $(srcdir) to find valgrind supressions
(cherry picked from 851dd63719 commit)
2006-10-31 20:53:16 -05:00
Carl Worth
1ae5dc7e78 Require librsvg >= 2.14.0 to test SVG backend
(cherry picked from 8d834c3a34 commit)
2006-10-31 20:52:40 -05:00
Carl Worth
c55f71bdab test: Add link to test log file in HTML output
(cherry picked from 5ef4c991f6 commit)
2006-10-31 20:51:31 -05:00
Christian Biesinger
a08c0b43e2 [beos] Fix build error
Rename cairo_rectangle_fixed_t to cairo_rectangle_int16_t
as needed per commit 746f66c3fc.
(cherry picked from 05a259d493 commit)
2006-10-26 22:09:13 +02:00
Behdad Esfahbod
a5f068e10d [test] Add 128 to any diff component such that differences are visible 2006-08-30 13:19:05 -04:00
Behdad Esfahbod
3252ad5ca6 [PNG] Mark status volatile to fix gcc warning 2006-08-28 22:44:15 -04:00
Behdad Esfahbod
b6e5f2b0fe [xlib] Bug 7593: rewrite loop to be more readable, and fix warnings
Basically, it's evil to write a loop like:

    while ((c -= 4) > 0) {
        ...
    }

for one reason that doesn't work if c is unsigned.  And when c is signed, if
for some reason c is about -MAXINT, then it will overflow and not work as
expected.

It's much safer (and more gcc warning friendly) to rewrite it as:

    unsigned int c;

    while (c >= 4) {
        ...
        c -= 4;
    }
2006-08-28 22:30:38 -04:00
Carl Worth
06a9628868 Eliminate conditions checking for unsigned or enum values less than 0. 2006-08-28 19:00:48 -07:00
Carl Worth
7d1399a4bb Put static first to avoid compiler warning. 2006-08-28 18:58:27 -07:00
Behdad Esfahbod
1b7ced6614 Bug #7593: Avoid unsigned loop control variable to eliminate infinite, memory-scribbling loop.
Behdad chased this bug down when looking into bug #7593. This
bug is what finally motivated us to figure out how to get -Wextra
(for the "always true" comparisons of unsigned variables against
negative values).
2006-08-28 18:57:14 -07:00
Carl Worth
50003615f2 Add -Wextra (as well as -Wno-missing-field-initializers -Wno-unused-parameter)
We'd been wanting some of the warnings in -Wextra for a long time,
but we had failed in tryingto squelch some of the undesired warnings.
We finally figured out how to do this correctly by simply ordering
the warnings correctly.
2006-08-28 18:55:02 -07:00
Behdad Esfahbod
5492946b0c [image] Print out cairo version in the unsupported-format message 2006-08-23 12:29:49 -04:00
Behdad Esfahbod
96c8f92883 [test] bufferdiff: take abs of the pixel diffs. Oops! 2006-08-22 22:00:58 -04:00
Behdad Esfahbod
988b5dcb7e [ROADMAP] Remove 1.2.4 stuff out of the way 2006-08-21 23:27:59 -04:00
Behdad Esfahbod
edf6f24e1b [TODO] Add cairo_get_scaled_font 2006-08-21 23:27:59 -04:00
Behdad Esfahbod
3d6aec7334 [ROADMAP] Add glyph cache inspection to 1.4 roadmap 2006-08-21 23:27:59 -04:00
Adrian Johnson
782e3eb65b Get correct unhinted outlines on win32.
The documentation for GetGlyphOutline() states that outline returned is grid
fitted and if an application requires an unmodified outline it can request an
outline for a font whose size is equal to the font's em unit.

This seems to suggest that the solution to this bug would be to obtain the
unmodified outline data and scale it to the required size.

https://bugs.freedesktop.org/show_bug.cgi?id=7603
2006-08-21 12:52:56 -04:00
Yevgen Muntyan
6de226be0e Define WINVER if it's not defined. (bug 6456) 2006-08-21 03:52:40 -04:00
Behdad Esfahbod
6ed1613b51 [Makefile.am] Remove unnecessary parantheses that were causing trouble with old bash
Reported by Tor Lillqvist
2006-08-20 13:44:56 -04:00
Carl Worth
047251db43 Increment version to 1.2.5 after making the 1.2.4 release 2006-08-18 18:30:31 -07:00
Carl Worth
54755b2d98 Remove stray ] that was breaking RELEASE_OR_PUBLISH and many make targets (release-publish, etc.) 2006-08-18 18:19:10 -07:00
Carl Worth
fadde879fb Update version to 1.2.4 and libtool version to 11:2:9. 2006-08-18 17:36:42 -07:00
Carl Worth
43a25b8187 NEWS: Add notes for the 1.2.4 release. 2006-08-18 17:35:33 -07:00
Carl Worth
790a359f89 EXTRA_DIST: Add missing source-clip-scale-svg-ref.png 2006-08-18 16:46:57 -07:00
Carl Worth
4f5bb53032 Ignore ChangeLog* in addition to ChangeLog 2006-08-18 16:35:58 -07:00
Carl Worth
2860af3ce2 bitmap-font: Add missing pdf-specific reference image 2006-08-18 16:35:27 -07:00
Carl Worth
b8b507c092 Use &image->base as appropriate to avoid warnings. 2006-08-18 16:12:43 -07:00
Carl Worth
5f94275a4b Update .gitignore due to recent rename. 2006-08-18 16:09:53 -07:00
Behdad Esfahbod
d04b8148c2 [TODO] Add some items from memory 2006-08-18 18:55:52 -04:00
Carl Worth
33b62f47a4 Move unscheduled features and bugs from ROADMAP to TODO 2006-08-18 15:08:58 -07:00
Carl Worth
d1be19e160 Add notes on reporting bugs to BUGS file and move bugs listed there to ROADMAP instead. 2006-08-18 15:02:24 -07:00
Carl Worth
76fca1898c EXTRA_DIST: Add several files to the tar file releases, (BUGS, CODING_STYLE, ROADMAP, etc. 2006-08-18 14:30:01 -07:00
Carl Worth
ab092a9a5d ROADMAP: Remove stray conflict marker 2006-08-18 14:25:53 -07:00
Carl Worth
328024cc25 ROADMAP: Punt the AIX -lpthread bug off of the 1.2.4 roadmap. 2006-08-18 14:24:41 -07:00
Carl Worth
3cf3d4343b Mark ft-text-vertical-layout tests as XFAIL since we'repunting these from the 1.2.4 release. 2006-08-18 14:23:31 -07:00
Behdad Esfahbod
ccdaaf7b95 [ROADMAP] Mark xlib detection problem as fixed 2006-08-18 17:18:34 -04:00
Behdad Esfahbod
0e78e71443 [configure] Check for x11 pkg-config module before using AC_PATH_XTRA
Fixes bug 7491.
2006-08-18 17:17:28 -04:00
Behdad Esfahbod
0c6c0a9e0b [configure] Use _NONPKGCONFIG_LIBS if no xrender pkg-config modele is found 2006-08-18 17:02:24 -04:00
Carl Worth
84a9ca1835 Rename ft-text-vertical-layout-truetype to ft-text-vertical-layout-type3 2006-08-18 13:08:59 -07:00
Behdad Esfahbod
aa2260cfbb [ROADMAP] Add using alloca 2006-08-18 15:49:38 -04:00
Behdad Esfahbod
9c2d9d590b [test] text-rotate: Update ref images to make image pass again
after the font_options change we made in the test suite a while back.
2006-08-18 12:04:16 -04:00
Carl Worth
861f1cb4f7 Merge branch 'jrmuizel-stroking-fixes' into cairo
Conflicts:

	test/dash-caps-joins-ps-argb32-ref.png
	test/degenerate-path-ps-argb32-ref.png
	test/degenerate-path.c
2006-08-18 07:59:20 -07:00
Carl Worth
c2d92d4397 ROADMAP: Mark the close path bug as fixed. 2006-08-18 06:32:43 -07:00
Carl Worth
c78c011017 Don't set current point to (0,0) in close_path.
The setting of current point to (0,0) is actually harmless, but it
definitely looks like a bug, (since after close_path the current point
is really the last move point).

We don't keep track of last move point here, nor do we even need to.
So we can be consistent with _cairo_path_fixed_close_path by not
adjusting current point at all, (the subsequent move_to coming right
behind the close_path will fix up the current point).
2006-08-18 06:32:12 -07:00
Carl Worth
53f74e59fa Fix close-path failure by adding explicit move_to after close_path.
Besides the bug fix, this is a user-visible change since the new
move_to element after the close_path element can be seen in the
results of cairo_copy_path, so we document that here.

We are also careful to fix up _cairo_path_fixed_line_to to defer to
_cairo_path_fixed_move_to to avoid letting the last_move_point state
get stale. This avoids introducing the second bug that is also tested
by the close-path test case.
2006-08-18 06:32:12 -07:00