Bug 84505 - Writer: unicode music flat sign displayed as rectangle or exported to PDF as rectangle
Summary: Writer: unicode music flat sign displayed as rectangle or exported to PDF as ...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
(earliest affected) release
Hardware: x86 (IA32) Windows (All)
: medium normal
Assignee: Not Assigned
Depends on:
Reported: 2014-09-30 10:06 UTC by Daniel Chung
Modified: 2014-11-14 22:38 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:

file used to show the problem (341.89 KB, application/x-zip)
2014-10-08 06:29 UTC, Daniel Chung
file with some other fonts having U+266D. (19.44 KB, application/vnd.oasis.opendocument.text)
2014-10-09 09:41 UTC, Jacques Guilleron

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Chung 2014-09-30 10:06:28 UTC
Version of LibreOffice: 4.2.1 or 4.3.2
Language of Libreoffice: Chinese (traditional)
Operating System: Microsoft Windows 7
Language of Operating System: Chinese (traditional)

It seems that LibroOffice 4.X has difficulty displaying the
unicode music flat sign.  I sometimes happens, but not always,
even in the same document, or be displayed as a rectangle
when on a different computer.

If it does not happen on an English (or Latin-based)
operating system, try Chinese (traditional).


1. Times New Roman font.
2. Chinese MingLiU 細明體 font.


1. Plain display on computer screen.
2. Export to PDF.

Now I am back to LibroOffice 3.6.2.
In 3.6.2, the unicode music flat sign is displayed with a much
wider look.  It may have taken its width from a Chinese character.
However, all unicode music flat signs are displayed and exported to PDF


Comment 1 tommy27 2014-09-30 10:55:39 UTC
please upload test file and screenshot depicting the issue; a comparison between 3.6.2 and 4.2.1 would be perfect.

moreover have you tried 4.0.x and 4.1.x releases? do they still show the bug you report witn 4.2.x and 4.3.x ?
Comment 2 Daniel Chung 2014-10-01 05:25:03 UTC

On 4.2.1, the unicode music flat sign is sometimes mis-placed.
It overlaps with the next character.  If you move the cursor
across it, it jerks backwards.  Sometimes, pasting a fresh
unicode music flat sign onto it seems to solve the problem, but
when you save it and open it again.

Since I have not used 4.3.2 for a long time, I forgot whether this
mis-placement still happesn in 4.3.2.

Let me take some time (perhaps next week) to create a small file
which can demostrate this problem.

Can you direct me to an archive of old verions of LibreOffice?


Comment 3 tommy27 2014-10-01 05:30:10 UTC
here's an archive of old portable LibO release you can run on Windows without uninstalling your current version.

