[iText-questions] About CJK OpneType font embed

2003-02-28 Thread Kumata Mitsugu
Hello all,

iText can embed European character OpenType font,
but cannot CJK OpenType font.

I would like to know if iText is going to support it.

Best regards,
KuMi



---
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] Add content to copied pdf

2003-01-10 Thread Kumata Mitsugu
One other question related to PdfCopy.
Is it possible to extract only form field from PDF file and place it to
currently generating PDF?

With regards

KuMi

 It's possible with a lot of work. You'd have to deal directly with stream
 contents and dictionaries as all the changes would be in-place.
 
 Best Regards,
 Paulo Soares
 
 -Original Message-
 From:KuMi [SMTP:[EMAIL PROTECTED]]
 Sent:Friday, January 10, 2003 7:13
 To:[EMAIL PROTECTED]
 Subject:[iText-questions] Add content to copied pdf
 
 Hello all,
 
 It seems to me that additional content cannot be added to copied pdf with
 PdfCopy.java.
 Is it possible?
 
 KuMi
 



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] About form field

2003-01-07 Thread Kumata Mitsugu
Thank you Paulo

About password field;
I added the folllowing code to my program;
  field.setFlags(PdfFormField.FF_PASSWORD);

But this code produces /Ff 8192.
I think right flag shoudl be /Ff 12591104.

To get right flag, Do I have to do anything else?

KuMi


 That's the way form fields work in Reader, you have to duplicate the
 behavior in the stream. The full Acrobat has an annotation handler that can
 get by without the stream.
 For the password you need to set the flags:
 
 PdfFormField.setFieldFlags(PdfFormField.FF_PASSWORD);
 
 
 Best Regards,
 Paulo Soares
 
 -Original Message-
 From:KuMi [SMTP:[EMAIL PROTECTED]]
 Sent:Tuesday, January 07, 2003 6:28
 To:[EMAIL PROTECTED]
 Subject:[iText-questions] About form field
 
 Hello all,
 
 I hava a couple of question about PdfFormField.
 Any work around or suggestions would be helpful.
 
 I am trying to create a password-type text form field with border and
 fill.
 My code is like this;
 ...
 field.setMKBorderColor( new GrayColor(0.5f) );
 field.setMKBackgroundColor( new GrayColor(0.8f) );
 ...
 
 But generated PDF file does not show border line nor background color on
 screen, 
 but border and fill property of the field are checked.
 PDF source is like this;
 ...
 4 0 obj
 /Matrix [1 0 0 1 0 0]
 /Resources /Font /F1 2 0 R /ProcSet [/PDF /Text]
 /Subtype /Form
 /Length 89
 /FormType 1
 /BBox [0 0 171 19]
 /Type /XObject
 
 stream
 /Tx BMC q 2 2 167 15 re W n BT /F1 12 Tf 0 g 1 0 0 1 4 5 Tm
 (Some start text)Tj ET Q EMC
 endstream
 endobj
 ...
 
 I added by hand something like
 0.8 g 0 0 171 19 re f 0.5 G 1 w 0.5 0.5 170 18 re s
 to stream for border and fill, and got the right PDF.
 So my question is, is there any iText method that gives me the same
 result?
 
 One other question, I tried the following code to create a password field;
 PdfFormField field = PdfFormField.createTextField(writer, false, true,
 0);
 But I cannot get the field with password property on.
 Is there anything I should do other than this code to make password field?
 
 Thank you in advance.
 
 KuMi
 
 
 
 
 
 
 
 
 
 
 ---
 This SF.NET email is sponsored by:
 SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
 http://www.vasoftware.com
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] About form field

2003-01-07 Thread Kumata Mitsugu
Thank you Phillip

 So, if you wait for the new release, you should do:
 
 field.setFlags(PdfFormField.FF_PASSWORD | 4194304);
 
 or if you do not, you should do:
 
 field.setFlags(PdfFormField.FF_PASSWORD |
 PdfFormField.FF_DONOTSPELLCHECK);

I tried
  field.setFlags(PdfFormField.FF_PASSWORD | 4194304 | 8388608);
to get 12591104.

But this code still produce /Ff 8192.
Instead, I found next line is /F 12591104.

I don't know what the key /F mean in this case.
So I am still in trouble.

Thank you and forgive me for my poor English
KuMi



---
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] about OpenType font

2002-06-24 Thread Kumata Mitsugu

