lyx_mirror/src/insets
Jean-Marc Lasgouttes 12fcaf8652 Compute metrics of *TeX* logos using draw and a null painter
Instead of writing a metrics() method that mimics what draw() does,
re-use the draw code with a null painter.

This has the additional benefit of fixing InsetSpecialChar logo width
with EB Garamond. I have to admit that I do not know why it was too
large with the old code, but the new code is shorter/better anyway.

This code removes logowidth(). metrics() is moved to a different
place, but only the logo cases are touched.
2019-05-07 10:53:02 +02:00
..
CMakeLists.txt
ExternalSupport.cpp
ExternalSupport.h
ExternalTemplate.cpp
ExternalTemplate.h
ExternalTransforms.cpp
ExternalTransforms.h
Inset.cpp
Inset.h Revert "Use new display() values to remove some inset hardcoding." 2018-09-12 15:26:15 +02:00
InsetArgument.cpp Add NewlineCmd InsetLayout and Argument option 2019-04-18 11:35:03 +02:00
InsetArgument.h Add NewlineCmd InsetLayout and Argument option 2019-04-18 11:35:03 +02:00
InsetBibitem.cpp Fix renaming of citation refs after changing bibitem key 2019-04-21 09:55:17 +02:00
InsetBibitem.h
InsetBibtex.cpp Rename legacy input encoding settings. 2019-04-16 20:17:32 +02:00
InsetBibtex.h GuiBibtex: add button to edit individual databases externally 2019-03-30 11:37:28 +01:00
InsetBox.cpp Fix InsetBox::contentAlignment() 2018-05-11 15:11:06 +02:00
InsetBox.h Revert "Use new display() values to remove some inset hardcoding." 2018-09-12 15:26:15 +02:00
InsetBranch.cpp Handle branches with space in their name 2018-09-08 13:07:07 +02:00
InsetBranch.h
InsetCaption.cpp Move labels and insets out of moving arguments 2019-03-14 14:24:43 +01:00
InsetCaption.h Revert "Use new display() values to remove some inset hardcoding." 2018-09-12 15:26:15 +02:00
InsetCaptionable.cpp
InsetCaptionable.h
InsetCitation.cpp
InsetCitation.h
InsetCode.h
InsetCollapsible.cpp Fix regression concerning collapsing insets after search. 2019-03-14 20:30:50 -04:00
InsetCollapsible.h Fix up e5fc7327. 2018-10-04 17:56:14 -04:00
InsetCommand.cpp
InsetCommand.h
InsetCommandParams.cpp
InsetCommandParams.h
InsetERT.cpp Fix up e5fc7327. 2018-10-04 17:56:14 -04:00
InsetERT.h Fix up e5fc7327. 2018-10-04 17:56:14 -04:00
InsetExternal.cpp
InsetExternal.h
InsetFlex.cpp Do not step counters in deleted material. 2018-05-02 23:56:41 -04:00
InsetFlex.h
InsetFloat.cpp Fix bug #11398 2018-12-02 18:27:38 +01:00
InsetFloat.h Implement InsetFloat::contentAlignment() 2018-05-11 15:31:04 +02:00
InsetFloatList.cpp
InsetFloatList.h Revert "Use new display() values to remove some inset hardcoding." 2018-09-12 15:26:15 +02:00
InsetFoot.cpp Do not step counters in deleted material. 2018-05-02 23:56:41 -04:00
InsetFoot.h
InsetFootlike.cpp
InsetFootlike.h
InsetGraphics.cpp Small formatting and comments update. 2019-03-16 12:59:34 +01:00
InsetGraphics.h Fix bug #11180 2018-06-24 20:06:40 +02:00
InsetGraphicsParams.cpp
InsetGraphicsParams.h
InsetHyperlink.cpp More exceptions to percent encoding 2019-03-10 16:37:31 +01:00
InsetHyperlink.h
InsetInclude.cpp Make Ctrl-Mouse open an included file for editing. 2019-04-26 22:05:42 -04:00
InsetInclude.h Warn if included file does not exist 2019-03-12 09:00:59 +01:00
InsetIndex.cpp Move labels and insets out of moving arguments 2019-03-14 14:24:43 +01:00
InsetIndex.h Revert "Use new display() values to remove some inset hardcoding." 2018-09-12 15:26:15 +02:00
InsetInfo.cpp Do not use GUI language for shortcut info inset if no translation is available 2019-03-09 12:00:40 +01:00
InsetInfo.h Implement layout format in insetinfo 2018-09-20 11:33:03 +02:00
InsetIPA.cpp
InsetIPA.h
InsetIPAMacro.cpp
InsetIPAMacro.h
InsetLabel.cpp Protect label in moving argument 2019-03-14 14:38:08 +01:00
InsetLabel.h Move labels and insets out of moving arguments 2019-03-14 14:24:43 +01:00
InsetLayout.cpp Add NewlineCmd InsetLayout and Argument option 2019-04-18 11:35:03 +02:00
InsetLayout.h Add NewlineCmd InsetLayout and Argument option 2019-04-18 11:35:03 +02:00
InsetLine.cpp
InsetLine.h
InsetListings.cpp Fix some listings/minted incompatibilities 2019-04-19 19:03:29 +02:00
InsetListings.h
InsetListingsParams.cpp Listings: language updates 2019-04-15 11:55:46 +02:00
InsetListingsParams.h
InsetMarginal.cpp
InsetMarginal.h
InsetNewline.cpp Add NewlineCmd InsetLayout and Argument option 2019-04-18 11:35:03 +02:00
InsetNewline.h Revert "Use new display() values to remove some inset hardcoding." 2018-09-12 15:26:15 +02:00
InsetNewpage.cpp
InsetNewpage.h Revert "Use new display() values to remove some inset hardcoding." 2018-09-12 15:26:15 +02:00
InsetNomencl.cpp
InsetNomencl.h Revert "Use new display() values to remove some inset hardcoding." 2018-09-12 15:26:15 +02:00
InsetNote.cpp Revert "Use new display() values to remove some inset hardcoding." 2018-09-12 15:26:15 +02:00
InsetNote.h Revert "Use new display() values to remove some inset hardcoding." 2018-09-12 15:26:15 +02:00
InsetPhantom.cpp
InsetPhantom.h
InsetPreview.cpp
InsetPreview.h
InsetQuotes.cpp Fix quotation marks in RTL script 2018-07-15 12:11:10 +02:00
InsetQuotes.h Fix quotation marks in RTL script 2018-07-15 12:11:10 +02:00
InsetRef.cpp Do not force LTR with nameref and non-TeX fonts 2019-03-15 11:23:53 +01:00
InsetRef.h Do not force LTR with nameref and non-TeX fonts 2019-03-15 11:23:53 +01:00
InsetScript.cpp Disable TABLUAR_STYLE_INSERT with TABULAR_INSERT 2019-04-04 08:24:25 +02:00
InsetScript.h Fix fonts used by sub/superscript in text 2019-03-22 16:19:52 +01:00
InsetSeparator.cpp
InsetSeparator.h Revert "Use new display() values to remove some inset hardcoding." 2018-09-12 15:26:15 +02:00
InsetSpace.cpp Fix alignment of rows when text width is variable 2019-01-11 16:23:05 +01:00
InsetSpace.h
InsetSpecialChar.cpp Compute metrics of *TeX* logos using draw and a null painter 2019-05-07 10:53:02 +02:00
InsetSpecialChar.h
InsetTabular.cpp Append rows and columns if necessary when pasting into table 2019-04-23 08:34:53 +02:00
InsetTabular.h booktabs: support for \cmidrule trimming 2019-04-03 07:59:52 +02:00
InsetText.cpp \cprotect some content in captions 2019-04-21 16:44:29 +02:00
InsetText.h \cprotect some content in captions 2019-04-21 16:44:29 +02:00
InsetTOC.cpp
InsetTOC.h Revert "Use new display() values to remove some inset hardcoding." 2018-09-12 15:26:15 +02:00
InsetVSpace.cpp
InsetVSpace.h Revert "Use new display() values to remove some inset hardcoding." 2018-09-12 15:26:15 +02:00
InsetWrap.cpp
InsetWrap.h
RenderBase.h Remove unused method 2019-02-18 16:03:38 +01:00
RenderButton.cpp
RenderButton.h
RenderGraphic.cpp
RenderGraphic.h
RenderPreview.cpp Fix segfault after deleting monitor 2018-12-04 00:05:01 -05:00
RenderPreview.h