[Libreoffice-bugs] [Bug 130796] New: FILESAVE: Font changes when save ODS file to XLSX

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Feb 20 08:38:33 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=130796

            Bug ID: 130796
           Summary: FILESAVE: Font changes when save ODS file to XLSX
           Product: LibreOffice
           Version: 7.0.0.0.alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: suokunlong at 126.com

Created attachment 158023
  --> https://bugs.documentfoundation.org/attachment.cgi?id=158023&action=edit
Test ODS file

The attached ODS file is formatted (via default Style) to use "Noto Sans CJK
SC" font for Chinese characters, and use "Liberation Serif" font for English
characters. There is no direct formatting within the cells (i.e., I already did
"CLear Direct Formatting" and applied again the default cell style to all the
cells. When save as XLSX, the font for English chars changes to "Noto Sans CJK
SC".

Steps to Reproduce:
1. Open the attached ODS file. Go to the default cell style and observe that
the Western font is set as "Liberation Serif" and Chinese font is set as "Noto
Sans CJK SC".
2. Save the attached ODS file as XLSX. 
3. Open the XLSX file with Calc.

Current Behaviour:
Font in the 2nd row is in changed to "Noto Sans CJK SC" for cells with a
formula (e.g., cell B2).
Font in the 2nd row is changed to "Times New Roman" for cells without a formula
(e.g., cell A2).

Expected:
Font for 2nd row remains "Liberation Serif" when save as XLSX.

版本: 7.0.0.0.alpha0+
Build ID: cc9ef44fa58fe73e482582bf9756c316cb15d123
CPU 线程: 4; 操作系统: Linux 5.4; UI 渲染: 默认; VCL: gtk3; 
区域语言: zh-CN (zh_CN.UTF-8); UI 语言: zh-CN
Calc: threaded

Also reproduce on 6.3 branch.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200220/d7d80b9c/attachment.htm>


More information about the Libreoffice-bugs mailing list