Hello Pauro,

Thank you for answering my question.
But I don't really understand it.
I tried your sample of 'cff_font.java', and generated PDF has subsetted
font.
Next, I replaced font of 'liz.otf' with 'KozMinStd-Heavy' (Japanese OpneType
font) , but I got an error.

Does your answer mean that OpenType font of European languages are OK, but
not CJK OpneType font?

Best Regards,
KuMi


 I was expecting this question. The answer is no. I don't think is too
 difficult to get the right CID from the font but the problem is that no
 subseting is made for type1 fonts and CFF fonts are nothing more than one or
 more type1 fonts wrapped in another package. I don't see the logic of
 embedding the full character set of a CJK font, the size of which start at
 4M. By the way, I don't expect to support anytime soon type1 subseting. It's
 postscript and I developed a special hatred for stack-based languages from
 the days of HP calculators and Forth.
 
 Best Regards,
 Paulo Soares
 
 - Original Message -
 From: KuMi [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, June 24, 2002 11:14
 Subject: [iText-questions] about OpenType font
 
 
 Hello all,
 
 I would like to know if latest version (1.00) of iText support CJK
 OpenType
 font other than fonts in Asian font pack.
 
 Best regard,
 KuMi
 
 
 
 ---
 Sponsored by:
 ThinkGeek at http://www.ThinkGeek.com/
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 



---
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] Unicode 3.1/hkscs support

2002-06-04 Thread Kumata Mitsugu
Hello all,

Does the follwing mean iText will support Adobe-Japan1-3 Character
Collection too?
If so I will be very happy as a Japanese iText user.
I sometimes need to use pre-rotated latin1 glyphs in vertical line.

Thank you,
KuMi


 You have three options:
 
 - If your pdf is to be read with Acrobat 5 with the Adobe CJK font pack then
 all that is required is to tweak the font supplement from Adobe-CNS1-0 to
 Adobe-CNS1-3. I'll have this in the next release, it will still work in
 Acrobat 4.0 but without the new characters, of course.
 
 - your font contains the characters from Unicode block \uff00 (Halfwidth and
 Fullwidth Forms). See
 http://www.lowagie.com/iText/faq.html#preformattedtext.
 
 - Otherwise it's just a matter of programming although I must say that a
 font that doesn't include \u0020-\u007e characters is really weird. The
 sequence is as follows:
 
 1 - create two fonts, the HK and TIMES for example.
 2 - read the text from the database
 3 - divide the text in chunks each one using a font depending on the
 character range.
 4 - assemble the chunks into a phrase and use the phrase.
 
 Best Regards,
 Paulo Soares
 
 -Original Message-
 From:Zhen  Cua [SMTP:[EMAIL PROTECTED]]
 Sent:Tuesday, June 04, 2002 7:48
 To:[EMAIL PROTECTED]
 Subject:[iText-questions] unicode 3.1/hkscs support
 
 Hello all,
 
 I am reposting this question from the forum.
 The current CJKFont does not seem to include support for HKSCS (HongKong
 Supplementary character set) characters, and hence I am forced to embed a
 TTF. Unfortunately, the TTF does not contain support for other characters
 such as latin1 and basic punctuations, I've tried using MS Arial Unicode
 but it contains only chracters until unicode 2.0, I am generating the pdf
 based on the contents of the database, so it is almost impossible to
 pre-determine the font to be used. Is there a solution to this problem?
 will it be possible to modify something in the code to allow it to specify
 two or more fonts in a call to new Chunk() or new Phrase() such that it
 will automatically search the character in font2 if it is no in font1?
 
 Thanks in advance,
 Zhen
 
 ___
 
 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
 
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 ___
 
 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
 
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


Re: [iText-questions] font HGSeikaishotaiPRO

2002-05-28 Thread Kumata Mitsugu
I guess it's a truetype font by RICHO and "HGSeikaishotaiPRO" is not a file
name but font name.
So, file name of the font is needed and encoding shold be "IDENTITY_H".

Regards,
KuMi

 From: Paulo Soares [EMAIL PROTECTED]
 Date: Tue, 28 May 2002 10:27:50 +0100
 To: 'Ajax$(D"m(J' [EMAIL PROTECTED], 