Comment 4 Owen Genat (retired) 2014-10-05 06:33:13 UTC
(In reply to Zhong Qiyao from comment #0)
> 1. Times New Roman font.
> 2. Chinese MingLiU 細明體 font.

Please indicate the version of these fonts being used. I have examined these versions:

PMingLiU v3.00 TTF (MS Office 2000)
Times New Roman v3.00 TTF (WinXP)
Times New Roman v5.01.3x TTF (MacOS 10.6.8)

... and none include the Music Flat Sign (U+266D) character. If it is being displayed it may be via font substitution. Unless one of the indicated fonts does contain this glyph, there is little LO can do about this problem. Status set to NEEDINFO. Once the requested information is provided, please set the status back to UNCONFIRMED. Thanks.
Comment 5 Daniel Chung 2014-10-08 06:29:28 UTC
Created attachment 107536 [details]
file used to show the problem

file used to show the problem
Comment 6 Daniel Chung 2014-10-08 06:41:00 UTC
Dear Owen and Tommy,

I am using "MingLiU", not "PMingLiU".  When "MingLiU" sees a mis-placed
charecter (see below), "PMingLiU" and "MS Mincho" (Japanese) do not seem to.

Please open the attachment "file used to show the problem".
It has the original file (created in 3.6.2 as a new file, but
text pasted in using 4.2.1 or 4.3.2), PDF exports, and JPG exported
from the PDF (having the same look as the PDF).

Because the "unicode music flat sign" appears the same in all three fonts,
font substitution may have been used.  Is there a way to find out which font
is being used, or which is the proper font to display the character?

On LibreOffice 3.6.2, this character has a "wider" space around it.
But 3.6.2 is the most "stable" version.  On LibreOffice 4.2.1 and 4.3.2,
the character has a more "natural" size of space around it, but
it may be displayed with two looks, one with a "larger" loop, and one
with a "smaller" loop.

On LibreOffice 4.2.1 and 4.3.2, the problem is the same, but not constent.
It does not happen every time, sometimes different places on the same
document, sometimes different openings of the same file.  Sometimes,
the problem disappears if you change the font size (and change back), or
rescale the display ratio of the document (and rescale back).
So, it may be a problem of the UI rendering engine, which seems to be also
used by PDF export.

The follow problems may happen, but not every time.

1. Becomes a rectangle (not necessary the bold font).
2. Becomes mis-placed.  When this happens, the character has a "smaller loop"
   that when it is displayed normally (a different substitution font may have
   been used).  If you copy text from the "mis-placed"
   PDF, and paste, then the flat character goes to the end of the line.


Comment 7 Jacques Guilleron 2014-10-09 09:41:00 UTC
Created attachment 107604 [details]
file with some other fonts having U+266D.
Comment 8 Jacques Guilleron 2014-10-09 10:16:26 UTC
Hi Zhong Qiayao,

Like Owen, I think the fonts you are using don't know this character, as you can see it by using insert Special Character.
I added your file with some other fonts available in LO containing this glyph in order to compare them.

#Is there a way to find out which font
#is being used, or which is the proper font to display the character?
You can find this information into Properties of the pdf files.
They indicate:
Into flat1_v3_6_2.pdf, font used for U+266D is Batang.
Into flat1_v4_2_1.pdf, font used for U+266D is Arial Unicode MS.
Into flat1_v4_3_2.pdf, font used for U+266D is Linux Libertine G.

By choosing a font available in LO, you make sure its displaying.


Comment 9 Daniel Chung 2014-10-13 10:39:57 UTC
Thanks for your comments.

May I correct my previous comment that sometimes "PMingLiU" works
should actually be "標楷體" works.

Let me find out how to operate "insert special character" to get the proper font.


Comment 10 Daniel Chung 2014-10-14 00:15:05 UTC

Based on the following search results:

and the following Web pages (Arial Unicode MS, etc.):

But whey does my sharp sign always show up properly?


even thought I select a Chinese (trad.) font which does not have this


Comment 11 Daniel Chung 2014-10-14 04:56:58 UTC
Dear Tommy, Jacques, and Owen,

After some comparison, I have decided on DejaVu Sans and
changed all my flat signs to DejaVu Sans.

If I was for compatibility with Linux, I would have chosen
Linux Libertine G, but it (and the sharp sign) looks too small,
compared with letters.

Arial Unicode MS incomprehensibly need a much taller space.

As for the shaps signs, I left them in their original fonts,
including MingLiU and MS Mincho, although I cannot tell whether they
are supported in MingLiU (Chinese trad.) and MS Mincho (Japanese).


Comment 12 Robinson Tryon (qubit) 2014-11-14 22:38:48 UTC
(In reply to Daniel Chung from comment #11)
> Dear Tommy, Jacques, and Owen,
> After some comparison, I have decided on DejaVu Sans and
> changed all my flat signs to DejaVu Sans.

Hi Daniel,
Sounds like you've found a font that resolves your problem, so I'm (tentatively) marking this bug as RESOLVED WORKSFORME.

If you still have further problems here, please feel free to change the status back to UNCONFIRMED.