Commit graph

7481 commits

Author SHA1 Message Date
DD Liu
9043d1236f
Merge pull request #15 from LLK/fix-text-gradients
Fix gradients applied to text.
2018-07-17 11:45:42 -04:00
Paul Kaplan
7519590321 Fix gradients applied to text.
Two things:
1. Apply a gradientTransform for text items that reverse the text transform. This is required because we do not use x/y for text, and gradients are impacted by the transforms.
2. Always apply the style to text elements instead of allowing them to be applied to the parent group if the text element is alone. This is so the fill property is always on the text element so the gradient transforms work.
2018-07-17 10:09:41 -04:00
DD Liu
51a1b93df6
Merge pull request #14 from fsih/bearEars
Fix SVG import of translate with one argument
2018-06-27 16:55:54 -04:00
DD
011a353c08 Add rotate case as well 2018-06-27 16:47:19 -04:00
DD
4c72f3f89e For SVG import, If second argument is missing in translate, assume that it's zero. Currently it assumes that y matches x if y is missing. 2018-06-27 16:29:46 -04:00
Paul Kaplan
2ed21a7387
Merge pull request #12 from LLK/paulkaplan-patch-1
Use childNodes instead of children
2018-06-14 11:46:42 -04:00
Paul Kaplan
9065cad302
Use childNodes instead of children 2018-06-14 11:40:56 -04:00
DD Liu
aac34afbc8
Merge pull request #11 from fsih/alignmentBaseline
Add support for text before edge baseline
2018-05-23 15:38:49 -04:00
DD Liu
df08aa10c1
Remove || '' 2018-05-23 15:27:07 -04:00
DD
26868e4cab Add support for text before edge baseline 2018-05-22 12:40:59 -04:00
DD Liu
4ce55ae0d2
Merge pull request #10 from fsih/lineSpacing
Be able to import line spacing
2018-05-21 11:31:55 -04:00
DD
15470a90b7 Be able to import leading 2018-05-17 17:33:36 -04:00
DD Liu
a9de479c8c
Merge pull request #9 from fsih/hitUnfilledText
Allow hitting unfilled text and compound paths when hitUnfilledPaths option is on
2018-04-11 14:32:35 -04:00
DD
e29749a266 Allow hitting unfilled text and compound paths when hitUnfilledPaths option is on 2018-04-03 18:09:24 -04:00
Paul Kaplan
feb044048f Disable browser test step because CI cannot run it 2018-03-29 15:21:14 -04:00
Paul Kaplan
c5745e1c83
Merge pull request #7 from LLK/scratch-text
Export and import SVGs with multiline text
2018-03-29 13:39:17 -04:00
Paul Kaplan
dd276b92f7 Export and import SVGs with multiline text 2018-03-29 13:23:52 -04:00
Jürg Lehni
a61e83edf2 Simplify fix for #1452 2018-03-06 12:57:05 +01:00
Jürg Lehni
aae62926e2
Merge pull request #1452 from park9140/fix-issue-with-svg-import-of-raster-images
fix issue with svg import of raster images
2018-03-06 12:47:29 +01:00
Jürg Lehni
ad7b12f6c5
Merge pull request #1456 from codetriage-readme-bot/codetriage-badge
Add CodeTriage badge to paperjs/paper.js
2018-03-05 21:49:25 +01:00
codetriage-readme-bot
353cbee91c Add CodeTriage badge to paperjs/paper.js
Adds a badge showing the number of people helping this repo on CodeTriage.

