Commit Graph

45 Commits

Author SHA1 Message Date
Mikael Sand
2939584d1b Implement font-variant-ligatures.
https://developer.mozilla.org/en/docs/Web/CSS/font-variant-ligatures
https://www.w3.org/TR/css-fonts-3/#font-variant-ligatures-prop
2017-08-04 14:10:02 +03:00
Mikael Sand
786b5f2375 Implement strokeDasharray correctly.
Support units and percentages with whitespace separated and/or (possibly white-space surrounded) comma separated length lists.
2017-08-04 00:26:00 +03:00
Mikael Sand
b140d673d7 Fix interpretation of alignmentBaseline (Shouldn't inherit). 2017-07-25 08:22:56 +03:00
Mikael Sand
c05c215496 Implement prop extraction for side and alignmentBaseline. Cleanup extractText, fix linting. 2017-07-25 07:45:08 +03:00
Mikael Sand
1a9a051ee9 Fix linting, warnings, add noinspection suppression comments. 2017-07-24 00:08:28 +03:00
Mikael Sand
80b9ff9d57 Fix font PropTypes 2017-07-23 22:55:39 +03:00
Mikael Sand
fc61c9dad2 Simplify textAnchor and textDecoration handling 2017-07-23 20:11:01 +03:00
Mikael Sand
dff02c3dbb Implement wordSpacing in extractFont 2017-07-23 08:30:28 +03:00
Mikael Sand
eaf7b5e88b Improve fontSize handling 2017-07-22 23:02:37 +03:00
Mikael Sand
ed9c0bd647 Restructure fontSize handling. 2017-07-22 22:05:38 +03:00
Mikael Sand
6b022ac861 Harmonize parseSVGLengthList usage and naming. Probably requires api change in ios as well. 2017-07-22 20:33:05 +03:00
Mikael Sand
5372355b11 Fix parsing of generic units in dx and dy, and percentages in rotate text attributes. 2017-07-22 19:11:41 +03:00
Mikael Sand
2458a2f262 Implement rotate and textDecoration 2017-07-16 01:50:59 +03:00
Mikael Sand
bd84f09a96 Implement correct path measurement, matrix calculation, getTextAnchorShift, startOffset.
Add method and spacing attributes to textPath.
Correct startOffset calculation.
Implement method="stretch".
2017-06-22 17:02:30 +03:00
Mikael Sand
dac969b944 First letterSpacing implementation attempt 2017-06-20 22:04:41 +03:00
Mikael Sand
155fa4b6ae Implement support for em in dx and dy attributes and font props for G element 2017-06-20 03:15:01 +03:00
Mikael Sand
e9747bee01 Revert 6b95d1a 2017-06-13 12:43:32 +03:00
fxwan
67e072307c remove the y check 2017-06-05 16:54:25 +03:00
fxwan
6b95d1a33c Fix text position on Y-axis, we should take fontSize in mind to layout the Text/TSpan shapes, SVG coord tes case https://www.w3.org/TR/SVG/images/coords/OrigCoordSys.svg 2017-06-05 16:54:25 +03:00
Horcrux
bbe1964a42 Fix #284 2017-04-04 12:30:53 +08:00
Horcrux
5bd9b40c17 refactor Components props extracting 2017-02-03 19:43:25 +08:00
Horcrux
43e45b95c5 Fix #231 2017-01-16 21:01:12 +08:00
Horcrux
58823495d6 Fix #228 2017-01-15 20:17:21 +08:00
Horcrux
13e7595ab5 Remove unused files 2017-01-14 00:30:49 +08:00
Horcrux
b15d0791e0 Add startOffset support 2017-01-10 12:30:48 +08:00
Horcrux
84ea887a06 Finish TextPath
Finish TextPath step two: add `dy` support
2017-01-09 20:48:33 +08:00
Horcrux
52dfe21074 Implement TextPath: first step (iOS) 2017-01-09 20:16:20 +08:00
Horcrux
aae482236d Finish TSpan 2016-11-11 00:48:55 +08:00
Horcrux
da32b1bb96 Temp commit 2016-11-05 18:42:49 +08:00
Horcrux
5f4ff90c2a finish basic Text features on iOS 2016-09-17 17:14:31 +08:00
Horcrux
a37c3ceee6 finish basic text support on iOS 2016-09-17 15:42:27 +08:00
Horcrux
d549f6ca9c clean up unused code 2016-09-17 09:49:28 +08:00
Horcrux
09c5b10f02 convert span frames into Span components 2016-09-17 00:20:18 +08:00
Horcrux
ad196a7071 finish Text props extract refactoring 2016-09-16 23:59:38 +08:00
Horcrux
74b9917bd3 flattern text into several spans
flattern text into several spans (step 1, not finish yet)
2016-09-02 10:24:33 +08:00
Horcrux
bd26c04a1d first step of TSpan 2016-08-30 09:37:38 +08:00
Horcrux
60654b7583 remove ART related comment 2016-08-13 17:03:54 +08:00
Horcrux
6ebd928ab4 fix Text cannot handle touch events bug 2016-08-06 23:17:38 +08:00
Horcrux
7e13b801e1 refactor text render
Support G inherit props.
Refactor text render. Text glyphs will perfectly draw along the path
2016-07-22 23:49:15 +08:00
Horcrux
cbce096b5c Use eslint, add travis-ci 2016-05-04 17:54:30 +08:00
Horcrux
be8c273adf Add eslint 2016-05-04 11:24:13 +08:00
Horcrux
902bdcb1d0 fix text context and complete gradient js code 2016-04-26 22:08:54 +08:00
Horcrux
24dcc83a80 complete basic shapes(ios) 2016-04-26 19:10:57 +08:00
Horcrux
05faac3cf1 add some android support
add path for Text
add stroke pattern
add text dashed and fix dasharray bug
2016-04-23 14:44:48 +08:00
Horcrux
fa1aea094a add clipping js code 2016-04-21 15:44:25 +08:00