[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

--- Comment #15 from Frank Steiner  ---
There is no need to do that as the reason for this changed rendering has become
clear in the meantime. After asking at the developers list I was pointed to the
file vcl/unx/generic/gdi/cairotextrender.cxx

After anaylzing the code it is obvious that as long as one cannot disable
subpixel positioing in cairo (and there seems to be no way to do that in Linux)
the code enforces CAIRO_HINT_STYLE_SLIGHT as hint style if it has been set to
MEDIUM or FULL by the user.

But for rendering Microsoft fonts like Arial in their thin version one needs
either CAIRO_HINT_STYLE_MEDIUM or CAIRO_HINT_STYLE_FULL. This can be set in
Linux via ~/.Xresources, using "Xft.hinting: hintmedium/hintfull" (fontconfig
will not work for this), but the code in cairotextrender.cxx reverts it to
hintslight, and that causes Arial etc. to become bolder.

So, either there has to be a way to disable subpixel positioning in Linux, or
the LO code must be changed to accept the users choice of hintmedium/hintfull.

I asked on the list if devs might consider to change the code accordingly to
allow the user to choose the hinting style again (is was before 7.5.x) but
didn't get an answer yet.

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

BogdanB  changed:

   What|Removed |Added

 CC||buzea.bog...@libreoffice.or
   ||g
 Blocks||71732


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 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

--- Comment #14 from Buovjaga  ---
Frank: you might try bibisecting this with the Linux 7.5 repository:
https://wiki.documentfoundation.org/QA/Bibisect
https://wiki.documentfoundation.org/QA/Bibisect/Linux
https://bibisect.libreoffice.org/linux-64-7.5

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

Buovjaga  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

--- Comment #13 from Eric99  ---
I have the same problem on Ubuntu Mate 20.04 with Libreoffice 7.5.7. It's the
same on version 7.6.2.
Best regards,
Eric99

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

--- Comment #12 from Eric99  ---
Je rencontre le même souci sous Ubuntu Mate 20.04 avec Libreoffice 7.5.7. C'est
la même chose sur la version 7.6.2
Cordialement,
Eric99

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

--- Comment #11 from Frank Steiner  ---
Just realized that it also depends on your fontconfig settings. On my system, a
file in in /etc/fonts/conf.d set the autohint mode to "false" for Arial. When I
change that to true, Arial looks bold even with interpreter-version=35.

So, the sharper and leaner display for Arial (and all other MS fonts and
Anonymous Pro) is used only with autohinter disabled and interpreter-version=35 

Maybe Libreoffice > 7.4.7 has decided to enforce autohinter mode to all
truetype fonts no matter what the fontconfig settings are?

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

--- Comment #10 from Frank Steiner  ---
I just tested with the 7.4.7 you can download from
https://www.libreoffice.org/download/download-libreoffice/
Anyway, the effect is way more visible with the microsoft fonts, so maybe your
distro has a package for fetching those. "fetchmsttfonts" on opensuse or
ttf-mscorefonts-installer on ubuntu for example.

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

--- Comment #9 from Buovjaga  ---
Tried 35 and 40 with Anonymous Pro in the oldest of Linux 7.4 bibisect
repository, but there is no difference. So I can't compare it with the present
state. Hopefully someone else is able to do it.

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

--- Comment #8 from QA Administrators  ---
[Automated Action] NeedInfo-To-Unconfirmed

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

--- Comment #7 from Frank Steiner  ---
Created attachment 189956
  --> https://bugs.documentfoundation.org/attachment.cgi?id=189956=edit
apro.png: AnonymousPro font with interpreter version 35 and 40

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

--- Comment #6 from Frank Steiner  ---
It shows with all Microsoft fonts (Andale, Arial, Times New Roman etc.),  that
we use most of the time due to the exchange of documents with our Windows
users.

Apart from those I've found only one other font:

/usr/share/fonts/truetype/AnonymousPro-Regular.ttf

which is from google-anonymouspro-fonts.rpm. This font can be downloaded either
from  https://www.marksimonson.com/fonts/view/anonymous-pro or from
https://fonts.google.com/specimen/Anonymous+Pro, and although the font files
are different in both downloads, they look the same.

The difference between interpreter version 35 and 40 is not as remarkable as
with the Microsoft fonts, but it is visible, see apro.png
Hope that helps!

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

Buovjaga  changed:

   What|Removed |Added

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

--- Comment #5 from Buovjaga  ---
Can the difference be seen in any non-Microsoft font? I could not see a
difference in 7.4 with Liberation Sans. Would be easier to test, if you
provided the information.

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

2023-10-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=157348

Buovjaga  changed:

   What|Removed |Added

 Attachment #189711|0   |1
is obsolete||

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

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

--- Comment #4 from Frank Steiner  ---
Sorry, I messed things up trying to attach the first attachment while opening
the bug. Please ignore the " Libreoffice 7.4.7, interpreter-version 35"
attachment, it shows the wrong file. The three correct attachments are:

Libreoffice 7.4.7, interpreter-version 35 (correct version): 
This shows how arial font looks like with 
FREETYPE_PROPERTIES="truetype:interpreter-version=35". You can see that the
font is slim and that's how it used to be in all versions before 7.5.6.

Libreoffice 7.4.7, interpreter-version 40:
That's how aria looks like with
FREETYPE_PROPERTIES="truetype:interpreter-version=40". Too bold for our users,
that's why we've been using the interpreter-version=35 for years.

Libreoffice 7.5.6, interpreter-version 35 and 40:
In LO 7.5.6 and 7.6.1 arial looks like this, no matter if FREETYPE_PROPERTIES
is set to interpreter-version=35 or 40. So there is no way to get the slim
version of many fonts back.

These bolder fonts really don't look nice to our users in most of our
documents, so it would be great if libreoffice could restore support for the
FREETYPE_PROPERTIES="truetype:interpreter-version=35" setting.

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

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

--- Comment #3 from Frank Steiner  ---
Created attachment 189714
  --> https://bugs.documentfoundation.org/attachment.cgi?id=189714=edit
Libreoffice 7.4.7, interpreter-version 35 (correct version)

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

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

--- Comment #2 from Frank Steiner  ---
Created attachment 189713
  --> https://bugs.documentfoundation.org/attachment.cgi?id=189713=edit
Libreoffice 7.5.6, interpreter-version 35 and 40

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

[Libreoffice-bugs] [Bug 157348] Bad font rendering with 7.5 and higher because freetype interpreter-version is ignored

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

--- Comment #1 from Frank Steiner  ---
Created attachment 189712
  --> https://bugs.documentfoundation.org/attachment.cgi?id=189712=edit
Libreoffice 7.4.7, interpreter-version 40

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