-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Which Unicode font? #72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
There is a special command that helps to solve fonts issue. So it seems that you need the "Segoe UI Emoji" or "Segoe UI Symbol" font. |
Richer test:
I find "Dialog" most readable (and I think this is the default font). But on our linux installation, "Dialog" doesn't have those unicode chars. We'll investigate where to get a richer font. |
Here's the first diagram. I want to see how Github renders it:
|
Hi @arnaudroques! The troublesome characters are:
Github shows them fine:
The PlantUML server has maybe 5x more fonts, but doesn't show the chars.
So Arnaud, please reopen the issue. |
|
I tried to express 3 icons using 3 different styles as per https://plantuml.com/creole:
Results:
So I'll use the One can pick emoji from the emoji cheat sheet or the Unicode full-emoji-list I'll update the documentation. |
We've just installed "Noto Emoji" on www.plantuml.com but this is only partially working (see). I don't know why this is not working for Serif and Sans Serif. But I think it just makes your PNG working. The
Yes, this is probably a bug on our side.
BTW, I am not aware of any Github/PNG preview: can you post a screenshot about this? Thanks! |
Both images above: #72 (comment) and #72 (comment) are generated by Github. BTW, it also reprocesses PlantUML image links to "githubusercontent" image links. |
@arnaudroques https://github.com/plantuml/plantuml/tree/master/src/net/sourceforge/plantuml/emoji/data shows 1177 files.
|
Once again, the documentation is not up to date... sorry about that :-) |
I updated the documentation with the new numbers, added a link to Block 27, counts per block, and links between Emoji and Unicode special chars. |
@arnaudroques Maybe it's not Github but this Chrome addon that does the visualization: |
Hello @VladimirAlexiev As far as I know, Github does not render PlantUML code. I use another extension called "Markdown Diagrams". I mentioned this extension in a January 2022 issue because I had been using it for a while and found it very useful. It seems to me a good practice to include both the code and the image when I get involved in an issue. In fact, if it is a fixed bug, the image will show the situation before the correction and -with the help of the extension- you will be able to see the image of the diagram after the fix. In my case, since I have the extension active, when I access the mentioned issue I see the duplicate diagrams by default because the problem has not yet been resolved, but if I double click on the images rendered by the addon, it shows the plantuml code. Kind regards, I💙PlantUML |
Thanks @claudio-salvio, you are right! |
What Unicode font do you use at http://www.plantuml.com/plantuml?
this diagram shows fine on your server, but on our installation is missing the 5-digit Unicode chars such as
<U+1F552>
.Our setup:
I thought it's a problem with the default encoding but after setting it to UTF-8 we still have the problem.
The text was updated successfully, but these errors were encountered: