https://bugs.documentfoundation.org/show_bug.cgi?id=172561
Bug ID: 172561
Summary: Font replacement table causes bad font fallback
Product: LibreOffice
Version: unspecified
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Writer
Assignee: [email protected]
Reporter: [email protected]
Created attachment 207531
--> https://bugs.documentfoundation.org/attachment.cgi?id=207531&action=edit
A text box containing text with "Times New Roman" font
Description:
LibreOffice uses a replacement table for the fonts. If a replacement font is
not available, then bad replacement happens, and characters positions are
calculated incorrectly.
Steps to Reproduce:
1. Open the attachment
2. Make sure that the font replacement table in "Tools > Options > LibreOffice
> Fonts > Replacement Table" is active for replacing "Times New Roman" with
"Tinos". The "Tinos" font should not be installed. When the replacement is
empty or does not contain this replacement, you may add the two names manually
in the "Replacement Table" and press the check mark. Then, tick "Always" and
"Screen only", and then press "OK".
Actual Results:
As the replacement font "Tinos" is not available, bad replacement happens, and
characters positions are shown in strange positions. This does not only happen
on screen, but in the PDF output. If you disable the font replacement table, or
even if you set "Tinos" font directly (while it is unavailable), then text
rendering becomes OK, and characters are displayed with good spacing.
Expected Results:
Replacement table should work just as if you set the replacement font for the
character in font selection box. For the latter, font fallback works as
expected.
Reproducible: Always
User Profile Reset: No
Additional Info:
Reproducible with both LO 26.2 stable and LO 27.2 dev master:
Version: 26.2.0.3 (X86_64)
Build ID: 620(Build:3)
CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Raster;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Version: 27.2.0.0.alpha0+ (X86_64)
Build ID: b1712dadb799d59c459bb8df6d50dfd994d23856
CPU threads: 20; OS: Windows 11 X86_64 (build 26200); UI render: Skia/Vulkan;
VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
--
You are receiving this mail because:
You are the assignee for the bug.