Created attachment 186413 [details] Miriam CLM font When a document with localized font is transferred across LO with different UI language, fonts are not selected correctly. Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 9c7d3ce813c761b116232bc291e2737c59d383da CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: kf5 (cairo+xcb) Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded Prerequisite: Install font "Miriam CLM" with localized names (attached, see also screenshot) Steps to reproduce: 1. Open LO Writer with English UI 2. Observe "Miriam CLM" font is present 3. Create and save document which uses "Miriam CLM" font (attached as English_UI_test.odt) 4. Close LO Writer 5. Open LO Writer with Hebrew UI, using flag --language=he 6. Observe the "מרים" font is present - same font with Hebrew name (see screenshot) 7. Load the document English_UI_test.odt 8. Observe that the font used in the document is displayed in UI as slanted "Miriam CLM", as if it were not found, and not with its Hebrew hame.
Created attachment 186414 [details] English UI - font name in English Screenshot of English UI with font name in English
Created attachment 186415 [details] Miriam font info, showing localized names
Created attachment 186416 [details] document which uses "Miriam CLM" font
Created attachment 186417 [details] Font listed with localized Hebrew name
Created attachment 186418 [details] Doument font is listed by English name and marked slanted, as if not present
This bug is a follow-up of recently fixed https://bugs.documentfoundation.org/show_bug.cgi?id=151722
Confirmed as described with: Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 61b41646c5a93ca24f2c9f143cdb0da2c9258989 CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: he-IL Calc: threaded Caolán, CCing you in following your work on bug 151722, in case you're interested.