summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/latex-text-renderer.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-10-30PDF+LaTeX export: escape ampersandsPatrick Storz1-1/+7
Fixes https://gitlab.com/inkscape/inbox/issues/1104
2019-07-11fix #325 LaTeX export brokenThomas Holder1-13/+2
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-01Remove #include "config.h" wherever possibleEduard Braun1-4/+0
2018-09-12New option to invert y-axisThomas Holder1-1/+4
Replaces all hard coded or implicit desktop coordinate usage with doc2dt multiplication. New global preference: Interface > Origin at upper left https://bugs.launchpad.net/inkscape/+bug/170049
2018-06-19Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot1-2/+2
2018-06-18Run clang-tidy’s modernize-deprecated-headers pass.Emmanuel Gil Peyrot1-2/+2
This renames most C <*.h> includes into C++ <c*> includes.
2018-06-18Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot1-8/+8
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-7/+7
This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
2018-04-29Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin1-7/+7
2018-01-30Move classes derived from SPObject to own directory.Tavmjong Bah1-8/+9
A lot of header clean-up.
2018-01-14PDF+LaTeX: fix line spacing, add basic support for line-heightEduard Braun1-19/+28
Replace "\stackrel" with "\tabular" to achieve constant line spacing. The former varies line spacing depending on the content of the line (i.e. an line containing "-" will have a very small height) Add basic support for line-height. (currently only the top level text element is considered)
2018-01-08Misc. typosluz.paz1-2/+2
Found via `codespell`
2017-12-22Show appropriate warning if non-existent export ID is specifiedEduard Braun1-1/+4
Fixed bug: - https://bugs.launchpad.net/inkscape/+bug/1739497
2017-12-05PDF+LaTeX export: do not apply style to newlinesEduard Braun1-25/+28
As the parser seems to wrap newlines into their own tspan which has the same style as the preceding tspan the latex-text renderer produced output like "\texbf{\\}" which broke compilation in LaTeX
2017-12-05PDF+LaTeX export: Fix multiline textEduard Braun1-13/+30
Wrap text in "\shortstack" to allow for newlines using "\\". The output extension already produced those but they are ignored in a "\smash" environment. Patch by Michael Jäntsch Fixed bug: - https://bugs.launchpad.net/inkscape/+bug/771959
2017-12-05PDF+LaTeX export: Avoid printing empty boxesEduard Braun1-0/+5
This also fixes an issue with multipage PDF output where an empty string would have been assumed to require emission of the previous page when in fact the CairoRenderer does not produce a new page in this case resulting in another facet of https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/1417470 Invisible characters might still cause this issue but it seems to be a very unlikely scenario and there's no way to know this without actually rendering the glyphs (which seems to be overkill here)
2017-07-17Cleanup: eliminate version from config.hEduard Braun1-1/+2
The idea behind inkscape-version.h / inkscape-version.cpp is to avoid rebuilding most of the code base when the version number changes. Defining a version number in config.h defeats this purpose.
2015-10-29static code analysisKris De Gussem1-1/+1
(bzr r14436)
2015-07-07Patch from Simon Keller to correct alignment of rotated text in PDF+TEX output.Tavmjong Bah1-3/+9
(bzr r14236)
2015-05-08forgotten dynamic castMarc Jeanmougin1-1/+1
(bzr r14125)
2015-02-27more cast cleanupMarc Jeanmougin1-2/+1
(bzr r13922.1.11)
2015-02-27corrected the casts (hopefully)Marc Jeanmougin1-2/+2
(bzr r13922.1.10)
2015-02-19added a set to the SelectionMarc Jeanmougin1-3/+2
(bzr r13922.1.6)
2015-02-17At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin1-4/+4
change that GSList* with a std::list, then resolve the few problems" So, i tried that. And I will continue tomorrow, and the days after, on and on. (bzr r13922.1.1)
2014-11-10Removed SP_USE/SP_IS_USE Gtk-ish macros and cleaned affected files.Jon A. Cruz1-46/+54
(bzr r13700)
2013-08-29use multiple graphic/text layers for pdf+latex outputDavid R. Bild1-4/+36
Fixed bugs: - https://launchpad.net/bugs/771957 (bzr r12487.1.2)
2013-08-27Added viewBox implement document unit support.Matthew Petroff1-2/+2
(bzr r12475.1.2)
2013-07-31Eliminate "unit-constants.h".Matthew Petroff1-2/+2
(bzr r12380.1.54)
2013-03-30Turned all functions concerning SPRect into member functions.Markus Engel1-1/+1
(bzr r11608.1.60)
2012-10-28add bleed/margin to pdf exportJohan B. C. Engelen1-3/+4
(bzr r11847)
2012-01-20cppcheckKris De Gussem1-4/+2
tells us 'line 154: "Possible null pointer dereference: _stream - otherwise it is redundant to check if _stream is null at line 147" Cannot check code on linux, but when you should get here _stream should be not NULL (if I interpreted correctly) (bzr r10915)
2012-01-20fix memleakKris De Gussem1-2/+2
(bzr r10914)
2011-12-18remove unused codeJohan B. C. Engelen1-10/+0
(bzr r10781)
2011-12-17some static code analysis stuff (cppcheck warnings)Kris De Gussem1-2/+2
(bzr r10779)
2011-10-20cppcheckKris De Gussem1-1/+1
(bzr r10686)
2011-08-27Refactor SPItem bounding box methods: remove NRRect usage and make codeKrzysztof Kosi??ski1-13/+13
using them more obvious. Fix filter region computation. (bzr r10582.1.1)
2011-07-17- rename SPItem::i2d_affine to i2dt_affine, to clarify that it is ↵Johan B. C. Engelen1-2/+2
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)
2011-07-16Cleanup of oudated/redundant SP_ITEM() macro use.Jon A. Cruz1-2/+2
(bzr r10461)
2011-06-05fix: latex width output to postscript big point 'bp'.Johan B. C. Engelen1-2/+2
Fixed bugs: - https://launchpad.net/bugs/792384 (bzr r10257)
2011-06-04Removed outdated/unsafe SP_DOCUMENT_DEFS macro and reduced usage of ↵Jon A. Cruz1-6/+3
SP_ROOT() gtk type function/macro. (bzr r10254)
2011-04-10pdf+latex:Johan B. C. Engelen1-6/+18
* use textit instead of itshape, use textbf instead of bfseries; this improves kerning * add textsl (slanted) for oblique font shapes (e.g. Arial) (bzr r10156)
2011-04-10pdf+latex: fix newline bug due to changes in r10089Johan B. C. Engelen1-16/+29
(bzr r10155)
2011-04-10go wild adding % at the end of each latex line (pdf+latex output)Johan B. C. Engelen1-22/+22
Fixed bugs: - https://launchpad.net/bugs/643849 - https://launchpad.net/bugs/687344 (bzr r10154)
2011-03-10PDF+LaTeX now also exports font shape (italic or bold) (patch partly by ↵Johan B. C. Engelen1-2/+74
Tobias Gradl) (bzr r10089)
2011-03-10add scaling option to PDF+LaTeX (patch by Bernd Bandemer)Johan B. C. Engelen1-0/+6
(bzr r10088)
2011-02-22Finished cleanup of outdated SP_OBJECT_STYLE C macro.Jon A. Cruz1-2/+2
(bzr r10066)
2011-02-02update to latest 2geom !Johan B. C. Engelen1-8/+8
(bzr r10025)
2010-11-17Super duper mega (fun!) commit: replaced encoding=utf-8 with ↵Chris Morgan1-1/+1
fileencoding=utf-8 in all 1074 Vim modelines. The reason for this is that (a) setting the encoding isn't nice, and (b) Vim 7.3 (with modeline enabled) disallows it and pops up an error whenever you open any file with it ("invalid modeline"). Also corrected five deviant modestrings: * src/ui/widget/dock.cpp and src/ui/widget/dock.h: missing colon at the end * src/ui/dialog/tile.cpp: removed gratuitous second colon at the end * src/helper/units-test.h: removed gratuitous space before a colon * share/extensions/export_gimp_palette.py: missing textwidth=99 That's my geekiest commit yet. (bzr r9900)
2010-07-02fix help in latex outputJohan B. C. Engelen1-1/+1
(bzr r9555)