Commit Graph
770 Commits
Author SHA1 Message Date
Horcrux 2998aa1bb6 Download Quartz and PerformanceBezier from github 2017-11-07 18:49:53 +08:00
Horcrux 7e1cb4de3f fix conflicts 2017-11-07 17:26:47 +08:00
Horcrux 9bdc23d4e6 merge master 2017-11-07 17:25:57 +08:00
Horcrux 5b02849865 Bump version and update README 2017-11-07 17:12:32 +08:00
HorcruxandGitHub 1128ba5532 Merge pull request #450 from kkjdaniel/patch-1
Added documentation for fillRule property
2017-11-07 03:01:04 -06:00
HorcruxandGitHub 2af055afbb Merge pull request #486 from serratus/rn-50-fix
Fix for RN 0.50
2017-11-07 02:56:18 -06:00
Christoph OberhoferandGitHub 5f8559a1f0 Merge pull request #1 from brunolemos/master
Make createReactNativeComponentClass backward compatible with react native < 0.50
2017-11-04 18:41:05 +01:00
Bruno Lemos 4a71c7f932 Make createReactNativeComponentClass backward compatible with react native < 0.50 2017-10-27 20:44:55 -02:00
Christoph Oberhofer 3db9489652 Fixed exports due to changed API signature of createReactNativeComponentClass 2017-10-18 22:39:28 +02:00
Brent Vatne f180eacb5f Bump patch version to 5.4.2 2017-10-13 13:48:28 -07:00
Brent VatneandGitHub cdf377ba0e Merge pull request #467 from ide/patch-1
Add "react" to devDeps, set peerDep version to "*", run tests on Node 6 & 8
2017-10-13 12:37:46 -07:00
James Ide 1a03745704 Add "react" to devDeps, set peerDep version to "*", run tests on Node 6 & 8
RN 0.48 uses alpha 12, 0.49 uses beta 5, and 0.50 uses 16.0.0. "*" covers everything and "react-native" specifies what peerDep version it wants anyway.

"react" is listed under devDeps so that we get the correct version for testing.

CI: RN's own tests don't run on Node 4 anymore, test just 6 and 8.
2017-10-13 11:56:26 -07:00
magicismight be8797be52 Add PerformanceBezier as a submodule 2017-09-24 23:44:17 +08:00
magicismight d5923bb4fe fix exc_bad_access errors 2017-09-24 21:19:27 +08:00
magicismight c51ebd4976 Merge branch '6.0.0' of https://github.com/msand/react-native-svg into 6.0.0 2017-09-24 16:04:50 +08:00
magicismight 2062c4ffb4 Merge branch 'master' of https://github.com/psivanov/react-native-svg into 6.0.0 2017-09-24 16:03:29 +08:00
magicismight 7f88436332 Remove unused code 2017-09-24 15:59:18 +08:00
Karl DanielandGitHub 779bf81f19 Added documentation for fillRule property 2017-09-08 15:50:57 +01:00
Mikael Sand 5a01d672b9 Optimize and simplify hasGlyph. 2017-08-29 03:16:52 +03:00
Mikael Sand 04887af278 Implement kerning, ligatures, etc., and cleanup; in ios.
Implement hasGlyph ligature helper.

Export view property setters for:
 text: textLength, baselineShift, lengthAdjust, alignmentBaseline,
 textPath: side, method, midLine, spacing.

