Bug 153507 - Writer can't import and align RTF files using Consolas font
Summary: Writer can't import and align RTF files using Consolas font
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.5.1 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Fonts
  Show dependency treegraph
 
Reported: 2023-02-09 21:09 UTC by bugz.vufd7
Modified: 2023-03-27 13:49 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
A minimal RTF document aiming to display tabular information using the fixed-width font Consolas (1.21 KB, application/rtf)
2023-02-09 21:09 UTC, bugz.vufd7
Details
How the sample RTF file renders when opened in Writer (134.73 KB, image/png)
2023-02-09 21:11 UTC, bugz.vufd7
Details
How the sample RTF file renders using Abiword (expected behaviour in Writer!) (129.08 KB, image/png)
2023-02-09 21:12 UTC, bugz.vufd7
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bugz.vufd7 2023-02-09 21:09:26 UTC
Created attachment 185272 [details]
A minimal RTF document aiming to display tabular information using the fixed-width font Consolas

I opened the simple, minimal RTF file (attached) in Writer. As I had specified a fixed-width font, I expected to see all characters aligned in columns, mirroring how they were laid out in the source file. They weren't.

On the same system, Abiword could import the file and display it as expected. When I saved the file in Abiword as .odt and opened it in Writer, it rendered as I expected.

If I changed the font defined in the RTF document to Courier ({\f0 Courier New;}) Writer was able to align all the characters as expected.
Comment 1 bugz.vufd7 2023-02-09 21:11:48 UTC
Created attachment 185273 [details]
How the sample RTF file renders when opened in Writer
Comment 2 bugz.vufd7 2023-02-09 21:12:38 UTC
Created attachment 185274 [details]
How the sample RTF file renders using Abiword (expected behaviour in Writer!)
Comment 3 m_a_riosv 2023-02-09 23:54:32 UTC
Reproducible, open fine with Microsoft 365 MSO (versión 2301 compilación 16.0.16026.20002) de 64 bits.
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9d44236a62bf59d120dda89924d0d1407b2bd52b
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded Jumbo
Comment 4 ⁨خالد حسني⁩ 2023-02-16 15:46:50 UTC
Looks fine here with:

Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 6; OS: Mac OS X 13.2; UI render: default; VCL: osx
Locale: en-EG (en_EG.UTF-8); UI: en-US
Calc: threaded

and:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9788a565b3241d1bd62394b9e29c322361d05f80
CPU threads: 6; OS: Mac OS X 13.2; UI render: Skia/Metal; VCL: osx
Locale: en-US (en_EG.UTF-8); UI: en-US
Calc: threaded