Japanese PDF generation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Japanese PDF generation

nomuraryo
I created a form in form builder, and added a PDF template.  In PDF runner when I generate a PDF I get this error message:
Font 'KozMinPro-Regular' with 'UniJIS-UCS2-H' is not recognized.

After changing the font to Arial or Helvetica on the PDF, form runner is able to generate the form but will not recognize Japanese text.  It will input only English.

Is there a way to allow Japanese fonts or to input Japanese into the PDF some other way?
Reply | Threaded
Open this post in threaded view
|

Re: Japanese PDF generation

nomuraryo
nomuraryo wrote
I created a form in form builder, and added a PDF template.  In PDF runner when I generate a PDF I get this error message:
Font 'KozMinPro-Regular' with 'UniJIS-UCS2-H' is not recognized.

After changing the font to Arial or Helvetica on the PDF, form runner is able to generate the form but will not recognize Japanese text.  It will input only English.

Is there a way to allow Japanese fonts or to input Japanese into the PDF some other way?
Anyone?
Reply | Threaded
Open this post in threaded view
|

Re: Re: Japanese PDF generation

Erik Bruchez
Administrator
This feature uses the iText library, which does have more advanced
font handling capabilities.

You might be able to create a template PDF file that embeds the font you need.

If not, you might have to modify the PDF template processor to set an
appropriate font on the PDF produced:

https://github.com/orbeon/orbeon-forms/blob/master/src/java/org/orbeon/oxf/processor/pdf/PDFTemplateProcessor.java

-Erik

On Mon, Jul 25, 2011 at 7:33 AM, nomuraryo <[hidden email]> wrote:

>
> nomuraryo wrote:
>>
>> I created a form in form builder, and added a PDF template.  In PDF runner
>> when I generate a PDF I get this error message:
>> Font 'KozMinPro-Regular' with 'UniJIS-UCS2-H' is not recognized.
>>
>> After changing the font to Arial or Helvetica on the PDF, form runner is
>> able to generate the form but will not recognize Japanese text.  It will
>> input only English.
>>
>> Is there a way to allow Japanese fonts or to input Japanese into the PDF
>> some other way?
>>
>
> Anyone?
>
> --
> View this message in context: http://orbeon-forms-ops-users.24843.n4.nabble.com/Japanese-PDF-generation-tp3689834p3692962.html
> Sent from the Orbeon Forms (ops-users) mailing list archive at Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws