mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2025-12-20 14:00:10 +01:00
Convert the ft-svg-render-palette test to a color test that test both palettes and foreground colors. |
||
|---|---|---|
| .. | ||
| fuzzer | ||
| build_ttx_fonts.py | ||
| color.0.color0.svg | ||
| color.1.color1.svg | ||
| color.2.foreground-solid.svg | ||
| color.3.foreground-alpha.svg | ||
| color.4.foreground-linear.svg | ||
| color.5.foreground-linear-alpha.svg | ||
| color.6.foreground-radial.svg | ||
| color.7.foreground-radial-alpha.svg | ||
| doc.0.viewBox1.svg | ||
| doc.1.viewBox2.svg | ||
| doc.2.image.svg | ||
| doc.3.image-transform.svg | ||
| doc.4.clip-user.svg | ||
| doc.5.clip-object.svg | ||
| doc.6.clip-user2.svg | ||
| doc.7.clip-object2.svg | ||
| doc.8.clip-user3.svg | ||
| doc.9.clip-object3.svg | ||
| doc.A.g.svg | ||
| fill.0.name.svg | ||
| fill.1.hex6.svg | ||
| fill.2.hex3.svg | ||
| fill.3.rgb.svg | ||
| fill.4.current-color.svg | ||
| fill.5.palette.svg | ||
| fill.6.opacity.svg | ||
| fill.7.color.svg | ||
| fill.8.rule.svg | ||
| gradient.0.lin-pad.svg | ||
| gradient.1.lin-reflect.svg | ||
| gradient.2.lin-repeat.svg | ||
| gradient.3.lin-user.svg | ||
| gradient.4.lin-transform.svg | ||
| gradient.5.rad-pad.svg | ||
| gradient.6.rad-reflect.svg | ||
| gradient.7.rad-repeat.svg | ||
| gradient.8.rad-user.svg | ||
| gradient.9.rad-transform.svg | ||
| meson.build | ||
| path.0.line.svg | ||
| path.1.curve.svg | ||
| path.2.quad.svg | ||
| path.3.arc.svg | ||
| README | ||
| shapes.0.rect.svg | ||
| shapes.1.rounded-rect.svg | ||
| shapes.2.circle.svg | ||
| shapes.3.ellipse.svg | ||
| shapes.4.line.svg | ||
| shapes.5.polyline.svg | ||
| shapes.6.polygon.svg | ||
| stroke.0.name.svg | ||
| stroke.1.hex6.svg | ||
| stroke.2.hex3.svg | ||
| stroke.3.rgb.svg | ||
| stroke.4.current-color.svg | ||
| stroke.5.palette.svg | ||
| stroke.6.opacity.svg | ||
| stroke.7.color.svg | ||
| stroke.8.width.svg | ||
| stroke.9.cap.svg | ||
| stroke.A.dash.svg | ||
| stroke.B.dash-offset.svg | ||
| stroke.C.miter.svg | ||
| stroke.D.round.svg | ||
| stroke.E.bevel.svg | ||
| stroke.F.miter-limit.svg | ||
| svg-font-template.ttx | ||
| svg-render.c | ||
| transform.0.translate.svg | ||
| transform.1.scale.svg | ||
| transform.2.rotate.svg | ||
| transform.3.skewX.svg | ||
| transform.4.skewY.svg | ||
| transform.5.matrix.svg | ||
| transform.6.multiple.svg | ||
| transform.7.stroke.svg | ||
build_ttx_fonts.py ================== Is used to create the test/*.ttx files used for testing the SVG glyph renderer. build_ttx_fonts.py will look for files of the form <font-name>.<char>.<test-name>.svg in the input directory, and using svg-font-template.ttx, create <font-name>.ttx files that contain one glyph for each svg file. Each <font-name>.ttx will contain a glyph for each svg with the matching <font-name> prefix. Each glyphs will be mapped to the <char> i nthe svg filename. The <char> must be one of 0-9,A-F. svg-render.c ============ svg-render renders SVG files using both librsvg and cairo-svg-glyph-render.c. It is used for testing cairo-svg-glyph-render.c during development. To use svg-render, cairo must be built with CFLAGS="-DDEBUG_SVG_RENDER" to enable the _cairo_debug_svg_render() function.