Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-29 Thread 1T3XT info
GeroChaman wrote: > thanks Leonard fo rthe good news, i got my last question for you, how can i > make this format change posssible?? i dont understand the type 3 font so > much so i don't know to make it manually. thanks a lot for your reply! Read p238 of "iText in Action" (section 8.2.3 Embeddin

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-29 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of GeroChaman > Sent: Tuesday, April 29, 2008 2:44 PM > To: itext-questions@lists.sourceforge.net > Subject: Re: [iText-questions] create a BaseFont object with > a .FON f

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-29 Thread GeroChaman
> You need to parse the .FON format, and for each glyph of the .FON, >re-code it as a Type3 CharProc. One you have the Type3 font inside >the PDF, then you can use it like any other font in the PDF. >Type3 fonts can be bitmapped fonts, so you can have the exact same >thing as you se

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-29 Thread Leonard Rosenthol
On Apr 28, 2008, at 7:09 PM, GeroChaman wrote: > if what you say is true, then, does the pdf format can have > embedded .FON > fonts? PDF does not support .FON format fonts natively. So no, you can't embed a .FON. > and how? if not/impossible, how can a get a type 3 font to work wi

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-28 Thread GeroChaman
>then any embedded fonts MUST/WILL be used >when printing. HOWEVER, if the fonts aren't embedded in the PDF, >then the conforming reader is free to do whatever it wants... if what you say is true, then, does the pdf format can have embedded .FON fonts? and how? if not/impossible,

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-28 Thread Leonard Rosenthol
On Apr 26, 2008, at 5:24 AM, Paulo Soares wrote: >> if what you say true, i'm actually losing my time working with pdf >> format. > > The pdf format will never use printer fonts, if it did it wouldn't be > portable (PDF is Portable Document Format). If you expect that from > a pdf > you should

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-26 Thread Paulo Soares
- Original Message - From: "GeroChaman" <[EMAIL PROTECTED]> To: Sent: Friday, April 25, 2008 4:11 PM Subject: Re: [iText-questions] create a BaseFont object with a .FON file > >>Printer fonts will always look better but, and this is a big but, you >>c

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-25 Thread GeroChaman
>Printer fonts will always look better but, and this is a big but, you can't >use printer fonts from a pdf. To the printer it will be just another bitmap >with no guarantee whatsoever that it will be adjusted pixel by pixel with >the printer needles. if what you say true, i'm actually losing m

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-25 Thread Paulo Soares
- Original Message - From: "GeroChaman" <[EMAIL PROTECTED]> To: Sent: Friday, April 25, 2008 12:22 AM Subject: Re: [iText-questions] create a BaseFont object with a .FON file > > > > Paulo Soares wrote: >> >> >> >>> -Origin

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-24 Thread GeroChaman
Paulo Soares wrote: > > > >> -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On >> Behalf Of 1T3XT info >> Sent: Wednesday, April 23, 2008 7:36 AM >> To: Post all your questions about iText here >> Subj

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-24 Thread GeroChaman
>As far as I know FON files aren't supported in iText. well i did some how solve it implementing and customizing a free font (true type of course) that more or less seems to be printed better than the others, the problem as i said, is that PDf has vectorial data, that the printer seems to be rea

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-23 Thread Leonard Rosenthol
Bitmap fonts aren't supported by iText and only "off hand" with PDF, using Type 3 fonts (which will require an entire recoding of the bitmap font). Leonard On Apr 22, 2008, at 5:22 PM, GeroChaman wrote: > > ok i've been working for a while with itext and it has helped me a > lot until > no

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-23 Thread Paulo Soares
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of 1T3XT info > Sent: Wednesday, April 23, 2008 7:36 AM > To: Post all your questions about iText here > Subject: Re: [iText-questions] create a BaseFont object with > a .

Re: [iText-questions] create a BaseFont object with a .FON file

2008-04-22 Thread 1T3XT info
GeroChaman wrote: > ok i've been working for a while with itext and it has helped me a lot until > now, when i found the next issue. > > BaseFont font = BaseFont.createFont("c:\\windows\\fonts\\Roman.fon", > BaseFont.IDENTITY_H, BaseFont.EMBEDDED); > > this is the exeption sent by the JVM: > >

[iText-questions] create a BaseFont object with a .FON file

2008-04-22 Thread GeroChaman
ok i've been working for a while with itext and it has helped me a lot until now, when i found the next issue. BaseFont font = BaseFont.createFont("c:\\windows\\fonts\\Roman.fon", BaseFont.IDENTITY_H, BaseFont.EMBEDDED); this is the exeption sent by the JVM: .Font 'c:\windows\fonts\Roman.f