Re: [iText-questions] Problem with version 5.4.1

2013-05-11 Thread iText Software

On Sat, 11 May 2013 14:04:18 +0200, Lorenzo Pozzetti  wrote:Please show me where I can download the version 5.4.2It isn't released yet.There are three options:1. You can wait until the end of May for the official release,2. You can download it from the SVN trunk on SourceForge and build an intermediary jar yourself,3. You can ask customer support to build you a jar.Option 3 assumes that you're a paying customer and that you're registered in the ticketing system.--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] Problem with version 5.4.1

2013-05-11 Thread Lorenzo Pozzetti
I had no problem with  versions up to 5.4.0,
the problem is only with version 5.4.1

Please show me where I can download the version 5.4.2

Thanks
 --
Lorenzo Pozzetti
*Giplo *s.r.l.
www.giplo.com


On Sat, May 11, 2013 at 1:35 PM, iText Software  wrote:

> **
> On Fri, 10 May 2013 19:57:14 +0200, Lorenzo Pozzetti <
> lorenzo.pozze...@giplo.com> wrote:
>
> Hello, and thank you in advance for any help that you can provide for my
> problem.
>
> I'using version 5.4.1 in Java.
>
> When I add Chunks to a Paragraph, output is missing
>
>
> I'm using the trunk version (SNAPSHOT version of 5.4.2) and I've
> copy/pasted your lines into a standalone example.
> When I run this example, I get chunk_problem.pdf and that PDF looks OK to
> me. Can you clarify your question?
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php
>


chunk_problem_540.pdf
Description: Adobe PDF document


chunk_problem_541.pdf
Description: Adobe PDF document
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] Problem with version 5.4.1

2013-05-11 Thread iText Software


On Fri, 10 May 2013 19:57:14 +0200, Lorenzo Pozzetti  wrote:Hello, and thank you in advance for any help that you can provide for my problem. I'using version 5.4.1 in Java.When I add Chunks to a Paragraph, output is missing I'm using the trunk version (SNAPSHOT version of 5.4.2) and I've copy/pasted your lines into a standalone example.When I run this example, I get chunk_problem.pdf and that PDF looks OK to me. Can you clarify your question?

chunk_problem.pdf
Description: Adobe PDF document


ChunkProblemTest.java
Description: Binary data
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

[iText-questions] unsubscribe

2013-05-11 Thread Paul Sachs
 

 

Kind regards,

 

Paul Sachs.


 

Telephone 

 

+44 (0)8447 705 535 

 

   

 

CaseLines150


Mobile

+44 (0)7785 300029

 

 


Fax 

+44 (0)8701 161 803 

 

 


Email 

 
paul.sa...@netmastersolutions.co.uk 

 

 


Web

  www.netmastersolutions.co.uk 

 

 


Address 

Netmaster Solutions Ltd
Communications House
26 York Street
London
W1U 6PZ

 

 

 

 

From: iText Mailing List [mailto:i...@1t3xt.info] 
Sent: Saturday, May 11, 2013 10:55 AM
To: Post all your questions about iText here
Subject: Re: [iText-questions] How to save 'UTF-8' characters to PDF file in
JAVA

 

On Sat, 11 May 2013 11:44:53 +0200, Aleksander Sadecki 
wrote:

I did it as you mentioned

 

Wow, I've never met somebody that could read that fast! Are you sure you've
read all the documentation in less than half an hour?

Did you see http://manning.com/lowagie2/samplechapter2.pdf and read about
all possible encoding problems, for instance as described on p26?

 

Also you say "I did as you mentioned" without telling what you tried. I
can't smell which encoding you used? Are you using the font as a simple
font? Or are you using IDENTITY_H as encoding because you want a composite
font (using Unicode)?

 

You make it very difficult for somebody to help you.

<>--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] How to save 'UTF-8' characters to PDF file in JAVA

2013-05-11 Thread iText Mailing List

On Sat, 11 May 2013 11:44:53 +0200, Aleksander Sadecki  wrote:I did it as you mentionedWow, I've never met somebody that could read that fast! Are you sure you've read all the documentation in less than half an hour?Did you see http://manning.com/lowagie2/samplechapter2.pdf and read about all possible encoding problems, for instance as described on p26?Also you say "I did as you mentioned" without telling what you tried. I can't smell which encoding you used? Are you using the font as a simple font? Or are you using IDENTITY_H as encoding because you want a composite font (using Unicode)?You make it very difficult for somebody to help you.--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] How to save 'UTF-8' characters to PDF file in JAVA

2013-05-11 Thread Mohammed AlSayani
I was having the same proble but with arabic chars and I use this
May it will help you

*  const string regex_match_arabic_hebrew =
@"[\u0600-\u06FF,\u0590-\u05FF]+";

BaseFont nationalBase =
BaseFont.CreateFont("c:windowsfontsTimes.ttf",
BaseFont.IDENTITY_H, BaseFont.EMBEDDED);*

and here to declare the font that you use it
*
 Font arabicfont = new Font(nationalBase, 13f, Font.NORMAL);*


I hope will help you



