Chris Wilson
7960fc94dc
[ps] Set used level to 3 only if we use native gradients.
...
Set the used level after performing the checks that the native Type2/3
gradients support the pattern.
2008-09-07 15:03:58 +01:00
Chris Wilson
7439c45039
[ps] Only use fallback images if the gradient has non-constant alpha.
...
If the gradient has constant alpha, then we can express it as a flattened
linear gradient. Otherwise, should the opacity vary across the gradient we
need to fallback.
2008-09-07 15:03:47 +01:00
Chris Wilson
94fd60d5ec
[test] Add gradient-constant-alpha.
...
PostScript can handle alpha gradients, iff they have a constant alpha. So
exercise that path.
2008-09-07 15:03:37 +01:00
Chris Wilson
a33f2f6962
Revert "[ps] A flattened gradient is not linear."
...
This reverts commit 85ed37da33 .
Adrian Johnson pointed out that iff the gradient has constant alpha then
it can be flattened. Reverting this commit in order to restore the
capability to handle gradient flattening.
2008-09-07 15:03:21 +01:00
Chris Wilson
1a6f2b08a1
[ps] Support B PDF operator.
...
Add the procedure definition for fill-stroke path operators, B and B*.
2008-09-07 15:02:21 +01:00
Chris Wilson
ab3bb369d5
[ps] Add comments about design of output.
...
Add some snippets from Adrian Johnson about how and why the PS output is
factored in terms of PDF operators.
2008-09-07 15:02:15 +01:00
Chris Wilson
ddb529a59c
[configure.ac] Bump the required version.
...
2.62!!! Hopefully Behdad will notice and rewrite his excellent build
scripts to avoid m4_newline() and m4_expand().
2008-09-07 12:16:29 +01:00
Behdad Esfahbod
c3b05a796e
[configure.ac.enable] Sanitize feature default value
2008-09-06 18:02:21 -04:00
Behdad Esfahbod
c881226afd
[configure.ac.enable] Further break feature configuration hooks
2008-09-06 17:44:19 -04:00
Behdad Esfahbod
31b09965b7
[configure.ac.enable] Move macros around
2008-09-06 17:44:19 -04:00
Behdad Esfahbod
e19103e38d
[configure.ac.enable] Redo cache invalidation to be automatic
2008-09-06 17:44:19 -04:00
Behdad Esfahbod
d520d5432b
[configure.ac.enable] Simplify _CAIRO_ENABLE_FULL
2008-09-06 17:44:19 -04:00
Behdad Esfahbod
ee97873e0d
[configure.ac.bulid] Break feature config into smaller hooks
2008-09-06 17:44:18 -04:00
Behdad Esfahbod
3ed9787f43
[configure.ac.enable] Add CAIRO_FEATURE_IF_ENABLED
2008-09-06 17:44:18 -04:00
Behdad Esfahbod
aba88e3437
[configure.ac.enable] Move all feature configureation to a single hook
...
To be broken up in followup commits.
2008-09-06 17:44:18 -04:00
Behdad Esfahbod
7d39e4cbd7
[configure.ac.enable] Add all-powerful hook registration macro
2008-09-06 17:44:18 -04:00
Behdad Esfahbod
61ef0ebdc3
[.gitignore] Update
2008-09-06 17:44:17 -04:00
Behdad Esfahbod
eddb3f6a84
[configure.ac.enable] More macro cleanup
2008-09-06 17:44:17 -04:00
Behdad Esfahbod
96e45e6779
[configure.ac] Cosmetic
2008-09-06 17:44:17 -04:00
Behdad Esfahbod
a37806a9da
[configure.ac] Quote version macros
2008-09-06 17:44:17 -04:00
Behdad Esfahbod
4edda79e71
[configure.ac] Sanitize feature names
2008-09-06 17:44:17 -04:00
Benjamin Otte
c2062dc8b7
[doc] get rid of various markers that aren't interpreted by gtk-doc
2008-09-06 22:29:47 +02:00
Chris Wilson
d45b3168db
[ps] Use a color_t rather than open-code.
...
Simplify the code by tracking the current solid color with a
cairo_color_t.
2008-09-06 09:10:30 +01:00
Chris Wilson
85ed37da33
[ps] A flattened gradient is not linear.
...
We cannot express an alpha-gradient as a simple linear interpolation
between 2 flattened colors. So fallback.
2008-09-06 09:10:25 +01:00
Chris Wilson
c1c86afa87
[ps] Use floating point values when flattening color.
...
Use the full-precision color values when computing the alpha-blended
color.
2008-09-06 09:10:20 +01:00
Chris Wilson
e583fb061d
[type1] Allocate the temporary subsetter on the stack.
...
Avoid a reasonably small, short-lived malloc by allocating the
cairo_type1_font_subset_t on the stack.
2008-09-06 08:14:43 +01:00
Chris Wilson
0cadd4ab02
[CODING_STYLE] Add vim modeline
...
Add my vim recipe that most closely matches the coding style. If you can
improve it, please do so!
2008-09-06 08:11:33 +01:00
Behdad Esfahbod
22de0f6b8d
[configure.ac] Add some automake options
2008-09-04 23:26:19 -04:00
Behdad Esfahbod
82c91ec681
[util] Fix an automake warning
2008-09-04 23:25:57 -04:00
Behdad Esfahbod
965b0e51ec
[test] Do not include "xmalloc.h" directly
...
Not needed, it's renamed and included by boilerplate directly.
2008-09-04 23:25:27 -04:00
Behdad Esfahbod
620e19e849
[configure.ac] Add AM_PROG_CC_C_O
...
Needed for per-target flags in test/Makefile.am
2008-09-04 23:09:58 -04:00
Behdad Esfahbod
4edfdb4b15
Rename build/*.ac to build/configure.ac.*.
...
Also rename configure.in to configure.ac (finally)
configure.in -> configure.ac
build/analysis.ac -> build/configure.ac.analysis
build/enable.ac -> build/configure.ac.enable
build/system.ac -> build/configure.ac.system
build/tools.ac -> build/configure.ac.tools
build/version.ac -> build/configure.ac.version
build/warnings.ac -> build/configure.ac.warnings
2008-09-04 22:33:52 -04:00
Behdad Esfahbod
49f060252a
Rename build/*.mk to build/Makefile.am.*
...
Namely:
build/Analysis.mk -> build/Makefile.am.analysis
build/ChangeLog.mk -> build/Makefile.am.changelog
build/Releasing.mk -> build/Makefile.am.releasing
2008-09-04 22:27:03 -04:00
Behdad Esfahbod
7ad076442d
Rename src/*.mk to src/Makefile.*
...
Namely:
src/Sources.mk -> src/Makefile.sources
src/Config.mk -> src/Makefile.am.config
src/Config.mk.win32 -> src/Makefile.win32.config
2008-09-04 22:23:42 -04:00
Behdad Esfahbod
8da361470f
[configure.in] Forbid arbitrary CAIRO_ patterns in the output
2008-09-04 21:59:27 -04:00
Behdad Esfahbod
33ed2fffb5
[build/enable.ac] Add a feature "type" argument (font, surface, ...)
2008-09-04 21:13:39 -04:00
Behdad Esfahbod
c8e75f1007
[acinclude.m4] Disallow "_CAIRO" patterns in the output
...
Eases m4 writing.
2008-09-04 21:13:17 -04:00
Behdad Esfahbod
86ef1dff59
[configure.in] Break CAIRO_BACKEND_ENABLE into feature-specific ones
2008-09-04 19:50:32 -04:00
Behdad Esfahbod
4a96eb79ce
[build/enable.ac] Reformat for readability
2008-09-04 17:50:15 -04:00
Behdad Esfahbod
c28882728c
[configure.in] Remove unused variables
2008-09-04 17:22:07 -04:00
Behdad Esfahbod
47547cf051
[configure.in] Move report generation to build/enable.ac
2008-09-04 16:41:51 -04:00
Behdad Esfahbod
37f82a4d1b
Get rid of CAIRO_LDADD in favor of CAIRO_LIBS
2008-09-04 16:13:05 -04:00
Behdad Esfahbod
44155f7e59
Cleanup configure.in macros
2008-09-04 16:08:41 -04:00
Behdad Esfahbod
0e01534bf0
[boilerplate] Rename xmalloc.[ch] to boilerplate namespace
2008-09-04 15:53:33 -04:00
Behdad Esfahbod
c16b4520ec
[autogen.sh] Only search in build/*.ac
2008-09-04 09:07:52 -04:00
Chris Wilson
f92c7c2b25
[autogen] Check build/ for versions.
...
Add the build/*.mk to extract_version() so that it correctly identifies
our requirements.
2008-09-04 03:06:58 +01:00
Behdad Esfahbod
097c4ac022
[Makefile.am] Use check_PROGRAMS
2008-09-03 20:52:17 -04:00
Behdad Esfahbod
308a2ca928
[doc/public/check-doc-coverage.sh] Also test cairo-undeclared
2008-09-03 20:52:17 -04:00
Behdad Esfahbod
b1ced45f06
[doc] Fix out-of-tree build
2008-09-03 20:52:12 -04:00
Behdad Esfahbod
5c45aa1308
[configure.in] Split in various files
...
Now the configure.in file mostly holds the backend enabling logic.
The usual cruft has been moved in smaller files named build/*.ac.
2008-09-03 20:06:26 -04:00