[![Open Source Helpers](https://www.codetriage.com/paperjs/paper.js/badges/users.svg)](https://www.codetriage.com/paperjs/paper.js)

## What is CodeTriage?

CodeTriage is an Open Source app that is designed to make contributing to Open Source projects easier. It works by sending subscribers a few open issues in their inbox. If subscribers get busy, there is an algorithm that backs off issue load so they do not get overwhelmed

[Read more about the CodeTriage project](https://www.codetriage.com/what).

## Why am I getting this PR?

Your project was picked by the human, @schneems. They selected it from the projects submitted to https://www.codetriage.com and hand edited the PR. How did your project get added to [CodeTriage](https://www.codetriage.com/what)? Roughly over 1 year ago, [TheShed412](https://github.com/TheShed412) added this project to CodeTriage in order to start contributing. Since then, 6 people have subscribed to help this repo.

## What does adding a badge accomplish?

Adding a badge invites people to help contribute to your project. It also lets developers know that others are invested in the longterm success and maintainability of the project.

You can see an example of a CodeTriage badge on these popular OSS READMEs:

- [![Email clients like GMAIL do not render SVG images](https://www.codetriage.com/rails/rails/badges/users.svg)](https://www.codetriage.com/rails/rails) https://github.com/rails/rails
- [![Email clients like GMAIL do not render SVG images](https://www.codetriage.com/crystal-lang/crystal/badges/users.svg)](https://www.codetriage.com/crystal-lang/crystal) https://github.com/crystal-lang/crystal

## Have a question or comment?

While I am a bot, this PR was manually reviewed and monitored by a human - @schneems. My job is writing commit messages and handling PR logistics.

If you have any questions, you can reply back to this PR and they will be answered by @schneems. If you do not want a badge right now, no worries, close the PR, you will not hear from me again.

Thanks for making your project Open Source! Any feedback is greatly appreciated.
2018-03-05 14:33:21 -06:00
Jonathan Park
74bb49d8c0 fix issue with svg import of raster images
When importing rasters after load if the image has a matrix with any translation/skew value
the image will calculate the wrong matrix after loading.

In order to correct this we append the translation rather than prepend so
that it happens in the correct order relative to the transformation.
2018-03-02 00:19:43 +00:00
Jürg Lehni
5f6c70d316 Use proper new statement in deserialization 2018-02-03 22:39:57 +01:00
Jürg Lehni
3f73d55c3f Improve README and GitHub templates 2018-02-03 22:39:07 +01:00
Jürg Lehni
ec1e3262b6
Merge pull request #1374 from alexjlockwood/patch-2
Fix documentation for Shape#toPath()
2018-01-16 11:03:55 +01:00
Jürg Lehni
0f17d1984d
Merge pull request #1372 from alexjlockwood/patch-1
Fix broken markdown links
2018-01-16 10:56:27 +01:00
DD
2af28e6c0e Merge branch 'develop' of github.com:LLK/paper.js into develop 2017-12-18 12:02:00 -05:00
DD
f2ae9bc6db Don't show handles when fully selected, it is too crowded 2017-12-18 12:01:45 -05:00
DD Liu
241d0749c8
Merge pull request #5 from fsih/hitTransparent
Add an option to hit closed paths with transparent or alpha 0 fill
2017-12-14 15:37:03 -05:00
DD
bf2a405ede Fix size 0 handle rendering 2017-12-12 15:05:00 -05:00
DD
4abc415002 Add an option to hit closed paths with transparent or alpha 0 fill 2017-12-12 12:14:59 -05:00
DD Liu
85633deb64
Merge pull request #2 from fsih/build
Fix Build and move changes from dist file to source files
2017-12-11 13:18:22 -05:00
DD
6b1421eb4d Build before testing so we dont have to track the dist files 2017-12-06 17:07:59 -05:00
DD
13b1287a30 Change git ignore to relative paths 2017-12-06 16:27:19 -05:00
DD
1ae2917001 Merge branch 'develop' into build 2017-12-06 16:26:52 -05:00
DD Liu
ff2c9f63c9
Merge pull request #3 from fsih/moveChangesToSource
Copy changes in selection mode to src files
2017-12-06 15:38:11 -05:00
DD
fd1435d94d Fix tests and make Travis deploy scratch paperjs 2017-12-04 18:34:59 -05:00
DD
18d2b83474 Merge branch 'develop' of github.com:LLK/paper.js into develop 2017-12-04 18:25:25 -05:00
DD
2d790a3f34 Copy changes in selection mode to src files 2017-12-04 18:23:42 -05:00
Jürg Lehni
5da2d3487f
Merge pull request #1406 from sungmaster/master
Fix README links
2017-11-06 06:28:37 +01:00
Volodymyr Mikhav
6de2c4fa66
Fix README links 2017-11-06 00:17:55 +02:00
Jürg Lehni
9c4d47d8c0 Switch back to load.js versions on develop branch. 2017-10-08 17:48:20 +02:00
Jürg Lehni
f677cd37ea Merge branch 'develop' 2017-10-08 17:48:11 +02:00
Jürg Lehni
193592b88b Release version 0.11.5 2017-10-08 17:48:07 +02:00
Jürg Lehni
0deddebb2c Merge pull request #1382 from sapics/patch-1
Fix path.isSelected
2017-10-05 16:16:29 +02:00
Jürg Lehni
702ab748a2 JSHint: Fix error 2017-10-05 12:09:07 +02:00
Jürg Lehni
6c5f1dc671 Node.js: Clean up image stream handling 2017-10-04 22:39:19 +02:00
therewasaguy
6939c1674b Node.js: Add JPEG support to exportFrames()
Closes #1166
2017-10-04 22:25:30 +02:00
Jürg Lehni
7412939096 Boolean: Add better filtering for invalid segments
Fixes #1385
2017-10-04 21:43:56 +02:00
Jürg Lehni
10f464edfc Boolean: Check that overlaps are on the right path
Closes #1321
2017-10-04 17:52:09 +02:00