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

Icon font rendering broken since 4.4.0 #7675

Closed
hyperknot opened this issue Jan 3, 2018 · 6 comments
Closed

Icon font rendering broken since 4.4.0 #7675

hyperknot opened this issue Jan 3, 2018 · 6 comments

Comments

@hyperknot
Copy link
Contributor

hyperknot commented Jan 3, 2018

Scenario: using FontAwesome for icons on map markers, like this:

new ol.style.Style({
  text: new ol.style.Text({
    text: '\uF013',
    font: 'normal 30px FontAwesome',
  }),
})

This code works perfectly up till 4.3.4, but is broken starting from 4.4.0.

Reproducable codepen here:
https://codepen.io/hyperknot/pen/NXgZyW?editors=0010

@hyperknot
Copy link
Contributor Author

Will be in 4.7.0?

@ahocevar
Copy link
Member

ahocevar commented Jan 8, 2018

In 5.0.0 - there won't be any more 4.x releases.

@hyperknot
Copy link
Contributor Author

How is it possible to get a build which fixes this? The https://openlayers.org/en/master/build/ol.js one, as of today, is still reproducing this bug.

@ahocevar
Copy link
Member

The ol package has a 5.0.0-beta.5 version with the fix.

@hyperknot
Copy link
Contributor Author

Is beta 6 also usable, or I'd better stay on 5?

@ahocevar
Copy link
Member

When I last checked, there was no beta 6 yet. It's best to always use the latest, so use 6.

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

No branches or pull requests

2 participants