Andrea Bogazzi
6e1d2e2fd2
fix for lineheight and text selection ( #3094 )
2016-07-10 23:04:46 +02:00
Andrea Bogazzi
98f2d1b3dd
ignore svg namespace ( #3081 )
...
* ignore svg namespace
2016-07-03 23:52:25 +02:00
Andrea Bogazzi
725d48771f
Bump to 1.6.3 ( #3080 )
2016-07-03 13:52:08 +02:00
blucobalto
cf95dd45c9
FindTarget patch 1 ( #3077 )
...
define pointer before running findTarget
2016-07-03 09:15:09 +02:00
Andrea Bogazzi
4433809cb1
fix lineheight < 1 ( #3078 )
2016-07-02 19:23:36 +02:00
Kyle Herock
62da4fd6cd
Apply viewport transform when calculating isTargetTransparent ( #2980 )
2016-07-02 10:45:11 +02:00
Andrea Bogazzi
2cd06c915d
fix selection background on zoomed canvas ( #3076 )
2016-07-02 09:07:53 +02:00
Andrea Bogazzi
f1ff91dbc3
Fix targets undefined
2016-07-01 09:50:42 +02:00
Andrea Bogazzi
5166ab76c8
update clear method to clear lastRenderedWithControls ( #3058 )
2016-06-20 07:32:12 +02:00
Andrea Bogazzi
be8dfae17e
Various fixes ( #3057 )
...
Fixes hidden textarea positioning, rendering fixes during canvas zoom.
2016-06-19 23:33:54 +02:00
Amila Welihinda
40db6b3f21
Added travis ci for node 6 ( #3048 )
2016-06-16 12:56:22 +02:00
Andrea Bogazzi
9bfe826de7
add another build option
2016-06-14 14:24:17 +02:00
Andrea Bogazzi
77dab21155
Additional method for centering objects ( #3044 )
2016-06-11 14:10:20 +02:00
Andrea Bogazzi
9ef51ff77d
load from options after the load backroung in the callback ( #3029 )
...
moved the load of the custom properties load after the callback
Added tests
2016-06-05 17:08:19 +02:00
Scott Seaward
da42b293d3
Remove reference to lastRenderedWithControls when that object is deleted ( #3023 )
2016-06-02 11:06:36 +02:00
Andrea Bogazzi
b52ca6ff55
add some failing tests on canvas ( #3025 )
2016-06-02 10:58:02 +02:00
Andrea Bogazzi
0c6a665bcb
Target in group ( #2997 )
...
Added gorup.subTargetCheck, fixed transparent target selected on mouse up, fix text grouping while editing
2016-05-31 11:41:02 +02:00
Andrea Bogazzi
5a6b11ef50
introduce a parameter to choose behaviour of background and overlay ( #3019 )
...
* introduce a parameter to choose behaviour of background and overlay
2016-05-30 23:33:02 +02:00
Andrea Bogazzi
d4e723e49d
update area clearing during rendering ( #3016 )
...
* update area clearing during rendering
* register event in correct way
* re render selection or cursor only if selectionStart changes
2016-05-30 23:22:55 +02:00
Andrea Bogazzi
64bf67b0ab
remove Textbox instances ( #3008 )
2016-05-25 15:00:38 +02:00
Andrea Bogazzi
dd3e6a81e2
do not set background or overlay image if the load fails. ( #3003 )
2016-05-23 14:53:09 +02:00
Andrea Bogazzi
1843581488
Move charWidthCache from iText to fabric, allow single cache for font. ( #2995 )
...
divided cache in a single font cache objects, added method for clearing one font cache.
2016-05-23 08:16:59 +02:00
Andrea Bogazzi
dd0b9f63d3
fix multi line selection regression introduced with #2996
2016-05-21 16:07:00 +02:00
Andrea Bogazzi
dfb5e4e903
Clear only the itext area top context when animating cursor or selection ( #2996 )
2016-05-21 15:29:26 +02:00
Andrea Bogazzi
cfe0e27d19
Update itext_behavior.mixin.js
2016-05-21 15:15:44 +02:00
Andrea Bogazzi
eb9b7f45b9
Add ID to svg export ( #2993 )
2016-05-21 15:07:04 +02:00
Andrea Bogazzi
489230bdf5
add callback with null argument to failed xml load ( #2994 )
2016-05-21 14:34:17 +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
e8a530019f
remove deadcode ( #2984 )
2016-05-19 21:39:06 +02:00
Andrea Bogazzi
143c0758a7
add excludeFromExport property ( #2976 )
...
* add excludeFromExport property
* added test for SVG and JSON
2016-05-17 12:56:34 +02:00
Andrea Bogazzi
a0ba49ea5d
Use reviver also for background and overlay image in svg export ( #2975 )
...
* Use reviver also for background and overlay image
2016-05-17 02:56:25 +02:00
Andrea Bogazzi
830838b037
Fix export of colors alwaus in rgb + eventually opacity.
2016-05-16 17:22:05 +02:00
Andrea Bogazzi
38bebc2fcb
bump to 1.6.2 and build dist ( #2973 )
2016-05-15 23:59:26 +02:00
Andrea Bogazzi
11fd746c1e
Use scaled canvas dimensions ( #2972 )
2016-05-15 13:07:32 +02:00
Andrea Bogazzi
0297041e2f
Fix iText space width justification ( #2971 )
2016-05-15 12:04:02 +02:00
Andrea Bogazzi
cb0c71e1fe
* Remove rounding for minScaleLimit, added test.
...
* Remove rounding for minScaleLimit
2016-05-14 18:38:48 +02:00
Morton Fox
a26b29b0da
Fix the links to Kitchensink demo
2016-05-11 08:08:54 +02:00
Andrea Bogazzi
56ef2d2612
Update svg export to do not output colors in rgba format.
2016-05-09 12:41:48 +02:00
Andrea Bogazzi
a9cf96b9be
fix imageToObject with resize filters ( #2954 )
...
width and height get stored as before filtering in case of filters with type resize.
2016-05-09 12:11:48 +02:00
Andrea Bogazzi
3ab5cdbc26
bring selectAll on keydown again ( #2951 )
2016-05-08 21:26:25 +02:00
Andrea Bogazzi
fcfc9f45f9
do not override user options.
2016-05-08 21:22:51 +02:00
Andrea Bogazzi
13026beecb
Control customization part 4 - draw selection background ( #2950 )
2016-05-08 09:55:34 +02:00
Andrea Bogazzi
52f1ebd500
Update doc for _initDimension and setFont* methods ( #2949 )
...
* Update text.class.js doc
* added more docs
2016-05-07 09:04:46 +02:00
Andrea Bogazzi
b99eebd324
Control cusomization part 3 - allow for rounded corners ( #2942 )
...
Using Object.cornerStyle = 'circle' or 'rect'
2016-05-05 20:22:17 +02:00
Andrea Bogazzi
e5bedf3ebb
fix itext width calculation with caching false ( #2943 )
2016-05-05 12:59:47 +02:00
Andrea Bogazzi
0410aae841
Control customization part 2 - Allow for separate corner filling and cornerStroke ( #2933 )
2016-05-04 22:44:30 +02:00
Andrea Bogazzi
27fd548bd3
Delegate dataURL multiplier to viewport zooming ( #2940 )
...
This temporary viewport change allow correct zooming and scaling of shadow.
2016-05-04 22:35:09 +02:00
Andrea Bogazzi
d7ea78b812
added prototype from basefilter
2016-05-04 20:59:32 +02:00
Andrea Bogazzi
c4911406ac
Fix createSVGFontFacesMarkup ( #2935 )
...
* Update parser.js
2016-05-03 14:05:17 +02:00
Andrea Bogazzi
3c9fb411c4
Control customization part 1 - Set dashed line to controls and borders ( #2932 )
...
added:
cornerDashArray
borderDashArray
borderScaleFactor influences both border and controls now
changed default corner size to 13: (a default size of 12 is always out of focus when borders are on focus and viceversa, at least now they are same. difference is not noticeable because the 1st and 12th pixel where always across 2 different pixels)
2016-05-03 10:16:19 +02:00