Skip to content
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

fix: added explicit encoding #22

Merged
merged 1 commit into from Jul 27, 2023
Merged

fix: added explicit encoding #22

merged 1 commit into from Jul 27, 2023

Conversation

emargin
Copy link
Contributor

@emargin emargin commented Jul 26, 2023

Descrive the bug

I used bpmn-js/dist/assets/bpmn-font/css/bpmn-embedded.css for my palette panel bpmn, but sometimes i got this, it seems it may be reproduce only in google chrome browser, i tried to experement with my css file connection but it still doesn’t work

Assets

image
image

Solution

I added explicit encoding into root css of bpmn font style and everything work well

resources: https://stackoverflow.com/questions/57910667/chrome-not-displaying-webfont-falling-back-to-times-new-roman-when-font-face-de

link the issue: https://forum.bpmn.io/t/broken-icon-coding/9564

@CLAassistant
Copy link

CLAassistant commented Jul 26, 2023

CLA assistant check
All committers have signed the CLA.

Copy link
Contributor

@marstamm marstamm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the fix, looks good to me!

@fake-join fake-join bot merged commit c7136f2 into bpmn-io:master Jul 27, 2023
2 checks passed
@marstamm
Copy link
Contributor

Published as 0.12.1

@nikku
Copy link
Member

nikku commented Aug 30, 2023

The best way to ensure that this properly loads is to not serve files using some bogus encoding, but UTF8 (which is standard, on the web).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants