| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | | | | |
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
Don’t use gtk-doc comment syntax for regular comments.
|
|\ \ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | | |
Remove unused _cairo_tee_surface_find_match
See merge request cairo/cairo!447
|
| | |_|/ / /
| |/| | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
A little history digging shows that we only ever had one caller of
_cairo_tee_surface_find_match. Commit 658cdc7c9a "Introduce
cairo_tee_surface_t" added this code to _cairo_surface_clone_similar():
if (src->type == CAIRO_SURFACE_TYPE_TEE) {
cairo_surface_t *match;
match = _cairo_tee_surface_find_match (src,
surface->backend,
content);
if (match != NULL)
src = match;
}
Then, two years later in 2011, commit af9fbd176b1 "Introduce a new compositor
architecture" removed _cairo_surface_clone_similar() and thus this code became
unused.
This commit drops this unused code.
Signed-off-by: Uli Schlachter <psychon@znc.in>
|
|\ \ \ \ \ \
| |_|_|/ / /
|/| | | | |
| | | | | |
| | | | | | |
Fix some compiler warnings
See merge request cairo/cairo!427
|
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
../src/cairo-quartz-image-surface.c:149:24: warning: unused variable 'size' [-Wunused-variable]
const unsigned int size = surface->imageSurface->height * surface->imageSurface->stride;
|
| | |_|_|/
| |/| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
../src/cairo-pdf-surface.c:2505:9: warning: variable 'status' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (surface->base.status != CAIRO_STATUS_SUCCESS)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cairo-pdf-surface.c:2573:9: note: uninitialized use occurs here
if (status == CAIRO_STATUS_SUCCESS)
^~~~~~
../src/cairo-pdf-surface.c:2505:5: note: remove the 'if' if its condition is always false
if (surface->base.status != CAIRO_STATUS_SUCCESS)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/cairo-pdf-surface.c:2497:5: note: variable 'status' is declared here
cairo_status_t status, status2;
^
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Applying a transformation matrix to a glyph path after converting
floats to fixed point numbers caused caluculation errors. Apply the
transform before the conversion.
Fixes cairo/cairo#611
|
|/ / /
| | |
| | |
| | | |
warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
|
|/ /
| |
| |
| |
| |
| |
| | |
Follow-up to !391 to apply the same changes to the (disabled by default)
tee surface.
Fixes: #634
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | | |
Win32 surface compositor should support DWrite font
Closes #597
See merge request cairo/cairo!441
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
_cairo_win32_gdi_compositor_glyphs was falling back to the default
implementation for DWrite font because check_glyphs() returned FALSE
for CAIRO_FONT_TYPE_DWRITE.
Fixes cairo/cairo#597
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
PDF Type 3 color fonts
See merge request cairo/cairo!434
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This implements Type 3 color fonts for PDF for any font with a
CAIRO_SCALED_GLYPH_INFO_RECORDING_SURFACE. This includes user-fonts,
SVG fonts, and COLR fonts.
Glyphs with foreground colors are not yet implemented as Type 3 glyphs
and will be rendered as images by cairo-surface.
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Fix build with -DDEBUG_SVG_RENDER
See merge request cairo/cairo!439
|
| | | | | |
|
| | | | | |
|
| |_|/ /
|/| | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
GetGdiCompatibleMetrics may return a glyph metrics that yields a small
nagative glyph height. But, it was calculated in unsigned integer.
And, it resulted in a very large glyph metrics.
Calculate glyph width and height in signed integer and let them
non-negative.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Added the following API:
* cairo_dwrite_font_face_get_measuring_mode
* cairo_dwrite_font_face_get_rendering_params
* cairo_dwrite_font_face_set_measuring_mode
* cairo_dwrite_font_face_set_rendering_params
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Removed the following functions:
* cairo_dwrite_get_cleartype_rendering_mode
* cairo_dwrite_set_cleartype_params
* cairo_dwrite_scaled_font_get_force_GDI_classic
* cairo_dwrite_scaled_font_set_force_GDI_classic
|
|\ \ \ \
| |/ / /
|/| | |
| | | |
| | | | |
Add cairo-dwrite.h header file
See merge request cairo/cairo!425
|
| |/ / |
|
| | | |
|
|/ /
| |
| |
| | |
Fixes #632
|
|\ \
| | |
| | |
| | |
| | | |
Drop cairo-gl
See merge request cairo/cairo!287
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The GL support in Cairo has always been a prototype, and
nothing happened in the past 10+ years to make it work as
it was meant to.
GL support is not enabled by any downstream packagers of
Cairo, so nobody should notice its absence.
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
Documentation updates
See merge request cairo/cairo!431
|
| | | | |
|
| |/ / |
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Fix foreground colors in FT/SVG/COLRv1
See merge request cairo/cairo!430
|
| | |
| | |
| | |
| | | |
as it is used by FT as well as user fonts.
|
| | | |
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
dwrite: use custom palette when rendering COLRv0
See merge request cairo/cairo!424
|
| | | | |
|
|\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | | |
Some documentation fixes
See merge request cairo/cairo!428
|
| |/ / / |
|
|\ \ \ \
| |_|/ /
|/| | |
| | | |
| | | | |
Simplify generating dwrite-fonts docs
See merge request cairo/cairo!426
|
| |/ /
| | |
| | |
| | | |
Tell gtk-doc to scan .cpp files instead of making a proxy .c file.
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The previous approach using foreground colors in user fonts does not
work for gradients since the foreground color is not available at the
time of recording.
Add a new function cairo_user_scaled_font_get_foreground_source() that
can be called by the color render function to retrieve the foreground
pattern. Calling this function signals to cairo that the foreground
color is used. In this case cairo will call the render function
whenever the foreground color has changed.
|
|\ \
| | |
| | |
| | |
| | | |
Add svg font test for custom palette colors
See merge request cairo/cairo!418
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This removes the following output:
Generating src/cairo.def
<stdin>:6:9: warning: #pragma once in main file
<stdin>:4377:9: warning: #pragma once in main file
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
surface: Don't optimize away color glyphs
See merge request cairo/cairo!419
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The surface code was optimizing away show_text_glyphs
based on the operator when the source pattern is clear.
But if we are rendering color glyphs, that is not
correct since we are using the glyphs as source.
|
|/ / /
| | |
| | |
| | | |
is_foreground_color can be NULL.
|
|\ \ \
| |/ /
|/| |
| | |
| | | |
Fix svg renderer crash
See merge request cairo/cairo!416
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Only loop over custom colors if we got
a palette selected successfully.
|