Bug 50881 - Problem with: itemized list and Russian text
Summary: Problem with: itemized list and Russian text
Status: CLOSED INVALID
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: pdf (show other bugs)
Version: all
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-06 14:36 UTC by Streit Eric
Modified: 2012-04-01 13:43 UTC (History)
0 users



Attachments
the example fault text file (1.75 KB, text/plain)
2011-03-06 14:37 UTC, Streit Eric
Details
the generated fo file (27.52 KB, text/x-xslfo)
2011-03-07 03:53 UTC, Streit Eric
Details
the fop version (888 bytes, application/octet-stream)
2011-03-07 03:54 UTC, Streit Eric
Details
the pdf result (19.59 KB, application/octet-stream)
2011-03-07 03:56 UTC, Streit Eric
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Streit Eric 2011-03-06 14:36:15 UTC
Hi,

I found a bug when I tried to build long itemized lists with Russian text.

The numbering part is not preserved and there is an overlapping of the numbered part and the the following text. It happened with numbers higher than 10.

here is a shema:

1.Премер 
2.Премер
...
10Премер

as you can see, the point after the numbers disappears and the effect is not very nice.

I join a file for example.

It doesn't happen with english text. It happened when I put xml:lang of the document on  "ru" or "en".

best regards,

Eric!
-----

ps: I use the last oXygen and xmlmind programs.
Comment 1 Streit Eric 2011-03-06 14:37:44 UTC
Created attachment 26735 [details]
the example fault text file
Comment 2 Mehdi Houshmand 2011-03-07 03:32:10 UTC
Hi Eric,

Could you post the FO file you're using please? The attachment you've posted is a data XML file and not a valid input for FOP. This makes finding a bug in FOP highly ambiguous since this could be an issue in the XSLT you've used to transform the data XML to FO.

Also what version of FOP are you using and could you also post your config file if you're using any custom fonts or settings.

Thanks

Mehdi
Comment 3 Streit Eric 2011-03-07 03:53:50 UTC
Created attachment 26736 [details]
the generated fo file
Comment 4 Streit Eric 2011-03-07 03:54:29 UTC
Created attachment 26737 [details]
the fop version
Comment 5 Streit Eric 2011-03-07 03:56:19 UTC
Created attachment 26738 [details]
the pdf result
Comment 6 Mehdi Houshmand 2011-03-07 04:07:17 UTC
Ahhh ok, well this looks like a kerning issue. You'll notice the "." is still present but is being written over-the-top by the "П" glyph. I'll take a look and post my findings
Comment 7 Mehdi Houshmand 2011-03-07 06:07:35 UTC
This isn't a bug, an warning is thrown by FOP:

 "WARNING: Line 1 of a paragraph overflows the available area by 5890 millipoints. (See position 424:3513)"

This, as it suggests, means that an area is overflown. This is because you've set provisional-distance-between-starts="1.2em", this isn't enough space for the "xx." you want for your list. I'd suggest either remove this from your FO or increase the number to allow enough space for the glyphs. This isn't a bug.
Comment 8 Mehdi Houshmand 2011-03-07 06:11:15 UTC
Sorry just to add to that, the provisional-distance-between-starts is a attribute of fo:list-block.
Comment 9 Glenn Adams 2012-04-01 13:43:05 UTC
batch transition to closed for remaining resolved bugs