[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2021-10-10 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

--- Comment #98 from Tor Lillqvist  ---
> This bug is marked as Mac related but I see the issue somehow on all platforms

Sure, but have you looked at the source code? LO uses different code on
different platforms to enumerate fonts and classify them. There might be bugs
in the code for one platform that doesn't as such exist identically on other
platforms.

But yeah, if bug reporters insist on mixing in issues seen on other platforms
in this bug, go ahead, this bug report is practically useless already with so
much noise.

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

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2021-10-09 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

Chris Sherlock  changed:

   What|Removed |Added

  Component|LibreOffice |graphics stack

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

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2020-01-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

--- Comment #97 from Heiko Robert  ---
This bug is marked as Mac related but I see the issue somehow on all platforms.
So what about having a common bug describing the generic issues related to the
LO code and three depending bug tickets describing the OS specific issues?

We use TrueType Font Titillium (https://fontain.org/titillium/) which has
similar issues like Fira Sans.

The generic issue I see is the way how LO retrives the font (family) names and
style names. Is there any pattern/logic we could describe here to identif the
wrong behavior? 

On Windows and Mac for most applications this is not an issue. Font family
names are retrived from TTF metadata (Preferred Family, Family, Postscript
Name) and similar Style names (Preferred Syles, Styles (SubFamily), OS/2 Style
Map, OS/2 Panose Weight, Postscript Weight).

Using LibreOffice 6.3.4.2

On Windows 10: 
* Font names seems to be retrieved from Postscript Family Name (I checked with
different locales - same result)
* Style names are quite unclear - some are translated from TTF Style names,
some from PS style names?
* Once I modified all PS family names to absolute names like "Titillium Lite",
"Titillium Black" instead of "Titillium" I was able to work with the font on
Windows since LO handles the fonts as different fonts. This also works on
printouts / created PDFs. Still unclear is how LO retrieves the font style. The
distinct font "Titillium Lite" should only contain one style "light" but
contains Standard, Italic, Bold, Italic Bold. How to force only the styles
contained in the font family name?

On MacOS 10.13 / Ubuntu 18: 
* Font names seem to be retrieved from TTF "Preferred Family" which is
different (!): "Titillium". As a consequence it is not possible to share LO
docs between Windows and MacOS/Linux becuase LO complains about missing fonts.
* Style "Thin" could be selected but style "Light" is used for display an
printout. I played with different OS/2 Panose Weight, Postscript Weight and
OS/2 weight classes without success. It seems there is a hardcoded issue to
distinguesh thin and light styles even the OS/2 weight classes differ (100,
200).

As a first step LO should retrieve the font family and font style name the same
way on all platforms. Of course then at least one platform has to translate
font names in existing documents but that is already the daily nightmare in
mixed OS environments.

Addtionally we should know how LO maps style names to the 10 possible variants
it supports. What are the priorities and which properties are relevant? Same
for special style variants regular/italic/bold - which property is used for the
LO style list? Understanding this logic would help uses to work around todays
restrictions by manipulating their fonts.

Long term LO should refactor the font style limitation by supporting unlimited
number of styles and to use "Preferred Family" and "Preferred Styles" from TTF
metadata if available.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2019-12-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

Tobias Hemm  changed:

   What|Removed |Added

 Attachment #156391|0   |1
is obsolete||

--- Comment #96 from Tobias Hemm  ---
Created attachment 156419
  --> https://bugs.documentfoundation.org/attachment.cgi?id=156419=edit
Font recognition in LibreOffice (locale USA and Germany) and Scribus

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2019-12-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

--- Comment #95 from Tobias Hemm  ---
I have to partly relativize what I said above: The "stew" came from
inconsistencies in the font files. I have adjusted the attached image
accordingly.

But what holds true is that, depending on the locale setting, LO accesses
different information in the font files.
It seems that, with the USA setting, LO accesses the information behind
"family" in the "TTF Names", and with the German setting, LO accesses the
information behind "Preferred Family".

At the moment, the way it is done by the USA setting is better because, as
another bug report stated, LO can only handle a limited amount of font
weights/styles. What that leads to is that different optical sizes are simply
not shown and thus unusable.

Therefore, it needs to be done either the "USA way" or the "Scribus way".
Scribus seems to access "Preferred Family" too, but it can handle more font
weights and styles.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2019-12-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

--- Comment #94 from Tobias Hemm  ---
Created attachment 156391
  --> https://bugs.documentfoundation.org/attachment.cgi?id=156391=edit
Font recogniction in LibreOffice Writer

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2019-12-07 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

--- Comment #93 from Tobias Hemm  ---
(In reply to giannis.sc from comment #86)

> I have initially installed Libreffice with the US locale and initially
> LibreOffice works fine recognize all fonts, weights and their families once
> I go into LibreOffice settings and attempt to change the language say from
> US to UK and upon restart it stops recognizing font families and weight. As
> soon I go back to the default then the problem is solved
> 
> Might be worth looking into
I have tested that, and it’s true:
With locale setting "German (Germany)", font families, optical sizes and styles
get recognized differently than with locale setting "Englisch (USA)" (see my
attached image below). Under the German settings, Optical sizes (Subhead,
Caption etc.) don’t appear at all. Under the USA settings, i get a
non-structured "stew".

As you can see in the attached image, both settings are not satisfying.
Either, everything should be summarized under one single Family (Adobe Jenson
Pro, Cecilia LT Pro), or all the Optical Sizes should have one entry (Adobe
Jenson Pro, Adobe Jenson Pro Cap, Adobe Jenson Pro Subh, Adobe Jenson Pro Disp)
with all the weights under them. Also widths (e.g. Condensed or Narrow) could
get a separate entry, but weights should never have one because they belong to
"Style".

Instead of writing a long manual about how I think it would best be done, I
highly recommend: Just look at how it is done in Scribus 1.5.5 (also see
image). Maybe it is possible to do it that way.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2019-12-02 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

Xisco Faulí  changed:

   What|Removed |Added

   Priority|high|highest

--- Comment #92 from Xisco Faulí  ---
Changing priority to 'highest' since this a regression and the number of
duplicates is higher than 5 or the number of people in CC higher than 20

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2019-11-29 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

Xisco Faulí  changed:

   What|Removed |Added

   Priority|medium  |high
   Severity|normal  |major

--- Comment #91 from Xisco Faulí  ---
Changing priority to 'high' since the number of duplicates is 5 or higher

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2019-09-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

Alex Thurgood  changed:

   What|Removed |Added

 CC||martin.reitba...@teambox.at

--- Comment #90 from Alex Thurgood  ---
*** Bug 127377 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2019-06-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

--- Comment #89 from Xisco Faulí  ---
*** Bug 124187 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2019-03-28 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

Alex Thurgood  changed:

   What|Removed |Added

 CC||estelond...@gmail.com

--- Comment #88 from Alex Thurgood  ---
*** Bug 124187 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2019-03-08 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

Alex Thurgood  changed:

   What|Removed |Added

 CC||m...@paolocesari.it

--- Comment #87 from Alex Thurgood  ---
*** Bug 123725 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2019-02-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

--- Comment #86 from giannis...@gmail.com ---
(In reply to Thomas Linard from comment #85)
> (In reply to giannis.sc from comment #84)
> > I seem to be having the same problem on Ubuntu and on Fedora and I stumbled
> > upon an interesting discovery.
> > 
> > My fonts are installed system-wide (/usr/share/fonts) and initially are all
> > recognized by libreoffice. Once I change the default language though, in my
> > case from English US to English UK the different font weight/families are
> > not recognized properly. 
> > 
> > The same happens with libreoffice installed from the repositories and from
> > flatpak.
> > 
> > I though you should know as it might help you determine the source of this
> > bug
> 
> Hi, you're right, this isn't a Mac only bug: Linux bug is bug 98596.

Well I know that it is not an Mac only bug. My point is I think i have found
the source of the bug. 

I have initially installed Libreffice with the US locale and initially
LibreOffice works fine recognize all fonts, weights and their families once I
go into LibreOffice settings and attempt to change the language say from US to
UK and upon restart it stops recognizing font families and weight. As soon I go
back to the default then the problem is solved

Might be worth looking into

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2019-02-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

--- Comment #85 from Thomas Linard  ---
(In reply to giannis.sc from comment #84)
> I seem to be having the same problem on Ubuntu and on Fedora and I stumbled
> upon an interesting discovery.
> 
> My fonts are installed system-wide (/usr/share/fonts) and initially are all
> recognized by libreoffice. Once I change the default language though, in my
> case from English US to English UK the different font weight/families are
> not recognized properly. 
> 
> The same happens with libreoffice installed from the repositories and from
> flatpak.
> 
> I though you should know as it might help you determine the source of this
> bug

Hi, you're right, this isn't a Mac only bug: Linux bug is bug 98596.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2019-02-24 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

--- Comment #84 from giannis...@gmail.com ---
I seem to be having the same problem on Ubuntu and on Fedora and I stumbled
upon an interesting discovery.

My fonts are installed system-wide (/usr/share/fonts) and initially are all
recognized by libreoffice. Once I change the default language though, in my
case from English US to English UK the different font weight/families are not
recognized properly. 

The same happens with libreoffice installed from the repositories and from
flatpak.

I though you should know as it might help you determine the source of this bug

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2018-08-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

Thomas Linard  changed:

   What|Removed |Added

 Blocks||119085


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=119085
[Bug 119085] Bundle the new "EB Garamond" font with LibreOffice
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2018-08-16 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

V Stuart Foote  changed:

   What|Removed |Added

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

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2018-08-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

Thomas Linard  changed:

   What|Removed |Added

 CC||xan...@mailbox.org

--- Comment #83 from Thomas Linard  ---
*** Bug 119116 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2018-07-27 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

Alex Thurgood  changed:

   What|Removed |Added

 CC||jrk1231...@nym.hush.com

--- Comment #82 from Alex Thurgood  ---
*** Bug 118897 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2018-07-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

--- Comment #81 from Thomas Linard  ---
(In reply to LibreTraining from comment #80)
> I think part of the problem is these are not looked at together.
> Some of the problems appear to be font defects.
> Some of the problems may be the font meta data, or lack thereof.

If you think fonts have bugs, please report them to their creator (it can
actually happen, but it's rare, and if the tricks around the nameID 1 & 2 that
were used 15 years ago to get around the problems beyond RIBBI are no longer
those in favor today, it doesn't matter, as long as the nameID 4, 6, 16 and 17,
possibly 21 and 22, are correct).

> Until Windows, Mac, and Linux testers are testing the same font families,
> and those font families are determined to not have bugs or have been fixed,
> and comparing what works and what does not work by platform,
> this is just a scattershot approach.
> 
> Bundled fonts may be "corrected/enhanced* and some issues may go away.

Most of the time, proprietary licenses for fonts doesn't allow modification
(and never, ever, distribution of modified fonts). So you've to deal with the
fonts in the state they're in.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2018-07-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

--- Comment #80 from LibreTraining  ---
(In reply to Tor Lillqvist from comment #77)
> This is a Mac-specific bug report. It even says so in the title. Please
> don't confuse it by reporting findings on Windows here.

I think part of the problem is these are not looked at together.
Some of the problems appear to be font defects.
Some of the problems may be the font meta data, or lack thereof.

Until Windows, Mac, and Linux testers are testing the same font families,
and those font families are determined to not have bugs or have been fixed,
and comparing what works and what does not work by platform,
this is just a scattershot approach.

Bundled fonts may be "corrected/enhanced* and some issues may go away.

Right now this is just random problem reports.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2018-07-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

--- Comment #79 from Thomas Linard  ---
(In reply to Tor Lillqvist from comment #78)
> Thomas: Of course any writing can always be improved. And depending on who
> one asks, one even gets different ideas how to improve it. Endless
> bike-shedding possibilities! But is this bugzilla really the place to
> discuss what was written in some marketing material some time ago?
> 
> Also, yes, I don't think anybody who has worked on the code is unaware that
> the handling of styles of a font family in LibreOffice could be improved a
> lot, cross-platform.

I only want to point out that the bug isn't about some bad fonts or some
specific fonts. I've chosen three typeface families for testing (open source,
no problem to download for everybody), but I could take 30, 300 or 3000 with
the same kind of results. If this point is clear for everybody, fine!

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2018-07-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

--- Comment #78 from Tor Lillqvist  ---
Thomas: Of course any writing can always be improved. And depending on who one
asks, one even gets different ideas how to improve it. Endless bike-shedding
possibilities! But is this bugzilla really the place to discuss what was
written in some marketing material some time ago?

Also, yes, I don't think anybody who has worked on the code is unaware that the
handling of styles of a font family in LibreOffice could be improved a lot,
cross-platform.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 69254] Incorrect handling of font families (weight, style, stretches) on Mac

2018-07-11 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=69254

Tor Lillqvist  changed:

   What|Removed |Added

Summary|Correct handling of font|Incorrect handling of font
   |families (weight, style,|families (weight, style,
   |stretches) on Mac   |stretches) on Mac

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs