Open gaoxingzaq opened 3 years ago
Hello, Do you know which language is it? Actually you need a font file (ttf) which contains glyphs for that language.
Seems it is from CJK Unified Ideographs unicode block. Font with these glyphs should be added here: https://github.com/vagran/dxf-viewer-example-src/blob/0b16e6fa5365b4896e0c03e26ed428fa27b4b91c/src/components/ViewerPage.vue#L19 https://github.com/vagran/dxf-viewer-example-src/blob/0b16e6fa5365b4896e0c03e26ed428fa27b4b91c/src/components/ViewerPage.vue#L68 I will add one in this example if I find one with permissive license.
After a bit more of investigation I have these points:
OK, thanks. I've solved the font problem. Now I want to ask that it doesn't support mobile mode. It can't be scaled when accessing in mobile mode
I will keep this issue open, until some kind of input file encoding handling is implemented. Proper processing of such files is not trivial with current parser implementation, but at least some warning message can be introduced.
I will look later at the problem with mobile browsers support.
How to add fonts