Re: [Gnome-print] [PATCH] fix big i18n problem in gnome-rfont.c



On Fri, 9 Mar 2001, Chema Celorio wrote:

 Hi, 

 I'm very sorry for confusion - I found the reason why all programs fail to
interpret .pdfs produced by GP with russian in them - it's because fraction
serparator for russian locale is comma, not dot, so all floating-poing values
emitted in .pdf stream have "," instead of "." as fraction separator.

 If I produce .pdfs under locale that has "." as fraction serparator with
russian inside .pdfs - everything works fine (xpdf doesn't show russian
letters though - but it's because non-russian fonts are in its fontmap, GS
shows that .pdf absolutely fine, and I didn't test acroread).

 I've attached a sample .pdf produced under russian locale. It contains only
one string - "ABC123" (latin chars - i.e. no russian fonts are required).

 Replacing comma with dot in the following line
12,000000 0,000000 0,000000 12,000000 100,000000 300,000000 Tm
 makes this file valid one.


> Vlad Harchev wrote:
> > 
> > On Fri, 9 Mar 2001, Vlad Harchev wrote:
> > 
> >  Hi Lautis,
> > 
> >  Unfortunately I have a reason to complain about support of i18n in
> > gnome-print :(
> > 
> >  Two points:
> > 1) pdfs generated by gnome-print with russian in them can't be opened by xpdf,
> >         gs and acroread. I can supply samples.
> 
> Please do.
> But I guess I need to have a russian font installed to debug it.
> 
> What program where you using  to generate PDF's ?
> 
> regards,
> chema
> 

 Best regards,
  -Vlad

output-ru.pdf



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]