Closed Bug 364505 Opened 18 years ago Closed 17 years ago

Charts not localizable

Categories

(Bugzilla :: Reporting/Charting, defect)

defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 287682

People

(Reporter: vitaly.fedrushkov, Assigned: gerv)

Details

(Keywords: intl, l12y)

Currently GD::Graph builtin fonts do not support full unicode. External fonts can be selected via set_*_font: http://search.cpan.org/dist/GDGraph/Graph.pm#FONTS Perhaps we need some parameters (at localconfig?) to select external fonts. Why localconfig and not data/params: - Font file paths are OS dependent - Local files may be not accessible by maintainer at all
Keywords: l12y
*** This bug has been confirmed by popular vote. ***
Status: UNCONFIRMED → NEW
Ever confirmed: true
Confirmed for 2.22.2
Version: 2.22.1 → 2.22.2
Confirmed for 3.0
Version: 2.22.2 → 3.0
(A.A. Shimono (himorin) in reply to bug 182975 comment #24) > > True. Moreover, a number of templates (32 of 274 in 3.0) have no user readable > > texts and do not need any l18n: > > reports\report-bar.png.tmpl > > reports\report-line.png.tmpl > > reports\report-pie.png.tmpl > we need font definitions in these templates (currently). himorin, you seem to have worked around this bug, could you point to example templates?
(In reply to comment #4) > (A.A. Shimono (himorin) in reply to bug 182975 comment #24) > > > True. Moreover, a number of templates (32 of 274 in 3.0) have no user readable > > > texts and do not need any l18n: > > > > reports\report-bar.png.tmpl > > > reports\report-line.png.tmpl > > > reports\report-pie.png.tmpl > > > we need font definitions in these templates (currently). > > himorin, you seem to have worked around this bug, could you point to example > templates? additional to comment #5, refer http://services.mozilla.gr.jp/svn/bugzilla/3.0/trunk/template/ja/default/reports/report-bar.png.tmpl > [% FILTER null; > USE graph = GD.Graph.bars(width, height); > graph.set_x_label_font(Param('graphfontname'), 9); > graph.set_x_axis_font(Param('graphfontname'), 9); > graph.set_title_font(Param('graphfontname'), 9); > graph.set_legend_font(Param('graphfontname'), 9); And, I think this bug is related to bug 287684.
Keywords: intl
seems to be duplicate of bug 287682?
Exactly. Moreover, at least one solution is known.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.