[librsvg: 15/15] Merge branch 'text-bounds' into 'main'




commit 463bcdfdcb046fbec7850669b27a28821051fb6c
Merge: 525fde79 8b9c2b8a
Author: Marge Bot <marge-bot gnome org>
Date:   Mon Oct 18 23:15:46 2021 +0000

    Merge branch 'text-bounds' into 'main'
    
    Use the whole objectBoundingBox of a text element, not each individual tspan's
    
    See merge request GNOME/librsvg!613

 src/drawing_ctx.rs                                 | 138 +++++++-----------
 src/layout.rs                                      |  32 ++++-
 src/structure.rs                                   |  24 +++-
 src/text.rs                                        | 156 ++++++++++++++++++---
 .../reftests/text-objectBoundingBox-ref.png        | Bin 0 -> 925 bytes
 tests/fixtures/reftests/text-objectBoundingBox.svg |  14 ++
 tests/resources/Ahem.ttf                           | Bin 0 -> 21768 bytes
 tests/resources/README.md                          |   7 +
 tests/src/primitives.rs                            |  24 ++++
 tests/src/utils.rs                                 |   4 +
 10 files changed, 284 insertions(+), 115 deletions(-)
---


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]