Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: merge some tspans #714

Open
DenVdmj opened this issue May 10, 2017 · 0 comments
Open

Suggestion: merge some tspans #714

DenVdmj opened this issue May 10, 2017 · 0 comments

Comments

@DenVdmj
Copy link

DenVdmj commented May 10, 2017

In some specific cases, i would like to merged tspans, for example:

<tspan x="74.1 83.5 91.7 109.1 118.4 124.3" y="230.5">as at </tspan>
<tspan x="140.5 151.1 160.4" y="230.5">be </tspan>
<tspan x="173.6 184.1 194.7" y="230.5">by </tspan>

should be:

<tspan x="74.1 83.5 109.1 118.4 140.5 151.1 173.6 184.1" y="230.5">asatbeby</tspan>

I'd recently faced a lot of binary-trees schemes generated from pdf vectors, and i was surprised converters use tspan with multivalues attributes.

To optimize these specific schemes, i wrote a narrowly-specific js, i hope it will better clarify this idea http://jsfiddle.net/denvdmj/xoaLn7sj/embedded/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants