add comment
make faster 2geom bbox calc.
sorry to have broken build
convert optimizing check into 2geom terms. hopefully correct, please review if you have time
add #include <string.h> for portability
need #include <typeinfo>
tweak stdout/stderr piping
implement kerning by glyph-name, g1 and g2 attributes
warning cleanup
warning cleanup
16 years agoreintroducing code that initially committed in revision 18594 and the have been rever...
reintroducing code that initially committed in revision 18594 and the have been reverted on revision 18607.
* implemented handling of font-style, font-variant, font-weight, and
font-stretch attributes on font-face tags
This have been previously reverted because I thought they were already handled in node->style, but now I see that this code is needed for font description (used in the
font tag to declare font attributes to be stored in the user agent font database).
The node->style info is used for font specification (used by document authors with the purpose of declaring the properties of fonts that they would like in their SVG
documents).
* implemented handling of font-style, font-variant, font-weight, and
font-stretch attributes on font-face tags
This have been previously reverted because I thought they were already handled in node->style, but now I see that this code is needed for font description (used in the
font tag to declare font attributes to be stored in the user agent font database).
The node->style info is used for font specification (used by document authors with the purpose of declaring the properties of fonts that they would like in their SVG
documents).
read PathVector instead of NArtBpath
read PathVector instead of NArtBpath
split paths using 2geom PathVector
LPE Spiro: don't catch all exceptions, only the ContinuityError
remove obsolete LoadArtBPath from livarot
use LoadPathVector instead of LoadArtBPath everywhere
create method for Livarot paths to load PathVectors instead of NArtBpaths
use pathvector directly from SPCurve in LPE path parameter.
better method to convert nartbpath to PathVector
* src/2geom/isnan.h, src/libcola/cola.cpp, src/style.cpp, src/seltrans.cpp,
src/libcola/gradient_projection.cpp, src/libvpsc/generate-constraints.cpp,
src/libnr/nr-types.cpp, src/libnr/nr-point-fns-test.cpp, src/isnan.h,
src/libnr/nr-point-fns.cpp, src/libnr/in-svg-plane-test.cpp,
src/doxygen-main.cpp, src/display/nr-filter-composite.cpp,
src/display/nr-filter-merge.cpp, src/display/nr-filter-gaussian.cpp,
src/display/bezier-utils.cpp, src/Makefile_insert, src/eraser-context.cpp,
src/dyna-draw-context.cpp, src/tweak-context.cpp, src/sp-namedview.cpp,
src/libnr/in-svg-plane-test.h, src/libnr/nr-point-fns-test.h,
src/mod360-test.h, src/CMakeLists.txt, src/2geom/linear.h:
Properly fix the conflicting isnan.h problem:
1) Update src/2geom/isnan.h to match newest Inkscape src/isnana.h
(Also commited this change to lib2geom project repository)
2) Remove Inkscape's src/isnan.h
3) Update all files to include src/2geom/isnan.h instead of src/isnan.h
src/libcola/gradient_projection.cpp, src/libvpsc/generate-constraints.cpp,
src/libnr/nr-types.cpp, src/libnr/nr-point-fns-test.cpp, src/isnan.h,
src/libnr/nr-point-fns.cpp, src/libnr/in-svg-plane-test.cpp,
src/doxygen-main.cpp, src/display/nr-filter-composite.cpp,
src/display/nr-filter-merge.cpp, src/display/nr-filter-gaussian.cpp,
src/display/bezier-utils.cpp, src/Makefile_insert, src/eraser-context.cpp,
src/dyna-draw-context.cpp, src/tweak-context.cpp, src/sp-namedview.cpp,
src/libnr/in-svg-plane-test.h, src/libnr/nr-point-fns-test.h,
src/mod360-test.h, src/CMakeLists.txt, src/2geom/linear.h:
Properly fix the conflicting isnan.h problem:
1) Update src/2geom/isnan.h to match newest Inkscape src/isnana.h
(Also commited this change to lib2geom project repository)
2) Remove Inkscape's src/isnan.h
3) Update all files to include src/2geom/isnan.h instead of src/isnan.h
patch 241565
add todo comment to make code prettier
sp_shape now uses 2geom PathVector for all marker positions
sp_shape_render for cairo-renderer extension now uses 2geom for marker positions
remove not used variable
2geomify sp_shape_update_marker_view.
patch from 226459, approved by joel
Partial fix (for preventing numerical issues) and restructuring for PathString, plus a small fix for the new 2geom sp_svg_write_curve.
Fix for sp-style-elem-test to make it work again with new code.
commenting out a g_warning
reverting (possibly mistaken) edits on configure.ac by cilix42 made on
revision 18964
revision 18964
comment fix
Changed tools toolbar to use stock GtkToolbar via simple wrapper actions.
Fixes bug #166862.
Fixes bug #168677.
Fixes bug #168648.
Fixes bug #166862.
Fixes bug #168677.
Fixes bug #168648.
update 2geom (r1350)
update 2geom
for validation
Display helper grid for LPELattice; automatically add helper paths for LPE PathParams
Update LPE helper paths "live" on changes
Make knotholder members protected
Improve comments and catch missing desktop in effect.cpp
Separate version of sp_nodepath_generate_helperpath() to generate a helperpath from a SPCurve directly
parser
for IDL parsing
Cmake: fix quoting in INKSCAPE_LIBS
change VERSION to INKSCAPE_VERSION in potracelib.cpp
use INKSCAPE_VERSION rather than VERSION, to help cmake
Cmake: Add src/ to include_directories, fix missing includes for file checks
compilable! wip
added new LPEs to the list of translatables
add commentary about temporary canvas items.
Fixed tool tooltips
Conversion to toolbars and preserve size upon undock
Oops! Fix compile.
Add handle to adjust angle
New LPE: Copy rotate
update 2geom
Temporary shortcut for LPEParallel in pen tool
New LPE: Parallel
Remove superfluous #include from lpe-skeleton.h
Fix wrong descriptions
work in progress
fix for 2geom change (pointAndDerivative)
update 2geom
* src/unicoderange.cpp: s/malloc.h/stdlib.h/to fix compile error on Mac OS X.
use 2geom method to calc boundingbox of shape
add comment (original update code used exact bbox)
have bbox calculation code use new helper/geom.cpp function. This makes it easier to optimize it later.
16 years agoadd geom helper file. this will contain Inkscape specific geometry calculation method...
add geom helper file. this will contain Inkscape specific geometry calculation methods that are not (yet, if ever) provided by lib2geom.
Merge interfaces and element types
Activate automatic knotholders for LPE PointParams
Temporarily add shortcuts in pen context to activate some LPEs which need path input. Will be removed soon when we have a UI for this.
Address compile warning
New LPE: Angle bisector
New LPE: circle through 3 points
Separate function to put pen context into 'wait for LPE mouse clicks' mode
copy complete LPE stack to clipboard instead of only the current active lpe
16 years agoDitch PERMANENT_FLASH because it is handled by providesOwnFlashPath(); avoid flashing...
Ditch PERMANENT_FLASH because it is handled by providesOwnFlashPath(); avoid flashing when LPE already provides a helperpath
Second step: try to make helper curves respond faster (don't recreate/delete the temporary canvasitems each time the selection is modified); better use of flash paths
First step towards making helper paths for LPE items work better
minor tweak for portability. linux compile was broken
don't use exact bbox in nr_arena_shape_update (speed-up)
Fix nr_arena_shape_add_bboxes to what it was in the past. (the NPE was caused by wrong copypaste of me...)
Fixed NPE
UnicodeRange class implementation.
This class represents a range of unicode codepoints as used in the u1
and u2 attributes of glyph kerning nodes.
This class represents a range of unicode codepoints as used in the u1
and u2 attributes of glyph kerning nodes.
new command: relink clone to copied object
Extend the .inx RELAX NG schema to allow the appearance="minimal" option that Jon Cruz recently added.
All .inx files now validate against the schema again.
All .inx files now validate against the schema again.
16 years agoFormat the .inx RELAX NG schema, to make it more readable, and to allow diffs against...
Format the .inx RELAX NG schema, to make it more readable, and to allow diffs against it to be comprehensible.
Minor fix to conform to the .inx RELAX NG schema.
Cmake: fix config.h not being found
Improve "can't find" error msg for pkgconfig
patch 188381 for tolerance control on pencil
Add SVGValue class
experimental version without multiple inheritance
catch cases where LPE Spiro generates non-continuous paths
put exception catch block around all doEffect calls. (so in SP_LPE_ITEM)
fix typo in feed_path_to_cairo, potential bug
use 2geom types to calculate bounding box when updating arena shape
update 2geom
update 2geom, fixes includes