[Libreoffice-bugs] [Bug 140881] LO fails opening WOFF and WOFF2 fonts

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

⁨خالد حسني⁩  changed:

   What|Removed |Added

   Assignee|libreoffice-b...@lists.free |kha...@libreoffice.org
   |desktop.org |
 CC||kha...@libreoffice.org
 Status|REOPENED|ASSIGNED

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

[Libreoffice-bugs] [Bug 140881] LO fails opening WOFF and WOFF2 fonts

2022-10-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140881

Eyal Rozenberg  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WONTFIX |---

--- Comment #28 from Eyal Rozenberg  ---
Reopening merely for reducing the severity of the log message (SAL_WARNING() to
SAL_INFO()).

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

[Libreoffice-bugs] [Bug 140881] LO fails opening WOFF and WOFF2 fonts

2022-10-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140881

--- Comment #27 from Heiko Tietze  ---
(In reply to Eyal Rozenberg from comment #26)
> Please consider reopening.

Feel free to do so. I don't mind whether it is SAL_WARNING() or SAL_INFO() -
and hacking it is very easy. Maybe a good start for you?

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

[Libreoffice-bugs] [Bug 140881] LO fails opening WOFF and WOFF2 fonts

2022-10-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140881

--- Comment #26 from Eyal Rozenberg  ---
(In reply to Heiko Tietze from comment #25)
> It's a warning, something developer information above information but below
> errors. Ordinary users don't start from the console.

We're talking about developers/QA people; note also the meta-bug tracking it. 
In this situation - it is not a failure or error or misconfiguration of the
system for a WOFF file to exist; and it is the intended behavior of LO to
not-load it. In this case - only an INFO-level or DEBUG-level message should be
logged, not WARNING-level.

Removing these warnings will clear the console log for the person reading to
better notice _actual_ warnings about unexpected and possibly-problematic
situations.

Please consider reopening.

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

[Libreoffice-bugs] [Bug 140881] LO fails opening WOFF and WOFF2 fonts

2022-10-04 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140881

Heiko Tietze  changed:

   What|Removed |Added

 Resolution|--- |WONTFIX
   Keywords|needsUXEval |
 Status|NEW |RESOLVED
 CC|libreoffice-ux-advise@lists |heiko.tietze@documentfounda
   |.freedesktop.org|tion.org

--- Comment #25 from Heiko Tietze  ---
(In reply to خالد حسني from comment #19)
> Supporting such fonts will require at least a couple of
> extra dependencies for very little gain since Linux system are the only
> systems that allow installing these fonts.
> 
> Also installing WOFF/WOFF2 files is a bad idea...
> 
> My suggestion is WONTFIX unless someone has a clear idea what to do here.

Concur.

(In reply to Eyal Rozenberg from comment #24)
> I am also not sure this NeedsUXEval...

It's a warning, something developer information above information but below
errors. Ordinary users don't start from the console.

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

[Libreoffice-bugs] [Bug 140881] LO fails opening WOFF and WOFF2 fonts

2022-10-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140881

--- Comment #24 from Eyal Rozenberg  ---
(In reply to خالد حسني from comment #23)
> I don’t see why the warning is a bad thing,

Because it adds console lines about something that's not a problem, but
intentional.

I am also not sure this NeedsUXEval, since the console is not part of most
user's experience, but since you wanted to ask for it - ok.

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

[Libreoffice-bugs] [Bug 140881] LO fails opening WOFF and WOFF2 fonts

2022-10-03 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140881

Timur  changed:

   What|Removed |Added

 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org
   Priority|medium  |low
   Keywords||needsUXEval

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

[Libreoffice-bugs] [Bug 140881] LO fails opening WOFF and WOFF2 fonts

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

--- Comment #23 from خالد حسني  ---
(In reply to Eyal Rozenberg from comment #22)
> (In reply to خالد حسني from comment #21)
> > But that is basically what is happening here, the code is detecting that it
> > is a font it cannot handle and rejects it.
> 
> But then there's no need to warn: It's just a font that's in a format that
> we chose not to support.
> 
> Note that this bug was filed because of the console noise.

I don’t see why the warning is a bad thing, if you installed a font you want to
know why LibreOffice ignored it.

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

[Libreoffice-bugs] [Bug 140881] LO fails opening WOFF and WOFF2 fonts

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

--- Comment #22 from Eyal Rozenberg  ---
(In reply to خالد حسني from comment #21)
> But that is basically what is happening here, the code is detecting that it
> is a font it cannot handle and rejects it.

But then there's no need to warn: It's just a font that's in a format that we
chose not to support.

Note that this bug was filed because of the console noise.

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

[Libreoffice-bugs] [Bug 140881] LO fails opening WOFF and WOFF2 fonts

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

--- Comment #21 from خالد حسني  ---
(In reply to Eyal Rozenberg from comment #20)
> (In reply to خالد حسني from comment #19)
> >,we have no way to
> > filter them out... other than sniffing the fonts
> 
> And would it not makes sense to do this sniffing when we fail to load TTF
> fonts?

But that is basically what is happening here, the code is detecting that it is
a font it cannot handle and rejects it.

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

[Libreoffice-bugs] [Bug 140881] LO fails opening WOFF and WOFF2 fonts

2022-10-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140881

--- Comment #20 from Eyal Rozenberg  ---
(In reply to خالد حسني from comment #19)
> Supporting such fonts will require at least a couple of
> extra dependencies for very little gain since Linux system are the only
> systems that allow installing these fonts.

I don't have a strong opinion on this. Although - the dependency could be in
Linux only, i.e. only use the dependencies when building on Linux.

> FontConfig does not provide a way to distinguish WOFF/WOFF2 from regular
> fonts, they are reported as their contained font

>,we have no way to
> filter them out... other than sniffing the fonts

And would it not makes sense to do this sniffing when we fail to load TTF
fonts?

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

[Libreoffice-bugs] [Bug 140881] LO fails opening WOFF and WOFF2 fonts

2022-10-01 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140881

خالد حسني  changed:

   What|Removed |Added

 CC||kha...@aliftype.com

--- Comment #19 from خالد حسني  ---
WOFF and WOFF2 are compressed OpenType/TrueType fonts for use on the web (where
file size matters). While WOFF uses GZIP for compression and is somewhat
relatively easy to decompress, WOFF2 uses Brotli compression and on top of that
many font tables are transformed to compress better and need to de-transformed
back (I wrote the WOFF2 test suite for the W3C webfonts working group).
Supporting such fonts will require at least a couple of extra dependencies for
very little gain since Linux system are the only systems that allow installing
these fonts.

Also installing WOFF/WOFF2 files is a bad idea, if your distribution did this
report it as a bug, and installing multiple formats of the same fonts is even
worse, also report to your distribution.

FontConfig does not provide a way to distinguish WOFF/WOFF2 from regular fonts,
they are reported as their contained font, so we have no way to filter them out
as we do with Type 1 and bitmap fonts other than sniffing the fonts (I don’t
even think FontConfig intentionally support WOFF/WOFF2, it just happens to work
for it because it uses FreeType to identify the fonts and FreeType supports
them).

My suggestion is WONTFIX unless someone has a clear idea what to do here.

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

[Libreoffice-bugs] [Bug 140881] LO fails opening WOFF and WOFF2 fonts

2022-05-19 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=140881

Timur  changed:

   What|Removed |Added

Summary|LO fails opening some WOFF  |LO fails opening WOFF and
   |and TTF files   |WOFF2 fonts
   Severity|minor   |normal
 Ever confirmed|0   |1
 Status|UNCONFIRMED |NEW

--- Comment #18 from Timur  ---
Hm. I found woff and woff2 in /usr/share/fonts/woff/
But since those also had ttf, I downloaded another one. 
WPS and MSO used it but LO couldn't. So I set this to New for WOFF and WOFF2. 
There's another bug for WOFF in SVG.

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