[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5 and qt5 with Cairo, gtk3)

2023-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

Caolán McNamara  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |caolan.mcnamara@collabora.c
   |desktop.org |om
 Status|NEEDINFO|ASSIGNED

--- Comment #17 from Caolán McNamara  ---
alright, lets assume that all versions <= 1.17.8 are affected then

https://gerrit.libreoffice.org/c/core/+/157177

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5 and qt5 with Cairo, gtk3)

2023-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

--- Comment #16 from Stéphane Guillou (stragu) 
 ---
Thanks Caolán!

For Ubuntu 20.04:

libcairo2: 1.16.0-4ubuntu1
libfreetype6: 2.10.1-2ubuntu0.3

>From duplicate bug 154899 comment 4, Ubuntu 22.04 has libcairo2 1.16.0-5ubuntu2
(and libfreetype6 2.11.1+dfsg-1ubuntu0.2 according to packages.ubuntu.com).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5 and qt5 with Cairo, gtk3)

2023-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

--- Comment #15 from Stéphane Guillou (stragu) 
 ---
Thanks Caolán!

For Ubuntu 20.04:

libcairo2: 1.16.0-4ubuntu1
libfreetype6: 2.10.1-2ubuntu0.3

>From duplicate bug comment 4, Ubuntu 22.04 has libcairo2 1.16.0-5ubuntu2 (and
libfreetype6 2.11.1+dfsg-1ubuntu0.2 according to packages.ubuntu.com).

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5 and qt5 with Cairo, gtk3)

2023-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

Caolán McNamara  changed:

   What|Removed |Added

 Status|NEW |NEEDINFO

--- Comment #14 from Caolán McNamara  ---
though the code is now

// tdf#153699 skip this with cairo 1.17.8 as it has a problem
// See: https://gitlab.freedesktop.org/cairo/cairo/-/issues/643
if (cairo_version() != CAIRO_VERSION_ENCODE(1,17,8))
cairo_font_options_set_hint_metrics(pOptions, CAIRO_HINT_METRICS_OFF);

so it looks like it is disabled for that 1.17.8 version so maybe this needs to
be extended to some other known not-working versions of cairo?

So do we know that the versions of cairo are on the affected systems?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5 and qt5 with Cairo, gtk3)

2023-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

--- Comment #13 from Caolán McNamara  ---
It might depend on the version of cairo, or maybe freetype, or possibly both.
And might also depend on how freetype is configured.

Here with fedora 38

cairo-1.17.8-4.fc38.x86_64
freetype-2.13.0-2.fc38.x86_64

I don't think I see a problem with the final attachment

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5 and qt5 with Cairo, gtk3)

2023-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

Summary|font clipped at top pixel   |font clipped at top pixel
   |row at certain zoom-levels  |row at certain zoom-levels
   |(kf5)   |(kf5 and qt5 with Cairo,
   ||gtk3)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5)

2023-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 Attachment #184852|0   |1
is obsolete||

--- Comment #12 from Stéphane Guillou (stragu) 
 ---
Created attachment 189759
  --> https://bugs.documentfoundation.org/attachment.cgi?id=189759&action=edit
original ODT with font embedded (issue visible at 130% zoom)

Regarding the original sample document, I had to get the font from
https://www.fontyukle.net/font/Benjamin-Sans-Medium. Here it is again with the
font embedded, for good measure.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5)

2023-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 CC||dave.wagne...@gmail.com

--- Comment #11 from Stéphane Guillou (stragu) 
 ---
*** Bug 154899 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5)

2023-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 Status|NEEDINFO|NEW
   Keywords||bibisected, bisected,
   ||regression
 CC||caolan.mcnamara@collabora.c
   ||om
  Regression By||Caolán McNamara
 Blocks||71732
   See Also|https://bugs.documentfounda |
   |tion.org/show_bug.cgi?id=15 |
   |4899|

--- Comment #10 from Stéphane Guillou (stragu) 
 ---
Same bibisect as bug 154899 comment 2.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=71732
[Bug 71732] [META] Bugs related to text rendering, typography and font features
in LO
-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5)

2023-09-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

Stéphane Guillou (stragu)  changed:

   What|Removed |Added

 CC||stephane.guillou@libreoffic
   ||e.org

--- Comment #9 from Stéphane Guillou (stragu) 
 ---
Created attachment 189758
  --> https://bugs.documentfoundation.org/attachment.cgi?id=189758&action=edit
reproduced with Liberation Serif at 110% zoom

I just ran into this one in:

Version: 7.5.6.2 (X86_64) / LibreOffice Community
Build ID: f654817fb68d6d4600d7d2f6b647e47729f55f15
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Still current in:

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 91ca15e3f8ae13b22531745a634459a2d9b4596a
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

See in attachment that does not require extra fonts, look at "T" in the Text
Body paragraphs.
Affects gtk3, kf5 (cairo+xcb) and qt5 (cairo+xcb).

Bibisected with linux-64-7.5 repo to first bad commit
15c94da60665cd06f21c651a5be2a52af07c2539 which points to core commit:

commit  3f6677e9b610acf506e2d2d452f2e9252a1d3803
author  Caolán McNamara Tue Nov 29 20:23:44 2022 +
committer   Caolán McNamara Wed Nov 30 12:14:10
2022 +0100
turn cairo_font_options_set_hint_metrics back off again
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143473

Caolán, what do you think?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5)

2023-06-21 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

Aron Budea  changed:

   What|Removed |Added

   See Also||https://bugs.documentfounda
   ||tion.org/show_bug.cgi?id=15
   ||4899

--- Comment #8 from Aron Budea  ---
Possibly the same as bug 154899.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5)

2023-03-22 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

Buovjaga  changed:

   What|Removed |Added

 CC||ilmari.lauhakangas@libreoff
   ||ice.org
 Status|UNCONFIRMED |NEEDINFO
 Ever confirmed|0   |1

--- Comment #7 from Buovjaga  ---
You did not embed the font into the document. Please either embed or tell us
where we can download it. I tried this and did a test from scratch, but there
was no problem: https://www.1001fonts.com/benjamin-font.html

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 74f398bb58510087cc4a11bb2253715771a2c6b2
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 22 March 2023

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5)

2023-01-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

--- Comment #6 from goodgu...@zoho.com  ---
that might well be ... BUT:  it's still different between the LO versions on
the SAME kf5.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Libreoffice-bugs] [Bug 152675] font clipped at top pixel row at certain zoom-levels (kf5)

2023-01-23 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=152675

Telesto  changed:

   What|Removed |Added

Summary|font clipped at top pixel   |font clipped at top pixel
   |row at certain zoom-levels  |row at certain zoom-levels
   ||(kf5)

--- Comment #5 from Telesto  ---
I'm not seeing any problem.. maybe kf5 specific

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 37e3455a13ab5741104bf41d05a80e60a4612682
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.