lyx_mirror/src
Enrico Forestieri 380f34a114 Fix bug #11180
When a raster image with an advertised pixel density different
from 72 dpi is included in a latex file, the output image dimensions
are scaled by the ratio 72/pixel_density. Hence, if a clipping
bounding box is specified, it has to be scaled by the same ratio,
otherwise the images will be clipped differently on screen and output.
Here we use the extractbb command (present in any TeX distribution)
to ask about the output dimensions of the image as dictated by the
pixel density and compute the scaling ratio by the knowledge of the
actual dimensions. If, for whatever reason, extractbb is not found,
everything goes as before, because the clipping bounding box will
simply not be corrected.
2018-06-24 20:06:40 +02:00
..
client Do not use Application for a 'cancel export' boolean 2018-01-02 16:01:07 +01:00
convert Add description comment for the lyxconvert utility 2017-10-09 08:06:27 +02:00
frontends Add support for tabularx/xltabular 2018-06-24 10:05:15 +02:00
graphics Avoid duplicate generation of the same preview 2018-06-06 18:59:37 +02:00
insets Fix bug #11180 2018-06-24 20:06:40 +02:00
mathed Use getArg to read math-extern arguments 2018-06-05 11:24:05 +02:00
support Support input of non-ASCII characters in hyperlinks 2018-06-09 11:52:55 +02:00
tests Cmake build: Use test/dummy_functions.cpp instead of support/tests/dummy_functions.cpp 2018-01-08 12:58:28 +01:00
tex2lyx tex2lyx: Add support for multirow 2018-06-24 18:14:10 +02:00
.gitignore
AppleSpellChecker.cpp Fix editorial whitespace error 2017-07-30 09:30:58 +02:00
AppleSpellChecker.h
AspellChecker.cpp Fix editorial whitespace issues, e.g. extra space before semicolon 2017-07-30 00:54:12 +02:00
AspellChecker.h
Author.cpp
Author.h
BiblioInfo.cpp Differentiate Buffer strings and GUI strings in citeengines 2018-01-27 14:29:41 +01:00
BiblioInfo.h
boost.cpp
Box.cpp
Box.h
BranchList.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
BranchList.h
buffer_funcs.cpp
buffer_funcs.h
Buffer.cpp If a master is being created at loading the child, un-hide it. 2018-06-01 10:17:18 +02:00
Buffer.h Do not start from a non-reveant parent in Buffer cloning. 2018-05-16 08:35:21 +02:00
BufferEncodings.cpp unicodesymbols: add general way to require a feature only for specific encodings 2018-04-28 13:31:29 +02:00
BufferEncodings.h
BufferList.cpp Handle properly undo groups in embedded work areas 2017-12-13 10:46:54 +01:00
BufferList.h Handle properly undo groups in embedded work areas 2017-12-13 10:46:54 +01:00
BufferParams.cpp Simplify cite engines code 2018-05-20 12:27:03 +02:00
BufferParams.h Simplify cite engines code 2018-05-20 12:27:03 +02:00
BufferView.cpp Simplify cite engines code 2018-05-20 12:27:03 +02:00
BufferView.h Adapt caret height to context in mathed. 2018-04-27 00:03:48 +02:00
Bullet.cpp
Bullet.h
Changes.cpp Fix issue with change-tracked deleted display math 2017-10-22 13:12:33 +02:00
Changes.h
Chktex.cpp grammar 2018-02-18 09:19:03 +01:00
Chktex.h
Citation.h
CiteEnginesList.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
CiteEnginesList.h Fix bug #10901. 2018-02-23 23:17:57 -05:00
CMakeLists.txt Cmake build: Only use the new lyxconvert on MAC 2017-10-03 22:12:23 +02:00
CmdDef.cpp Fix bug #10909. 2018-02-23 23:38:31 -05:00
CmdDef.h
Color.cpp Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
Color.h
ColorCode.h Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
ColorSet.h
Compare.cpp Rename Paragraph::setBuffer to Paragraph::setInsetBuffers, to avoid 2017-10-16 15:48:47 -04:00
Compare.h
CompletionList.h
Converter.cpp Use a copy of BufferParams 2018-05-05 15:26:58 +02:00
Converter.h Fix some problems with background cancellation. 2018-04-16 14:02:20 -04:00
ConverterCache.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
ConverterCache.h
CoordCache.cpp
CoordCache.h
Counters.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Counters.h
Cursor.cpp Enable graphics-unify only for selections containing graphics insets. 2018-05-02 22:38:42 +02:00
Cursor.h Enable graphics-unify only for selections containing graphics insets. 2018-05-02 22:38:42 +02:00
CursorSlice.cpp Rename some macro-related insets 2017-07-05 14:46:34 +02:00
CursorSlice.h
CutAndPaste.cpp Merge paragraphs when pasted into an inset that forbids multipars 2018-05-11 13:17:39 +02:00
CutAndPaste.h Restore implicit word selection for inset insertion. 2018-04-25 21:48:25 -04:00
DepTable.cpp
DepTable.h
Dimension.cpp
Dimension.h
DispatchResult.h
DocIterator.cpp Properly communicate forced encodings 2018-01-26 08:38:52 +01:00
DocIterator.h * comment 2018-02-07 23:24:05 +01:00
DocumentClassPtr.h Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
EnchantChecker.cpp Add support for enchant 2.x 2018-01-30 12:11:22 +01:00
EnchantChecker.h
Encoding.cpp unicodesymbols: add general way to require a feature only for specific encodings 2018-04-28 13:31:29 +02:00
Encoding.h Factor out test for script wrapper in given font enc 2018-04-21 12:55:11 +02:00
ErrorList.cpp
ErrorList.h
Exporter.cpp
Exporter.h
factory.cpp Fix bug #10932. 2018-02-24 00:30:24 -05:00
factory.h
Floating.cpp
Floating.h
FloatList.cpp
FloatList.h
Font.cpp Add \nospellcheck font property 2018-05-06 19:48:21 +02:00
Font.h Remove unused function. 2018-05-05 12:02:10 -04:00
FontEnums.h
FontInfo.cpp Fix cutnpaste error 2018-05-07 10:15:23 +02:00
FontInfo.h Add \nospellcheck font property 2018-05-06 19:48:21 +02:00
FontList.cpp
FontList.h
Format.cpp Fix invalid octal number 2018-04-12 10:50:57 +02:00
Format.h
FuncCode.h Fix bug #7404. 2018-06-05 23:13:54 -04:00
FuncRequest.cpp Fix #8338. 2018-04-20 23:37:58 -04:00
FuncRequest.h Comment: buffer-forall should be run synchronously 2018-04-21 23:05:21 -04:00
FuncStatus.cpp
FuncStatus.h
Graph.cpp
Graph.h
HunspellChecker.cpp Adapt to new hunspell C++ ABI 2018-03-29 18:43:11 +02:00
HunspellChecker.h
IndicesList.cpp Fix bug #10915. 2018-02-23 23:47:05 -05:00
IndicesList.h
InsetIterator.cpp
InsetIterator.h
InsetList.cpp Cosmetics 2018-05-28 12:33:17 +02:00
InsetList.h Cosmetics 2018-05-28 12:33:17 +02:00
Intl.cpp
Intl.h
KeyMap.cpp
KeyMap.h
KeySequence.cpp
KeySequence.h
Language.cpp Language::fontenc(): Don't check for LaTeX font with nonTeX fonts. 2018-04-29 09:21:35 +02:00
Language.h Remove Language::fontenc() 2018-04-23 12:59:57 +02:00
LaTeX.cpp Consider sub-subfiles on log file parsing. 2018-04-14 14:33:21 +02:00
LaTeX.h Allow makeindex, nomencl, and bibtex runs to be canceled, too. 2017-12-21 18:55:39 -05:00
LaTeXFeatures.cpp Add support for tabularx/xltabular 2018-06-24 10:05:15 +02:00
LaTeXFeatures.h Add Provides tag to languages 2018-04-21 15:47:39 +02:00
LaTeXFonts.cpp Align fontenc with document fonts 2018-04-22 19:06:46 +02:00
LaTeXFonts.h Add T1 fontenc as fallback for no font 2018-04-23 18:35:11 +02:00
LaTeXPackages.cpp
LaTeXPackages.h
Layout.cpp Add cprotection support for paragraph layouts. 2018-04-14 12:57:23 +02:00
Layout.h Typo 2018-04-14 13:25:35 -04:00
LayoutEnums.h
LayoutFile.cpp
LayoutFile.h
LayoutModuleList.cpp
LayoutModuleList.h Fix bug #11055. 2018-01-28 23:37:20 -05:00
Length.cpp Move the inPixels(MetricsBase) help from Length to MetricsBase. 2018-01-05 20:14:04 +01:00
Length.h Move the inPixels(MetricsBase) help from Length to MetricsBase. 2018-01-05 20:14:04 +01:00
lengthcommon.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Lexer.cpp Fix Lexer::getLongString prefix pruning logic 2017-08-29 15:30:44 +02:00
Lexer.h
lyx_commit_hash.h.in
LyX.cpp Catch exception in replaceEnvironmentPath 2018-06-04 11:39:41 +02:00
LyX.h
LyXAction.cpp Add support for tabularx/xltabular 2018-06-24 10:05:15 +02:00
LyXAction.h
lyxfind.cpp Fix bug #10933. 2018-02-24 00:32:14 -05:00
lyxfind.h
LyXRC.cpp Add optional flavor flag to needaux 2018-04-25 13:51:40 +02:00
LyXRC.h Align fontenc with document fonts 2018-04-22 19:06:46 +02:00
LyXVC.cpp
LyXVC.h
lyxwinres.rc
main.cpp
Makefile.am Collapsable -> Collapsible (part 2) 2017-10-16 10:12:21 +02:00
MetricsInfo.cpp Move the inPixels(MetricsBase) help from Length to MetricsBase. 2018-01-05 20:14:04 +01:00
MetricsInfo.h Move the inPixels(MetricsBase) help from Length to MetricsBase. 2018-01-05 20:14:04 +01:00
ModuleList.cpp
ModuleList.h Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Mover.cpp
Mover.h
output_docbook.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
output_docbook.h
output_latex.cpp Group the switch of encoding for listings in utf8 documents 2018-05-01 14:21:05 +02:00
output_latex.h Group the switch of encoding for listings in utf8 documents 2018-05-01 14:21:05 +02:00
output_plaintext.cpp
output_plaintext.h
output_xhtml.cpp Revert "ABOVE and CENTERED labels need special treatment." 2017-10-16 21:28:44 -04:00
output_xhtml.h
output.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
output.h
OutputEnums.h
OutputParams.cpp
OutputParams.h Align \textgreek and \textcyr with font encoding 2018-04-20 18:01:16 +02:00
paper.h
Paragraph.cpp Add \nospellcheck font property 2018-05-06 19:48:21 +02:00
Paragraph.h Only show Accept/Reject Change options if relevant 2018-05-10 12:58:44 -04:00
ParagraphList.h
ParagraphMetrics.cpp Remove row crc computation 2017-11-11 13:24:08 +01:00
ParagraphMetrics.h Remove row crc computation 2017-11-11 13:24:08 +01:00
ParagraphParameters.cpp
ParagraphParameters.h
ParIterator.cpp
ParIterator.h
PDFOptions.cpp Load hyperref with a suitable driver 2018-04-08 19:02:01 +02:00
PDFOptions.h
PersonalWordList.cpp
PersonalWordList.h
PrinterParams.cpp
PrinterParams.h
Row.cpp Partial cleanup of the row selection code 2018-01-15 17:20:34 +01:00
Row.h Partial cleanup of the row selection code 2018-01-15 17:20:34 +01:00
RowPainter.cpp Paint nospell mark lower than foeign mark, since these can appear both 2018-05-07 08:41:28 +02:00
RowPainter.h Add \nospellcheck font property 2018-05-06 19:48:21 +02:00
Server.cpp Catch exception in replaceEnvironmentPath 2018-06-04 11:39:41 +02:00
Server.h
ServerSocket.cpp
ServerSocket.h
Session.cpp Avoid asserting when reading the session file 2017-12-02 10:46:46 +01:00
Session.h The shell escape patch 2017-08-03 13:07:41 +02:00
sgml.cpp
sgml.h
Spacing.cpp Fix switch of language and line spacing in InTitle commands. 2017-12-23 13:27:10 +01:00
Spacing.h Fix switch of language and line spacing in InTitle commands. 2017-12-23 13:27:10 +01:00
SpellChecker.h
TexRow.cpp
TexRow.h
texstream.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
texstream.h Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Text2.cpp Add \nospellcheck font property 2018-05-06 19:48:21 +02:00
Text3.cpp Implement layout-toggle lfun 2018-05-15 00:03:55 +02:00
Text.cpp Add \nospellcheck font property 2018-05-06 19:48:21 +02:00
Text.h Simplify some code now that we don't need it for indexes. 2018-04-25 22:22:36 -04:00
TextClass.cpp Unbreak bibitem citations 2018-05-27 11:49:10 +02:00
TextClass.h disambiguate function name 2018-05-27 09:57:22 +02:00
TextMetrics.cpp Fixup a8fd12d1 2018-05-28 18:02:54 +02:00
TextMetrics.h Cosmetics 2018-05-28 12:33:17 +02:00
Thesaurus.cpp Bulk cleanup/fix incorrect annotation at the end of namespaces. 2017-07-23 13:11:54 +02:00
Thesaurus.h
Toc.h
TocBackend.cpp
TocBackend.h
TocBuilder.cpp
TocBuilder.h
Trans.cpp Fix bug #10930. 2018-02-24 00:28:37 -05:00
Trans.h
Undo.cpp Fixup c7496a11: test emptiness before accessing elements 2018-06-01 21:48:26 +02:00
Undo.h Skip paint event when in the middle of a buffer operation 2018-05-31 23:26:17 +02:00
update_flags.h Revert "Update documentation" 2018-05-02 12:38:40 +02:00
VCBackend.cpp RCS: commit undo allowed only in unlocked state. 2018-01-10 10:47:48 +01:00
VCBackend.h
version.cpp
version.h Add support for tabularx/xltabular 2018-06-24 10:05:15 +02:00
VSpace.cpp
VSpace.h
WordLangTuple.h
WordList.cpp
WordList.h