Saturday, July 10, 2010

[Rails] Re: Re: need pdf gen which is support to Asian languages

Mark Kremer wrote:
> While Prawn does support UTF-8, it doesn't mean you can print all Asian
> characters.
>

Yes it does, and you even go on to explain how.

> To print Asian characters you'll need to have a font (a TTF file if I
> remember it correctly) that supports them and use that with Prawn, I
> don't think the built in fonts support Asian characters.

If that's so, it's simply a matter of finding an appropriate font.
There are lists on the Web of which fonts contain which characters.
Alan Wood maintains a site with that info and more, though I'm not sure
it's up to date. In any case, there are lots of suitable fonts.

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate