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

            Bug ID: 154893
           Summary: Generated number in a caption is rendered using CJK
                    font for no reason
           Product: LibreOffice
           Version: 7.6.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: eyalr...@gmx.com

Created attachment 186766
  --> https://bugs.documentfoundation.org/attachment.cgi?id=186766&action=edit
Document with image and caption inserted, RTL and LTR caption paragraph
directions

Reproduction instructions:

1. Create a new Writer document (where my template has default page style and
paragraph style be RTL)
2. Insert an image
3. Right-click it
4. "Insert Caption..."
5. Write some caption text in English
6. Select Arabic numbering

I EXPECT to get an arabic-number 1, in the Western language font. _maybe_ in
the RTL/CTL language font because the caption paragraph is RTL, although that
would be a bit weird seeing how the category name is in English.

I GET an arabic-number 1 - but in none of the fonts I am supposedly using
(David CLM, Liberation Serif, CJK Noto Serif JP). It's kind of an ornamental
twisted font, not something you'd use for body text.

If I change the caption paragraph's direction to LTR, the number is rendered in
a decent font.

See attached screenshots.



Version info:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b5c3a7502f7ff6ccf0f829c1f3a2ba50b8584c41
CPU threads: 4; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: he-IL (en_IL); UI: en-US
Calc: threaded

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

Reply via email to