Re: [Dotproject-cvs] Locale problem
Brought to you by:
ajdonnison,
kchisholm
|
From: Gregor E. <gr...@or...> - 2005-04-07 00:42:24
|
most jpgraph objects have a setFont() function or sth similar, perhaps just= overwrite the native object property with something you can handle. perhap= s 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: >=20 > In JPGraph, the used font_family is FF_FONT0 > When a text is displayed within a gantt graph, it is preprocessed by the > LanguageConv::Convert (in jpgraph.php L:499). >=20 > This function receives $aTxt (text) and $aFF (which I ignore what it > 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! >=20 > The problem is that font_family =3D=3D 1 and in the LangageConv::Convert > function, if $aFF =3D=3D 1 it thinks that the language is LANGUAGE_CYRILL= IC; > so it encodes in an all strange form and gantt graphs appear screwed up! >=20 > So guys! :) any help will be really appreciated. I think my problem is > conceptual, I'm not sure it's a JPGraph's bug. >=20 > Thank you in advance! >=20 >=20 > Atentamente / Sincerely=20 > Juan Carlos Gonz=E1lez > Innox - Innovaci=F3n Inteligente=20 > Tel: +52 (33) 36 15-5348=20 > jgo...@in...=20 > http://www.innox.com.mx >=20 >=20 >=20 > ------------------------------------------------------- > 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_id=3D6595&alloc_id=3D14396&op=3Dclick > _______________________________________________ > Dotproject-cvs mailing list > Dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotproject-cvs |