DO NOT REPLY [Bug 40583] - Under Cygwin, fop bash script CLASSPATH problem

2006-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40583





--- Additional Comments From [EMAIL PROTECTED]  2006-10-12 13:29 ---
FWIW it was the technique i attempted when i first tried to hack it.

both work fine.
Fop - last script:
local class path:
c:/win2k/fop/lib/xmlgraphics-commons-1.0.jar;c:/win2k/fop/lib/xml-apis-1.3.02.jar;c:/win2k/fop/lib/xercesImpl-2.7.1.jar;c:/win2k/fop/lib/xlan-2.7.0.jar;c:/win2k/fop/lib/serializer-2.7.0.jar;c:/win2k/fop/lib/commons-logging-1.0.4.jar;c:/win2k/fop/lib/commons-io-1.1.jar;c:/win2k/fop/lib/batik-all-1.6.jar;c:/win2k/fop/lib/avalon-framework-4.2.0.jar;c:/win2k/fop/build/fop.jar;c;C:/cygwin/win2k/fop/build/fop-sandbox.jar;c;C:/cygwin/win2k/fop/build/fop-hyph.jar;

Fopish - new script:
local class path:
c:/win2k/fop/lib/xmlgraphics-commons-1.0.jar;c:/win2k/fop/lib/xml-apis-1.3.02.jar;c:/win2k/fop/lib/xercesImpl-2.7.1.jar;c:/win2k/fop/lib/xalan-2.7.0.jar;c:/win2k/fop/lib/serializer-2.7.0.jar;c:/win2k/fop/lib/commons-logging-1.0.4.jar;c:/win2k/fop/lib/commons-io-1.1.jar;c:/win2k/fop/lib/batik-all-1.6.jar;c:/win2k/fop/lib/avalon-framework-4.2.0.jar;c:/win2k/fop/build/fop.jar;c:/win2k/fop/build/fop-sandbox.jar;c:/win2k/fop/build/fop-hyph.jar

as you can see, the new one adds the last two jars correctly.

Done IMHO, but will leave for someone else to close.
 

-- 
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 40583] - Under Cygwin, fop bash script CLASSPATH problem

2006-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40583





--- Additional Comments From [EMAIL PROTECTED]  2006-10-12 11:34 ---
Created an attachment (id=18995)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18995&action=view)
another alternative fop script

This script was provided by Mark C. Allman. I builds the Unix path, but with
semicolons instead of colons. Then it applies cygpath as before. This will
cause cygpath to convert the path in pieces, and avoid length problems. This is
a simpler solution than mine. Please, test.

-- 
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 40744] - NullPointerException in table w border-separation(?). Orig file and log included.

2006-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40744


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2006-10-12 09:59 ---
Found it. It is the exact same bug.

*** This bug has been marked as a duplicate of 39712 ***

-- 
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 39712] - NullPointerExeption on table with border-separation="[value]"

2006-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=39712


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2006-10-12 09:59 ---
*** Bug 40744 has been marked as a duplicate of this 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.


DO NOT REPLY [Bug 40744] - NullPointerException in table w border-separation(?). Orig file and log included.

2006-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40744





--- Additional Comments From [EMAIL PROTECTED]  2006-10-12 09:47 ---
Hi,

Are you willing and at liberty to try the latest Trunk version? I seem to 
remember having fixed this bug, 
shortly after the 0.92 release...

If not, I think replacing 'border-separation="0.04167in"' with 
'border-separation="0.04167in 
0.04167in"' should do the trick for you (iow: specify the length both in 
inline- and block-progression 
direction)

Can you confirm if this solves your problem?

Thx,

Andreas

-- 
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 40744] - NullPointerException in table w border-separation(?). Orig file and log included.

2006-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40744


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Severity|blocker |minor
   Priority|P2  |P4




-- 
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 40744] New: - NullPointerException in table w border-separation(?). Orig file and log included.

2006-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40744

   Summary: NullPointerException in table w border-separation(?).
Orig file and log included.
   Product: Fop
   Version: 0.92
  Platform: PC
OS/Version: Windows 2000
Status: NEW
  Severity: blocker
  Priority: P2
 Component: general
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


See "Point 1" in file. See log after file, pls.
Looks like border-separation="0.04167in" generates an error.

Thanks!
Boris.

--Orig file--
-CUT---