Attempt to fix alignmentBaseline and baselineShift,
but both properties are nil at all times, I must be missing something.
2017-08-29 02:34:56 +03:00
Mikael Sand 0dbddcc2b4 Fix viewbox scale and translate order/interaction on ios. 2017-08-27 17:31:03 +03:00
Mikael Sand 8dd795bdd7 Fix text on a path rendering accuracy 2017-08-27 01:09:01 +03:00
Mikael Sand 6cc3f76b24 Fix relative strokeWidth and relativeOnOther usage. 2017-08-25 14:34:00 +03:00
Mikael Sand c6028e825d Fix rotate and G element font settings. 2017-08-25 13:46:03 +03:00
Mikael Sand 95736f2f69 Disable ligatures on ios (doesn't account for per character advance width correctly yet) 2017-08-24 21:43:34 +03:00
Mikael Sand e604d7fb8f Simplify enum parsing 2017-08-24 19:14:11 +03:00
Mikael Sand 5372a3078e Cleanup headers 2017-08-24 12:42:18 +03:00
Mikael Sand 13d5157fc1 Cleanup. 2017-08-23 16:22:49 +03:00
Mikael Sand ccb8729917 Port new GlyphContext, FontData, enums, props, Bezier and text rendering 2017-08-23 05:41:35 +03:00
Petar Ivanov a2c1e0e4f3 fix broken multi touch for Android (#432) 2017-08-16 16:49:43 -07:00
Mikael Sand 3cafc34cb2 Fix ViewBox, images, transforms, and, gradients; on ios.
Make getContextWidth/Height and setupGlyphContext take clip bounding box and affine transform matrix into consideration.
2017-08-16 19:06:23 +03:00
Mikael Sand f1657d9ddf Prepare for new GlyphContext. 2017-08-15 19:50:50 +03:00
Mikael Sand 1c1e8a860b Fix type warning. 2017-08-15 15:44:10 +03:00
Mikael Sand 68eeb5e6da Improve numberProp and numberArrayProp PropTypes usage.
Implement "normal" relative unit in java.
2017-08-15 13:31:42 +03:00
Mikael Sand f3cd34f2e1 Fix ios/objective-c types and errors/red boxes. 2017-08-11 02:27:33 +03:00
HorcruxandGitHub 8065076959 Merge pull request #367 from boygirl/patch-1
Correct matrix typo
2017-08-10 10:16:14 +08:00
HorcruxandGitHub a2fbe54cdb Merge pull request #426 from dlowder-salesforce/master
Podspec support for Apple TV
2017-08-08 21:08:10 +08:00
magicismight f32800bfbd Refactor getParentTextRoot and getTextRoot method 2017-08-08 15:27:11 +08:00
magicismight b62c407b41 Hoist node.saveDefinition
Run node.saveDefinition before draw
2017-08-08 13:08:18 +08:00
magicismight 2ddb0bddc6 Fix strokeDasharray.concat(strokeDasharray)
`strokeDasharray.concat(strokeDasharray)` has created a new array
should assign to strokeDasharray.
Remove devDependencies
2017-08-08 11:25:38 +08:00
Mikael Sand 058183c0de Start https://www.w3.org/TR/SVG2/text.html#TextLayoutAlgorithm
To implement support for bidirectional and vertical text etc.
2017-08-08 03:08:30 +03:00
Mikael Sand 7f91c7cc2b DOCFIX
(cherry picked from commit 7a76285)
2017-08-07 19:32:11 +03:00
Mikael Sand a1b57d3f4f Implement default and required css 3 fonts features, fontFeatureSettings, sub-/super- script baseline-shift.
Activate OpenType localized forms and features required for proper display of composed characters and marks.
2017-08-07 18:26:45 +03:00
Mikael Sand f603e7191c Use setFontFeatureSettings for disabling all discretionary ligatures while keeping required ligatures (e.g. in Arabic) 2017-08-05 01:18:16 +03:00
Mikael Sand a97122a994 Initial support for OpenType.js font data/tables/metrics. 2017-08-04 21:17:02 +03:00
Mikael Sand 1ffd195bc2 Remove duplicate createJSModules. 2017-08-04 17:43:34 +03:00
Mikael Sand cb17db0e88 Merge remote-tracking branch 'upstream/master' into 5.4.0-conformance
# Conflicts:
#	package.json
2017-08-04 17:25:54 +03:00
Mikael Sand eea2b4a0a8 Merge remote-tracking branch 'up/5.3.3' into 5.3.0-conformance
# Conflicts:
#	elements/TextPath.js
#	lib/extract/extractViewBox.js
2017-08-04 17:22:54 +03:00
Mikael Sand 81a832a115 Add missing FontVariantLigatures.java enum file. 2017-08-04 17:10:07 +03:00
Mikael Sand fe7e8b2b65 Implement baselineShift and verticalAlign (preferred).
Transverse Box Alignment, specifies how an inline-level box is aligned within the line, and by how much the box is shifted up from its alignment point.
 https://drafts.csswg.org/css-inline/#propdef-vertical-align
 https://www.w3.org/TR/css-inline-3/#propdef-baseline-shift
 https://www.w3.org/TR/css-inline-3/#transverse-alignment
2017-08-04 16:29:06 +03:00