Re: [iText-questions] Font subsets document

2012-02-15 Thread Peter van Raamsdonk
Substitution strategy and then call fontSelector.Process method. From: Peter van Raamsdonk peet...@hotmail.com To: Post all your questions about iText here itext-questions@lists.sourceforge.net Sent: Saturday, February 11, 2012 11:53 AM Subject: [iText-questions] Font subsets document

Re: [iText-questions] Font subsets document

2012-02-15 Thread Peter van Raamsdonk
, Leonard Rosenthol wrote: Not using standard tools such as Word or Acrobat – no, there is not. Subsetting fonts is a common and standard practice. Leonard From: Peter van Raamsdonk [mailto:peet...@hotmail.com] Sent: Wednesday, February 15, 2012 6:41 AM To: vahid_nas...@yahoo.com; Leonard Rosenthol

Re: [iText-questions] Font subsets document

2012-02-15 Thread Peter van Raamsdonk
doesn’t have the glyphs you need??! From: Peter van Raamsdonk [mailto:peet...@hotmail.com] Sent: Wednesday, February 15, 2012 12:49 PM To: Post all your questions about iText here; Leonard Rosenthol; Vahid Nasiri Subject: Re: [iText-questions] Font subsets document I hoped the FontSelector what

Re: [iText-questions] Font subsets document

2012-02-15 Thread Peter van Raamsdonk
text). Text; hello world subset 1 contains hello subset 2 contains world Regards Peter On 15 feb 2012, at 19:11, Leonard Rosenthol wrote: How could you reuse a subset font, if the font doesn’t have the glyphs you need??! From: Peter van Raamsdonk [mailto:peet...@hotmail.com] Sent

Re: [iText-questions] Font subsets document

2012-02-12 Thread Peter van Raamsdonk
I will post the document/ code tomorrow. Peter On 12 feb 2012, at 01:26, Paulo Soares wrote: Post the document and your code so that the problem can be reproduced. Paulo - Original Message - From: Peter van Raamsdonk To: Post all your questions about iText here Sent: Saturday

[iText-questions] Font subsets document

2012-02-11 Thread Peter van Raamsdonk
the text is shown with square before the w (like the glyph can't be drawn). If I use BaseFont.createFont() the text is shown normally but I want the style/ font family properties of the font used originally. Regards, Peter van Raamsdonk

Re: [iText-questions] Font subsets document

2012-02-11 Thread Peter van Raamsdonk
and then call fontSelector.Process method. From: Peter van Raamsdonk peet...@hotmail.com To: Post all your questions about iText here itext-questions@lists.sourceforge.net Sent: Saturday, February 11, 2012 11:53 AM Subject: [iText-questions] Font subsets document Morning all, I have a pdf

[iText-questions] BarcodeInter25, createAwtImage image units?

2012-01-10 Thread Peter van Raamsdonk
van Raamsdonk -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide

Re: [iText-questions] BarcodeInter25, createAwtImage image units?

2012-01-10 Thread Peter van Raamsdonk
. However when I create an image with createAwtImage, the width of the image is not the same as the calculated barcode width? Should there be some conversion? I can draw the image by drawImage but I'm afraid that the scaling breaks the barcode image. Kind regards, Peter van Raamsdonk

Re: [iText-questions] BarcodeInter25, createAwtImage image units?

2012-01-10 Thread Peter van Raamsdonk
regards, Peter van Raamsdonk -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM

[iText-questions] Human readable text with BarcodeInter25 (createAwtImage)?

2012-01-09 Thread Peter van Raamsdonk
Morning, I'm using the createAwtImage in java to draw a barcode image. Is it possible to show the barcode value under the image or is this something I have to draw itself and not included in the picture? Kind regards, Peter van Raamsdonk

Re: [iText-questions] IText and Android

2010-06-17 Thread Peter van Raamsdonk
Hi, I thought there was a way to set java apps into bytecode and run it on Android. I don't know if you need to make an apk of it. Check the developer section and SDK. So you can make it anyway you like and you normally do. I'm working with the emulator and have Android on the Motorola

[iText-questions] BaseFont.IDENTITY_H and BaseFontParameters (Polish characters)

2009-04-02 Thread Peter van Raamsdonk
van Raamsdonk _ What can you do with the new Windows Live? Find out http://www.microsoft.com/windows/windowslive/default.aspx

Re: [iText-questions] BaseFont.IDENTITY_H and BaseFontParameters(Polish characters)

2009-04-02 Thread Peter van Raamsdonk
Hi Paulo, I don't quite understand.. it is a reference to the font file and when found it is embedded in the pdf... Why can't the BaseFontParameters be adjusted to the basefont encoding? Kind regards, Peter van Raamsdonk Ps, what a beautiful day :) From: psoa...@glintt.com

Re: [iText-questions] How to locate adobe javascript folder in java?

2008-11-08 Thread Peter van Raamsdonk
You can only do this by executing script on the client side (install once) Try hta for Internet Explorer or XUL for FireFox. That's how I worked around the 'silent print' issue. H2H, Peter - Original Message - From: darrenmia [EMAIL PROTECTED] To: itext-questions@lists.sourceforge.net

Re: [iText-questions] Simulation of font styles (styled source to nonstyled display)

2008-07-08 Thread Peter van Raamsdonk
simulation so to speak or unskew). Why you might ask, to use your own ttf font and still have the possibility to use all font styles. If it works for regular type which is one font style why not for other font styles. Yes/ no? Paulo? - Original Message - From: Peter van Raamsdonk

[iText-questions] Simulation of font styles (styled source to non styled display)

