DO NOT REPLY [Bug 47941] AFP Renderer Truncates TLE Values

2009-10-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47941

--- Comment #4 from Harald G. Henne afput...@web.de 2009-10-19 03:45:36 UTC 
---
In the world of AFP a TLE is normally written out by the
two triplets 0x02 and 0x36. The max lenght of any triplet
is 254 bytes and this limit is the reason for the mentioned truncation. 
On the other side it is quite common to remove any trailing blanks 
of TLE values. 

I checked out the current trunk and the produced afp is not valid.

my afp dump:

0xD3A090: TLE Tag Logical Element [322] (Offset 34)
  T02: Fully Qualified Name [6]
   FQNType:0x0B (Attribute GID)
   FQNFmt: 0x00 (Character string)
   FQName: JES0
  T36: Attribute Value [46]
   Reserved:   00 00 
   AttVal: JES00927200   90INITIATION REGULAR  
   (hex:)  D1 C5 E2 F0 F0 F9 F2 F7 F2 F0 F0 40 40 40 40 40 
   40 40 F9 F0 C9 D5 C9 E3 C9 C1 E3 C9 D6 D5 40 40 
   40 40 40 D9 C5 C7 E4 D3 C1 D9 40 40 
  T40: - unknown triplet - [62]
   40 40 40 40 F6 F9 F0 60 F5 F0 F1 40 40 40 F3 F9 
   F0 60 40 F1 F2 F7 40 40 40 40 F2 F7 F2 F0 F0 F0 
   F2 F1 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
  T40: - unknown triplet - [62]
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
  T40: - unknown triplet - [62]
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
  T40: - unknown triplet - [62]
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
  T80: Attribute Qualifier [8]
   SeqNum: 0x (0)
   LevNum: 0x0001 (1)
0xD3A090: TLE Tag Logical Element [340] (Offset 365)
  T02: Fully Qualified Name [6]
   FQNType:0x0B (Attribute GID)
   FQNFmt: 0x00 (Character string)
   FQName: ACC1
  T36: Attribute Value [64]
   Reserved:   00 00 
   AttVal: ACC137431646900690-501EN   
  
   (hex:)  C1 C3 C3 F1 F3 F7 F4 F3 F1 F6 F4 F6 F9 F0 F0 F0 
   F0 F0 F0 40 40 40 40 F6 F9 F0 60 F5 F0 F1 40 40 
   40 40 C5 D5 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
  T40: - unknown triplet - [62]
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 F0 F0 40 40 40 40 40 40 40 40 
  T40: - unknown triplet - [62]
   40 40 40 40 40 40 F0 F0 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
  T40: - unknown triplet - [62]
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
  T40: - unknown triplet - [62]
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 40 
   40 40 40 40 40 40 40 40 40 40 40 40 40 40 
  T80: Attribute Qualifier [8]
   SeqNum: 0x0001 (1)
   LevNum: 0x0001 (1)
0xD3A090: TLE Tag Logical Element [124] (Offset 714)
  T02: Fully Qualified Name [6]
   FQNType:0x0B (Attribute GID)
   FQNFmt: 0x00 (Character string)
   FQName: ADR1
  T36: Attribute Value [104]
   Reserved:   00 00 
   AttVal: ADR1MICKEY MOUSE  

DO NOT REPLY [Bug 47941] AFP Renderer Truncates TLE Values

2009-10-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=47941

--- Comment #7 from Harald G. Henne afput...@web.de 2009-10-19 05:00:16 UTC 
---
secondly i tried it with a small testcase holding
10 TLEs with increasing value length:

input:
afp:tag-logical-element name=name250 value=  .../
afp:tag-logical-element name=name251 value=  ...1/
afp:tag-logical-element name=name252 value=  ...12/
afp:tag-logical-element name=name253 value=  ...123/
afp:tag-logical-element name=name254 value=  ...1234/
afp:tag-logical-element name=name255 value=  ...12345/
afp:tag-logical-element name=name256 value=  ...123456/
afp:tag-logical-element name=name257 value=  ...1234567/
afp:tag-logical-element name=name258 value=  ...12345678/
afp:tag-logical-element name=name259 value=  ...123456789/

the first failure will be for TLE with name name253 and it just looks like 
a overflow.

$ grep T36 testcase001.dmp 
  T36: Attribute Value [251]
  T36: Attribute Value [252]
  T36: Attribute Value [253]
  T36: Attribute Value [0]
  T36: Attribute Value [0]
  T36: Attribute Value [0]
  T36: Attribute Value [1]
  T36: Attribute Value [2]
  T36: Attribute Value [3]
  T36: Attribute Value [4]

in my opinion the best will be to split up such problem TLEs and write out
several
TLE structed fields with incremented triplet 0x80 'Sequence Number'. 

Unfortunately i did no java debugging for the last few years i have first to
setup 
eclipse or IntelliJ on my computer.

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


DO NOT REPLY [Bug 48002] AFP plot values are incorrectly calculated in page overlays when renderer-resolution setting not 240dpi

2009-10-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48002

Venkat Reddy vanukuri.ven...@googlemail.com changed:

   What|Removed |Added

 AssignedTo|fop-...@xmlgraphics.apache. |vanukuri.ven...@googlemail.
   |org |com

--- Comment #1 from Venkat Reddy vanukuri.ven...@googlemail.com 2009-10-19 
06:57:44 UTC ---
Created an attachment (id=24395)
 -- (https://issues.apache.org/bugzilla/attachment.cgi?id=24395)
Page Overlay patch

Please some one review my patch...

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


DO NOT REPLY [Bug 48013] Image processing makes FOP really slow

2009-10-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48013

--- Comment #2 from Sean Griffin sgrif...@cerner.com 2009-10-19 07:16:33 UTC 
---
Can you describe what steps leading up to the rendering that you identified as
the slow points?  Also maybe more about your environment (max heap, etc.).

I tried this myself with just the default max heap size and was able to create
the PDF in under 0.5 sec using the client Hotspot JVM.

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


DO NOT REPLY [Bug 48013] Image processing makes FOP really slow

2009-10-19 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=48013

--- Comment #3 from Jonathan Levinson levin...@intersystems.com 2009-10-19 
11:13:56 UTC ---
I am on Windows XP with 3.5 Gig of memory.  I am running on a Dell Latitude
D630 laptop.  Dual Core.  2.6 GHz.

C:\jai-1_1\libjava -version
java version 1.6.0_10
Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
Java HotSpot(TM) Client VM (build 11.0-b15, mixed mode, sharing)

I have JAI 1.1.3 installed and am able to run the demos.

Right now, I can't get fop-0.95 to display the image because I get the error:

SEVERE: Image not available: No ImagePreloader found for
file:///perforce/Users/levinson/B47157/test-image.png

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


Re: Route message for missing alt-text property through event notification system

2009-10-19 Thread Simon Pepping
On Sun, Oct 18, 2009 at 05:33:34PM +0200, Jeremias Maerki wrote:
 Not sure if you consider this a cookbook recipe, but the event subsystem
 (client and developer side) is documented here:
 http://xmlgraphics.apache.org/fop/trunk/events.html
 
 Let me know if that's insufficient.

The title, 'The producer side (for FOP developers)', sounds good. I
had not realized this documentation exists. I will look into it.

Simon

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