DO NOT REPLY [Bug 40106] - PDF crash in PDFText class

2006-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=40106.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40106


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |ASSIGNED




--- Additional Comments From [EMAIL PROTECTED]  2006-07-26 06:50 ---
Yes, I think this is a safe change. UnicodeBigUnmarked is a synonym for
UTF-16BE. There's another reference about which encodings must be supported by
a JVM: 
http://java.sun.com/j2se/1.3/docs/api/java/lang/package-summary.html#charenc

Still, GNU Classpath would do good to add those synonyms, too.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 40112] New: - keep-with-previous.within-page not working

2006-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=40112.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40112

   Summary: keep-with-previous.within-page not working
   Product: Fop
   Version: 0.92
  Platform: PC
OS/Version: Linux
Status: NEW
  Severity: normal
  Priority: P2
 Component: pdf
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


I've got a block container which contains:

 a) an image (rendered correctly)
 b) some absolute positionend containers which shall be glued to that image with
the keep-with-previous.within-page=always property

The idea is to have a background image (which is guaranteed to fit on the page)
and to overlay text elements with absolute positions over it. This positions are
naturally in-boundery of that image, so the would no need for a page break.
Sometimes, the layout engine creates a pagebreak here and the overlayed images
appear on the next page, which is unusefull. Trying to protect the whole
container with keep-together results in Exceptions (I found a posting on the
developer mailing list describing that keep-together is implemented only 
partly).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 40112] - keep-with-previous.within-page not working

2006-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=40112.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40112





--- Additional Comments From [EMAIL PROTECTED]  2006-07-26 09:42 ---
Created an attachment (id=18642)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18642action=view)
Sample PDF output

Code for this output:

?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
xmlns:html=http://www.w3.org/1999/xhtml; writing-mode=lr-tb
hyphenate=false text-align=start role=html:html
fo:layout-master-set
fo:simple-page-master page-width=auto page-height=auto
master-name=all-pages
fo:region-body column-gap=12pt column-count=1
margin-left=1in
margin-bottom=1in margin-right=1in
margin-top=1in/
fo:region-before display-align=before extent=1in
region-name=page-header/
fo:region-after display-align=after extent=1in
region-name=page-footer/
fo:region-start extent=1in/
fo:region-end extent=1in/
/fo:simple-page-master
/fo:layout-master-set

fo:page-sequence master-reference=all-pages
fo:titleScale/fo:title
fo:static-content flow-name=page-header
fo:block font-size=small text-align=center
space-before=0.5in
   
space-before.conditionality=retainScale/fo:block
/fo:static-content
fo:static-content flow-name=page-footer
fo:block font-size=small text-align=center
space-after=0.5in
space-after.conditionality=retain-
fo:page-number/ -/fo:block
/fo:static-content
fo:flow flow-name=xsl-region-body
fo:block font-family=FranklinGothicMedium
role=html:body
fo:block font-size=1.17em font-weight=bold
space-before=1em
space-after=1em
keep-with-next.within-column=always
keep-together.within-column=always
role=html:h3
Scale/fo:block
fo:block border=1px inset
space-before=0.67em
space-after=0.67em role=html:hr/
fo:block font-size=1em font-weight=bold
space-before=1.17em
space-after=1.17em
keep-with-next.within-column=always
keep-together.within-column=always
role=html:h4
Inhaltsverzeichnis:/fo:block
fo:list-block space-before=1em
space-after=1em role=html:ul
fo:list-item relative-align=baseline
role=html:li
fo:list-item-label
wrap-option=no-wrap text-align=end
   
end-indent=label-end()
fo:block
fo:inline
font=1em serif•/fo:inline
/fo:block
/fo:list-item-label
fo:list-item-body
start-indent=body-start()
fo:block
fo:basic-link
text-decoration=underline
   
color=blue role=html:a
   
internal-destination=2990neuer Knoten
   
fo:inline font-family=starstruck
   
/fo:inline /fo:basic-link
/fo:block
/fo:list-item-body
/fo:list-item
/fo:list-block
fo:block padding-bottom=0.3em
role=html:br/Das Symbol
fo:inline
font-family=starstrucke/fo:inline gibt den
Schwierigkeitsgrad einer Übungsaufabe an.
fo:block padding-bottom=0.3em
role=html:br/
   

DO NOT REPLY [Bug 40112] - keep-with-previous.within-page not working

2006-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=40112.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40112





--- Additional Comments From [EMAIL PROTECTED]  2006-07-26 11:26 ---
Workaround: 

manipulate the space needed by the image with block-progression-dimension.
It seems to work!

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 39777] - [PATCH] GSoC: floats implementation

2006-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=39777.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39777





--- Additional Comments From [EMAIL PROTECTED]  2006-07-26 16:06 ---
Created an attachment (id=18644)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18644action=view)
Testcases for before-floats

Testcases for basic features of before-floats. There are also some disabled
testcases for features known to be broken.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 40120] New: - font-base wrongly interpreted when embedding font and input in folder

2006-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=40120.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40120

   Summary: font-base wrongly interpreted when embedding font and
input in folder
   Product: Fop
   Version: 0.92
  Platform: PC
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: general
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


Environment: jre1.5.0_06, any fo (or xml-xsl) file rendered to pdf using a non
standard and embedded font.
Under the following conditions:

- NOT specifying a font-base in the userconfig
- Specifying base as . (probably irrelevant)
- Embedding a font through userconfig.xml, assuming the current directory for
both the .ttf as well as the metrics xml, ie embed=file:gothic.ttf and of
course those font files sitting there
- Actually using that font in the fo
- the fo (or xml in a xml/xsl setup) being in a separate folder (ie fop -fo
store/my.fo). The file being specified relatively to the current directory is
probably irrelevant.

the resulting pdf is generated without complained, but actually does not have
the .ttf embedded, resulting in a font not found when opening the pdf. Further
investigating showed if the .ttf is ALSO copied to the relative path of the
source .fo (or xml), it DOES embed in the pdf.

Main problem is the renderer does not complain, combined with the fop
documentation stating (font-base) specifies the base URL based on which
relative font URLs will be resolved. If not specified defaults to the base URL
above, which is obvisouly not true when the source file is in a folder.

Workaround is to specify a font-base in the userconfig, even if it's a simple
.. Refering to the .ttf in an absolute way worked too (eeww).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 40120] - font-base wrongly interpreted when embedding font and input in folder

2006-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=40120.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40120





--- Additional Comments From [EMAIL PROTECTED]  2006-07-26 18:31 ---
excuse me, where it says

embed=file:gothic.ttf

please read

embed-url=file:gothic.ttf


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 40122] New: - table header is missing when table is inside a list and splitted

2006-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=40122.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40122

   Summary: table header is missing when table is inside a list and
splitted
   Product: Fop
   Version: 0.92
  Platform: PC
OS/Version: Windows XP
Status: NEW
  Severity: normal
  Priority: P2
 Component: pdf
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


When a table is in a list and splitted on several pages, the table 
header appears only in the last part (page) of the table.
The table header should repeat on each page.
If the table is put outside the list, it works fine (header is 
repeated on each page).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.


DO NOT REPLY [Bug 40122] - table header is missing when table is inside a list and splitted

2006-07-26 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=40122.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=40122





--- Additional Comments From [EMAIL PROTECTED]  2006-07-27 01:04 ---
Created an attachment (id=18651)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=18651action=view)
FO test file to produce the bug


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.