Please check pre-defined constants in PageSize, some are not accurate enough. It
caused a little problem in my application.
For example:
  A3 = new Rectangle(842, 1190); 

which should be:
  A3 = new Rectangle(842, 1191);

By looking up in http://en.wikipedia.org/wiki/Paper_size, I created a
uncompleted list as below.

A Series Formats                                
        mm      mm      pt      pt
A0      841     1189    2384    3370 
A1      594     841     1684    2384 
A2      420     594     1191 *  1684 
A3      297     420     842     1191 *
A4      210     297     595     842 
A5      148     210     420 *   595 
A6      105     148     298 *   420 *
A7      74      105     210     298 *
A8      52      74      147 *   210 
A9      37      52      105     147 *
A10     26      37      74      105 


B Series Formats                                
        mm      mm      pt      pt
B0      1000    1414    2835 *  4008 
B1      707     1000    2004    2835 * 
B2      500     707     1417 *  2004 
B3      353     500     1001 *  1417 *
B4      250     353     709     1001 *
B5      176     250     499 *   709 

 
ARCH Series Format                              
        mm      mm      pt      pt
Arch A  228.6   304.8   648     864 
Arch B  304.8   457.2   864     1296 
Arch D  457.2   609.6   1296    1728 
Arch D  609.6   914.4   1728    2592 
Arch E  914.4   1219.2  2592    3456 





-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to