Re: [iText-questions] lost all the anchors when concat

2002-08-13 Thread Leonard Rosenthol

At 1:47 PM -0500 8/13/02, [EMAIL PROTECTED] wrote:
>i am trying to concat about 10 files together. but once i run the concat,
>i lost all the anchors within these 10 files.
>

that is correct.  iText, at this time, doesn't support 
copying non-content information when it "merges" files.


Leonard
-- 
---
Leonard Rosenthol
Chief Technical Officer  
PDF Sages, Inc.  215-629-3700 (voice)
  215-629-0789 (fax)


---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] lost all the anchors when concat

2002-08-13 Thread Hoi . Tsang

Hi there,

i am trying to concat about 10 files together. but once i run the concat,
i lost all the anchors within these 10 files.

do you guys have any insight?..
thankx
-hoi.


---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] (no subject)

2002-08-13 Thread John K. Watson

I would recommend fixing the typo in the line below.  It should be 
"application/pdf" (note the double 'p').  That should help a lot.  :)

John

On Tuesday, August 13, 2002, at 05:52 AM, Bruno wrote:

> Quoting Parag Chatterjee <[EMAIL PROTECTED]>:
>
>>  
>   res.setContentType("aplication/pdf");
>



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] ColumnText issues (was Re: leading, tracking, kerning)

2002-08-13 Thread Paulo Soares

ColumnText does proper tracking and spacing according to the set rules. If
you make PdfDocument.ratio=1000f tracking is eliminated and all that
remains is word spacing. It's possible to change the width of the space
character in BaseFont.getWidths(). Maybe that would be enough for you.

Best Regards,
Paulo Soares

- Original Message -
From: "Shahzad Latif" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 13:01
Subject: Re: [iText-questions] ColumnText issues (was Re: leading, tracking,
kerning)


