|
Revision tags: libreoffice-24-8-branch-point |
|
| #
976b16b1 |
| 07-Jun-2024 |
Jonathan Clark |
152024 Diacritics cut off at top and bottom of paragraph This change fixes issues causing Writer to clip paragraphs at the ascent of the top line, and descent of the last line, of a
152024 Diacritics cut off at top and bottom of paragraph This change fixes issues causing Writer to clip paragraphs at the ascent of the top line, and descent of the last line, of a paragraph. This issue caused certain diacritics to render incompletely, or not at all. Change-Id: I99a3a25335f8b1d798fc8a55ff42d5c78749fca4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/168557 Tested-by: Jenkins Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
show more ...
|
| #
ab0a4543 |
| 07-May-2024 |
Jonathan Clark |
124116 Correct Writer text shaping across formatting changes Previously, Writer performed shaping for each span of text separately. In certain situations, this caused incorrect glyph
124116 Correct Writer text shaping across formatting changes Previously, Writer performed shaping for each span of text separately. In certain situations, this caused incorrect glyph use, or incorrect glyph positioning. This change updates Writer so it will also consider neighboring text while performing shaping. This change resolves the outstanding duplicates filed against 61444. As a side effect, this change also fixes 134226. In addition to the shaping fix, this change implements rendering for individually-styled glyphs, which is required to fix 71956. However, this change does not implement diacritic selection, which is also required for that issue. Change-Id: Iab4774ffaab5ad6113778c54d02cb260a70c1010 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167699 Reviewed-by: Jonathan Clark <jonathan@libreoffice.org> Tested-by: Jenkins
show more ...
|
| #
2092df2a |
| 17-May-2024 |
Mike Kaganski |
161154: pass "scaling is done externally" information down the stack VclProcessor2D::RenderTextSimpleOrDecoratedPortionPrimitive2D does the scaling, taking into account the font scal
161154: pass "scaling is done externally" information down the stack VclProcessor2D::RenderTextSimpleOrDecoratedPortionPrimitive2D does the scaling, taking into account the font scaling. Before commit 8557ea84c9336ba8061246f1f46ddb6e02f413a1, D2DWriteTextOutRenderer was doing own scaling in addition, but it seems that it somehow didn't affect the result much. The said commit removed the scalng from D2DWriteTextOutRenderer. As 160901 demonstrated, the scaling is necessary in different code paths - and it turns out, that we need to know, if the caller does its own scaling or not, to make a decision, if the scaling should be fone in D2DWriteTextOutRenderer. This hack passes this from VclProcessor2D to D2DWriteTextOutRenderer through OutputDevice. Thanks to Miklos for the isea. I still don't understand, why all this seemingly doesn't affect other renderers. Change-Id: I001036f4574898b8e7606652525638df43c35240 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167786 Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Tested-by: Jenkins
show more ...
|
| #
30d376fb |
| 29-Apr-2024 |
Jonathan Clark |
61444 Correct Writer text layout across formatting changes Previously, Writer performed text layout for each span of text separately. This caused incorrect kerning when the text styl
61444 Correct Writer text layout across formatting changes Previously, Writer performed text layout for each span of text separately. This caused incorrect kerning when the text style changed mid-word, for example by highlighting or changing the color of a single letter. This change updates Writer so it will also consider neighboring text while performing text layout. Change-Id: I511096c009343f39cc1b9ba745909c5b8cbad86f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167016 Tested-by: Jenkins Reviewed-by: Jonathan Clark <jonathan@libreoffice.org>
show more ...
|
| #
089398e5 |
| 18-Apr-2024 |
Mike Kaganski |
Return double from OutputDevice::GetTextArray And introduce GetTextWidth / GetTextHeight variants returning double. It allows to avoid premature rounding. At least in one case -
Return double from OutputDevice::GetTextArray And introduce GetTextWidth / GetTextHeight variants returning double. It allows to avoid premature rounding. At least in one case - testTdf145111_anchor_in_Fontwork - it allowed to make the test DPI-independent (at least in my testing on Windows, using 125, 150, and 175% UI scaling). Change-Id: I973d2c729ec6bb7114b4f99b9027f1ead7c1d061 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166237 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
show more ...
|
| #
2642643e |
| 10-Apr-2024 |
Mike Kaganski |
160622: Let SalLayout::GetBoundRect return basegfx::B2DRectangle This avoids premature rounding in TextLayouterDevice::getTextBoundRect. The box in D2DWriteTextOutRenderer::performRe
160622: Let SalLayout::GetBoundRect return basegfx::B2DRectangle This avoids premature rounding in TextLayouterDevice::getTextBoundRect. The box in D2DWriteTextOutRenderer::performRender needs to be expanded to allow room for the line width (which now will be guaranteed on all sides; previously, the rounding could happen to give no room on some side, even prior to commit 8962141a12c966b2d891829925e6203bf8d51852). Fixes some lines partially cut off in smaller text (or zoomed out). Change-Id: I07335136021f894cf045363b4d736bfab06c64d4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/166236 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
show more ...
|
| #
acd40306 |
| 14-Mar-2024 |
Noel Grandin |
reduce symbol visibility in vcl Change-Id: Ifaa37246e79678aa0c548b9ca8a9faf8036b9195 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164804 Tested-by: Jenkins Reviewed-by: N
reduce symbol visibility in vcl Change-Id: Ifaa37246e79678aa0c548b9ca8a9faf8036b9195 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164804 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
show more ...
|
|
Revision tags: libreoffice-24-2-branch-point |
|
| #
2c6f28f4 |
| 17-Sep-2023 |
Gabor Kelemen |
146619 Recheck include/[v-x]* with IWYU Change-Id: I3cecd622aa04d842a449b4bfd6c55d0b8b96aabf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156992 Tested-by: Jenkins Re
146619 Recheck include/[v-x]* with IWYU Change-Id: I3cecd622aa04d842a449b4bfd6c55d0b8b96aabf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156992 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
show more ...
|
| #
042dc4a9 |
| 09-Nov-2023 |
Chris Sherlock |
vcl: add unit tests for a mixture of CJK and latin characters To influence the fallback fonts chosen, I have introduced a new OutputDevice function ForceFallbackFont() which injects ("fo
vcl: add unit tests for a mixture of CJK and latin characters To influence the fallback fonts chosen, I have introduced a new OutputDevice function ForceFallbackFont() which injects ("forces") a font as the first one in the font fallback chain. Change-Id: I05856cbe829fde0eb140bb48a37795a84d780900 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159221 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
show more ...
|
| #
41e00b10 |
| 24-Sep-2023 |
Chris Sherlock |
vcl: migrate text layout functions out of OutputDevice OutputDevice is not where text layout should be done. There are a number of text layout functions that are used across the text lay
vcl: migrate text layout functions out of OutputDevice OutputDevice is not where text layout should be done. There are a number of text layout functions that are used across the text layout classes, so I have moved them into TextLayoutHelper and made the text layout classes rely on this. I have made TextLayoutHelper implement the ITextLayout interface because this is still useful to new classes that need to implement new text layout functionality. Change-Id: Ic137a938576e7a6a64db0e5780bbbdd8342ef421 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157362 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
show more ...
|
| #
6d1b241a |
| 11-Oct-2023 |
Stephan Bergmann |
Drop o3tl::span, can use C++20 std::span directly now Change-Id: Ic21ff7bf48f07f7277979d52e99d2c5c268de83f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157825 Tested-by: Jenk
Drop o3tl::span, can use C++20 std::span directly now Change-Id: Ic21ff7bf48f07f7277979d52e99d2c5c268de83f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157825 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
show more ...
|
| #
47c4d0fb |
| 23-Sep-2023 |
Chris Sherlock |
vcl: remove rTargetDevice from OutputDevice::ImplGetEllipsisString() Change-Id: I886510af06bbfb77e24ea004cc3abfd6ff3a8832 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157194
vcl: remove rTargetDevice from OutputDevice::ImplGetEllipsisString() Change-Id: I886510af06bbfb77e24ea004cc3abfd6ff3a8832 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/157194 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
show more ...
|
| #
fb43c497 |
| 16-Aug-2023 |
Khaled Hosny |
134193: Support rendering math in RTL mode Respect IsRightToLeft property and render accordingly. This also fixes math rendering in RTL UI, which was incorrectly rendered RTL.
134193: Support rendering math in RTL mode Respect IsRightToLeft property and render accordingly. This also fixes math rendering in RTL UI, which was incorrectly rendered RTL. Change-Id: Id8520930f09a21daa1c70e40a765ac25572ea994 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155738 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
show more ...
|
| #
e7496f41 |
| 25-Aug-2023 |
Patrick Luby |
150610 fix broken rendering of text meta actions Even when drawing to a VirtualDevice where antialiasing is disabled, text will still be drawn with some antialiased pixels on HiD
150610 fix broken rendering of text meta actions Even when drawing to a VirtualDevice where antialiasing is disabled, text will still be drawn with some antialiased pixels on HiDPI displays. So, expand the size of the VirtualDevice slightly to capture any of the pixles drawn past the edges of the destination bounds. Change-Id: Ibcba8234708d8784c12f984289ec0a8fcad6694e Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156098 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Patrick Luby <plubius@neooffice.org>
show more ...
|
| #
21013c46 |
| 19-Jul-2023 |
Khaled Hosny |
156377: Improve cursor traversal in UI widgets Re-implement GetCaretPositions() on top of GetCharWidths() so it can benefit from our code that handles cursor insertion in middle of
156377: Improve cursor traversal in UI widgets Re-implement GetCaretPositions() on top of GetCharWidths() so it can benefit from our code that handles cursor insertion in middle of ligatures. Change-Id: I2b76b3b0125f2454f78cb6779d88617dc29386fe Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154660 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
show more ...
|
| #
11b513da |
| 19-Jul-2023 |
Khaled Hosny |
vcl: Drop now unneeded DevicePoint typedef It has been always typedef'd to basegfx::B2DPoint since: commit 5e218b5c51f7d9cd10bd9db832879efca41b9c75 Date: Wed Jan 12 21:19:32 2
vcl: Drop now unneeded DevicePoint typedef It has been always typedef'd to basegfx::B2DPoint since: commit 5e218b5c51f7d9cd10bd9db832879efca41b9c75 Date: Wed Jan 12 21:19:32 2022 +0000 always use B2DPoint for DevicePoint Change-Id: I9f5202d5a71c77dd79f1759923917c26bf68a9af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154632 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
show more ...
|
| #
2ce3398d |
| 19-Jul-2023 |
Khaled Hosny |
vcl: Drop recently unused OutputDevice::LogicWidthToDeviceCoordinate() Change-Id: Iff87edfcfa46258236c24bd8f88b552fe9db8891 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154608
vcl: Drop recently unused OutputDevice::LogicWidthToDeviceCoordinate() Change-Id: Iff87edfcfa46258236c24bd8f88b552fe9db8891 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154608 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
show more ...
|
| #
ee2238aa |
| 19-Jul-2023 |
Khaled Hosny |
vcl: Use double for width in OutputDevice::ImplDrawTextLine() Change-Id: Ia6bde62b20e87d7ce3c15b0e915a0c6ecc02c393 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154607 Tested-
vcl: Use double for width in OutputDevice::ImplDrawTextLine() Change-Id: Ia6bde62b20e87d7ce3c15b0e915a0c6ecc02c393 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154607 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
show more ...
|
| #
172b500c |
| 16-Jul-2023 |
Khaled Hosny |
vcl: Use more doubles for text measurements Change-Id: I5695d9ab51eb09929b4c290ceaf7ae2be46f5989 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154504 Tested-by: Jenkins Re
vcl: Use more doubles for text measurements Change-Id: I5695d9ab51eb09929b4c290ceaf7ae2be46f5989 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/154504 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
show more ...
|
|
Revision tags: libreoffice-7-6-branch-point, libreoffice-7-5-branch-point |
|
| #
f896bbcf |
| 21-Sep-2022 |
Tomaž Vajngerl |
basegfx: replace typedef with a class B2ISize based on Size2D Change-Id: Iaf7d02bb236f81a38a67a1430a718b6c3c78efae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139708 Tested-
basegfx: replace typedef with a class B2ISize based on Size2D Change-Id: Iaf7d02bb236f81a38a67a1430a718b6c3c78efae Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139708 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
show more ...
|
| #
4ceac7d6 |
| 08-Jun-2023 |
خالد حسني |
Revert "151968: Fix vertical position of RTL spelling wavy line" This reverts commit 5899b27e71430e490c2d3a6b87ae52c10f383ba7. Reason for revert: 155001 Change-Id:
Revert "151968: Fix vertical position of RTL spelling wavy line" This reverts commit 5899b27e71430e490c2d3a6b87ae52c10f383ba7. Reason for revert: 155001 Change-Id: I95d21689a50f6413a7b5c126d6eb6b2c8802fbc2 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/152752 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org>
show more ...
|
| #
5899b27e |
| 22-Feb-2023 |
Khaled Hosny |
151968: Fix vertical position of RTL spelling wavy line The code was guessing orientation based on the start and end points and mistakenly considered Arabic text to be 180° rotated w
151968: Fix vertical position of RTL spelling wavy line The code was guessing orientation based on the start and end points and mistakenly considered Arabic text to be 180° rotated which ended up raising the wavy line above baseline and covering the RTL text. Use font orientation instead of guessing it. Caching wavy line seems broken with RTL text as well (it was skipped for RTL before because of the wrong guessed orientation, so probably never worked), so we skip it explicitly as well for now. Change-Id: I4b0f5c4d6be2c6e3d33ea79b917b14927374acfa Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147488 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@aliftype.com>
show more ...
|
| #
d3a5a97f |
| 30-Nov-2022 |
Andrea Rosetti |
114441 Convert sal_uLong to a better type Used sal_Int32 instead of sal_uLong Change-Id: I229c4e59054b3aa1885698d1cd5332ebd9d162d6 Reviewed-on: https://gerrit.libreoffice.or
114441 Convert sal_uLong to a better type Used sal_Int32 instead of sal_uLong Change-Id: I229c4e59054b3aa1885698d1cd5332ebd9d162d6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143513 Tested-by: Jenkins Reviewed-by: Hossein <hossein@libreoffice.org>
show more ...
|
| #
f9395a12 |
| 29-Nov-2022 |
Caolán McNamara |
152094 retain more accuracy from RefDevMode::MSO1 do it like this to avoid adding another mapmode and to keep things "the same" as much as possible Change-Id: I1965aa545646f
152094 retain more accuracy from RefDevMode::MSO1 do it like this to avoid adding another mapmode and to keep things "the same" as much as possible Change-Id: I1965aa545646f2d27b950d6335b2f608c3e4e04b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143475 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
show more ...
|
| #
cf551bf2 |
| 30-Nov-2022 |
Caolán McNamara |
cairo_surface_t shouldn't appear in outdev.hxx Change-Id: I906fb6525e20933f4611b3e2d81bf3524fbaf0a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143544 Tested-by: Jenkins
cairo_surface_t shouldn't appear in outdev.hxx Change-Id: I906fb6525e20933f4611b3e2d81bf3524fbaf0a4 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143544 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
show more ...
|