drawio icon indicating copy to clipboard operation
drawio copied to clipboard

Rendering U+Exxx unicode block does not work

Open naturalmechanics opened this issue 3 years ago • 2 comments

Preflight Checklist

  • [ x] I agree to follow the Code of Conduct that this project adheres to.
  • [ x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug Rendering U+Exxx, such as U+E21C in a custom font like Symbols Nerd Font does not work. This issue flowss over to part of U+FA30. The nerdfonts may be found herehere .

To Reproduce

Steps to reproduce the behavior:

  1. Copy the character U+E21C from a font viewer, libreoofice, etc.
  2. Create a Rectangle in Draw.io desktop version
  3. Double click to add text in the rectangle
  4. Paste the copied element from clipboard. This will show a box with a cross in it, a glyph for undefined font
  5. Keep this glyph selected
  6. Go to "Text" tab
  7. Click on "Font" of Schrift Drop down menu
  8. Select "custom" or "Benutzerdefiniert"
  9. Paste the name "Symbols Nerd Font" (exactly as it appears in font viewer or libreoffice) in the textbox
  10. Select ok / Anwenden
  11. See error

Expected behavior A font that looks like a tree to be rendered, as per Nerdfonts website above.

Screenshots

image

draw.io version (In the Help->About menu of the draw.io editor):

  • draw.io version 19.0.3 Desktop Linux

Desktop (please complete the following information):

  • OS: Linux Artix
  • uname -a output : Linux myname 5.18.10-artix1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 Jul 2022 07:26:22 +0000 x86_64 GNU/Linux

I hope the error description is useful for debugging. I am not sure if this is a bug, or whether it is unsupported, and thus should fill under feature request. Let me know please.

naturalmechanics avatar Jul 19 '22 12:07 naturalmechanics

Please attach a test case.

alderg avatar Jul 20 '22 06:07 alderg

test.zip U+2006 Font name : Symbols Nerd Font (installed systemwide)

naturalmechanics avatar Jul 23 '22 12:07 naturalmechanics

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.

stale[bot] avatar Mar 25 '23 14:03 stale[bot]