[EMAIL PROTECTED]
 Subject: RE: [iText-questions] font HGSeikaishotaiPRO
 
 iText only supports TTF CJK fonts, beside the ones from the Adobe font pack.
 What's the format of your font?
 
 Best Regards,
 Paulo Soares
 
 -Original Message-
 From:Ajax$(D"m(J [SMTP:[EMAIL PROTECTED]]
 Sent:Tuesday, May 28, 2002 6:21
 To:[EMAIL PROTECTED]
 Subject:[iText-questions] font HGSeikaishotaiPRO
 
 Hi all
 
 I have requirement of HGSeikaishotaiPRO font.
 Please help me for using same.
 Which string needs to be provided in following syntax
 
 new Font(BaseFont.createFont("HGSeikaishotaiPRO-W3",
 "UniJIS-UCS2-H",true),18);
 
 Ur reply will be appritiated.
 
 Thanx and Regards
 
 Ajay.D
 _
 Click below to visit monsterindia.com and review jobs in India or
 Abroad
 http://monsterindia.rediff.com/jobs
 
 
 ___
 
 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
 
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 
 ___
 
 Don't miss the 2002 Sprint PCS Application Developer's Conference
 August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
 
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions


[iText-questions] Future of iText

2002-05-21 Thread Kumata Mitsugu

Hi,

I'm using iText and it works fine.
I'd like to know the future of iText.
Is there any plan that iText is going to support;

  - right to left direction writing?

  - top to bottom direction writing for CJK languages?

  - embeding OpneType with PS glyph? (not TrueType glyph)
(I want to embed special font that TrueType does not have)

  - way of input for special character that UNICODE does not hava
its code but CID or OpenType have one

  - any other multi-ligual feature?

Thank you,
KuMi


___

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions



Re: [iText-questions] How to specify link with japanese chars.

2002-05-01 Thread Kumata Mitsugu

Hello all,

I'm a Japanese iText user.
I will be glad if the follwings are a clue as to the solution of the problem
of Japanese chars.

I do not know if iText will produce PdfString object represented by
hexadecimal strings which must be enclosed within angle brackets  and .
So, I tried to make a change to a line in a pdf source which is generated by
iText.
Changed result is as follows:

  /F 8341 2f 8343 2e 70 64 66

Spaces in angle brackets are meaningless for PDF Viewer. I put them just for
making it easy to visually recognize each characters. So, even if there are
no spaces, you can get the same result.

Codes in angle brackets are Shift-JIS code which is a major encoding for
Japanese characters.

8341 2f 8343 2e 70 64 66 represents a relative path.

Each Shift-JIS code represents as follows;
 
 8341 - Japanese Katakana a (30a2 in Unicode)
 2f --- slash (represents directory)
 8343 - Japanese Katakana i (30a4 in Unicode)
 2e --- period
 70 --- p
 64 --- d
 66 --- f

This link will work both on Japanese Winodews and Japanese Mac OS with
Japanese Acrobat.

Regards,
KuMi


 The problem here is how are these multi-byte interpreted. What is the
 encoding? I tried to create a link to a directory with a chinese name in my
 computer with Acrobat 4 and it just put a ? for the chinese name. Maybe it
 works with the japanese Acrobat, or maybe not.
 
 Best Regards,
 Paulo Soares
 
 -Original Message-
 From:Leonard Rosenthol [SMTP:[EMAIL PROTECTED]]
 Sent:Tuesday, April 30, 2002 14:17
 To:Paulo Soares; 'B J'; [EMAIL PROTECTED]
 Subject:RE: [iText-questions] How to specify link with japanese
 chars.
 
 At 10:49 AM +0100 4/30/02, Paulo Soares wrote:
 According to the PDF specs:
 start quote
 The URL must adhere to the character-encoding requirements specified in
 RFC 1738. Because 7-bit U.S. ASCII is a strict subset of PDFDocEncoding,
 this
 value may also be considered to be in that encoding.
 end quote
 
 I agree with that, concerning URL's - that wasn't my point.
 
 I was talking about filenames - which CAN contain multi-byte
 characters.  In fact the PDF spec (v1.3, section 3.10.1) contains an
 entire subsection about Multiple-Byte strings in file specification.
 
 
 Leonard
 -- 
 --
 -
 Leonard Rosenthol
 mailto:[EMAIL PROTECTED]
 Chief Technical Officer  http://www.pdfsages.com
 PDF Sages, Inc.  215-629-3700 (voice)
 
 ___
 iText-questions mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/itext-questions
 


___

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
___
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions