~ap4sc

Recent activity

Re: [PATCH merge-rs] Calculate line spacing in paragraphs and remove left bearing on first character of lines a month ago

From Ian C to ~ireas/public-inbox

I’m not sure why this failed. Do I need to merge into the latest state of your master branch first before patching?

> On Jun 20, 2021, at 2:13 AM, ap4sc <ap4sc4@gmail.com> wrote:
> 
> ---
> src/elements.rs | 33 ++++++++++++++++-------
> src/fonts.rs    | 71 +++++++++++++++++++++++++++++++++++++++++++++----
> src/render.rs   | 59 ++++++++++++++++++++++++++--------------
> src/style.rs    | 16 +++++++++++
> 4 files changed, 145 insertions(+), 34 deletions(-)
> 
> diff --git a/src/elements.rs b/src/elements.rs
> index 1ff2dea..b7205eb 100644
> --- a/src/elements.rs

[PATCH merge-rs] Calculate line spacing in paragraphs and remove left bearing on first character of lines a month ago

From ap4sc to ~ireas/public-inbox

---
 src/elements.rs | 33 ++++++++++++++++-------
 src/fonts.rs    | 71 +++++++++++++++++++++++++++++++++++++++++++++----
 src/render.rs   | 59 ++++++++++++++++++++++++++--------------
 src/style.rs    | 16 +++++++++++
 4 files changed, 145 insertions(+), 34 deletions(-)

diff --git a/src/elements.rs b/src/elements.rs
index 1ff2dea..b7205eb 100644
--- a/src/elements.rs
+++ b/src/elements.rs
@@ -48,6 +48,7 @@ use std::iter;
use std::mem;

[message trimmed]

[PATCH genpdf-rs] LineStyle implemented for FramedElement and FrameCellDecorator a month ago

From ap4sc to ~ireas/public-inbox

For LineStyle add From<Color>, Mm instead of f64 thickness, default to black and 1.0 thickness

Implement LineStyle for FrameCellDecorator

Add documentation for LineStyle

Remove rounded rect code comments

Accept impl into line style on FramedElement and Table
---
 src/elements.rs | 76 +++++++++++++++++++++++++++++++------------------
 src/render.rs   | 20 ++++++-------
 src/style.rs    | 72 ++++++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 130 insertions(+), 38 deletions(-)
[message trimmed]