Re: [Dotproject-cvs] Locale problem
Brought to you by:
ajdonnison,
kchisholm
|
From: Ivan P. <cyb...@gm...> - 2005-04-07 14:31:49
|
do one try - get the function back and in your
lib/jpgraph/src/jpg-config.inc change the two variables:
DEFINE("LANGUAGE_CYRILLIC",true);
DEFINE("CYRILLIC_FROM_WINDOWS",true);
to false - that should also solve your problem and is the advisable
solution for now until a better one is thought of.
On Apr 7, 2005 11:02 PM, Innox - Juan Carlos Gonzalez
<jgo...@in...> wrote:
> Hi Ivan, thank you for replying.
>=20
> Within the gantt graphs, all non-english letters appear with html
> entities; If I comment out that function and only return the text as it
> arrives to it, everything works perfectly.
>=20
>=20
> On Thu, 2005-04-07 at 10:26 +0930, Ivan Peevski wrote:
> > What appears screwed up? Some of your locale particular characters?
> > The cyrillic changes were introduced to fix russian and other cyrillic
> > translations - if they are not compatible with other languages, maybe
> > we'll have to introduce a user-based setting for this ?!
> >
> > On Apr 7, 2005 11:12 AM, Gregor Erhardt <gr...@or...> wrote:
> > > most jpgraph objects have a setFont() function or sth similar, perhap=
s just overwrite the native object property with something you can handle. =
perhaps that helps without having to tweak much of the code.
> > >
> > > cheers
> > > greg
> > >
> > > On Wed, 06 Apr 2005 18:23:49 -0500
> > > Innox - Juan Carlos Gonzalez <jgo...@in...> wrote:
> > >
> > > > Everyone... after about a two hours debugging I came out with some
> > > > strange type of problem. Summarized:
> > > >
> > > > In JPGraph, the used font_family is FF_FONT0
> > > > When a text is displayed within a gantt graph, it is preprocessed b=
y the
> > > > LanguageConv::Convert (in jpgraph.php L:499).
> > > >
> > > > This function receives $aTxt (text) and $aFF (which I ignore what i=
t
> > > > is). The only thing that I know is that this function is called in
> > > > Image::StrokeText (jpgraph.php L:6141) and it passes a font_family!
> > > >
> > > > The problem is that font_family =3D=3D 1 and in the LangageConv::Co=
nvert
> > > > function, if $aFF =3D=3D 1 it thinks that the language is LANGUAGE_=
CYRILLIC;
> > > > so it encodes in an all strange form and gantt graphs appear screwe=
d up!
> > > >
> > > > So guys! :) any help will be really appreciated. I think my problem=
is
> > > > conceptual, I'm not sure it's a JPGraph's bug.
> > > >
> > > > Thank you in advance!
> > > >
> > > >
> > > > Atentamente / Sincerely
> > > > Juan Carlos Gonz=E1lez
> > > > Innox - Innovaci=F3n Inteligente
> > > > Tel: +52 (33) 36 15-5348
> > > > jgo...@in...
> > > > http://www.innox.com.mx
> > > >
> > > >
> > > >
> > > > -------------------------------------------------------
> > > > SF email is sponsored by - The IT Product Guide
> > > > Read honest & candid reviews on hundreds of IT Products from real u=
sers.
> > > > Discover which products truly live up to the hype. Start reading no=
w.
> > > > http://ads.osdn.com/?ad_id=3D6595&alloc_id=3D14396&op=3Dclick
> > > > _______________________________________________
> > > > Dotproject-cvs mailing list
> > > > Dot...@li...
> > > > https://lists.sourceforge.net/lists/listinfo/dotproject-cvs
> > >
> > > -------------------------------------------------------
> > > SF email is sponsored by - The IT Product Guide
> > > Read honest & candid reviews on hundreds of IT Products from real use=
rs.
> > > Discover which products truly live up to the hype. Start reading now.
> > > http://ads.osdn.com/?ad_ide95&alloc_id=14396&opclick
> > > _______________________________________________
> > > Dotproject-cvs mailing list
> > > Dot...@li...
> > > https://lists.sourceforge.net/lists/listinfo/dotproject-cvs
> > >
> >
> >
> > -------------------------------------------------------
> > SF email is sponsored by - The IT Product Guide
> > Read honest & candid reviews on hundreds of IT Products from real users=
.
> > Discover which products truly live up to the hype. Start reading now.
> > http://ads.osdn.com/?ad_ide95&alloc_id=14396&op=3Dclick
> > _______________________________________________
> > Dotproject-cvs mailing list
> > Dot...@li...
> > https://lists.sourceforge.net/lists/listinfo/dotproject-cvs
> >
> Atentamente / Sincerely
> Juan Carlos Gonz=E1lez
> Innox - Innovaci=F3n Inteligente
> Tel: +52 (33) 36 15-5348
> jgo...@in...
> http://www.innox.com.mx
>=20
>
|