Hi, I'm using BarcodeQRCode to create qr code. Is it possible to create a
CMYK qr code?
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/QRcode-and-CMYK-tp4657978.html
Sent from the iText - General mailing list archive at Nabble.com.
-
You could use Imagemagick for this.
convert test.pdf test.jpg
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/create-Thumbnails-of-pdf-tp3922635p3925535.html
Sent from the iText - General mailing list archive at Nabble.com.
--
Thanks,
yes I have the old book and have now bought the new MEAP version. I just
read the chapter on compression but I need more differens. I'll look
foreward to the new chapter.
/ Mathias
--
View this message in context:
http://old.nabble.com/Need-to-be-certain-images-and-scale-tp28355138p283
Hi,
I'm trying to make some sort of wysiwyg for datasheets. The end user can
produce highres and lowres pdf. The only thing that come in mind was to make
the images lowres and keep fonts etc the same way as the high pdf.
I have 450, 300 dpi images for highres. when setting this in my application
Hi,
Yes I'm sure that there is something in my code making this but I can't find
it. I have now managed to remove the sharp edges to smoth but with very odd
settings. I must create a round rectangle twice to make it work.
@Override
public void onRender( PdfContentByte cb ) throws PdfDocumentExce
can anyone give me some pointer on why
PdfTemplate.roundRectangle() doesn't make fine edges as PdfContentByte does?
--
View this message in context:
http://old.nabble.com/problem-with-rounded-corners-tp28328340p28329580.html
Sent from the iText - General mailing list archive at Nabble.com.
--
Hi, I have problems with rounded corners. If I use the cb directly here and
don't create a Pdftemplate everythings works fine with the rounded corners
but if the background I set every block in my page will get them.
cell.setCellEvent( new PdfPCellEvent(){
public void cellLayout(PdfPCell cell,
never mind, the itext approach is correct. It is a 3 party that integrates
with indesign-server så it must be some fit-in-block that makes this
oddness.
--
View this message in context:
http://old.nabble.com/resolution-images-indesign-server-my-implementation-tp28326082p28327964.html
Sent from t
Hi,
I have a high resolution image that is 450x450 dpi and 3983x5524 pixels
When adding this it a pdf with IText i use scalePercent();
I use 72 / 450 * 100 and it's 16% scale. When indesign does this the same
image is 3912x5454 pixels 450x450 dpi. can anyone give me a hint on how to
produce the
Thanks for all your time.
/ Mathias
--
View this message in context:
http://old.nabble.com/Separation-color-for-cut-marks-tp27637814p27646301.html
Sent from the iText - General mailing list archive at Nabble.com.
--
Thanks! This is what I ended up with. I can not test this so I don't know if
it is correct.
PdfContentByte cb = writer.getDirectContent();
cb.setLineWidth( 0.1f );
cb.setColorStroke(new PdfSpotColor( "All", 1f, new CMYKColor( 1f, 1f, 1f, 1f
) ) , 1f);
// MoveTo and LineTo
cb.stroke();
he spot color needed (probably "CONTOUR" or "CutContour" depending on
> the RIP). Then construct a PdfSpotColor with the given name:
>
> http://api.itextpdf.com/com/itextpdf/text/pdf/PdfSpotColor.html
>
> Regards,
> Markus
>
> Am 18.02.2010 15:30, schrieb M
Hi!,
My bad. I needed to add the extra x,y to every block in the pdf when I
wanted cut marks.
Anyway, still have problem with the cut marks lines color. I don't know what
press they are printed on. I thought it was a default value or a standard
for the cut mark color
--
View this message in con
I still have a lot of problems with this.
I have a A4 page that I need to add crop marks to. I set the trim box to
210x297mm and the pageSize increased by 20 mm. ( for adding the cut marks )
Problem is that the content that is added is squezed together
-
Hi,
can anyone help me on how to create the correct separation color for cut
marks.
--
View this message in context:
http://old.nabble.com/Separation-color-for-cut-marks-tp27637814p27637814.html
Sent from the iText - General mailing list archive at Nabble.com.
When extending the pdf to allow cut marks what should I use
Media Box, Crop box,Bleed Box,Trim Box, Art box?
I think one of this should be set to a bigger size than the original pdf.
Then I should add marks by drawing in these boundries. is this the right
way?
--
View this message in context:
Thanks.
I'll look into this.
--
View this message in context:
http://old.nabble.com/Create-cut-marks-for-pdf-tp27077823p27089753.html
Sent from the iText - General mailing list archive at Nabble.com.
--
This SF.Net em
Hi,
In indesign when creating a pdf you can add crop marks or cut marks for
printing the pdf. What is the best way of achieving this. I generate pdf in
a kinds of sizes so I need
a generic solution to this. Any pointers?
/ Mathias
--
View this message in context:
http://old.nabble.com/Create-c
I don't have pit stop or other tools to check it right now but the problem
was rather simple. When checking the ghost script it complains about a font
IDENTITY-H.
I forgot that my list item used a none unicode font to make a box before
every listitem.
--
View this message in context:
http://old
Mathias Nilsson wrote:
>
> I'm using Ghostscript 8.7 and I can't see any newer version.
>
> / Mathias
>
Here is the file I'm working with
http://old.nabble.com/file/p26240922/test.pdf test.pdf
--
View this message in context:
http://old.nabble.co
I'm using Ghostscript 8.7 and I can't see any newer version.
/ Mathias
--
View this message in context:
http://old.nabble.com/IDENTITY-H-encoding-in-iText-tp26230847p26240921.html
Sent from the iText - General mailing list archive at Nabble.com.
--
I know, an editor to create xml markup that can be translated to iText
format. The big question is. How can I make WYSIWYG when it comes to text in
block, hyphenation. What editor in swing? Is it possible?
/ Mathias
--
View this message in context:
http://old.nabble.com/Editor-for-iText-tp26160
Hi,
I don't know if this can be done but here it goes.
Is there a change to make an java application, applet that creates
datasheets with iText as an engine? I have already implemented this in some
sort but when it comes to Swing HTMLEditor and to get the same result with
fonts, hyphenation I ca
cell.setUseAscender( true ) was the solution.
// Mathias
--
View this message in context:
http://www.nabble.com/Paragraph-and-leading-tp25914314p25916595.html
Sent from the iText - General mailing list archive at Nabble.com.
Hi, I guess this is a simple question but I don't know how to fix this.
I have a paragraph with a leading. The paragraph is wrapped inside a cell in
a PdfTable. When setting the leading for the paragraph it does not start 0,0
in x,y axis. It starts a little down. if I set the leading to 0 everyt
I have a greek font that is not unicode and I'm using cp1253 but the
characters are not right.
What code page should be used for a greek font only?
// Mathias
--
View this message in context:
http://www.nabble.com/encoding-and-fonts-tp25888960p25905260.html
Sent from the iText - General mailin
I guess ISO-8859-1 is the right encoding here.
// Mathias
--
View this message in context:
http://www.nabble.com/encoding-and-fonts-tp25888960p25898647.html
Sent from the iText - General mailing list archive at Nabble.com.
--
Thanks!
The arialuni.ttf worked with IDENTITY_H.
I have fonts for Central european that should work with spanish, french etc.
Should I use another encoding than IDENTITY_H here?
--
View this message in context:
http://www.nabble.com/encoding-and-fonts-tp25888960p25894889.html
Sent from the iTex
Hi,
I have an html editor from swing. The data is htmlentity escaped and can
produces greek, chinese etc. When trying to get the text to work with my
iText font I must st an encoding.
new com.lowagie.text.Font( BaseFont.createFont("c:/windows/fonts/Arial.ttf",
"cp1253" ,BaseFont.EMBEDDED));
Thi
have a look a image magick
--
View this message in context:
http://www.nabble.com/Thumbnail-image-of-PDF-tp25664627p25707526.html
Sent from the iText - General mailing list archive at Nabble.com.
--
Come build with u
Have a look at image magick.
convert test.pdf test.jpg
// Mathias
2009/9/30 wasegraves
>
>
> > -Original Message-
> > From: Davis Ford [mailto:davisf...@zenoconsulting.biz]
> > Sent: September 29, 2009 10:49 AM
> > To: Post all your questions about iText here
> > Subject: [iText-questi
Hi,
I have searched this forum for a solution of adding images to my pdf but I'm
stuck.
When using the getDpiX(),getDpiY() method it returns 0 for my image. I've
read that whenever a program like photoshop can't determine dpi the default
is 300.
Is there another way around this?
Right now I tr
Hi Bruno,
The problem was in the Adobe Illustrator that I Used. When opening the pdf
there the dotted lines was all over the place. When downgrading the
illustrator it all worked fine. I also used pdftron for generating jpg from
the pdf. It had the same effect as Illustrator. When using ImageMagi
I am adding it to the chunk. Separator is the chunk and sep the dottedline.
and I'm not implying that itext is doing anything wrong. It's just that I
can't get it right.
--
View this message in context:
http://www.nabble.com/DottedLineSeparator-and-borders-tp25288829p25290372.html
Sent from the
I have a pdf that I stamp on. I add some blocks with backgrounds colors. when
adding the last block I want the null color ( ie the color used when no
color was set for background ). How can this be done?
--
View this message in context:
http://www.nabble.com/Keep-the-background-in-pdf-tp25289941
Also when using the DottedLineSeparator my pdf get's corrupted. If I open
it in acrobat and resave then everythings works fine again.
--
View this message in context:
http://www.nabble.com/DottedLineSeparator-and-borders-tp25288829p25288833.html
Sent from the iText - General mailing list arc
Hi,
When using the DottedLineSeparator I get a dotted border around other tables
that is not defined dotted.
public void onRender(com.lowagie.text.Paragraph paragraph) {
DottedLineSeparator sep = new DottedLineSeparator();
sep.setAlignment( Elemen
Well, to make a long answer short. I have developed an Applet for positioning
elements like block, images, tables and we have used indesign to create pdf
files and jpg. Now we don't want that anymore.
--
View this message in context:
http://www.nabble.com/Hyphenation-for-iText-tp25022751p250249
and no, we don't use indd files. We have a third-party that does this
for us that we don't want to use anymore. Is not the Indesign server that is
the problem.
--
View this message in context:
http://www.nabble.com/Hyphenation-for-iText-tp25022751p25025019.html
Sent from the iText - Genera
Hi,
I'm currently working on a project that uses Indesign Server and a
third-party software for communicating with the Indesign server. The problem
is that it has grown and I'm moving to iText because it is faster, simpler
and more maintainable.
My concern is now hyphenation. I have downloaded t
Pardon me for asking but you say that I shouldn't wrap my table in a
columntext.
How can I absolute position the table?
--
View this message in context:
http://www.nabble.com/DottedLineSeparator-and-paragraph-alignment-tp23763684p23800131.html
Sent from the iText - General mailing list archive a
Ok
--
View this message in context:
http://www.nabble.com/DottedLineSeparator-and-paragraph-alignment-tp23763684p23799855.html
Sent from the iText - General mailing list archive at Nabble.com.
--
Register Now for Creat
Hi,
I hope I'm not making a simple mistake here but here is some simple code.
package se.edgesoft;
import java.io.FileOutputStream;
import com.lowagie.text.Chunk;
import com.lowagie.text.Document;
import com.lowagie.text.Element;
import com.lowagie.text.Font;
import com.lowagie.text.Paragraph;
Hi,
When using the DottedLineSeparator I can get it to work if the Paragraph is
aligned left.
I have a columnText and a pdftable with one cell. The paragraph is added to
the cell.
If I have 3 chunks and the middle is a DottedLineSeparator then it will only
work if the paragraph is aligned left.
Hi,
I'm looking at a pdf that I must redo and the code of the barcode is between
the guardbars. When I try the same code with BarcodeEAN the first digit is
always placed left to the first guardbar. Is there anyway of placing the
first 7 digits between the first pair of guardbar and the last 6 dig
That makes perfect sense.
--
View this message in context:
http://www.nabble.com/Rounding-an-Image-with-border-tp23673724p23674403.html
Sent from the iText - General mailing list archive at Nabble.com.
--
Register Now
Hi,
I'm using the sample code from the iText in action to round my image.
Image img1 = Image.getInstance("d:\\7311310034092.jpg");
float w = MeasurementUtil.millimetersToPostscriptPoints(70.8f);
float h = MeasurementUtil.millimetersToPostscriptPoints(90f);
img1.scaleToFit( w, h);
PdfTemplate tp1
Thank you, this was exactly what I was looking for.
--
View this message in context:
http://www.nabble.com/Fill-out-a-line-with-...-tp23668839p23671147.html
Sent from the iText - General mailing list archive at Nabble.com.
---
Hi,
Is it possible to make something like this in iText
Chapter 1 Java in action
Chapter 2 .net framework ..
and fill out the paragraph or line with dots?
--
View this message in context:
http://www.nabble.com/Fill-out-a-line-with-...-tp23668839p23668839.htm
Yes, your right! The setFillColor is copied from another class I have used so
I know that this isn't used.
The problem is that If I don't use columnText and just do a doc.add( new
Paragraph( "test" ) ); then
the paragraf is not visible. I will come back when I have read chapter 11.
--
View this
consider this code
public class Test {
public static void main( String args[]){
Document doc = new Document(PageSize.A4, 0 , 0, 0 , 0);
try{
PdfWriter writer
If I use cb.beginText(); and cb.endText() before and after the new paragraph
is inserted but I don't know why I must do this.
--
View this message in context:
http://www.nabble.com/Question-on-how-to-stamp-and-create-new-pdf-in-the-same-creation-tp23556345p23557186.html
Sent from the iText - Gen
Hi!,
I have some questions on how to stamp and create new pdf.
My xml looks something like this.
This document should create a pdf with two pages. One that is copied from
somefile.pdf and added a block and one new page with a block. What is the
best way of achieving t
Never mind. I figured it out
--
View this message in context:
http://www.nabble.com/Simple-example-top%2C-bottom-tp23545844p23547725.html
Sent from the iText - General mailing list archive at Nabble.com.
--
The NEW KOD
Yes, the vector is kept by doing this.
PdfReader reader = new PdfReader( "test.pdf" );
PdfImportedPage p = writer.getImportedPage(reader, 1);
Image img1 = Image.getInstance(p);
document.add( img1 );
thanks!
--
View this message in context:
http://www.nabble.com/Vector-Graphics-not-using-EPS-t
Ahhh, I must be very slow on this.
let's say the eps is saved as a pdf. 300 x 100 or something like that.
How can I get the pdf that contains the logo to be added to another pdf that
will have a lot more information
pseudo code
public void render(){
** get document height and so forth from x
To explain more.
If I use 0 , height - the top when viewing the pdf no content is visible.
It looks like height - 10 is the top position when viewing the pdf.
--
View this message in context:
http://www.nabble.com/Simple-example-top%2C-bottom-tp23545844p23546019.html
Sent from the iText - Gene
to be honest I don't know. I don't generate the logos. A graphic designer
savesthe eps as svg and then the svg can be used when I generate the pdf.
The main problem when using the Salamander code is that it is slow. My
collegue ask if I could use a pdf instead of SVG.
The bottom line is. We must
Hi,
I just want to render a tiny rectangle at the top of the pdf. I know that
0,0 is bottom-left in the iText spec.
consider this code. When I look at the pdf the rectangle is at the top of
the pdf page. Why isn't it 10 points down from the top of the pdf? I've used
heigth - 10?
float height =
How does this apply to using vector. The logos that I will render on pdf is
now eps and about 100 different from different companies.
--
View this message in context:
http://www.nabble.com/Vector-Graphics-not-using-EPS-tp23542048p23545252.html
Sent from the iText - General mailing list archive
can you please explain this furture? How can this be achieved?
--
View this message in context:
http://www.nabble.com/Vector-Graphics-not-using-EPS-tp23542048p23544287.html
Sent from the iText - General mailing list archive at Nabble.com.
---
Please post some code for us so we can help you.
--
View this message in context:
http://www.nabble.com/have-more-blank-page-tp23541731p23543672.html
Sent from the iText - General mailing list archive at Nabble.com.
--
I've tried the SVG salamander for this and it worked. is this the way of
doing this. would it be fair to say that svg is used instead of eps as eps
is postscript. What are the complications of using svg with iText?
Graphics2D graphics = null;
PdfTemplate template = null;
try{
SVGDiagram diagram
Hi,
I'm trying to add logos in my pdf and they need to be vector graphics. I've
read in the book iText in action that only some eps are supported and when
trying with eps generated from adobe it throws an exception.
Is there a way to use vector graphics with iText. The book says SVG is
supported
64 matches
Mail list logo