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
http://issues.apache.org/bugzilla/show_bug.cgi?id=40724.
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.


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
http://issues.apache.org/bugzilla/show_bug.cgi?id=40739.
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
http://issues.apache.org/bugzilla/show_bug.cgi?id=40724.
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] - 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
http://issues.apache.org/bugzilla/show_bug.cgi?id=40739.
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:

  font-metrics metrics-version=2 type=TYPE0

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 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
http://issues.apache.org/bugzilla/show_bug.cgi?id=40464.
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.


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

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
kerning 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 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
http://issues.apache.org/bugzilla/show_bug.cgi?id=40744.
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---
?xml version=1.0 encoding=UTF-8?
fo:root xmlns:fo=http://www.w3.org/1999/XSL/Format;
fo:layout-master-set
fo:simple-page-master master-name=coverPage page-height=6cm
page-width=12cm margin-top=0.5cm margin-bottom=0.5cm margin-left=1cm
margin-right=0.5cm
fo:region-body margin-top=1cm /
/fo:simple-page-master
fo:simple-page-master master-name=leftPage 
page-height=6cm
page-width=12cm 
margin-left=0.5cm 
margin-right=1cm 
margin-top=0.5cm 
margin-bottom=0.5cm
fo:region-body margin-top=1.1cm 
margin-bottom=1.1cm /
fo:region-before extent=1cm/
fo:region-after extent=1cm/
/fo:simple-page-master
fo:simple-page-master master-name=rightPage page-height=6cm
page-width=12cm margin-left=1cm margin-right=0.5cm margin-top=0.5cm
margin-bottom=0.5cm
fo:region-body margin-top=1.1cm 
margin-bottom=1.1cm /
fo:region-before extent=1cm/
fo:region-after extent=1cm/
/fo:simple-page-master
fo:page-sequence-master   master-name=content
fo:repeatable-page-master-alternatives 

fo:conditional-page-master-reference master-reference=leftPage
odd-or-even=even/

fo:conditional-page-master-reference master-reference=rightPage
odd-or-even=odd/
/fo:repeatable-page-master-alternatives
/fo:page-sequence-master
fo:page-sequence-master master-name=cover  

fo:single-page-master-reference master-reference=coverPage/
/fo:page-sequence-master
/fo:layout-master-set
fo:page-sequence master-reference=content initial-page-number=99
fo:static-content flow-name=xsl-region-before
fo:block font-family=Times font-size=10pt   
text-align=center
 Spanish Review Handbook 
#1055;#1088;#1086;#1074;#1077;#1088;#1082;#1072; 
#1047;#1072;#1075;#1086;#1083;#1086;#1074;#1082;#1072;
/fo:block
/fo:static-content
fo:static-content flow-name=xsl-region-after
fo:block font-family=Helvetica 
font-size=10pt text-align=center 
Page fo:page-number /
/fo:block
/fo:static-content
fo:flow flow-name=xsl-region-body
fo:block 
border 
=thick dashed green
Test Cover Page! Hello world!  
12345667 /fo:block
fo:block
Test 
text
/fo:block 


fo:block border=thick dashed 
yellow
Point 1 Attributes generate 
exception   

fo:table 

border-top-style=solid 

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
http://issues.apache.org/bugzilla/show_bug.cgi?id=40744.
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] - 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
http://issues.apache.org/bugzilla/show_bug.cgi?id=40744.
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 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
http://issues.apache.org/bugzilla/show_bug.cgi?id=39712.
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
http://issues.apache.org/bugzilla/show_bug.cgi?id=40744.
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 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
http://issues.apache.org/bugzilla/show_bug.cgi?id=40583.
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=18995action=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 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
http://issues.apache.org/bugzilla/show_bug.cgi?id=40583.
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.