Re: [Dotproject-cvs] Locale problem
Brought to you by:
ajdonnison,
kchisholm
|
From: Innox - J. C. G. <jgo...@in...> - 2005-04-07 13:33:05
|
Hi Ivan, thank you for replying. 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. 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, perhaps 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 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 > > > > > > > > > > > > ------------------------------------------------------- > > > 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=6595&alloc_id=14396&op=click > > > _______________________________________________ > > > 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_id396&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_id396&op=click > _______________________________________________ > Dotproject-cvs mailing list > Dot...@li... > https://lists.sourceforge.net/lists/listinfo/dotproject-cvs > Atentamente / Sincerely Juan Carlos González Innox - Innovación Inteligente Tel: +52 (33) 36 15-5348 jgo...@in... http://www.innox.com.mx |