Bug 152439 - warn:vcl.gdi: ... vcl/source/outdev/font.cxx Font fallback to the same font, but has missing codes
Summary: warn:vcl.gdi: ... vcl/source/outdev/font.cxx Font fallback to the same font, ...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Substitution RTL-Hebrew console-noise Font-Fallback
  Show dependency treegraph
 
Reported: 2022-12-09 16:12 UTC by Eyal Rozenberg
Modified: 2023-09-30 22:13 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
A Hebrew document using the David font family (26.00 KB, application/msword)
2022-12-09 16:12 UTC, Eyal Rozenberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2022-12-09 16:12:57 UTC
Created attachment 184067 [details]
A Hebrew document using the David font family

When I open the attached MS-Word document in Writer, I get many lines on the console saying:

warn:vcl.gdi:2567:2567:vcl/source/outdev/font.cxx:1064: Font fallback to the same font, but has missing codes

and when I say "many", I mean 84.

Now, the document uses the "David" font family; and my Writer has a font substitution from "David" to "David CLM", and it works.


There are several issues here:

1. Why print this message a zillion times? Once per document is enough. Or if it's intended to relate to a single line, or paragraph, or text run etc - it could mention it, e.g. "On page X paragraph Y line Z" or any other way to refer to a piece of content in the document (e.g. "Nth text element in the document" or whatever). 

2. There is no fallback to the same font (that I know off) in this document, or at all. How is that even possible?

3. The David CLM fonts do not have "missing codes" which are necessary for this document
Comment 1 Telesto 2022-12-10 14:43:42 UTC
@Khaled
You might be able to to shed light on the topic here..
Comment 2 ⁨خالد حسني⁩ 2022-12-10 16:13:03 UTC
This warning was introduced in commit 47e8763114f12fe14e2a8dd94b5a339f614d23bc
Comment 3 ⁨خالد حسني⁩ 2023-09-30 22:13:24 UTC
The warning has been demote to info in fffdfd9e58a6ec31be775123ae6d3f90a6e8e840