http://www.w3.org/1999/XSL/Format";>






























 Spanish Review Handbook 
Проверка 
Заголовка




Page 



Test Cover Page! Hello world!  
12345667 

Test 
text
 



Point 1 Attributes generate 
exception   







Line1







11





12





13





After Table
 






CUT---
Log file---
--CUT-
--- Standard Error ---
12/10/2006 18:34:28 org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.NullPointerException
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:167)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:114)
at org.apache.fop.cli.Main.startFOP(Main.java:159)
at org.apache.fop.cli.Main.main(Main.java:190)

-

java.lang.NullPointerException
at
org.apache.fop.fo.properties.CompoundPropertyMaker.convertProperty(Compound

Re: Kerning for CID fonts, use unicode indexes in ?

2006-10-12 Thread Bertrand Delacretaz

On 10/11/06, Jeremias Maerki <[EMAIL PROTECTED]> wrote:


...I wonder how much should
be invested in versioning of those files


Ok, so I have added a simplistic versioning system for these metrics
XML files, an exception is thrown when attempting to read incompatible
metrics files (http://issues.apache.org/bugzilla/show_bug.cgi?id=40739).

Mapping the glyph indexes to unicode indexes when reading the XML
metrics file seemed more complicated than when creating the file, so I
have implemented the change in the TTFFile class, which now writes the
 info based on unicode code points.

A note in the FOray release notes
(http://foray.sourceforge.net/app/using/release.html) says "Kerning
has been fixed for subsetted fonts", makes me wonder if kerning did
work before for custom CID fonts. Anyway it should work now.

-Bertrand


DO NOT REPLY [Bug 40739] - Add metrics-version attribute to XML font metrics file

2006-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40739


[EMAIL PROTECTED] changed:

   What|Removed |Added

OtherBugsDependingO||40464
  nThis||




-- 
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 40464] - Improve handling of OpenType fonts

2006-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40464


[EMAIL PROTECTED] changed:

   What|Removed |Added

  BugsThisDependsOn||40739

Bug 40464 depends on bug 40739, which changed state.

Bug 40739 Summary: Add metrics-version attribute to XML font metrics file
http://issues.apache.org/bugzilla/show_bug.cgi?id=40739

   What|Old Value   |New Value

 Status|NEW |RESOLVED
 Resolution||FIXED



-- 
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 40739] - Add metrics-version attribute to XML font metrics file

2006-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40739


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-10-12 03:09 ---
Metrics files for TYPE0 and TRUETYPE fonts now have a metrics-version attribute:

  

and the FontReader throws a SAXException when reading those files, if the
version info is absent or incompatible.

-- 
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 40724] - Kerning does not work for user-specified CID fonts

2006-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40724





--- Additional Comments From [EMAIL PROTECTED]  2006-10-12 02:50 ---
See bug #40739 for the metrics-version attribute used to detect older versions
of the metrics file.

-- 
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 40739] New: - Add metrics-version attribute to XML font metrics file

2006-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40739

   Summary: Add metrics-version attribute to XML font metrics file
   Product: Fop
   Version: 1.0dev
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: fonts
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: [EMAIL PROTECTED]


Needed to detect incompatible changes between versions of these files (see bug
#40724 comment #1).

-- 
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 40724] - Kerning does not work for user-specified CID fonts

2006-10-12 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
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=40724





--- Additional Comments From [EMAIL PROTECTED]  2006-10-12 01:20 ---
As discussed on the mailing list, this change makes old metrics files 
incompatible. 

If implemented, it would be good to add a version number to the metrics file, to
detect the incompatibility in case metrics files generated with older FOP
versions are used.

-- 
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.


Re: Kerning for CID fonts, use unicode indexes in ?

2006-10-12 Thread Bertrand Delacretaz

On 10/11/06, Jeremias Maerki <[EMAIL PROTECTED]> wrote:

...the goal should be that we
don't rely on those XML files much longer, so I wonder how much should
be invested in versioning of those files...


Agreed - versioning is easy though, if I need to make the suggested
changes I'll probably implement it just to be safe, before going to
direct reading of the font files.


... I still don't understand why exactly this change is
necessary


The layout code definitely expects unicode indexes for the kerning
values, so something's wrong currently. I'll see how mapping on the
other side (i.e. when reading the metrics xml file) looks, as it would
avoid having to modify the metrics xml files.

-Bertrand