Closed
Bug 364505
Opened 18 years ago
Closed 17 years ago
Charts not localizable
Categories
(Bugzilla :: Reporting/Charting, defect)
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
Reporter | ||
Comment 1•18 years ago
|
||
*** This bug has been confirmed by popular vote. ***
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 4•17 years ago
|
||
(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?
Reporter | ||
Comment 5•17 years ago
|
||
Comment 6•17 years ago
|
||
(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.
Comment 7•17 years ago
|
||
seems to be duplicate of bug 287682?
Reporter | ||
Comment 8•17 years ago
|
||
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.
Description
•