Bug 122836 - Impossible to use the 'Meinrad' font with libroffice 6.1. Worked perfectly with Libroffice 5.2
Summary: Impossible to use the 'Meinrad' font with libroffice 6.1. Worked perfectly wi...
Status: RESOLVED NOTOURBUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 111683 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-01-20 17:14 UTC by Corine
Modified: 2019-08-21 22:50 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
Comparative images of expected and actual results (33.82 KB, application/pdf)
2019-01-20 17:36 UTC, Corine
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Corine 2019-01-20 17:14:53 UTC
Description:
Hello,

I have to use specific fonts to create Gregorian chant scores.
These fonts are: Meinrad A, Meinrad B and Meinrad C.
These fonts are True Type, created with Fontograher 4.1.
Libroffice 5.2 handled them perfectly, but Libroffice 6.1 no.
In libroffice 6.1:
- these meinrad fonts normally appear in the font list.
- but when I select a meinrad font in the list, I only get the usual characters (a, b, c, ....) instead of the Gregorian neums.

Could you make LibreOffice compatible again with meinrad fonts?

thank you so much
Corine

Steps to Reproduce:
1.download and install meinrad font package (https://www.saintmeinrad.org/media/1511/meinrad-chant-font-package_windows.zip2.)
2. open a new LibreOffice 5.2 writer document
3. Digit "fgh" and select the meinrada font 
4. constat that you  obtain a music score with three Gregorian notes
5. open a new LibrOffice 6.0 writer document
6. digit "fgh" and select the meinrada font
7. constat that you only obtain the "fgh" habituals letters

Actual Results:
see attachement

Expected Results:
see attachment


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Corine 2019-01-20 17:36:00 UTC
Created attachment 148454 [details]
Comparative images of expected and actual results

You will visualize the previous good result of meinrad font with libroffice 5.2.6 and confront it to the actual fail with Libroffice 6.0
Comment 2 Julien Nabet 2019-01-21 09:08:21 UTC
link is https://www.saintmeinrad.org/media/1511/meinrad-chant-font-package_windows.zip
(there's no "2" at the end)
Comment 3 Julien Nabet 2019-01-22 21:13:21 UTC
On pc Debian x86-64 with master sources updated some days ago, I got only rectangles when using this font but perhaps because it only works on Windows since it's a package for Windows.

Khaled: the linked zip indicates Windows and indeed found some PFM, PDB and AFM but I also found TTF. Any thoughts?

All the downloads are in https://www.saintmeinrad.org/the-monastery/liturgical-music/downloads/, the fonts are in the end. (there are some for chants others for melody);
Comment 4 Corine 2019-01-22 22:02:02 UTC
Infinite Thanks for your help and sorry for my English.

The fonts for scores are effectively those for CHANTS. 
I only know the use with windows, I actually use windows 7.
Comment 5 Buovjaga 2019-07-13 16:08:40 UTC
If I install one of the TTFs, I can see the notes in Insert - Special Character and I can insert them.

It seems the mapping to letters is somehow broken, but maybe the font itself is problematic. Input from font guru Khaled would be nice.

Arch Linux 64-bit
Version: 6.4.0.0.alpha0+
Build ID: 1ce1c26dd98e6477139e08d1ebe89fa950ff5fb0
CPU threads: 8; OS: Linux 5.2; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 12 July 2019
Comment 6 Xisco Faulí 2019-08-19 09:59:09 UTC
@Khaled, would you mind taking a look at this issue ?
Comment 7 ⁨خالد حسني⁩ 2019-08-19 21:41:28 UTC
The font has 3 cmap subtables (the stuff that maps characters to glyphs). Two map 0xF0?? range and one maps ASCII range. The layout engines needs to pick one of the three and HarfBuzz is picking the 0xFF?? one apparently, so ASCII input does not work.

This should be reported to HarfBuzz: https://github.com/harfbuzz/harfbuzz/issues
Comment 8 Buovjaga 2019-08-21 04:56:51 UTC
Reported as https://github.com/harfbuzz/harfbuzz/issues/1918
Comment 9 ⁨خالد حسني⁩ 2019-08-21 20:00:48 UTC
Should be fixed with the next HarfBuzz update.
Comment 10 ⁨خالد حسني⁩ 2019-08-21 22:50:11 UTC
*** Bug 111683 has been marked as a duplicate of this bug. ***