On 11 May 2013 12:44, Aleksander Sadecki  wrote:

> Thank you,
>
> I did it as you mentioned but it still does not save polish chars...
>
>
> On 11 May 2013 11:28, 1T3XT BVBA  wrote:
>
>> On 11/05/2013 11:21, caniutfit wrote:
>> > Thank you very much,
>> >
>> > Which fonts support polish chars ?
>> Right now you're using the standard Type 1 font Times Roman. Why not use
>> times.ttf instead? (Please read the book and try some examples to get
>> acquainted with how fonts work.)
>>
>>
>> --
>> Learn Graph Databases - Download FREE O'Reilly Book
>> "Graph Databases" is the definitive new guide to graph databases and
>> their applications. This 200-page book is written by three acclaimed
>> leaders in the field. The early access version is available now.
>> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>> ___
>> iText-questions mailing list
>> iText-questions@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/itext-questions
>>
>> iText(R) is a registered trademark of 1T3XT BVBA.
>> Many questions posted to this list can (and will) be answered with a
>> reference to the iText book: http://www.itextpdf.com/book/
>> Please check the keywords list before you ask for examples:
>> http://itextpdf.com/themes/keywords.php
>>
>
>
>
> --
> Pozdrawiam / Best regards
> Aleksander Sadecki
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php
>



-- 
Best Regards
---
*Mohammed Hashem*
Web Developer @ ArabSea.
www.arabsea.com
00966 - 538 766 152
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] How to save 'UTF-8' characters to PDF file in JAVA

2013-05-11 Thread Aleksander Sadecki
Thank you,

I did it as you mentioned but it still does not save polish chars...


On 11 May 2013 11:28, 1T3XT BVBA  wrote:

> On 11/05/2013 11:21, caniutfit wrote:
> > Thank you very much,
> >
> > Which fonts support polish chars ?
> Right now you're using the standard Type 1 font Times Roman. Why not use
> times.ttf instead? (Please read the book and try some examples to get
> acquainted with how fonts work.)
>
>
> --
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and
> their applications. This 200-page book is written by three acclaimed
> leaders in the field. The early access version is available now.
> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
> ___
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA.
> Many questions posted to this list can (and will) be answered with a
> reference to the iText book: http://www.itextpdf.com/book/
> Please check the keywords list before you ask for examples:
> http://itextpdf.com/themes/keywords.php
>



-- 
Pozdrawiam / Best regards
Aleksander Sadecki
--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Re: [iText-questions] How to save 'UTF-8' characters to PDF file in JAVA

2013-05-11 Thread 1T3XT BVBA
On 11/05/2013 11:21, caniutfit wrote:
> Thank you very much,
>
> Which fonts support polish chars ?
Right now you're using the standard Type 1 font Times Roman. Why not use 
times.ttf instead? (Please read the book and try some examples to get 
acquainted with how fonts work.)

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


Re: [iText-questions] How to save 'UTF-8' characters to PDF file in JAVA

2013-05-11 Thread caniutfit
Thank you very much,

Which fonts support polish chars ?

In fact I use it in another way, but I wanted to give clear example.

Firstly I'm taking records from database and I'm saving name to String

String xx = DB

When I print xx I see correctly polish chars, so I do not keep this strange
symbols in my code.

Thank you in advance



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/How-to-save-UTF-8-characters-to-PDF-file-in-JAVA-tp4658232p4658234.html
Sent from the iText - General mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php


Re: [iText-questions] How to save 'UTF-8' characters to PDF file in JAVA

2013-05-11 Thread iText Mailing List
On Sat, 11 May 2013 10:56:27 +0200, caniutfit  wrote:

> All of these work, but in does not write polish chars - "ą", "ń"etc.

1. You're using TIMES_ROMAN, which may not know how to draw these glyphs.  
Use another font instead. See the documentation. For instance this example:
http://itextpdf.com/examples/iia.php?id=198
http://examples.itextpdf.com/results/part3/chapter11/encoding_example.pdf

2. You have non-ASCII characters in your Java code. This isn't wise. It  
means you'll have to make sure you compile the code using the correct  
encoding. It's better to use Unicode notation to avoid problems.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

[iText-questions] How to save 'UTF-8' characters to PDF file in JAVA

2013-05-11 Thread caniutfit
Hi,

I've just started my work with iTextPDF and I met a small problem and I hope
you'll help me.

I have got the following code:

Document document = new Document();
PdfWriter.getInstance(document, new FileOutputStream(file));
document.open();
Paragraph p1 = new Paragraph("Żńąęasdas",
  FontFactory.getFont(FontFactory.TIMES_ROMAN, 12,
  Font.NORMAL, new CMYKColor(255, 255, 255, 0)));
p1.setAlignment(Element.ALIGN_RIGHT);
document.add(p1);
document.close();

All of these work, but in does not write polish chars - "ą", "ń"etc. 

Could you help me with this issue?

Thank you in advance




--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/How-to-save-UTF-8-characters-to-PDF-file-in-JAVA-tp4658232.html
Sent from the iText - General mailing list archive at Nabble.com.

--
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php