summaryrefslogtreecommitdiffstats
path: root/src/text-editing.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Prevent segfault when style string is null.Tavmjong Bah2014-04-051-2/+2
| | | (bzr r13270)
* "fix" some "unused parameter" warningsKris De Gussem2013-10-281-6/+6
| | | (bzr r12738)
* improve legibilityJohan B. C. Engelen2013-09-101-5/+5
| | | (bzr r12505)
* merge from trunk (r12487)su_v2013-08-291-6/+6
|\ | | | | (bzr r11668.1.75)
| * Eliminate "unit-constants.h".Matthew Petroff2013-07-311-6/+6
| | | | | | (bzr r12380.1.54)
* | changes_2013_05_22a.patch:David Mathog2013-06-191-20/+38
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Resolves issue of bug #988601 message 170 (Support of 'Unset' styles in EMF export). 2. Implements CSS 3 (and CSS 2) text-decoration support. Note that it does not yet provide any method of adding these features - at present it just shows whatever is in the SVG. This new code is also used to display EMF/WMF strike-through and underline text decorations when these files are read in. Those decorations may also be written out to EMF/WMF. Other text decoration features, like overline, or dotted lines, are dropped. For SVG text-decoration -line, -style, -color are all implemented. CSS3 provides two ways to represent the same state, this code uses the compound text-decoration method rather than the 3 fields method. Also it leaves out keywords that are not needed and would break backwards compatibility. For instance: text-decoration: underline solid is valid, but would break CSS2. Solid is the default, so that sort of case is written as: text-decoration: underline If the state is CSS3 specific all of the needed fields are of course include, like text-decoration: underline wavy red 3. It incorporates the fix for bug 1181326 (Text edit mishandles span of just colored spaces) 4. It incorporates further changes to text editing so that style can be changed on spans consisting of only spaces when text decorations are present in the span. 5. It incorporates code to disable text decorations when text so marked is mapped onto a path. 6. Fixed more bugs in Hebrew language support than I can remember. Hebrew language export/import to EMF now works quite well. (See the examples in libTERE v 0.7.) WMF does not support unicode and for all intents and purposes Inkscape has no way to read or write Hebrew to it. Some of more important things that now work that didn't (or didn't always): Hebrew diacritical marks, R/L/center justification, and bidirectional text. The Hebrew fonts "Ezra SIL" and "EZRA SIL SR" should be installed before viewing the libTERE examples, otherwise font substitutions will cause some text shifts. 7. Implemented font failover in Text Reassemble, which makes the process more robust. (Again, see the examples in libTERE. ) (bzr r11668.1.71)
* cppcheckKris De Gussem2013-03-161-1/+1
| | | (bzr r12217)
* A couple of forward declarationsAlex Valavanis2013-02-111-0/+1
| | | (bzr r12119)
* Fix for 903772 : Support --export-text-to-path when outputting plain SVGJohn Smith2012-05-261-0/+17
| | | (bzr r11418)
* (cppcheck and janitorial tasks:) C-style casting to C++-style castingKris De Gussem2012-02-251-2/+2
| | | (bzr r11011)
* cppcheckKris De Gussem2012-02-151-7/+11
| | | (bzr r10987)
* - rename SPItem::i2d_affine to i2dt_affine, to clarify that it is ↵Johan B. C. Engelen2011-07-171-1/+1
| | | | | | | item-to-desktop, not item-to-document. This should make it easier to spot bugs. - tag some instances where the document-to-desktop transform has been hardcoded (bzr r10466)
* Cleanup of oudated/redundant SP_ITEM() macro use.Jon A. Cruz2011-07-161-1/+1
| | | (bzr r10461)
* Merge from trunkKrzysztof Kosi??ski2011-04-071-149/+212
|\ | | | | (bzr r9508.1.73)
| * Finished cleanup of outdated SP_OBJECT_PARENT C macro.Jon A. Cruz2011-02-211-1/+1
| | | | | | (bzr r10064)
| * Finished cleanup of outated SP_OBJECT_DOCUMENT C macro.Jon A. Cruz2011-02-211-142/+205
| | | | | | (bzr r10060)
| * update to latest 2geom !Johan B. C. Engelen2011-02-021-6/+6
| | | | | | (bzr r10025)
* | Merge from trunk (again)Krzysztof Kosi??ski2010-12-151-100/+142
|\| | | | | (bzr r9508.1.72)
| * Merge and cleanup of GSoC C++-ification project.Jon A. Cruz2010-12-121-100/+142
| |\ | | | | | | (bzr r9945.1.1)
| | * C++ification of SPObject continued along with the onset of XML ↵Abhishek Sharma Public2010-07-061-1/+2
| | | | | | | | | | | | | | | Privatisation. Users may checkout [grep -Ir XML Tree *] in the source code and all the places where the XML node/Tree is being used shall be reflected. (bzr r9546.1.5)
| | * another c++ification for sp-object.h/cpp and still in progress...Abhishek Sharma Public2010-07-031-5/+5
| | | | | | | | | (bzr r9546.1.4)
| | * This is the first c++ification commit from me. It handles sp-line, ↵Abhishek Sharma Public2010-06-291-6/+6
| | | | | | | | | | | | | | | sp-polyline, sp-item and marks the onset of document c++ification as well. Users can check performace increase with [/usr/bin/time -v inkscape_binary_with_commandline_options]. (bzr r9546.1.1)
* | | Merge from trunkKrzysztof Kosi??ski2010-11-251-30/+40
|\| | | | | | | | (bzr r9508.1.70)
| * | repr wasn't updated immediately after some text editing operations, which ↵Richard Hughes2010-10-211-7/+9
| | | | | | | | | | | | | | | meant that if the file was immediately saved it might display wrong in other apps (bzr r9840)
| * | Warning cleanup.Jon A. Cruz2010-10-031-23/+31
| |/ | | | | (bzr r9811)
* / Wholesale cruft removal part 3Krzysztof Kosi??ski2010-08-041-1/+1
|/ | | (bzr r9508.1.47)
* Add dx (kerning), dy (vertical shifting), and rotate widgets toTavmjong Bah2010-05-141-1/+50
| | | | | text toolbar along with routines needed by them. (bzr r9417)
* utilities and UI support for identifying truncated flowtext and text-on-pathbuliabyak2009-12-211-0/+31
| | | (bzr r8898)
* Richard's patch for crash bug 402274bulia byak2009-10-041-2/+3
| | | (bzr r8710)
* utilities for getting style at cursor, placing cursor at iterator or ↵bulia byak2009-02-161-2/+10
| | | | | coordinates, getting cursor iterator; display char count when editing in text tool (bzr r7299)
* gcc warning cleanup:Felipe Corr??a da Silva Sanches2009-02-081-2/+2
| | | | | | warning: suggest a space before ‘;’ or explicit braces around empty body in 'for'/'while' statement (bzr r7251)
* NR -> 2geom some headers in src/Joshua L. Blocher2008-12-041-3/+3
| | | (bzr r6935)
* bug #168370 (consider parent transform and viewBox)Thomas Holder2008-11-281-1/+16
| | | (bzr r6914)
* From trunkTed Gould2008-10-271-1/+1
| | | (bzr r6885)
* Next roud of NR ==> Geom conversionMaximilian Albert2008-09-181-7/+7
| | | (bzr r6839)
* convert almost all libnrtype to Geom::Johan B. C. Engelen2008-09-111-9/+9
| | | (bzr r6793)
* remove many unnecessary to_2geom and from_2geom callsJohan B. C. Engelen2008-08-081-5/+5
| | | (bzr r6593)
* slight tweak to r19493 to ensure that there's no possibility that we might ↵Richard Hughes2008-07-311-8/+5
| | | | | accidentally alter an SPString outside of the flowtext (bzr r6491)
* fix crash when deleting whitespace in start of flowtextbulia byak2008-07-301-4/+8
| | | (bzr r6483)
* codedread's patch to fix editing of text with a title or description (see ↵Stephen Silver2008-07-281-0/+1
| | | | | bug 238093). (bzr r6438)
* add utility function for average linespacingbulia byak2008-07-181-0/+13
| | | (bzr r6343)
* change NR::Matrix to Geom:: for many sp_item_xxx_affine functionsJohan B. C. Engelen2008-06-121-5/+5
| | | (bzr r5915)
* plumb XML::Documents in everywhereMenTaLguY2008-06-111-2/+2
| | | (bzr r5884)
* handle PI nodesMenTaLguY2008-06-111-0/+3
| | | (bzr r5882)
* Applying fixes for gcc 4.3 build issues (closes LP: #169115)Bryce Harrington2008-01-311-0/+2
| | | (bzr r4629)
* Warning cleanupJon A. Cruz2007-11-101-8/+8
| | | (bzr r4052)
* Revert back to old is_line_break_object() to fix problems with line breaks ↵Gail Carmichael2007-09-251-7/+1
| | | | | in first line of unflowed text. Reason for changing it in the first place was to match line break logic in sp-text.cpp but apparently this wasn't a good call. (bzr r3797)
* Cleaned up logic of sp_te_delete to adhere to UI/logic layering.Gail Carmichael2007-07-181-29/+25
| | | (bzr r3267)
* A few additions to ensure that editing trefs is not allowed (and doesn't ↵Gail Carmichael2007-07-171-15/+46
| | | | | cause a crash). Also allows all trefs within a selection to be 'unlinked'. (bzr r3261)
* bug 1243190: add tref element support; limited editing support thus far ↵Richard Hughes2007-07-111-2/+65
| | | | | (patch by gbanaszk) (bzr r3227)