summaryrefslogtreecommitdiffstats
path: root/src/extension/internal/latex-text-renderer.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* PDF+LaTeX export: escape ampersandsPatrick Storz2019-10-301-1/+7
| | | | Fixes https://gitlab.com/inkscape/inbox/issues/1104
* fix #325 LaTeX export brokenThomas Holder2019-07-111-13/+2
|
* 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
* Remove #include "config.h" wherever possibleEduard Braun2018-10-011-4/+0
|
* New option to invert y-axisThomas Holder2018-09-121-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
* Run clang-tidy’s modernize-redundant-void-arg pass.Emmanuel Gil Peyrot2018-06-191-2/+2
|
* Run clang-tidy’s modernize-deprecated-headers pass.Emmanuel Gil Peyrot2018-06-181-2/+2
| | | | This renames most C <*.h> includes into C++ <c*> includes.
* Run clang-tidy’s modernize-use-nullptr pass.Emmanuel Gil Peyrot2018-06-181-8/+8
| | | | | 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-7/+7
| | | | This reverts commit bba4ff6672494fab59286b50f6c645ad62a47e60.
* Fix include order with clang-tidy check llvm-include-orderMarc Jeanmougin2018-04-291-7/+7
|
* Move classes derived from SPObject to own directory.Tavmjong Bah2018-01-301-8/+9
| | | | A lot of header clean-up.
* PDF+LaTeX: fix line spacing, add basic support for line-heightEduard Braun2018-01-141-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)
* Misc. typosluz.paz2018-01-081-2/+2
| | | Found via `codespell`
* Show appropriate warning if non-existent export ID is specifiedEduard Braun2017-12-221-1/+4
| | | | | Fixed bug: - https://bugs.launchpad.net/inkscape/+bug/1739497
* PDF+LaTeX export: do not apply style to newlinesEduard Braun2017-12-051-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
* PDF+LaTeX export: Fix multiline textEduard Braun2017-12-051-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
* PDF+LaTeX export: Avoid printing empty boxesEduard Braun2017-12-051-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)
* Cleanup: eliminate version from config.hEduard Braun2017-07-171-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.
* static code analysisKris De Gussem2015-10-291-1/+1
| | | (bzr r14436)
* Patch from Simon Keller to correct alignment of rotated text in PDF+TEX output.Tavmjong Bah2015-07-071-3/+9
| | | (bzr r14236)
* forgotten dynamic castMarc Jeanmougin2015-05-081-1/+1
| | | (bzr r14125)
* more cast cleanupMarc Jeanmougin2015-02-271-2/+1
| | | (bzr r13922.1.11)
* corrected the casts (hopefully)Marc Jeanmougin2015-02-271-2/+2
| | | (bzr r13922.1.10)
* added a set to the SelectionMarc Jeanmougin2015-02-191-3/+2
| | | (bzr r13922.1.6)
* At first, I was thinking "I just have to go to the selection file, and ↵Marc Jeanmougin2015-02-171-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)
* Removed SP_USE/SP_IS_USE Gtk-ish macros and cleaned affected files.Jon A. Cruz2014-11-101-46/+54
| | | (bzr r13700)
* Merge from trunk.Matthew Petroff2013-09-201-1/+1
|\ | | | | (bzr r12475.1.29)
| * Merged from trunk (r12517).Markus Engel2013-09-141-4/+36
| |\ | | | | | | (bzr r11608.1.121)
| * \ Merged from trunk (r12488).Markus Engel2013-08-301-2/+2
| |\ \ | | | | | | | | (bzr r11608.1.120)
| * | | Turned all functions concerning SPRect into member functions.Markus Engel2013-03-301-1/+1
| | | | | | | | | | | | (bzr r11608.1.60)
* | | | Merge from trunk.Matthew Petroff2013-09-121-4/+36
|\ \ \ \ | | |_|/ | |/| | (bzr r12475.1.16)
| * | | use multiple graphic/text layers for pdf+latex outputDavid R. Bild2013-08-291-4/+36
| | |/ | |/| | | | | | | | | | | | | Fixed bugs: - https://launchpad.net/bugs/771957 (bzr r12487.1.2)
* / | Added viewBox implement document unit support.Matthew Petroff2013-08-271-2/+2
|/ / | | | | (bzr r12475.1.2)
* / Eliminate "unit-constants.h".Matthew Petroff2013-07-311-2/+2
|/ | | (bzr r12380.1.54)
* add bleed/margin to pdf exportJohan B. C. Engelen2012-10-281-3/+4
| | | (bzr r11847)
* Merge Andrew's new OCAL dialog and clean headers. Please testAlex Valavanis2012-02-271-0/+1
|\ | | | | (bzr r11027)
* | cppcheckKris De Gussem2012-01-201-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)
* | fix memleakKris De Gussem2012-01-201-2/+2
|/ | | (bzr r10914)
* remove unused codeJohan B. C. Engelen2011-12-181-10/+0
| | | (bzr r10781)
* some static code analysis stuff (cppcheck warnings)Kris De Gussem2011-12-171-2/+2
| | | (bzr r10779)
* cppcheckKris De Gussem2011-10-201-1/+1
| | | (bzr r10686)
* Refactor SPItem bounding box methods: remove NRRect usage and make codeKrzysztof Kosi??ski2011-08-271-13/+13
| | | | | using them more obvious. Fix filter region computation. (bzr r10582.1.1)
* - rename SPItem::i2d_affine to i2dt_affine, to clarify that it is ↵Johan B. C. Engelen2011-07-171-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)
* Cleanup of oudated/redundant SP_ITEM() macro use.Jon A. Cruz2011-07-161-2/+2
| | | (bzr r10461)
* fix: latex width output to postscript big point 'bp'.Johan B. C. Engelen2011-06-051-2/+2
| | | | | | Fixed bugs: - https://launchpad.net/bugs/792384 (bzr r10257)
* Removed outdated/unsafe SP_DOCUMENT_DEFS macro and reduced usage of ↵Jon A. Cruz2011-06-041-6/+3
| | | | | SP_ROOT() gtk type function/macro. (bzr r10254)
* pdf+latex:Johan B. C. Engelen2011-04-101-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)
* pdf+latex: fix newline bug due to changes in r10089Johan B. C. Engelen2011-04-101-16/+29
| | | (bzr r10155)
* go wild adding % at the end of each latex line (pdf+latex output)Johan B. C. Engelen2011-04-101-22/+22
| | | | | | | Fixed bugs: - https://launchpad.net/bugs/643849 - https://launchpad.net/bugs/687344 (bzr r10154)
* PDF+LaTeX now also exports font shape (italic or bold) (patch partly by ↵Johan B. C. Engelen2011-03-101-2/+74
| | | | | Tobias Gradl) (bzr r10089)