[librsvg: 11/37] Chunk: remove the final positions, leave only the specified ones
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 11/37] Chunk: remove the final positions, leave only the specified ones
- Date: Fri, 28 Dec 2018 03:24:53 +0000 (UTC)
commit f091ea20c59c056ba15cf60ccd82ae0ecc34371b
Author: Federico Mena Quintero <federico gnome org>
Date: Tue Oct 30 16:12:16 2018 -0600
Chunk: remove the final positions, leave only the specified ones
We'll deal with this in stages, like with Spans.
rsvg_internals/src/text.rs | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/rsvg_internals/src/text.rs b/rsvg_internals/src/text.rs
index 404d72ae..c5a45640 100644
--- a/rsvg_internals/src/text.rs
+++ b/rsvg_internals/src/text.rs
@@ -38,10 +38,8 @@ use state::{
///
/// [text chunk]: https://www.w3.org/TR/SVG11/text.html#TextLayoutIntroduction
struct Chunk {
- specified_x: Option<f64>,
- specified_y: Option<f64>,
- final_x: f64,
- final_y: f64,
+ x: Option<f64>,
+ y: Option<f64>,
spans: Vec<Span>,
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]