2008-07-07 Thread Peter van Raamsdonk
Hi, simulation works fine if you use a plain ttf font source (registering AWT font and PDF font) without any styles and want to display it bold or italic. But can it work the other way around? Having a bold italic or bold or just italic font and displaying it normally (not bold or italic). I

Re: [iText-questions] message at silent print since last acrobat aeader update

2008-03-05 Thread Peter van Raamsdonk
it doesn't know that. Self-signing the document AND then distributing that signature to all users and marking it as trusted will indeed work. Leonard On Feb 25, 2008, at 1:37 PM, Peter van Raamsdonk wrote: Hi Leonard, My local application runs in a trusted environment but still the warnings

Re: [iText-questions] message at silent print since last acrobat aeader update

2008-02-25 Thread Peter van Raamsdonk
Hi Leonard, My local application runs in a trusted environment but still the warnings appear. If I (self) sign the document would that be a working solution? Regards, Peter From: [EMAIL PROTECTED] Date: Thu, 21 Feb 2008 12:31:17 -0500 To: itext-questions@lists.sourceforge.net Subject:

Re: [iText-questions] one font containing all styles emulate bold, italic or bolditalic

2007-10-23 Thread Peter van Raamsdonk
PROTECTED] On Behalf Of Peter van Raamsdonk Sent: Monday, October 22, 2007 3:08 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] one font containing all styles emulate bold,italic or bolditalic Hi, I'm using the Microsoft Sans Serif true type font in my code and I want

[iText-questions] one font containing all styles emulate bold, italic or bolditalic

2007-10-22 Thread Peter van Raamsdonk
Hi, I'm using the Microsoft Sans Serif true type font in my code and I want to emulate bold or italic. I use Graphics2D to paint my text and I don't use chunk. I found this message in the forum what exactly describes the problem but the solution is unclear to me.

Re: [iText-questions] one font containing all styles emulate bold, italic or bolditalic

2007-10-22 Thread Peter van Raamsdonk
PROTECTED] On Behalf Of Peter van Raamsdonk Sent: Monday, October 22, 2007 3:08 PM To: itext-questions@lists.sourceforge.net Subject: [iText-questions] one font containing all styles emulate bold,italic or bolditalic Hi, I'm using the Microsoft Sans Serif true type font in my code and I want

Re: [iText-questions] Get Viewer Preference

2007-04-01 Thread Peter van Raamsdonk
You can also trythe _javascript_ in the pdf (you can add this to the pdf created with itext, writer.addJavaScript(..)). That way you can 'force' the way it should be printed without hassling the user. Look at the flag values at page 577 (bottom). You can set this how you want this to be printed

Re: [iText-questions] Color looks different after drawingparticular image types

2007-03-22 Thread Peter van Raamsdonk
Thx Eliot, This code sure helps. A shame that the reader really bytes sometimes ;) Bye PeterLive Search, for accurate results! Click here - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay

Re: [iText-questions] Color looks different after drawingparticular image types

2007-03-20 Thread Peter van Raamsdonk
Eliot, An example of the use of an ICC profile would be very welcome :) Bye and thanks for the help PeterPlay online games with your friends with Messenger - Take Surveys. Earn Cash. Influence the Future of IT Join

Re: [iText-questions] Color looks different after drawingparticular image types

2007-03-19 Thread Peter van Raamsdonk
Thanks Eliot, I was poking around with the writer in java. writer.setDefaultColorspace(PdfName.COLORSPACE, PdfName.DEFAULTRGB); or PdfName.ALTERNATE, PdfName.DEFAULTRGB But that didn't quite hack it I must admit that I don't grasp the variables, first one is from (acts as trigger)and the other

[iText-questions] Applying font style

2007-03-19 Thread Peter van Raamsdonk
I create fonts from the actual font file and use them in the PdfGraphics2D to draw text, for the pdf side I use the location of the actual font to create them, register the names, place them in the FontMapper and pass it on to the writer. This all works fontastic. A font (family)typically

Re: [iText-questions] Color looks different after drawing particular image types

2007-03-18 Thread Peter van Raamsdonk
Yes, some of myimages have transparency... Why does this affects all elements (What Bill wrote) and what can you do about it? I don't expect this behaviour. You can change the colormodel of an image but an image changing the colormodel of an Graphic Enviroment? This could be troublesome indeed :(

Re: [iText-questions] Color looks different after drawingparticularimage types

2007-03-18 Thread Peter van Raamsdonk
Thx for the input Paulo, Leonard has written also something about it;http://www.mail-archive.com/itext-questions@lists.sourceforge.net/msg28628.html How do I go about "tagging my data with ICC profiles"? I thought I already converted the images to the sRGB colorspace. Colorspace the final

Re: [iText-questions] Color looks differentafterdrawingparticularimage types

2007-03-18 Thread Peter van Raamsdonk
Thanks all for looking into the colorspace business, Let me know if there is anything I can use or howI can go about it. I saw some interesting bits in the JAI interest group but going about it that way gives me a headache. I don't even know if it is the proper way. Passing on the ICC profile to

[iText-questions] Color looks different after drawing particular image types

2007-03-17 Thread Peter van Raamsdonk
Hi, I don't know if this is itext related or simple in the pdf. I use the pdfgraphics2d and paintimages loaded by ImageIO. If I fill a simple rectangle with an color the color 'visually' changes (darkens)in the pdf when I draw an image with a different colormodel like in gif or png. In fact all

[iText-questions] Graphics2d + transparency

2006-03-21 Thread Peter van Raamsdonk
Anybody any transparent thoughts on this... I'm usingbuffered images to draw on Graphics2d generated from the PdfContentByte.The bufferedimages are type ARGB(source PNG, GIF) and theycontain transparency if I check image.getColorModel().getTransparency(). To check the transparency further I