summaryrefslogtreecommitdiffstats
path: root/src/object/sp-tspan.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-11-13Fix alignment error for inline-size SVG 1.1 fallback text.Tavmjong Bah1-1/+6
Puts white space at end of line into separate tspan when 'text-anchor' is not start.
2019-09-30Don't create empty text node when reading in "textPath".Tavmjong Bah1-16/+0
Fix for https://gitlab.com/inkscape/inbox/issues/512
2019-06-06Refactoring: call setAttribute() directly.Shlomi Fish1-2/+2
Call this->setAttribute(...) directly instead of this->getRepr()->setAttribute(...). This avoids clutter and mental indirection. See http://wiki.inkscape.org/wiki/index.php?title=Refactoring_projects&oldid=112116 and https://en.wikipedia.org/wiki/Law_of_Demeter . --- I hereby disclaim any implicit or explicit ownership of my changes in this changeset, and put them under a multiple licence consisting of your choice of one of more of: - The CC0 / Public Domain - https://creativecommons.org/choose/zero/ . - The MIT / Expat license - https://en.wikipedia.org/wiki/MIT_License - The default licence of your project - The https://en.wikipedia.org/wiki/GNU_Lesser_General_Public_License - version 2.1 or higher - The https://en.wikipedia.org/wiki/GNU_General_Public_License - version 2 or higher - Any licence in the 2018-Aug-27 popular licenses list of https://opensource.org/licenses - The https://en.wikipedia.org/wiki/Apache_License version 2.0 or later - The https://en.wikipedia.org/wiki/Artistic_License version 2.0 or later - The https://en.wikipedia.org/wiki/ISC_license - The https://opensource.org/licenses/BSD-2-Clause Crediting me will be nice, but not mandatory, and you can change the licence of the project without needing my permission.
2019-06-03Change TextPath to Text positioningNathan Lee1-32/+19
Uses originalPath instead of bounding-box. Make positioning consistent with text that is not visible (too long for path).
2019-06-03Crashfix deleting path with invisible text on pathNathan Lee1-5/+21
Fixes https://gitlab.com/inkscape/inbox/issues/491
2018-11-08Clarify licensesMax Gaukler1-1/+2
- add license headers to everything - convert a few files from public domain or LGPL2.1+ to GPL2+ - some archaeology to clarify which files are from which library
2018-10-06SPAttributeEnum typed function argumentsThomas Holder1-2/+2
2018-10-01Remove #include "config.h" wherever possibleEduard Braun1-4/+0
2018-06-18Run clang-tidy’s modernize-use-equals-default pass.Emmanuel Gil Peyrot1-2/+1
This replaces empty constructors and destructors with the default keyword.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-15/+15
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-31Prevent seg fault if value is null.Tavmjong Bah1-0/+5
2018-05-31Implement rendering for 'textPath' 'side' attribute. No GUI.Tavmjong Bah1-9/+24
2018-05-31More boilerplate for 'textPath' 'side' attribute.Tavmjong Bah1-2/+17
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-8/+8
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-8/+8
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-0/+0
A lot of header clean-up.
2017-10-02Second batchMarc Jeanmougin1-18/+15
2016-08-03Removed unused includes, decreased compilation time. Once againAdrian Boguszewski1-3/+1
(bzr r15034)
2016-07-28Reverted changes to r15024 after many building problemsAdrian Boguszewski1-1/+3
(bzr r15027)
2016-07-28Removed unused includes, decrease compilation timeAdrian Boguszewski1-3/+1
(bzr r15025)
2016-07-14Renamed children list in SPObjectAdrian Boguszewski1-9/+9
(bzr r14954.1.21)
2016-07-13Second part of new SPObject children listAdrian Boguszewski1-40/+40
(bzr r14954.1.19)
2016-04-29Backout last commit as it introduced subtle errors.Tavmjong Bah1-2/+0
(bzr r14864)
2016-04-29SVG 2 allows 'href' without 'xlink:'. For now just read plain 'href'.Tavmjong Bah1-0/+2
(bzr r14863)
2015-12-05Handle units in the 'x', 'y', 'dx', and 'dy' text and tspan attributes.Tavmjong Bah1-2/+30
Fixed bugs: - https://launchpad.net/bugs/1522478 - https://launchpad.net/bugs/262528 - https://launchpad.net/bugs/168845 (bzr r14505)
2015-02-25create SPObject factoryLiam P. White1-15/+0
(bzr r13939.1.1)
2015-01-06Add getDocumentScale() to return "real-world" to "user-unit" scale factor.Tavmjong Bah1-2/+4
Use it to correct text postion after removing from path. (bzr r13843)
2014-07-28noop: remove commented-out code that is dangerous and should not come backJohan B. C. Engelen1-3/+0
(bzr r13476)
2014-07-28noop: remove commented-out code that is dangerous and should not come backJohan B. C. Engelen1-2/+0
(bzr r13475)
2013-10-26Added some consts.Markus Engel1-2/+2
(bzr r12729)
2013-10-01Comprehensive fix for the issues with disappearing filtered objects.Krzysztof Kosi??ski1-6/+6
Fixes #304407 and possibly a few other bugs. Revert incorrect _item_bbox changes from r12528. Fixed bugs: - https://launchpad.net/bugs/304407 (bzr r12648)
2013-09-24change names for displayName and detailedDescription, improve char code and ↵Martin Owens1-1/+1
remove const. (bzr r12584)
2013-09-20Refactor status-bar text for multiple items, was very brokenMartin Owens1-2/+2
Fixed bugs: - https://launchpad.net/bugs/1199192 (bzr r12550)
2013-08-04cppcheck: c-style casts > c++ style castsKris De Gussem1-21/+13
(bzr r12466)
2013-07-31Removed placement news / explicit destructor calls.Markus Engel1-4/+4
(bzr r11608.1.113)
2013-04-07Merge Object and subclasses. Merging of SP- and C-classes complete.Markus Engel1-4/+0
(bzr r11608.1.86)
2013-04-05Merged Item.Markus Engel1-18/+14
(bzr r11608.1.81)
2013-04-05Merged more classes.Markus Engel1-194/+130
(bzr r11608.1.78)
2013-04-02Registered classes with new factory. Hkern, Vkern and FeFuncX have to be ↵Markus Engel1-0/+14
rewritten, as they aren't real classes. (bzr r11608.1.69)
2013-04-01Added constructors to SP classes.Markus Engel1-8/+20
(bzr r11608.1.67)
2013-03-31Prepared exchange of casting macros.Markus Engel1-0/+2
(bzr r11608.1.63)
2013-03-29Renamed virtual function names.Markus Engel1-24/+24
(bzr r11608.1.57)
2013-03-29Removed function pointers from SPObject and subclasses.Markus Engel1-10/+10
Added some missing virtual pads for classes that were hidden by preprocessor macros. (bzr r11608.1.55)
2013-03-14Various changes.Markus Engel1-2/+2
(bzr r11608.1.48)
2013-01-19cleanup sp_tspan: Use G_DEFINE_TYPEAlex Valavanis1-98/+37
(bzr r12044)
2012-10-06Added virtual pad to SPFlowtext; removed old calls to virtual SPItem methods.Markus Engel1-2/+2
(bzr r11608.1.46)
2012-08-19Added "virtual pad" to SPTextPath and SPTSpan.Markus Engel1-57/+154
(bzr r11608.1.27)
2012-01-08Warning and uninitialized variable cleanup.Jon A. Cruz1-49/+44
(bzr r10860)
2011-08-27Refactor SPItem bounding box methods: remove NRRect usage and make codeKrzysztof Kosi??ski1-18/+13
using them more obvious. Fix filter region computation. (bzr r10582.1.1)
2011-02-21Finished cleanup of outdated SP_OBJECT_PARENT C macro.Jon A. Cruz1-16/+20
(bzr r10064)