intive-FDV / DynamicJasper

Dynamic Reports using Jasper Reports
http://intive-fdv.github.io/DynamicJasper/
GNU Lesser General Public License v3.0
241 stars 128 forks source link

Chinese font issues of running on k8s #116

Closed YongMingMao closed 1 year ago

YongMingMao commented 2 years ago

I had add Chinese font into DynamicJasper-core-fonts project and the application runs well and able to display Chinese characters.

but when I deploy the application on k8s, it only can display part of Chinese characters. DJChartBuilder cb1 = new DJChartBuilder(); DJChartBuilder chart = cb1.setType(DJChart.BAR_CHART) .setOperation(DjFooterVariableOperationFactory.getFooterVariableOperation(groupMeta.getChartOperation()).getValue()) .setPosition(DJChartOptions.POSITION_HEADER) .setShowLabels(true); chart = buildChart(chart, groupMeta, chartMeta.getColumnMetaList(), columns, djGroups); chart = chart.setHeight(CHART_HEIGHT); builder = builder.addChart(chart.build()); thanks

juanalvarezg commented 1 year ago

try using core-fonts 2.1