Age | Commit message (Collapse) | Author |
|
Change-Id: Iea8c3f881a3ddfeaed4f4dca5d66dbe1716b8ce0
|
|
Introduce BitmapFilter as a general bitmap filtering class, and
make scale "super" algorithem independent as BitmapScaleSuper
which uses BitmapFilter as superclass.
This is an ongoing work to make some bitmap algorithms structured
and more independent from the big bitmap class This will make them
easier to work with, test and optimize.
Change-Id: I37d29709b2af95cab2f6da21129302f5be79318b
|
|
in CoreText
by doing the calculation before CTLineDraw() updates the text position.
Requesting the update early is possible because that update region is
not used until AquaSalInstance::Yield().
(cherry picked from commit ee042661b996fd00d5504caf4f4be60f77bf880f)
Conflicts:
vcl/aqua/source/gdi/ctlayout.cxx
Change-Id: I317a2068071a2f6d33f34c81e104e30beedc33db
|
|
(cherry picked from commit 513225be9cbadee6d8f7fd4e9910e10fc5ff571b)
|
|
in the CoreText engine
the concept of an extra-width per code-unit was obsolete at least since apps
supported unicode with its different normalization forms, diacritical marks,
surrogate-pairs, non-printing characters such as ZWJ/ZWNJ/RLM, etc. so of
course modern engines like CoreText don't aid this typographical crime.
The fix here extends the CTLayout::GetTextBreak() method to handle the obsolete
semantic of per code-unit extra-widths by successively approximating the number
of involved code-units.
(cherry picked from commit a9b9ceff86f35be1eeff5f251d24e338db760a1e)
Conflicts:
vcl/aqua/source/gdi/ctlayout.cxx
Change-Id: I52a7f7488a9e8a303ed7271df2a24a3c85098ce3
|
|
Rounding left and width down can accumulate a rounding error of almost two in
the calculation of right. The existing code compensates for this by increasing
the width by two, but since left has been decremented by one to accommodate for
antialiasing artifacts this compensation is one to few by itself and two to few
when accounting for antialiasing artifacts on the right. Y-pos and height have
the same problems and get the matching fix.
(cherry picked from commit 073ec69fb970830d39c8700317ee74dbbdfd1fda)
|
|
Change-Id: I73ff045699113778892db6a534433a70e0e9c8e1
|
|
Added header guards to files in directory vcl/
Change-Id: I76ad0c34f2b107d56e92c5a6a8f4c61554c93e2f
Reviewed-on: https://gerrit.libreoffice.org/9597
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Change-Id: I6cd75aa2a9db7219b2873d0b6516ef9df4fbe33d
|
|
We reuse the toolbox overflow menu for toolbarmanager's context
menu -- toolbarmanger previously added its menu listener to the
toolboxes menu permanently, meaning that it would try to handle
overflow menu items (in addition to the context menu items which
it should handle), instead we should only add the listener when
we are actually using the menu as a context menu.
Perhaps it would be better in the long run to actually use fully separate
menus instead, and ask toolbox to specifically add its items to that
rather than trying to hack the context menu on top of the overflow menu?
Change-Id: Iecface2c6eae9ab79dbcdb25ffdbaf446e2885ea
|
|
Change-Id: I0719451a3f2f8f8bf5e2d417252412f1e68b456e
|
|
Change-Id: Iea8323382f889705681236e364a9ef8b744fa9f2
|
|
Change-Id: I3b4d88f8e0a2f378878f29fbf799b795018b18b3
|
|
Change-Id: I1d15780d0128204f063a816df9df251b05ab93d2
|
|
Change-Id: Ib857f7c802b4ce65ec352b67e6acde59965c893a
|
|
...which does not make sense. On Linux and Mac OS X, they potentially end up
exported from multiple libs (weakly, though), while on Windows the potentially
even end up not emitted at all, which could cause link errors.
Change-Id: I092c9ba39e686c17b6e91581cdd4753f1c4d582f
|
|
It actually is so that the line is in the output PostScript; and it is even
visible sometimes when you zoom the file (like, when you are zooming
continuously, the line is appearing and disappearing).
I guess it is a corner case of the clipping, highly dependent on the exact
settings, so let's be more relaxed and clip a bit less (as we already do for
right/bottom).
Hopefully some other functionality does not depend on this exact clip
setting ;-)
Change-Id: I7080ad3ff730408296f9e9dec7a0b74ac4afca7d
|
|
This was keeping form controls (e.g. CheckBox and RadioButton) to
transition from flat style to 3d style, while the 3d-to-flat
transition was allowed, making flat some unescapable pit of doom.
Whatever the goal of that pinning, it will have to be achieved in a
different way.
Change-Id: Icc4dfb9673a7dfe4a7d8726fbfd23f75499f8b41
|
|
for CoreText-layouted text
(cherry picked from commit 42f9768f771457c53a9f1e6a3581b2df9856401f)
Conflicts:
vcl/aqua/source/gdi/ctfonts.cxx
vcl/aqua/source/gdi/ctfonts.hxx
vcl/aqua/source/gdi/ctlayout.cxx
vcl/source/gdi/outdev3.cxx
Change-Id: Ie2685ab80ca87ea72e25f18d02f883fb36c24a36
|
|
when throwing exceptions
Change-Id: I6edfb6b6745499f802b0e3c0e096a36fb7c32aac
|
|
Change-Id: I223e0587b5a82c1617a0e79a002472070d2d4402
|
|
Change-Id: I550616e1f6e63ac42103756014b1aa26cee5c21f
|
|
Change-Id: I8662b0c20dc719401eec3e3d2d852bb3e139a641
|
|
Change-Id: I5316693452427ed76a7738b090de023b110caa40
|
|
It's used in ImplFontCache::GetGlyphFallbackFont.
This is fix for commit a6b00d16eb27a5e7e31c721671001a909ecef960,
which caused huge performance regression for document in fdo#59882,
fortunately immediately detected by loperf.
Change-Id: I475742b5249f106d34c4f6c43b1e39e9bb7b897a
|
|
Change-Id: I84456e587897fd56626a823ef99f15db227f894f
|
|
Whee, seems hb has changed naming, with 0.9.11 it is spelled as
quoted. newer versions have a mapping in hb-deprecated.h ...
Change-Id: I425ded33e6b9928aadca9f6988437a021fcecbfb
|
|
30bb1eddba2b4a36b4354303ffcb37a3a15f38a6 originally incorrectly
changed some different 16bit numbers to 32bit, then
02abb559fb506e3d3911bbf058c9a60d28b0a3b5 reverted those 16bit->32bit
changes but accidentally changed the 32bit nAryLen to 16bit but
that was 32bit before 30bb1eddba2b4a36b4354303ffcb37a3a15f38a6
Change-Id: I36863b62418d7a3b5ccce51aef86c63c523f9598
|
|
Otherwise we never hit cache directly, only after expensive call to
ImplFindByFont.
Change-Id: If15b368feeba94c8fff8ee7cbe049fc4a2069768
|
|
Change-Id: I47582b072bb939cf270a76e430a9f7908b5c1d93
|
|
Change-Id: I5d5066413508a115f6b4c63b8b3dd19268f66574
|
|
Change-Id: I19f10c40151ebfea9b02bfe5df7c31b157188351
|
|
A simplified version of the semantic match that finds this problem is
follows: (http://coccinelle.lip6.fr/)
// <smpl>
@r1@
statement S;
position p,p1;
@@
S@p1;@p
@script:python r2@
p << r1.p;
p1 << r1.p1;
@@
if p[0].line != p1[0].line_end:
cocci.include_match(False)
@@
position r1.p;
@@
-;@p
// </smpl>
Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e
Reviewed-on: https://gerrit.libreoffice.org/9493
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
|
|
Change-Id: I2a2c3d6283c962bba2994de04bbd869a79fc2eca
|
|
Change-Id: I68d1c7bb32df9024ea57a07d7d3b051efc08b2ed
|
|
Change-Id: Icb7f692cdf03a77573379257b34400f38def71ec
|
|
Change-Id: I814869869bbc16a8bae94ef9c5deaeb97c13f03e
|
|
Change-Id: I3b8782ed7bbd782dbca52cd4bec46582a9b35271
|
|
Change-Id: I46736950563776bb4f5fefd71789010541e99e70
|
|
Change-Id: I41ce1398017c7c9ff7b24464250911c63b3e2c92
|
|
Change-Id: I3fff002919a1f15ae370c7d0c7f65e67108a6232
|
|
a few more ResId using ctors going away
Change-Id: Ic956bc179c094d19989bf850657471192d042a01
|
|
Change-Id: Ia4c2c52b8803cd36d7ed32be559ba446589377e7
|
|
Change-Id: I81f2a4be65bbc9359e51accccb746f1e8ea48c4f
|
|
Change-Id: Ibf9a7ef8edaa608aa0c13b8e4307e27a6789fa7d
|
|
Change-Id: I3265e26530183b2fc4fd7f67319f3dc124353c2e
|
|
Change-Id: If3d480bf3032ec2bd2edc62bb73dd93b00c2cbe7
|
|
Change-Id: I36c0d491bc27ff93c13b1c497e450646d7151df4
|
|
Change-Id: If87545df4b1caeece107a20e0c00df88fb8e6fd5
|
|
Change-Id: Ia53ac439c785e83de380fddd201ad4159f729cb2
|