> I was able to use contentbyte's word and character spacing on column
> text.
> Problem is if either one or both get too large, the whole text ended up
> off
> the rectangle of columntext (horizontally). Well... with some trial and
> errors, I was able to come up with a column width and the spacing in
> sync.
> For the time being, I am good with some compromizes.
>
> A proper tracking/kerning and other spacing params would be really nice
> to
> see in Sept/Oct release.
>
> Best regards,
>
> Shahzad
>
>
> Original Message Follows
> From: "Paulo Soares" <[EMAIL PROTECTED]>
> To: "John Hardy" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
> Subject: Re: [iText-questions] ColumnText issues (was Re: leading,
> tracking,
> kerning)
> Date: Tue, 13 Aug 2002 09:32:11 +0100
> MIME-Version: 1.0
> Received: from mc1-f1.law16.hotmail.com ([65.54.236.8]) by
> mc1-s9.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Tue, 13
> Aug
> 2002 02:06:20 -0700
> Received: from usw-sf-list2.sourceforge.net ([216.136.171.252]) by
> mc1-f1.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Tue, 13
> Aug
> 2002 02:02:44 -0700
> Received: from usw-sf-list1-b.sourceforge.net ([10.3.1.13]
> helo=usw-sf-list1.sourceforge.net)by usw-sf-list2.sourceforge.net with
> esmtp
> (Exim 3.31-VA-mm2 #1 (Debian))id 17eXYx-0002DI-00; Tue, 13 Aug 2002
> 02:02:03
> -0700
> Received: from fep02-svc.mail.telepac.pt ([194.65.5.201])by
> usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian))id
>
> 17eXYe-0005Wc-00for <[EMAIL PROTECTED]>; Tue, 13 Aug
>
> 2002 02:01:45 -0700
> Received: from psoaresnn ([212.55.183.214]) by fep02-svc.mail.telepac.pt
>
>   (InterMail vM.5.01.04.13 201-253-122-122-113-20020313) with SMTP
>
> id <20020813090135.NLPN7864.fep02-svc.mail.telepac.pt@psoaresnn>;
>
>Tue, 13 Aug 2002 10:01:35 +0100
> Message-ID: <003c01c242a7$13779190$281e140a@psoaresnn>
> References: <007001c24268$94310df0$[EMAIL PROTECTED]>
> X-Priority: 3
> X-MSMail-Priority: Normal
> X-Mailer: Microsoft Outlook Express 5.50.4522.1200
> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
> Sender: [EMAIL PROTECTED]
> Errors-To: [EMAIL PROTECTED]
> X-BeenThere: [EMAIL PROTECTED]
> X-Mailman-Version: 2.0.9-sf.net
> Precedence: bulk
> List-Help:
> 
> List-Post: 
> List-Subscribe:
> , [EMAIL PROTECTED]?subject=subscribe>
> List-Id: Post all your questions about iText here
> 
> List-Unsubscribe:
> , [EMAIL PROTECTED]?subject=unsubscribe>
> List-Archive:
> 
> X-Original-Date: Tue, 13 Aug 2002 09:32:11 +0100
> Return-Path: [EMAIL PROTECTED]
> X-OriginalArrivalTime: 13 Aug 2002 09:02:44.0873 (UTC)
> FILETIME=[3019C790:01C242A8]
>
> Auto-leading with irregular columns has to be done with approximations
> and I
> don't know if the new ColumnText model will allow it. We'll see.
>
> Best Regards,
> Paulo Soares
>
> - Original Message -
> From: "John Hardy" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, August 13, 2002 2:27
> Subject: [iText-questions] ColumnText issues (was Re: leading, tracking,
> kerning)
>
>
>  > Great and being able to set word spacing would be a nice thing as
> well.
>  > Oh
>  > yeah and while we're adding to your workload, Paulo ;-j do you have
> any
>  > plans to fix the leading issues that occur when using non-rectangular
>  > columns?
>  >
>  > Normally when two fonts appear on the same line or with an image the
>  > leading
>  > should come from the largest item on the line (via
> multipliedLeading).
>  > This
>  > works fine for "simple" i.e. rectangular columns but not with
>  > non-rectangular columns which instead assume a fixed leading for all
>  > lines.
>  >
>  > Looking at the code I can see that this is not going to be a
> completely
>  > trivial problem to fix however because calculating the length of the
>  > line is
>  > then dependent on finding the intersection with the column outline at
>  > the
>  > height of the line. A solution would need to calculate both the line
>  > length
>  > and line height simultaneously and deal with cases like where columns
>  > that
>  > get narrower as they go down the page (i.e. the line nees to get
> shorter
>  >

Re: [iText-questions] Question about Chap0502.java

2002-08-13 Thread Bruno

Quoting Katharina Garbe <[EMAIL PROTECTED]>:

> aTable.addCell("2.2", new Point(2,2));
> aTable.addCell("3.3", new Point(3,3));
> aTable.addCell("2.1", new Point(2,1));
> aTable.addCell("1.3", new Point(1,3));
> 
> Is it possible to change the size of the numbers 2.2, 3.3 etc.

Phrase phrase = new Phrase("Some text in Courier size 20 color red",
FontFactory.getFont(FontFactory.COURIER, 20, Font.NORMAL, new Color(255, 0, 0)));
Cell myCell = new Cell(phrase);
aTable.addCell(myCell, new Point(2,2));

HTH,
Bruno


---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] (no subject)

2002-08-13 Thread Bruno

Quoting Parag Chatterjee <[EMAIL PROTECTED]>:

> 
> Hello,
> 
> I am opening a pdf document from a servlet using the following code.
> But the file does not open directly.It comes with a (open with...) option 
> where I have to select the pdf format to open the pdf document.
> My actual requirement is to open the file directly by a single click on a 
> hyperlink on the browser and don't want (open with..)option.
> 
> Can anybody please suggest me how I can achieve this.
> my code is below:

Nothing in your servlet code will be able to configure this.
It's a clientside issue. All your clients will have to configure
their browser, so that files with the followingcontenttype:

>   
res.setContentType("aplication/pdf");

Are opened directly with Acrobat Reader. Depending on the browser,
they will have the option to have a confirmation prompt before opening
Acrobat and/or they will be able to chose if the doc has to be opened
in the browser (with a plugin) or outside the browser (for instance in
an instance of Acrobat Reader).

