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

2006-10-13 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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2006-10-13 00:07 ---
Patch by Mark C. Allman applied in revision 463578.

-- 
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-13 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-13 00:57 ---
I now have an IOException saying: Unicode index not found for glyph 1778
for DejaVuSerif.ttf when running TTFReader.

DejaVu fonts, see: http://dejavu.sourceforge.net/wiki/index.php/Main_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 40724] - Kerning does not work for user-specified CID fonts

2006-10-13 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-13 01:02 ---
Forget it. I just saw you fixed it already. :-)

-- 
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-13 Thread Jeremias Maerki
Thanks for the changes. I understand the necessity now. I've done some
tests and after your latest fix, everything seems to be working fine.
Let's hope our users won't be too mad at us for changing the format. I
have some time in trains this and next week. Maybe I'll try to figure
out if it's a small change to bypass the metrics file entirely. :-)
Actually, finishing my DataMatrix implementation is more important but
if this were only a small step we should take it. *g* Otherwise, we'll
defer that to the FOray stuff.

On 12.10.2006 12:17:36 Bertrand Delacretaz wrote:
 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



Jeremias Maerki



Re: Page-Number-Citation Alignment

2006-10-13 Thread Jeremias Maerki
Great work on the page-number-citiation front, Simon. I've just
test-generated the XSLT 1.0 specification using FOP Trunk and all the
page reference I've seen so far look good! Looks like this is a big step
forward for DocBook users.

On 06.10.2006 20:06:28 Simon Pepping wrote:
 I fixed a bug in the rendering of the resolved page number. I hope
 that solves your problem.
 
 Regards, Simon
 
 On Thu, Oct 05, 2006 at 07:17:08AM -0700, woolly wrote:
  
  Thanks for the help. As a temporary nasty hack I have simply done the
  following in UnresolvedPageNumber.resolveIDRef(String id, List pages):
  
  
  String pg = page.getPageNumberString(); // original code, nasty hack follows
  
  // pad out the word in the text area to be 
  final int ESTIMATED_RESERVE = MMM.length();
  for (int i = 0; i  ESTIMATED_RESERVE - pg.length(); i++)
  {
 // adding a double space which hopefully is the same as the letter M
 addWord(  ,0);
  }
  
  addWord(pg, 0); // back to original code again
  
  
  
  In my particular use case, this works, but I'll be looking at the proper
  solutions and trying to implement them as well. Although I get the feeling
  I'm going to be knee deep in XSL-FO spec before I work it out. If I manage a
  real solution I'll be certain to post back here.
  -- 
  View this message in context: 
  http://www.nabble.com/Page-Number-Citation-Alignment-tf2387523.html#a6659459
  Sent from the FOP - Dev mailing list archive at Nabble.com.
  
 
 -- 
 Simon Pepping
 home page: http://www.leverkruid.eu



Jeremias Maerki



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

2006-10-13 Thread Bertrand Delacretaz

On 10/13/06, Jeremias Maerki [EMAIL PROTECTED] wrote:


...Maybe I'll try to figure
out if it's a small change to bypass the metrics file entirely. :-)


Shouldn't be hard at all, but right now I have to create a test
document to demonstrate the new font features for my own project, so
I won't be able to do it ATM. I hear you work well on trains ;-)

-Bertrand


Re: Page-Number-Citation Alignment

2006-10-13 Thread Simon Pepping
On Fri, Oct 13, 2006 at 10:31:48AM +0200, Jeremias Maerki wrote:
 Great work on the page-number-citiation front, Simon. I've just
 test-generated the XSLT 1.0 specification using FOP Trunk and all the
 page reference I've seen so far look good! Looks like this is a big step
 forward for DocBook users.

Actually, it is an extension of work that Luca did last year. It was a
lot of work to find out how exactly to extend it. All the time I
wondered whether I was letting myself be sidetracked or whether this
was useful stuff, especially for book-like publications. Fortunately,
the latter feeling prevailed. I am glad it is useful.

Simon

-- 
Simon Pepping
home page: http://www.leverkruid.eu


ApacheCon US

2006-10-13 Thread Jeremias Maerki
Patrick,

how did the FOP talk go? Anyone else at ApacheCon right now?

Jeremias Maerki



Re: ApacheCon US

2006-10-13 Thread Patrick Paul

Hi Jeremias and everyone,

I did the presentation on Apache FOP Thursday morning. All went well, I 
had about 20 people in a regular size room. People were interested in 
the presentation overall, but what they were most interested in is the 
entire tool chain from XML to PDF. When I showed them an example of some 
work I have done using Docbook XML and output it in customized XHTML and 
PDF there eyes widened. That really spiked their interest !


Little anecdote, I highly recommended Definitive XSL-FO and a person 
actually bought it online during the presentation. Wow !


I've seen Carsten Ziegeler from Cocoon, and met with Ferdinand Soethe 
from the Apache Forrest project.


I found ApacheCon to be very well organized in general. The weather here 
in Austin is great. I'll be heading back to Montreal this afternoon.


Regards to all,

Patrick Paul

Jeremias Maerki wrote:

Patrick,

how did the FOP talk go? Anyone else at ApacheCon right now?

Jeremias Maerki

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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

2006-10-13 Thread Jeremias Maerki
Right, it isn't hard. Almost works after a train ride to Zurich and back.
:-)

On 13.10.2006 11:33:09 Bertrand Delacretaz wrote:
 On 10/13/06, Jeremias Maerki [EMAIL PROTECTED] wrote:
 
  ...Maybe I'll try to figure
  out if it's a small change to bypass the metrics file entirely. :-)
 
 Shouldn't be hard at all, but right now I have to create a test
 document to demonstrate the new font features for my own project, so
 I won't be able to do it ATM. I hear you work well on trains ;-)
 
 -Bertrand



Jeremias Maerki