[Dotproject-cvs] Locale problem
Brought to you by:
ajdonnison,
kchisholm
|
From: Innox - J. C. G. <jgo...@in...> - 2005-04-06 23:23:54
|
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 by the LanguageConv::Convert (in jpgraph.php L:499). 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! The problem is that font_family == 1 and in the LangageConv::Convert function, if $aFF == 1 it thinks that the language is LANGUAGE_CYRILLIC; so it encodes in an all strange form and gantt graphs appear screwed 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ález Innox - Innovación Inteligente Tel: +52 (33) 36 15-5348 jgo...@in... http://www.innox.com.mx |