For obvious security reasons you cannot perform this configuration
from a server.

Bruno





---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] Question about Chap0502.java

2002-08-13 Thread Katharina Garbe

aTable.addCell("2.2", new Point(2,2));
aTable.addCell("3.3", new Point(3,3));
aTable.addCell("2.1", new Point(2,1));
aTable.addCell("1.3", new Point(1,3));

Is it possible to change the size of the numbers 2.2, 3.3 etc. with FontsFactory or 
how can I change the fonts of the text/data in a cell which I have set with newPoint()?


Looking forward to your reply,

Katharina





---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code1
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] (no subject)

2002-08-13 Thread Parag Chatterjee


Hello,

I am opening a pdf document from a servlet using the following code.
But the file does not open directly.It comes with a (open with...) option 
where I have to select the pdf format to open the pdf document.
My actual requirement is to open the file directly by a single click on a 
hyperlink on the browser and don't want (open with..)option.

Can anybody please suggest me how I can achieve this.


my code is below:



public void doPost(HttpServletRequest req, HttpServletResponse res)
   throws ServletException, IOException {


if(req.getParameterValues("printReq")==null){

PrintWriter pw= res.getWriter();
pw.println("There is no certificate selected for printing");
}
else
{
String certnames[]= req.getParameterValues("printReq");
HttpSession objSession= req.getSession();
instName= (String)objSession.getValue("instructor_name");


int intlength= certnames.length ;
System.out.println(intlength);


// step 1: creation of a document-object

ServletOutputStream out = res.getOutputStream();
Document document = new Document(PageSize.A4.rotate());
res.setContentType("aplication/pdf");

try
{
PdfWriter.getInstance(document,out);
}catch(Exception ex)
{
System.out.println(">>>"+ex);
}

Paragraph para= new Paragraph("");
para.setAlignment(1);


document.open();


for(int i=0;ihttp://mobile.msn.com



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] ColumnText issues (was Re: leading, tracking, kerning)

2002-08-13 Thread Shahzad Latif

I was able to use contentbyte's word and character spacing on column text. 
Problem is if either one or both get too large, the whole text ended up off 
the rectangle of columntext (horizontally). Well... with some trial and 
errors, I was able to come up with a column width and the spacing in sync. 
For the time being, I am good with some compromizes.

A proper tracking/kerning and other spacing params would be really nice to 
see in Sept/Oct release.

Best regards,

Shahzad


Original Message Follows
From: "Paulo Soares" <[EMAIL PROTECTED]>
To: "John Hardy" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]>
Subject: Re: [iText-questions] ColumnText issues (was Re: leading, tracking, 
kerning)
Date: Tue, 13 Aug 2002 09:32:11 +0100
MIME-Version: 1.0
Received: from mc1-f1.law16.hotmail.com ([65.54.236.8]) by 
mc1-s9.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Tue, 13 Aug 
2002 02:06:20 -0700
Received: from usw-sf-list2.sourceforge.net ([216.136.171.252]) by 
mc1-f1.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.4905); Tue, 13 Aug 
2002 02:02:44 -0700
Received: from usw-sf-list1-b.sourceforge.net ([10.3.1.13] 
helo=usw-sf-list1.sourceforge.net)by usw-sf-list2.sourceforge.net with esmtp 
(Exim 3.31-VA-mm2 #1 (Debian))id 17eXYx-0002DI-00; Tue, 13 Aug 2002 02:02:03 
-0700
Received: from fep02-svc.mail.telepac.pt ([194.65.5.201])by 
usw-sf-list1.sourceforge.net with esmtp (Exim 3.31-VA-mm2 #1 (Debian))id 
17eXYe-0005Wc-00for <[EMAIL PROTECTED]>; Tue, 13 Aug 
2002 02:01:45 -0700
Received: from psoaresnn ([212.55.183.214]) by fep02-svc.mail.telepac.pt 
  (InterMail vM.5.01.04.13 201-253-122-122-113-20020313) with SMTP   
id <20020813090135.NLPN7864.fep02-svc.mail.telepac.pt@psoaresnn>;
   Tue, 13 Aug 2002 10:01:35 +0100
Message-ID: <003c01c242a7$13779190$281e140a@psoaresnn>
References: <007001c24268$94310df0$[EMAIL PROTECTED]>
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Sender: [EMAIL PROTECTED]
Errors-To: [EMAIL PROTECTED]
X-BeenThere: [EMAIL PROTECTED]
X-Mailman-Version: 2.0.9-sf.net
Precedence: bulk
List-Help: 

List-Post: 
List-Subscribe: 
,
List-Id: Post all your questions about iText here 

List-Unsubscribe: 
,
List-Archive: 
X-Original-Date: Tue, 13 Aug 2002 09:32:11 +0100
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 13 Aug 2002 09:02:44.0873 (UTC) 
FILETIME=[3019C790:01C242A8]

Auto-leading with irregular columns has to be done with approximations and I
don't know if the new ColumnText model will allow it. We'll see.

Best Regards,
Paulo Soares

- Original Message -
From: "John Hardy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 2:27
Subject: [iText-questions] ColumnText issues (was Re: leading, tracking,
kerning)


 > Great and being able to set word spacing would be a nice thing as well.
 > Oh
 > yeah and while we're adding to your workload, Paulo ;-j do you have any
 > plans to fix the leading issues that occur when using non-rectangular
 > columns?
 >
 > Normally when two fonts appear on the same line or with an image the
 > leading
 > should come from the largest item on the line (via multipliedLeading).
 > This
 > works fine for "simple" i.e. rectangular columns but not with
 > non-rectangular columns which instead assume a fixed leading for all
 > lines.
 >
 > Looking at the code I can see that this is not going to be a completely
 > trivial problem to fix however because calculating the length of the
 > line is
 > then dependent on finding the intersection with the column outline at
 > the
 > height of the line. A solution would need to calculate both the line
 > length
 > and line height simultaneously and deal with cases like where columns
 > that
 > get narrower as they go down the page (i.e. the line nees to get shorter
 > as
 > the line gets higher).
 >
 > ...john
 >
 >
 > : Thank you. That's what I'm doing now (and must not do for script-like
 > : fonts).
 > :
 > : Best Regards,
 > : Paulo Soares
 > :
 > : - Original Message -
 > : From: "John Hardy" <[EMAIL PROTECTED]>
 > : To: <[EMAIL PROTECTED]>
 > : Sent: Sunday, August 11, 2002 1:39
 > : Subject: [iText-questions] Re: iText-questions digest, Vol 1 #691 - 3
 > msgs
 > :
 > :
 > : > Tracking is the uniform addition or subtraction of letter space
 > to/from
 > : > all
 > : > the characters in a font. Tracking generally is used to increase
 > letter
 > : > spacing as type gets smaller and decrease it as type gets larger.
 > : >
 > : > : In October or November ColumnText will support kerning, several
 > ways
 > : >

Re: [iText-questions] tagmap problem

2002-08-13 Thread Bruno

Quoting pooja sharma <[EMAIL PROTECTED]>:

> 
> It is very difficult to write a tagmap for any kind of xml. The files given
> in the tutorial as examples are all xml files (for which the tagmaps are
> written) and there is no need to apply any xsl on them. In my project, xml
> and xsl -two separate files are provided in order to convert them to PDF. I
> don't know each and every kind of iText tag that can be used for writing
> tagmaps. 

I don't know every kind of iText either (allthough I wrote the code;
I just don't remember them). Fortunately, all classes have very easy
names. If I need a paragraph, I read the constructor of class Paragraph
that takes a Properties object. If I need a chapter, I do the same with
class Chapter, and so on...

How difficult can that be???

> And if I convert a large xml and xsl into text file and then to PDF, then I
> get "out of memory" error . Is it because a tree structure is formed in the
> memory as in case of FOP? 

It's because it is a bad idea to stuff a 3MB String into a Paragraph
object.

> In the the Java code in which I am  converting text into PDF, Iam reading the
> text file into a string and then using the "paragraph.add" function. To
> remove the "out of memory" problem, I have used "System.gc()" function but it
> has made the processing very slow - a 3MB file will take hours  

And where do you perform the garbage collect?
I don't understand why this would help you avoiding the OutOfMemory.
Allthough I still think it's a bad idea to degrade your XML
to text, you could split your textfile with '\n' as delimiter.

In Pseudocode it would look like this:
Paragraph p;
StringTokenizer st = new StringTokenizer(myText, "\n");
while (st.hasMoreTokens()) {
p = new Paragraph(st.nextToken());
doc.add(p);
}

> What should I do to reduce the processing speed?

I think you mean INCREASE processing speed.

> What should I do so that  meta-info is not lost?

Tagmaps are REALLY EASY. Use them.
(Remark: in some situations in which the same tagname has
different meanings depending on the context, tagmaps will
not be sufficient.)

> If I have to write tagmaps, How should I write them for any xml and xsl? 

Get rid of the xsl.

> PLEASE GUIDE

As I stated earlier: free software developers can't do the work
YOU are paid for. But if you send a small sample of your XML
(in which no more than 5 different tags are used), I can get you
started by writing you a demo tagmap.

Bruno


---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



[iText-questions] tagmap problem

2002-08-13 Thread pooja sharma
It is very difficult to write a tagmap for any kind of xml. The files given in the tutorial as examples are all xml files (for which the tagmaps are written) and there is no need to apply any xsl on them. In my project, xml and xsl -two separate files are provided in order to convert them to PDF. I don't know each and every kind of iText tag that can be used for writing tagmaps. 
And if I convert a large xml and xsl into text file and then to PDF, then I get "out of memory" error . Is it because a tree structure is formed in the memory as in case of FOP? 
In the the Java code in which I am  converting text into PDF, Iam reading the text file into a string and then using the "paragraph.add" function. To remove the "out of memory" problem, I have used "System.gc()" function but it has made the processing very slow - a 3MB file will take hours  
What should I do to reduce the processing speed?
What should I do so that  meta-info is not lost?
If I have to write tagmaps, How should I write them for any xml and xsl? 
PLEASE GUIDE
thanking you
Pooja Sharma
 
 
Sell you car, by placing a classified ad on Yahoo India Autos . It's Free!! 
  

Re: [iText-questions] Tables (both types) with PdfTemplate-based images

2002-08-13 Thread Paulo Soares

This modified code works for me using the iText version that is in the CVS.

Best Regards,
Paulo Soares

- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 12, 2002 23:37
Subject: [iText-questions] Tables (both types) with PdfTemplate-based images


> I have been doing some testing, and have found some problems regarding
> PdfTemplate-based image support -- specifically within tables.
>
> 1.  When I create a Table object with "new Table(1)", and add 5 cells to
> it, the application crashes due to an ArrayIndexOutOfBoundsException
> while the table converts itself to a PDFContentByte.  I am fairly
> certain this is due to the fact that the table crashes when it tries to
> span the page, since 4 such cells will fit on the page.  Each Cell has
> one element - a PdfTemplate containing the pixels from the Canvas
> subclass attached to this message.
>
> 2.  When only 4 such cells are used, they display OK in Acrobat Reader 5
> using Win2000.  However, when one goes to print the PDF, the first three
> cells appear on the page correctly, with the fourth one at a seemingly
> random location.  Frequently it overlaps one of the first three and is
> smaller than the first three (although all cells are created in the same
> fashion).  With more complex documents, the PdfTemplate-based images
> tend to stack on top of each other when printed (and sometimes when
> scrolling in Acrobat).
>
> This wrong rendering occurs independent of the printer I use -
> PostScript or not (I have tried both with a HP Color LaserJet 4550N that
> supports PS level 3 as well as HP's PCL 6).
>
> 3. Problem #2 occurs with PdfPTable as well.  PdfPTable drops cells it
> can't fit onto a page and so does not have the first exception.
>
> What's really interesting about this is that "Raw" images created using
> java.awt.BufferedImage do not have this problem, but instead are
> sometimes scaled down and then lose detail or such, so PdfTemplate
> really si the best solution if the PdfContentByte generation and
> positioning problems can be fixed.
>
> The other strange thing about this is that the problem usually happens
> when the table w/ images is on the second or subsequent pages of the
> document.
>
>
> __
> Your favorite stores, helpful shopping tools and great gift ideas.
> Experience the convenience of buying online with Shop@Netscape!
> http://shopnow.netscape.com/
>
> Get your own FREE, personal Netscape Mail account today at
> http://webmail.netscape.com/
>
>



TemplatePanel.java
Description: Binary data


Re: [iText-questions] ColumnText issues (was Re: leading, tracking, kerning)

2002-08-13 Thread Paulo Soares

Auto-leading with irregular columns has to be done with approximations and I
don't know if the new ColumnText model will allow it. We'll see.

Best Regards,
Paulo Soares

- Original Message -
From: "John Hardy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 13, 2002 2:27
Subject: [iText-questions] ColumnText issues (was Re: leading, tracking,
kerning)


> Great and being able to set word spacing would be a nice thing as well.
> Oh
> yeah and while we're adding to your workload, Paulo ;-j do you have any
> plans to fix the leading issues that occur when using non-rectangular
> columns?
>
> Normally when two fonts appear on the same line or with an image the
> leading
> should come from the largest item on the line (via multipliedLeading).
> This
> works fine for "simple" i.e. rectangular columns but not with
> non-rectangular columns which instead assume a fixed leading for all
> lines.
>
> Looking at the code I can see that this is not going to be a completely
> trivial problem to fix however because calculating the length of the
> line is
> then dependent on finding the intersection with the column outline at
> the
> height of the line. A solution would need to calculate both the line
> length
> and line height simultaneously and deal with cases like where columns
> that
> get narrower as they go down the page (i.e. the line nees to get shorter
> as
> the line gets higher).
>
> ...john
>
>
> : Thank you. That's what I'm doing now (and must not do for script-like
> : fonts).
> :
> : Best Regards,
> : Paulo Soares
> :
> : - Original Message -
> : From: "John Hardy" <[EMAIL PROTECTED]>
> : To: <[EMAIL PROTECTED]>
> : Sent: Sunday, August 11, 2002 1:39
> : Subject: [iText-questions] Re: iText-questions digest, Vol 1 #691 - 3
> msgs
> :
> :
> : > Tracking is the uniform addition or subtraction of letter space
> to/from
> : > all
> : > the characters in a font. Tracking generally is used to increase
> letter
> : > spacing as type gets smaller and decrease it as type gets larger.
> : >
> : > : In October or November ColumnText will support kerning, several
> ways
> : > of
> : > : spacing for justified text and full features right-to-left text
> with
> : > arabic
> : > : shaping. Until then you are on your own. By the way, what's
> tracking,
> : > : typographically speaking?
> : > :
> : > : Best Regards,
> : > : Paulo Soares
> : > :
> : > : - Original Message -
> : > : From: "Shahzad Latif" <[EMAIL PROTECTED]>
> : > : To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> : > : Sent: Saturday, August 10, 2002 14:52
> : > : Subject: Re: [iText-questions] leading, tracking, kerning
> : > :
> : > :
> : > : > Hi:
> : > : >
> : > : > Just a correction. Leading is working great. My bad.
> : > : >
> : > : > Could someone suggest something for tracking, kerning, space
> between
> : > : > words
> : > : > issues in columntext. I would really appreciate that.
> : > : >
> : > : > Regards,
> : > : >
> : > : > Shahzad
>
>
>
> ---
> This sf.net email is sponsored by: Dice - The leading online job board
> for high-tech professionals. Search and apply for tech jobs today!
> http://seeker.dice.com/seeker.epl?rel_code=31
> ___
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions



---
This sf.net email is sponsored by: Dice - The leading online job board
for high-tech professionals. Search and apply for tech jobs today!
http://seeker.dice.com/seeker.epl?rel_code=31
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions