You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I would like to report a bug concerning the use of a Google font not being taken into account.
I wanted to use the Barlow Semi Condensed font and apply it to the generated graphics.
However, the font is not taken into account, despite the fact that I followed the librarian's README recommendations.
Please note that I'm running the server on Windows 10 with Node version 18.17.1
Thank you in advance for your help.
Expected behaviour
Generating a graphic with the Barlow Semi Condensed font
Actual behaviour
Generate a graphic in Highchart's default Helvetica font
is happening here as well, but only when exporting to SVG. Exporting to PNG or JPEG renders the font correctly.
Dockerfile:
Hello,
I've also tested this, and I have the same problem as you. The font is defined in the svg file but the svg can't find the font on its own.
And the only solution I've found so far is to import the stylesheet css associated with the Google font by overloading the tag :
Here found the modified SVG file: Github doesn't seem to be able to load the font in the preview of the SVG file, but if you download it you should see that the font applies well to the svg
Hello,
I would like to report a bug concerning the use of a Google font not being taken into account.
I wanted to use the Barlow Semi Condensed font and apply it to the generated graphics.
However, the font is not taken into account, despite the fact that I followed the librarian's README recommendations.
Please note that I'm running the server on Windows 10 with Node version 18.17.1
Thank you in advance for your help.
Expected behaviour
Generating a graphic with the Barlow Semi Condensed font
Actual behaviour
Generate a graphic in Highchart's default Helvetica font
Reproduction steps
Install with the following command
npm i [email protected]
Install google font and copy font .ttf to C:\Windows\Fonts\
copy yourFont.ttf C:\Windows\Fonts\yourFont.ttf
Create custom script server.js
Run custom script
node server.js
Do a cURL request on the current HTTP server
The text was updated successfully, but these errors were encountered: