Commit graph

96 commits

Author SHA1 Message Date
Blob
3b314d11cc Add strokeDashOffset and svg corresponding attribute (#5398)
* Add strokeDashOffset and svg corresponding attribute
2018-11-23 00:56:00 +01:00
Andrea Bogazzi
abe813fe8f
Fix Trailing and zwj (#5048)
* fix-trailing

* fix zwc

* unbuild builds

* fix zwc

* added a small testl

* reenable all tests

* added test
2018-06-17 13:19:38 +02:00
Andrea Bogazzi
bafc28d3fc
Svg import improvements (#4984)
* test

* svg-import-fixes

* svg-import-fixes

* ok done

* adapted tests to new values
2018-05-29 10:28:02 +02:00
Alexey Smirnov
addea82c53 Add letter spacing support for svg (#3718)
* add letter spacing support for svg

* fix letter spacing for Parser

* Update itext.svg_export.js

* Update text.class.js
2018-04-01 18:44:18 +02:00
dennisrjohn
17386fc240 Added single quoting to font names in toSVG (#4840)
* Added font quoting to toSVG
* fixed test
2018-03-22 12:02:06 +01:00
dennisrjohn
7698801feb New PR fo 4808 (#4831)
* new commit per asturur

* new commit per asturur
2018-03-17 00:15:54 -04:00
Andrea Bogazzi
c7f6154bb5
fixed empty line (#4802) 2018-03-11 13:14:43 -04:00
Andrea Bogazzi
abbeb91763
Changed params for setSuperScript, setSubScript (#4780)
* changed params
* fixed toSVG export
2018-03-06 12:36:52 +01:00
Andrea Bogazzi
aa9b8a6b33
Add BaselineShift property to fabricJS (#4765)
* 'deltaY', superscript, subscript etc. (#4177)
2018-03-01 01:07:15 +01:00
Stefan Hayden
71b28012fc cleanup function to be more readable (#4756)
* cleanup function to be more readable

* update style variable to be more descriptive and use the styleObject reference in one more place
2018-02-21 18:03:11 +01:00
Stefan Hayden
d1e5337c2d ensure canBeSwapped can only be true when a style prop has actually been set to a value (#4751) 2018-02-20 21:53:54 +01:00
Andrea Bogazzi
dea22aca70
Fixes (#4674)
* default no retina for dataurl
* make num_fraction_digits variable
* restored aborted changes
* mispelled param
* added test for SVG
* added test for toDataUrl
* how it could even run
* simpler test
* i hope they will pass now
* fed up
* completely cheating
* fallback on dumb test
* test also this
* test also this
* more tests
2018-02-04 22:42:32 +01:00
Andrea Bogazzi
88a2c7c64a
remove extra tab and newlines (#4524) 2017-12-02 11:11:11 +01:00
Andrea Bogazzi
dd6cbe93a2 Fix fast type in itext. (#4339)
* fix fast type
2017-09-23 00:39:20 +02:00
Stefan Hayden
0fc71349a6 Paint order (#4303)
* makes fabric aware of the paint-order svg2 spec to swap the paint order of stroke and fill
2017-09-17 22:47:35 +02:00
Andrea Bogazzi
c03111824c Update deps (#4315)
* try replace tests
* modified tests for new qunit
* lint tests
2017-09-17 11:44:57 +02:00
Andrea Bogazzi
545686ed96 Fix Safari svg whitespace (#4294)
* fix-whitespace

* fixed tests

* fixed doc
2017-09-07 12:02:56 +02:00
Andrea Bogazzi
69d377b992 Output version (#4251)
* output version in json

* fixed tests

* fixed lint
2017-08-29 22:23:42 +02:00
Andrea Bogazzi
3b10702512 Normalize Api for getSelectionStyles, setSelectionStyles (#4202)
* reworked the text selection

* reorganized api

* missing file

* fixed lint

* more test
2017-08-15 10:10:01 +02:00
Andrea Bogazzi
5a791a8291 fixed origins (#4170)
* fixed origins

* fixed origins
2017-08-04 11:20:50 +02:00
Andrea Bogazzi
068c815340 Fix text insert on null, give default style to text (#4166)
* text style error
* change text init
* fixes
2017-08-03 23:23:42 +02:00
Andrea Bogazzi
351e7dfa47 Multiple fixes (#4119)
* multiple fixes
* updated tests
2017-07-22 16:34:47 +02:00
Andrea Bogazzi
9e076bdcca small test to ensure getFontCache works with numbers (#4101)
* small test
* ok
2017-07-15 13:07:58 +02:00
Andrea Bogazzi
d106051554 Remove accessors (#4065) 2017-07-03 17:02:44 +02:00
Andrea Bogazzi
4c2e83d089 add cleanStyle, removeStyle (#4060)
* add cleanStyle, removeStyle
* added semi colons
2017-07-03 12:20:27 +02:00
Andrea Bogazzi
145bd3b03f Force async (#3996)
* removed forced async
* tests
* fixed lint
2017-06-11 21:36:51 +02:00
Andrea Bogazzi
7517b951ab Remove PathGroups for Groups. (#3969)
* removed pathGroups
2017-06-01 11:02:32 +02:00
Andrea Bogazzi
b112b3405f text rewriting - reorganization (#3676)
*text refactored.
2017-04-22 09:15:38 +02:00
Andrea Bogazzi
c3a6447aff fix text coordinates on init (#3745)
* fix text coordinates on init

* added small test

* fix test lint
2017-02-27 02:02:30 +01:00
Andrea Bogazzi
a4a8f71fd7 Release 170 (#3437)
* build 170
* fix default values
* fix text not rendering
* other fixes
* finished fixing
2016-11-21 12:09:25 +01:00
Andrea Bogazzi
cd4c465f4c fix text minimum dimensions (#3312)
* fix text dim
* add tests
2016-10-02 11:00:17 +02:00
Andrea Bogazzi
bda846b41a reverted font changes (#3276) 2016-09-19 09:44:42 +02:00
Asturur
a1e5d518bf fixed tests for browser 2016-09-01 08:31:56 +02:00
Andrea Bogazzi
702126eb85 Change getFontDeclaration (#3191)
* Change getFontDeclaration
2016-08-22 11:27:34 +02:00
Asturur
3938c83080 build dist 2016-08-18 09:34:02 +02:00
Andrea Bogazzi
725d48771f Bump to 1.6.3 (#3080) 2016-07-03 13:52:08 +02:00
Andrea Bogazzi
4433809cb1 fix lineheight < 1 (#3078) 2016-07-02 19:23:36 +02:00
Andrea Bogazzi
f425966162 give text its own dimension function (#2992)
* give text its own dimension function
* updated tests after verifying that the svg import from element is better than previous
2016-05-21 13:05:59 +02:00
Andrea Bogazzi
dfc574c099 Fix tests removing extra context.Restore(); 2016-02-07 18:23:14 +01:00
Andrea Bogazzi
f63cd9862f Update text.js 2015-12-10 09:36:24 +01:00
Andrea Bogazzi
cda0611326 Add support for skew objects. 2015-09-17 14:22:12 +02:00
Andrea Bogazzi
f805e57297 Update rect.js 2015-07-20 12:57:13 +02:00
Juriy Zaytsev
0e154be1a3 Fix tests 2015-07-14 16:45:29 -04:00
Ulrich Sossou
4603ec9581 Replace empty values of stroke-dasharray in unit tests by 'none' 2015-05-18 07:00:36 +01:00
Andrea Bogazzi
80c3012646 Update object_origin.mixin.js 2015-05-02 19:13:44 +02:00
Andrea Bogazzi
4bed22f4a9 iText clean up and style fixes 2015-04-29 08:27:56 +02:00
Andrea Bogazzi
0e09961c64 Update to text, rendering and optimization 2015-01-26 02:49:37 +01:00
Andrea Bogazzi
7725227d44 Update text.class.js
fix text top position in svg export
2014-10-26 22:51:26 +01:00
Andrea Bogazzi
af1138a686 Divided FillRule from globalCompositeOperation 2014-09-23 08:53:56 +02:00
Andrea Bogazzi
3064d5e569 Updated test for text 2014-08-05 13:22:12 +02:00