Age | Commit message (Collapse) | Author |
|
Change-Id: Ide7d833801e96a3375909238d036687082f34605
|
|
Change-Id: I404ac35010c243fad65b6d83c10c75665a0568f0
|
|
Change-Id: I9734f15811020ce1a7b761688d602c7e244167c7
|
|
Which in itself was effectively a revert of
3364fefe1e2dec522211040f2f9ea37bf5cd7466
Keeping the old broken line height calculation code is just masking of
the real problem; there are some code elsewhere that have fragile
workarounds to the real bug here (the removed code here shows a good
example of such workarounds). On Mac we use the correct metrics as well,
so we need to find the quirks and fix them, instead of pretending they
do not exist.
This fixes fdo#55469, among others.
Change-Id: I36f13b28eaba022b7c388feae7e0bfd0ed1c3e89
|
|
(cherry picked from commit cf417aec41decab94b5f1e82f6409e97a6c02fb5)
Conflicts:
extras/source/gallery/gallery_system/sg2.sdg
extras/source/gallery/gallery_system/sg2.thm
svx/inc/galtheme.hrc
svx/inc/svx/fontworkgallery.hxx
svx/inc/svx/gallery.hxx
svx/inc/svx/galtheme.hxx
svx/source/gallery2/galctrl.cxx
svx/source/gallery2/galexpl.cxx
svx/source/gallery2/galobj.cxx
svx/source/tbxctrls/fontworkgallery.cxx
vcl/inc/vcl/outdev.hxx
vcl/source/gdi/outdev6.cxx
Change-Id: I519a2cf4e16bb42ecfd9c4b48094e65adcc35599
(cherry picked from commit ddec662e8dc234b7196c1b3c28db5da743557ec6)
|
|
and additions of new themes
(cherry picked from commit 8ccf0e00b5c67f17427d041321baaa5ade488e7c)
Conflicts:
extras/prj/build.lst
extras/source/gallery/bullets/makefile.mk
extras/source/gallery/gallery_system/sg2.sdg
extras/source/gallery/gallery_system/sg2.sdv
extras/source/gallery/gallery_system/sg2.thm
extras/util/target.pmk
scp2/source/ooo/directory_ooo.scp
scp2/source/ooo/file_extra_ooo.scp
svx/inc/galtheme.hrc
svx/source/gallery2/gallery1.cxx
svx/source/gallery2/galobj.cxx
svx/source/gallery2/galtheme.src
vcl/inc/vcl/alpha.hxx
vcl/inc/vcl/bitmap.hxx
vcl/inc/vcl/bitmapex.hxx
vcl/source/gdi/alpha.cxx
vcl/source/gdi/bitmap.cxx
vcl/source/gdi/bitmap3.cxx
vcl/source/gdi/bitmapex.cxx
(cherry picked from commit 8012fae6cedcf325130d70adf0a486e8918f452f)
Conflicts:
vcl/source/gdi/bitmap3.cxx
Change-Id: If4b2397b889f914487f2135679250c175181e1df
|
|
Core Text will apply its font fallback mechanism when typesetting a
CTLine, and we can't assume that the returned run all use the original
font. This fixes the random glyphs drawn when we hit font fallback.
Change-Id: Id4d7098cb7bd3464cba6abab22be3ac3942c8889
Reviewed-on: https://gerrit.libreoffice.org/3846
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
|
|
Change-Id: I7e69466f189b845a807edbf3ca4422b0fb2aec94
|
|
Patch-by: orw
Tested-by: orw
(cherry picked from commit 7a8c7f6a6ceb29bf754e24f07ef92fcee4b925c3)
Conflicts:
svtools/source/filter/jpeg/jpeg.cxx
Change-Id: Icda84dad6b5a8395f8592fdba479b194d4cc7ff7
|
|
Patch-by: hdu, orw
(cherry picked from commit 7b6990763f759f2de1902f8d22a22eb8e66797f7)
Conflicts:
vcl/win/source/gdi/salbmp.cxx
Change-Id: I106efb3960cb99367d2ecefb8bcae006f389e271
Corrected static_cast which does not work on Win compiler
reinterpret cas needed (base classes are not related)
(cherry picked from commit 99e4d3a57f88f71c47f1e519bde13080f0df3041)
Change-Id: I02fc89d1ab346231985c68d63d9710c036d2ab2a
|
|
Change-Id: Ia3e12c18a30e5aa0f37db5035cd308b06b2b5655
|
|
Change-Id: I1aa89a8d6f712abb4f768a413ebac29e14612484
|
|
* Remove EMFP_DEBUG with OSL_DEBUG conditional defines and SAL_INFO
* While we are about it, to help with troubleshooting metafile
issues, add another vcl.emf area to log-areas.dox
* Improve error handling when processing an EMF header:
+ replace variable name nsal_uInt32 (!!) with sane variables
to make the code more readable
+ check to ensure that type field is 0x1, which is all it can be
for metafiles
+ check that signature field is set to ASCII-encoded value "FME"
+ loose check of version field to see if it is 0x00010000
+ warn if record count is zero - that really shouldn't be possible
+ check bytes field in header to make sure it correlates to the
actual size of the metafile
+ additional check - [MS-EMF] states that reserved field should be
zero, and ignored... but we can use this to check for file
corruption - not 0, not correct!
* Quite a few more comments in the code to clarify the intended
structure of a metafile, per [MS-EMF] documentation
Change-Id: Id4ed486b2dd0c6e7bdee67cb344aaaf8e8d98f84
Reviewed-on: https://gerrit.libreoffice.org/3839
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
|
|
unify the various c-string compares and hashes.
(cherry picked from commit b7e3470a154538a92f0a21b14e726d75723f4a92)
Conflicts:
oox/inc/oox/export/shapes.hxx
oox/source/export/shapes.cxx
sal/inc/rtl/string.hxx
sdext/source/minimizer/pppoptimizertoken.cxx
svx/source/customshapes/EnhancedCustomShapeTypeNames.cxx
vcl/source/glyphs/gcach_ftyp.cxx
writerfilter/source/resourcemodel/TagLogger.cxx
xmloff/source/draw/EnhancedCustomShapeToken.cxx
Change-Id: Ib742744077bfb4d38a462d88b44bdef45601b4ae
|
|
Change-Id: Iddcf995b079867cf14454d28c363efacc0323ae8
|
|
(cherry picked from commit feb1be19817d10e0ed1a18bada9c917f2a4532db)
Change-Id: I9e6ddcf04047bdc905f00b709db84459112122db
|
|
before converting to SpinbuttonValue or ScrollbarValue
Else problems like #i112873# or even crashes can and do happen.
(cherry picked from commit d2fde1d34c3c28572b1b6b4780269c15dd4c2bef)
Conflicts:
vcl/unx/kde/salnativewidgets-kde.cxx
Change-Id: I6429205ab41b3194577bc50aa02384c920e11ed2
|
|
Change-Id: I31b95844234135d14f117ae74124350eedf7d20a
|
|
It should have been nExtDescent + pMetric->mnDescent, but then the whole
thing does not make any sense; why add the descent to the leading and
then calculate the leading by subtracting the descent! (well, the ATSUI
code was doing this but it makes no sense either).
Just use CTFontGetLeading() directly.
Change-Id: Ia54648f6c02c11359865f4aa6476adf40b27f906
|
|
Change-Id: Ie94e6d0acdfbb11801bc974b9ed37133df964245
|
|
Change-Id: Id18a1f1053ec55f910152440a7e7a2eea4d44b3a
|
|
added from symphony, also BMP_SCALE_LANCZOS, BMP_SCALE_BICUBIC,
BMP_SCALE_BILINEAR and BMP_SCALE_BOX.
Changed defaults for internal scalings, enhanced PDF export when reduched DPI
is used, added BMP_SCALE_BESTQUALITY and BMP_SCALE_FASTESTINTERPOLATE as new
default for Bitmap::Scale
(cherry picked from commit bf734a151dc5169b65cf5d2a127e4142b765326c)
Conflicts:
canvas/source/vcl/canvasbitmaphelper.cxx
canvas/source/vcl/canvashelper.cxx
sd/source/ui/slidesorter/cache/SlsGenericPageCache.cxx
vcl/inc/vcl/alpha.hxx
vcl/inc/vcl/bitmap.hxx
vcl/inc/vcl/bitmapex.hxx
vcl/source/gdi/bitmap3.cxx
vcl/source/gdi/impgraph.cxx
vcl/source/gdi/pdfwriter_impl2.cxx
vcl/source/helper/canvasbitmap.cxx
(cherry picked from commit 593c86280b64d97725adde0c0a0cc4f090fb2310)
Change-Id: I41cf0a7e11bdbc6510e22e762486420995ba739b
|
|
Implicit conversions are a dangerous cause of confusion as seen
in http://markmail.org/thread/a4copx2di7cxeowg and require tricky
rewrites to work around them, this change cleans them up and
disables them.
(cherry picked from commit 2d9d5c8d6beb7fb0a7dafa0c1c4d10a25d7200fd)
Conflicts:
filter/source/graphicfilter/egif/egif.cxx
filter/source/graphicfilter/epbm/epbm.cxx
filter/source/graphicfilter/epgm/epgm.cxx
filter/source/graphicfilter/ipbm/ipbm.cxx
filter/source/graphicfilter/ipsd/ipsd.cxx
sd/source/ui/slidesorter/view/SlsButtonBar.cxx
svtools/source/filter/igif/gifread.cxx
svtools/source/filter/jpeg/jpeg.cxx
svtools/source/filter/wmf/winwmf.cxx
svtools/source/graphic/grfmgr2.cxx
vcl/inc/vcl/bmpacc.hxx
vcl/inc/vcl/salbtype.hxx
vcl/source/gdi/bitmap.cxx
vcl/source/gdi/bitmap3.cxx
vcl/source/gdi/outdev2.cxx
Change-Id: I1d163c66782c2750aeee00725dbb2b614507c0d4
(cherry picked from commit ff80c37b18b941712fb967a0c1d48813b47c0583)
|
|
And use RTL_CHAR_{CR,LF} from rtl/string.h
Conflicts:
vcl/source/app/dbggui.cxx
Change-Id: I05b0325006845e48eb5483485a9042aa7b0cd22a
Reviewed-on: https://gerrit.libreoffice.org/3740
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
|
|
Change-Id: I7c0c9158eb17cb79ffceae6770b4c513d57b3817
Reviewed-on: https://gerrit.libreoffice.org/3831
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Change-Id: I4835adb15e2a9494d0080eeee80158c98981d7cc
|
|
Change-Id: I6a68b2df3a5bd4076e07729b675179e52f4f0615
|
|
Change-Id: I138cdcb29b4e38211feb9e2d6a81a6ecb1688084
|
|
...to revert a206bc22623caba30c0285fda0fe0da8879efea3 "avoid warnings about
deprecated decls. from glib2" in my Fedora 18 environment, it /does/ fail now
post 98ba9ca066fcf8f1e576eac4bbd5731b4f810c74 "Revert 'avoid warnings about
deprecated decls. from glib2.'"
Change-Id: I42d118c06665c976a26a2dbfedc31ca4c8bcf0cc
|
|
This reverts commit a206bc22623caba30c0285fda0fe0da8879efea3. While removing
the GLIB_DISABLE_DEPRECATION_WARNINGS defines does not lead to problems at least
with my current Fedora 18 environment (and, according to dtardon, "guessing by
the date, it was on f16 or f17" where that fix was relevant), having the defines
does cause -Werror=unused-macros at least in one RHEL 6 environment.
So I'm reverting for now, in the hope that should any warnings re-appear, they
can be addressed by applying the recent s/-I/$IFLAGS/ approach to GTK_CFLAGS in
configure.ac.
Change-Id: I5a3e4efabb88eb06304dd8b9eee6d8867fd77be5
|
|
Dropped XComponent from merged interface because noone is using it.
Change-Id: Id22c49e63679f42d86f617a919fdfd7cea4d5381
|
|
Change-Id: Id195be7968ab256e44271cad00fa8b5cac8698b4
|
|
Change-Id: If15cd2ac23bf76aa79ee8134ee0fb97c64d747c3
|
|
Change-Id: Ic59060818bf02a402610613a6bc97c5969a5c461
|
|
Seems with the extensive drawinglayer rework, we now get bitmap
fills rendered via clip polygon and subsequent bitmap tiles. To
get the true bound rect of the current metaaction, clip it against
outdev's clip region bounds (as some reasonably cheap best-effort
approximation).
Change-Id: I4ecf04e2d94da21acc97362a1a65a965c7176077
|
|
Instead include generated headers directly from workdir.
Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
|
|
Change-Id: Ia583cfe1d123903ac8f61ad4a224364af7c77ef7
|
|
This reverts commit eacf12eeb174e35a301570726bf74434a4dd4b94.
Appears to be broken.
Conflicts:
vcl/source/filter/graphicfilter.cxx
Change-Id: I9ae3fbac2e7e9d08484c063cdb10e080ca89def2
|
|
Change-Id: I4581026627fe509895d471f5c28089aaaee85f58
|
|
HarfBuzz integration should be functional now, so to give it more wider
testing it is made now a required dependency on non-Windows non-Mac OSs.
By default text layout is now done by HarfBuzz but ICU LayoutEngine is
kept as a fallback and can be enabled with SAL_USE_ICULE env variable.
After 4.1.x is branched, ICU LayoutEngine should be removed completely.
Change-Id: I4fe3beeaf6092f33dd436906c11b83aeafdfbd5d
|
|
It turns out storing the width in the layout is not so good idea,
because in some mysterious cases when font fallback is involved we call
GetTextWidth() without calling LayoutText() first, and we return the
width of the previous text run.
It seems all I needed is to pass down the X offset with the glyph item,
and take it into account when calculating the width.
Change-Id: Idbdb6bba00573fb6ca773701757d667e21ac0912
|
|
Change-Id: I7881af8907c0735e4d8e8c327103c8d8488ec496
|
|
...uses of which had been introduced with
2fab32e831fc02e7efd4069aa0dfc7779d97a9cf "mtclip01: #i112022# Allow extended
clipboard creation" but which did not introduce any implementations of those
services, so this might have been a hook for StarOffice-only functionality.
Change-Id: I4d3c977547147aaca78b6079d1df8fbf6b196650
|
|
Mechanical removal of usage together with OUString ctor, done
by compiler plugin.
Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
|
|
This reverts commit 135d20caa4178c3a6d7682b547c5da6d58310f01.
Conflicts:
vcl/source/window/window.cxx
There is no implementation of the SystemClipboardExt service, so Window::GetClipboard
would now always fail with catching an Exception, instead of trying to create a
SystemClipboard if SystemClipboardExt is unavailable. (I'll clean up the unused
SystemClipboardExt in a follow-up commit.)
Change-Id: Ic3c45b148057e174d3487aedb4176549cb28f3c0
|
|
9041dac37f912a6f183be9f6b6558f1ef44280c0. The correct fix was
f4227c822c7f5a4e1e1b3b4e096cb63cf710a3f1 "Blind fix for MSVC, take two."
Change-Id: I6c319a0f7a1d3dbcffbd4be8ac02682e5fdd7802
|
|
Change-Id: Icb807382eaf50f515f2c9dfada0c061414baed33
|
|
Change-Id: I9719b43dbf98cfca29638f54cc907e48c7ad28b7
|
|
Change-Id: I65a4399de203e02b8fc90c7d2e4c783d5c156de5
|
|
Change-Id: If6bebe0d2dfb30c3fffd0fb284cd766e3f315b49
|