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

Neil Roberts <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #5 from Neil Roberts <[email protected]> ---
It looks to me more that the problem is that the chosen font isn’t being
respected rather than a problem with Unicode encoding. For example if you
follow these steps then it works fine:

* Start with a fresh configuration by deleting
instdir/user/registrymodifications.xcu
* Make sure you have the Noto Sans Symbols 2 font installed
https://fonts.google.com/noto/specimen/Noto+Sans+Symbols+2
* Create a new Writer document
* Click on the unordered bullet button on the “Toggle Unordered List” button on
the toolbar (or press Shift+F12)
* Click Format -> Bullets and Numbering… from the menu
* Select the “Customize” from the list on the left
* Click on the “Select…” button next to the “Character:” label
* Choose Noto Sans Symbols 2 for the font
* Type “1f7d9” in the hexadecimal box to get the “NINE POINTED WHITE STAR”
character.
* Click ok on that dialog and the one underneath it.

You should now have a working bullet list with the special symbol.

Otherwise you can do these steps and it won’t work:

* Start with a fresh configuration by deleting instdir/user/
* Create a new Writer document
* Click on the unordered bullet button on the “Toggle Unordered List” button on
the toolbar (or press Shift+F12)
* Click Format -> Bullets and Numbering… from the menu
* Select the “Unordered” tab (although it’s probably already selected)
* Click the second list style and then the first one (for some reason the
button below is disabled if you don’t do this)
* Click the “Change Bullet” button
* Choose Noto Sans Symbols 2 for the font
* Type “1f7d9” in the hexadecimal box to get the “NINE POINTED WHITE STAR”
character.
* Click ok on that dialog and the one underneath it.

Now you should get a rectangle where the star should be. I think the problem is
just that it hasn’t changed the font for the style. I would think that editing
the “Bullets” character style to change the font would fix the problem but it
doesn’t seem to, unless I’ve misunderstood how that is supposed to work.

You can see that cBullet in SvxNumberFormat is already sal_UCS4 which is
32-bit.
https://cgit.freedesktop.org/libreoffice/core/tree/include/editeng/numitem.hxx#n117

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

Reply via email to