reaviz / reagraph

🕸 WebGL Graph Visualizations for React. Maintained by @goodcodeus.

Home Page:https://reagraph.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not able to display Node name characters in other languages?

sunneydev opened this issue · comments

Describe the bug

Is Reagraph not able to display characters in other languages? I'm not really sure how the canvas renders text, but if it's UTF-8 it should've worked on the Georgian language, but puts boxes instead.

Steps to Reproduce the Bug or Issue

  1. Name any node "ტესტი"
  2. It will show up as boxes

Expected behavior

It should display the Georgian characters, puts boxes instead.

Screenshots or Videos

image

Platform

  • Reagraph Version: [e.g. 1.0.0]
  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • NodeJS version: ...

Your Example Website or App

No response

Additional context

No response

You need to use this: #37 in order to use custom languages.

We should add this to the docs - Would u mind making a PR to add it under FAQ?

@amcdnl I'm not sure where FAQ is, I could possibly add it as a story as well under demos/labels

Sorry - should have been more clear - we need a new FAQ page :D