Jeff Muizelaar
973c9abd53
PS: Workaround to avoid splitting final ~> terminating sequence.
2006-06-27 15:35:22 +02:00
Michael Emmel
5d60ceb9b8
Added major updates fixes and enhancements by
...
Claudio Ciccani klan@directfb.org
Almost a full rewrite
2006-06-26 22:27:14 -07:00
Behdad Esfahbod
289e8b8af3
Remove config.cache in make distclean.
2006-06-26 12:26:15 +02:00
Behdad Esfahbod
73a0e792b4
More configure foo fixes for .pc files.
2006-06-26 12:21:18 +02:00
Behdad Esfahbod
5ba974ea0b
Fix circular dependency in cairo.pc and cairo-xlib.pc.
2006-06-26 11:54:04 +02:00
Behdad Esfahbod
53a478d233
Rewrite configure caching.
2006-06-25 17:46:01 +02:00
Carl Worth
ce2b9e1b5c
Prefer TRUE and FALSE over 1 and 0 for assigning cairo_bool_t values
2006-06-25 16:57:59 +02:00
Carl Worth
58a60ed9fd
Prefer sub-path over subpath in documentation.
2006-06-25 16:53:13 +02:00
Carl Worth
773cb6475b
Prefer sub_path over subpath in identifiers.
2006-06-25 16:51:25 +02:00
Carl Worth
8f0dd658b1
Add documentation for how degenerate segments and sub-paths are treated.
2006-06-25 16:49:45 +02:00
Jeff Muizelaar
15caa88c64
Initial support for degenerate-path stroking
...
This follows the PDF and SVG specifications which only draw degenerate paths when
round caps are in effect.
With this commit, the degenerate-path test passes with the image, xlib, and pdf
backends, (but still fails with ps and svg backends).
2006-06-25 16:12:38 +02:00
Jeff Muizelaar
20df4af126
Add new test case degenerate-path to show current 'bug'
2006-06-25 15:48:48 +02:00
Torsten Schoenfeld
e747bbd350
Fix build after recent pixman.h change.
...
The recent pixman.h change to use configure-generated defines
accidentally broke the build. Pulling in config.h fixes it.
2006-06-25 15:25:23 +02:00
Carl Worth
e32138aa93
Prefer using configure-generated variable for finding stdint.h or similar.
...
We were doing something more complicated originally, and that was because
pixman.h was an installed public header file at one time. But that hasn't
been the case for quite a long time.
2006-06-25 14:42:27 +02:00
Carl Worth
14ffde0380
ROADMAP: Note that bug 6759 is now fixed.
2006-06-25 12:16:36 +02:00
Carl Worth
d2ea21b4ae
ft-text-antialias-none: Update reference images and igore list.
...
Add a new ps reference image due to slightly different rasterization. Also
update pdf and svg backends to ignore this test since those backends do not
support ANTIALIAS_NONE.
Note in ROADMAP that bug 6759 is fixed now.
2006-06-25 11:48:32 +02:00
Carl Worth
7e0e503fba
xlib: Fix failure path to do cache thawing cleanup.
2006-06-25 11:32:36 +02:00
Carl Worth
4bff3d559e
ROADMAP: Note that cairo_xlib_surface_get_width/height exist now.
2006-06-25 11:28:03 +02:00
Robert O'Callahan
ddead8e061
Surface size getters for xlib
...
When accessing the underlying drawable etc of an xlib surface, it is
also helpful to be able to get the width and height without a server
round trip. This patch provides those functions.
2006-06-25 11:23:43 +02:00
Carl Worth
113bef399a
ROADMAP: Note that bug 6617 might already be fixed.
2006-06-25 11:20:50 +02:00
Carl Worth
9ab5678e53
Fix bug 7268: Fix coordinate space for _cairo_surface_get_extents
...
Previously this function was attempting to return values in surface
space, (but even then it was doing it wrong). However, all callers
actually expect values in backend space. Fixing this cleans up bug
7268 quite nicely.
2006-06-25 10:04:43 +02:00
Carl Worth
95355c854f
ROADMAP: Note that SVG bitmap glyphs now work. Move some bugs to a punt list.
2006-06-25 10:04:43 +02:00
Carl Worth
4c7074ceb4
Remove comment which had been incorrectly copied
2006-06-25 10:04:43 +02:00
Emmanuel Pacaud
3a313070e5
SVG: fix bit order for bitmap font data and use a group with matrix
...
transformation instead of applying the same matrix on each rect
coordinates.
2006-06-23 20:16:12 +02:00
Jonathon Jongsma
8b6fcaf8ff
Fix a minor documentation typo in cairo_pop_group_to_source
2006-06-23 08:29:17 -05:00
Carl Worth
bfa133f9e6
ROADMAP: Note that bug 6955 is fixed.
2006-06-22 22:39:39 -07:00
Carl Worth
5488c3b462
xlib: Prefer BAIL over FAIL when the cleanup code is also used in succesful cases.
2006-06-22 22:38:17 -07:00
Carl Worth
7e457cb4c1
Bug 6955: Fix by adding freeze/thaw around scaled_font glyph cache in _cairo_xlib_surface_show_glyphs
2006-06-22 22:32:57 -07:00
Carl Worth
6a58658b73
Add test/glyph-cache-pressure to demonstrate xlib failure (bug 6955)
2006-06-22 22:05:20 -07:00
Carl Worth
333ac8f4d9
Add 'private' cairo_scaled_font_test_set_max_glyphs_cached_per_font for testing
2006-06-22 22:03:06 -07:00
Emmanuel Pacaud
d5197c1e0d
SVG: dumb implementation of bitmap glyphs.
...
Bitmap glyphs are emited as tiny svg rectangles. An improvement would be
to calculate glyph outline from bitmap data.
2006-06-22 22:32:47 +02:00
Carl Worth
cd5eb70e4e
ROADMAP: Update with 1.1.10 notes as well as new blockers and fixes
2006-06-21 22:36:54 -07:00
Carl Worth
25e0acfee0
PDF: Fix display of bitmapped glyphs (bitmap-font test now passes)
2006-06-21 17:23:35 -07:00
Carl Worth
b4720ca51d
PDF: Push glyph stream creation down from emit glyph to outline/bitmap variants
2006-06-21 16:59:29 -07:00
Behdad Esfahbod
83a8a50735
Pass --cache-file=config.cache and --disable-static to configure from
...
autogen.sh.
2006-06-21 19:57:40 -04:00
Behdad Esfahbod
f5ee9557c3
Removed excess mkdir.
2006-06-21 07:22:50 -04:00
Behdad Esfahbod
f71313d427
Minor refinements, mostly to configure.in.
2006-06-21 07:05:14 -04:00
Behdad Esfahbod
c88bab66ab
Make configure generate cairo-features.h. Generate AC_DEFINE and AM_CONDITIONALS
...
for all CAIRO_HAS_* in CAIRO_BACKEND_ENABLE.
2006-06-21 07:05:13 -04:00
Carl Worth
c6c1da2a23
PS: Add support for emitting bitmapped glyphs into type3 fonts.
...
The bitmap-font now passes when run against the ps backend.
2006-06-20 17:49:05 -07:00
Carl Worth
cca08d9bce
New bitmap-font test with bundled 6x13 font.
...
The 6x13 font is a public-domain terminal font from the X
distribution.
2006-06-20 17:48:06 -07:00
Carl Worth
ab8ae66f9d
SVG: Fix to not crash on bitmapped glyphs
...
This is similar to a change that was recently made to the PDF and PS backends.
Bitmap glyphs are not yet drawn correctly, (drawn as filled rectangles instead),
but the crash is at least eliminated.
2006-06-20 17:15:07 -07:00
Carl Worth
2f43a79e4e
ft-font: Use compile-time test (WORDS_BIGENDIAN) rather than run-time function to test endian-ness.
2006-06-20 11:28:23 -07:00
Carl Worth
b806b50cfe
Add new CAIRO_BITSWAP8 macro for swapping the bits within a byte.
...
This uses a technique devised by Sean Anderson, July 13, 2001 as found
at http://graphics.stanford.edu/~seander/bithacks.html#ReverseByteWith32Bits
This technique uses 3 multiplies rather than just shifts and masks, but
performance seems comparable to the old approach, (but more significantly,
the new approach is easier to implement as a macro, and I plan to start
using this bit-swapping elsewhere very soon).
2006-06-20 10:59:22 -07:00
Carl Worth
3465ae1c58
output-stream: Support %X in addition to %x
2006-06-20 10:43:53 -07:00
Kristian Høgsberg
bb11980f14
Add 'x' case to printf switch so we actually implement %02x.
2006-06-20 02:16:48 -04:00
Carl Worth
651b2a9ab0
test/fallback-resolution: Remove extra call to cairo_show_page
2006-06-19 21:16:03 -07:00
Carl Worth
7026e24548
PS PDF: Drop unused hex_digit functions, (now that output stream supports %02x)
2006-06-19 21:15:26 -07:00
Kristian Høgsberg
cd5e08a9fe
Implement 0-padding and field width for _cairo_output_stream_printf().
...
Use it instead of %c%c in PS and PDF surfaces.
2006-06-19 22:44:39 -04:00
Carl Worth
a3f2d92f11
PDF: Don't fallback due to CAIRO_ANTIALIAS_NONE
...
This was a gratuitous thing that was causing excessive fallbacks in
mozilla printing to PDF. The only reason it was ever there was to
get some of the tests that rely on CAIRO_ANTIALIAS_NONE to pass.
Instead we now simply don't run those tests against the PDF backend.
2006-06-19 11:03:32 -07:00
Behdad Esfahbod
72e7667ed9
Replace noinst_ with check_, such that nothing is built with default make
...
target.
2006-06-19 04:29:49 -04:00