summaryrefslogtreecommitdiffstats
path: root/src/display/nr-style.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix formatting and trailing space.Shlomi Fish2019-05-221-5/+5
|
* Finish implementation of 'text-decoration-fill' and 'text-decoration-stroke'.Tavmjong Bah2018-12-121-6/+14
|
* Reduce code redundancy.Tavmjong Bah2018-12-121-62/+33
|
* Reduce code redundancy.Tavmjong Bah2018-12-111-88/+39
|
* Clarify licensesMax Gaukler2018-11-081-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
* Relative values for strokes:Tavmjong Bah2018-08-151-1/+1
| | | | | | Fix segmenation fault on reading dashes with % values. Fix computed value for dashes with % values (use viewport diagonal length). Support % values for stroke width.
* Fix 'stroke-dashoffset' with absolute units.Tavmjong Bah2018-08-131-1/+1
|
* Refactor with Tav helpJabier Arraiza2018-08-051-1/+1
|
* Revert changesJabier Arraiza2018-08-051-24/+2
|
* Allow inkscape handle units and percent in dasharray and dashoffset. Add ↵Jabier Arraiza2018-08-051-2/+24
| | | | pref optional to scale dashes on stroke scale
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-18/+18
| | | | | This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
* Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin2018-05-041-2/+2
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-2/+2
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-1/+1
| | | | A lot of header clean-up.
* Implement 'text-orientation' with user interface. Update 'writing-mode', ↵Tavmjong Bah2015-10-281-2/+0
| | | | | | | adding 'vertical-lr'. Overhaul vertical text. Eliminate any use of "internal" leading in glyph metrics. Etc. (bzr r14430.1.1)
* Use gray for 'context-fill' and 'context-stroke' in marker selector.Tavmjong Bah2014-12-231-8/+10
| | | | | Fix rendering bug when elements with 'context-fill' and 'context-stroke' are inside groups. (bzr r13822)
* Implement rendering for 'context-fill' and 'context-stroke' (text not ↵Tavmjong Bah2014-12-211-32/+57
| | | | | handled yet). (bzr r13807)
* Read 'context-fill' and 'context-stroke' keywords.Tavmjong Bah2014-12-161-8/+27
| | | (bzr r13801)
* Merged src/display folder from svg-paints-support branchTomasz Boczkowski2014-10-141-21/+57
| | | (bzr r13611.1.1)
* CSS2 and CSS3 text decoration rendering, most code from David Mathog.Tavmjong Bah2014-05-131-13/+127
| | | (bzr r13372)
* Enable 'paint-order', (rendering only)... missing changes.Tavmjong Bah2014-05-011-4/+0
| | | (bzr r13330)
* Clean up of style code, converting structures to C++ classes. Step 1.Tavmjong Bah2014-04-231-2/+1
| | | (bzr r13298)
* Change stroke-dasharray and stroke-dashoffset handling to match other ↵Tavmjong Bah2014-03-111-3/+3
| | | | | | | properties. Split style.h into more manageable size files. (bzr r13135)
* Copy 'paint-order' property data for Cairo rendering.Tavmjong Bah2014-02-181-1/+25
| | | (bzr r13038)
* DrawingContext: change variable names ct to dc (bug #1272073)David Mathog2014-02-081-16/+16
| | | | | | Fixed bugs: - https://launchpad.net/bugs/1272073 (bzr r13009)
* clear paints on delete to release reffed paintservers, fixes leaking of ↵buliabyak2013-09-281-0/+2
| | | | | gradients (bzr r12623)
* Merged from trunk (r12488).Markus Engel2013-08-301-0/+58
|\ | | | | (bzr r11608.1.120)
| * changes_2013_05_22a.patch:David Mathog2013-06-191-0/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* | Cleaned up.Markus Engel2013-08-031-4/+8
|/ | | (bzr r11608.1.117)
* Fix some broken Vim modelinesAlex Valavanis2013-04-111-1/+1
| | | (bzr r12275)
* fixing memory release issue (valgrind reported; bug #1043571 , comment 16 ↵Kris De Gussem2012-10-031-2/+6
| | | | | issue 2) (bzr r11731)
* Removing redundant doxygen @brief tag.Jon A. Cruz2011-10-021-1/+1
| | | (bzr r10656)
* Completely remove NRRect, NRRectL, in-svg-plane.hKrzysztof Kosi??ski2011-08-271-1/+0
| | | (bzr r10582.1.6)
* Remove NRRect from paint servers and temporary calculationsKrzysztof Kosi??ski2011-08-271-4/+2
| | | (bzr r10582.1.4)
* Replace direct use of Cairo contexts and surfaces in the rendering treeKrzysztof Kosi??ski2011-07-221-18/+22
| | | | | | | with wrappers which keep some extra information about the surface, amd NRRect and NRRectL use with Geom::Rect and Geom::IntRect. Should simplify implementing filter primitive subregions. (bzr r10347.1.17)
* Initialize cached patterns to NULL in NRStyle, should fix crashesKrzysztof Kosi??ski2011-04-091-2/+4
| | | (bzr r9508.1.80)
* Minor cleanupsKrzysztof Kosi??ski2010-08-051-3/+3
| | | (bzr r9508.1.51)
* Fix group opacityKrzysztof Kosi??ski2010-07-071-2/+0
| | | (bzr r9508.1.13)
* Text rendering. Factor out style handling into nr-style.hKrzysztof Kosi??ski2010-06-281-0/+218
(bzr r9508.1.5)