summaryrefslogtreecommitdiffstats
path: root/src/display/nr-style.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-05-22Fix formatting and trailing space.Shlomi Fish1-5/+5
2018-12-12Finish implementation of 'text-decoration-fill' and 'text-decoration-stroke'.Tavmjong Bah1-6/+14
2018-12-12Reduce code redundancy.Tavmjong Bah1-62/+33
2018-12-11Reduce code redundancy.Tavmjong Bah1-88/+39
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-08-15Relative values for strokes:Tavmjong Bah1-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.
2018-08-13Fix 'stroke-dashoffset' with absolute units.Tavmjong Bah1-1/+1
2018-08-05Refactor with Tav helpJabier Arraiza1-1/+1
2018-08-05Revert changesJabier Arraiza1-24/+2
2018-08-05Allow inkscape handle units and percent in dasharray and dashoffset. Add ↵Jabier Arraiza1-2/+24
pref optional to scale dashes on stroke scale
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-18/+18
This replaces all NULL or 0 with nullptr when assigned to or returned as a pointer.
2018-05-04Revert "Fix include order with clang-tidy check llvm-include-order"Marc Jeanmougin1-2/+2
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-2/+2
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-1/+1
A lot of header clean-up.
2015-10-28Implement 'text-orientation' with user interface. Update 'writing-mode', ↵Tavmjong Bah1-2/+0
adding 'vertical-lr'. Overhaul vertical text. Eliminate any use of "internal" leading in glyph metrics. Etc. (bzr r14430.1.1)
2014-12-23Use gray for 'context-fill' and 'context-stroke' in marker selector.Tavmjong Bah1-8/+10
Fix rendering bug when elements with 'context-fill' and 'context-stroke' are inside groups. (bzr r13822)
2014-12-21Implement rendering for 'context-fill' and 'context-stroke' (text not ↵Tavmjong Bah1-32/+57
handled yet). (bzr r13807)
2014-12-16Read 'context-fill' and 'context-stroke' keywords.Tavmjong Bah1-8/+27
(bzr r13801)
2014-10-14Merged src/display folder from svg-paints-support branchTomasz Boczkowski1-21/+57
(bzr r13611.1.1)
2014-05-16fix compliance test pservers-pattern-03-f - using fallback when pattern is emptyTomasz Boczkowski1-2/+16
(bzr r13341.1.34)
2014-05-13CSS2 and CSS3 text decoration rendering, most code from David Mathog.Tavmjong Bah1-13/+127
(bzr r13372)
2014-05-11CSS2 and CSS3 text decoration rendering, most code from David Mathog.Tavmjong Bah1-13/+127
(bzr r13341.1.7)
2014-05-01Enable 'paint-order', (rendering only)... missing changes.Tavmjong Bah1-4/+0
(bzr r13330)
2014-04-23Clean up of style code, converting structures to C++ classes. Step 1.Tavmjong Bah1-2/+1
(bzr r13298)
2014-03-11Change stroke-dasharray and stroke-dashoffset handling to match other ↵Tavmjong Bah1-3/+3
properties. Split style.h into more manageable size files. (bzr r13135)
2014-02-18Copy 'paint-order' property data for Cairo rendering.Tavmjong Bah1-1/+25
(bzr r13038)
2014-02-08DrawingContext: change variable names ct to dc (bug #1272073)David Mathog1-16/+16
Fixed bugs: - https://launchpad.net/bugs/1272073 (bzr r13009)
2013-09-28clear paints on delete to release reffed paintservers, fixes leaking of ↵buliabyak1-0/+2
gradients (bzr r12623)
2013-08-03Cleaned up.Markus Engel1-4/+8
(bzr r11608.1.117)
2013-06-19changes_2013_05_22a.patch:David Mathog1-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)
2013-04-11Fix some broken Vim modelinesAlex Valavanis1-1/+1
(bzr r12275)
2012-10-03fixing memory release issue (valgrind reported; bug #1043571 , comment 16 ↵Kris De Gussem1-2/+6
issue 2) (bzr r11731)
2011-10-02Removing redundant doxygen @brief tag.Jon A. Cruz1-1/+1
(bzr r10656)
2011-08-27Completely remove NRRect, NRRectL, in-svg-plane.hKrzysztof Kosi??ski1-1/+0
(bzr r10582.1.6)
2011-08-27Remove NRRect from paint servers and temporary calculationsKrzysztof Kosi??ski1-4/+2
(bzr r10582.1.4)
2011-07-22Replace direct use of Cairo contexts and surfaces in the rendering treeKrzysztof Kosi??ski1-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)
2011-04-09Initialize cached patterns to NULL in NRStyle, should fix crashesKrzysztof Kosi??ski1-2/+4
(bzr r9508.1.80)
2010-08-05Minor cleanupsKrzysztof Kosi??ski1-3/+3
(bzr r9508.1.51)
2010-07-07Fix group opacityKrzysztof Kosi??ski1-2/+0
(bzr r9508.1.13)
2010-06-28Text rendering. Factor out style handling into nr-style.hKrzysztof Kosi??ski1-0/+218
(bzr r9508.1.5)