Font Mismatch Inserting Diagram into Google Slides
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 Inserting a diagram into Google Slides where the diagram uses a custom Google Font results in an image with an incorrect font displayed. If it matters, the Google Slides presentation is also using the same custom Google Font.
To Reproduce Steps to reproduce the behavior:
- Create a diagram with a shape with text inside.
- Set the font to "Bebas Neue Regular" (a Google font)
- Save the diagram to Google Drive
- Create a Google Slides deck, with the Diagrams.net add-on installed.
- Choose "Insert Diagram..." for the add-on, and insert your previously-saved diagram.
Expected behavior
The image shown in the Google slide should match the font shown in diagrams.net
Actual behavior
The image in Slides is using a different font. I'm unsure if this is a Theme font for the Slide, or a default font:
- draw.io version v22.1.5
Desktop (please complete the following information):
- OS: Windows
- Browser: Chrome v119
I tested the problem in incognito/private mode with all browser extensions switched off, write "yes" below:
- no; need to be logged into Google
Same problem. The font of the kanji in the generated diagram is a Chinese font instead of a Japanese font.
app.diagrams.net
diagrams for Docs
Please attach the example diagram to test with.
Hi David,
I'll share a sample diagram to you.
The following code is embedded in the diagram.
@startuml
listfonts 新
@enduml
Thanks!
This relates to PlantUML?
I am embedding plantuml into a diagram on app.diagrams.net.
Arrange > Insert > Advanced > PlantUML
OK, that has nothing to do with the original posting. Please don't hijacking issues, create a new one.
OK, I understand.