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

Font missing in export.highcharts.com #524

Closed
cyrusho100 opened this issue May 10, 2024 · 6 comments
Closed

Font missing in export.highcharts.com #524

cyrusho100 opened this issue May 10, 2024 · 6 comments
Labels

Comments

@cyrusho100
Copy link

Unicode characters do not display properly when exporting PNG from Highcharts' export server (export.highcharts.com)
first-chart

@karolkolodziej
Copy link

Hi @cyrusho100!
Could you please share the chart's config to recreate that?
Which font are you using?

@cyrusho100
Copy link
Author

Please find the chart config below, the word "一月" are Chinese characters, it gets messy when exporting PNG from Highcharts' export server (export.highcharts.com)


const chart1 = Highcharts.chart('container1', {

chart: {
    height: 200
},

title: {
    text: 'First Chart'
},

credits: {
    enabled: false
},

xAxis: {
    categories: [
        '一月', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
        'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
    ]
},

series: [{
    data: [
        29.9, 71.5, 106.4, 129.2, 144.0, 176.0,
        135.6, 148.5, 216.4, 194.1, 95.6, 54.4
    ],
    showInLegend: false
}],

exporting: {
    enabled: true // hide button
}

});

@karolkolodziej karolkolodziej transferred this issue from highcharts/highcharts May 14, 2024
@jszuminski
Copy link
Contributor

@cvasseng it works well with Highcharts: https://jsfiddle.net/BlackLabel/hc3ftyLg/ which suggests that the fonts are not available on our AWS.

@jszuminski jszuminski added the bug label May 16, 2024
@kyoya-atsushi-cyberwave
Copy link

kyoya-atsushi-cyberwave commented May 23, 2024

@cyrusho100
I am in charge of a service that uses the official server to output Highcharts graph images. Could you please provide an update on the status of the issue we encountered?

It seems that Japanese characters are now displaying correctly, but I would like to know if this means the bug has been fully resolved. Was it a temporary glitch that fixed itself, or was there an identifiable cause that has been addressed? We need to inform our end-users about the situation, so any information you can provide would be greatly appreciated.

性別年齢層の推移_男女合計_ドラッグストア_全国_2022年05月01日_2024年04月30日_商品-アメジスト なが~い伸縮包帯 M 7-5cm×9m

@cyrusho100
Copy link
Author

It also works fine for Traditional Chinese and Simplified Chinese. Thanks a lot.

@jszuminski
Copy link
Contributor

jszuminski commented May 23, 2024

I confirm that it has been solved on our production server. The only requirement there was to install those fonts on AWS.

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

No branches or pull requests

4 participants