Open umanggoyal89 opened 1 year ago
You can only load 1 character at a time in a single writer, so you can't load "便宜" in one go, for instance. You would need to have either 2 writer instances, and load "便" in one and "宜" in the other, or load them one at a time in the same writer instance.
The mobile browser stuff looks pretty bad - maybe the browser isn't supporting SVG fully? You can try switching the renderer to canvas and see if that helps. It doesn't handle overlapping strokes as nicely as the default SVG renderer, but it might work better in browsers that don't support SVG as well. You can do that by passing renderer: "canvas"
when creating the writer
Thank you @chanind for your quick response. We were able to resolve the rendering strokes issue on browsers. For the other point, "𠂇" we are not able to get this character loaded as well, I checked in the data sets of Henzi writer and this character is not in there.
Does anyone having problems in loading words like "便宜", when we try loading this using the CDN script, it throws error "Failed to load char data for". If I try loading "便" or "宜" separately then it works fine. But when we combine it and try to load then it doesn't work. Another problem we are facing is related to the strokes of the characters in some cases, some works fine in one browser but not in Safari and some works with safari but not with other browsers. Desktop Browser:
Mobile browser:
Another character having strokes problem on browser:
I really appreciate your support and help here.