Summary
cairo: quality of life improvements for matrix operations
Metadata
- Id: 98c6b2458b937f57b1cf63b6fee58880284c7482
- Trac id: 1848
- Type: enhancement
- Reporter: wasamasa
- Owner:
- Cc:
- Status: new
- Component: extensions
- Estimated difficulty: easy
- Resolution:
- Priority: not urgent at all
- Milestone: someday
- Version: 5.4.0
- Changetime: 2025-01-02 19:34:44 UTC
- Created: 2025-01-02 19:34:44 UTC
- Keywords:
Attachments
- 98c6b2458b937f57b1cf63b6fee58880284c7482/attachments/test.scm
- 98c6b2458b937f57b1cf63b6fee58880284c7482/attachments/0003-cairo-Expose-cairo_matrix_t-accessors.patch
- 98c6b2458b937f57b1cf63b6fee58880284c7482/attachments/0001-cairo-Bump-cairo-egg-version.patch
- 98c6b2458b937f57b1cf63b6fee58880284c7482/attachments/0002-cairo-Rework-cairo_matrix_t-to-use-records.patch
- 98c6b2458b937f57b1cf63b6fee58880284c7482/attachments/0004-cairo-Expose-cairo_get_font_matrix.patch
Description
I've tried to manipulate a font matrix with cairo and failed. This seems to be due to that part of the interface being half-finished (text/font extents use records, matrices use f64vectors for some reason?), so I rewrote it to use records, exposed accessors and cairo_get_font_matrix. I've attached a small test program as well which exercises this feature set.