Re: [R] Saving Chinese text in Quartz

From: Prof Brian Ripley <ripley_at_stats.ox.ac.uk>
Date: Tue, 18 Mar 2008 08:20:23 +0000 (GMT)

Which version of R is this? -- there are two completely different quartz() devices. (Please remember to supply the 'at a minimum' information the posting guide asked for.) You haven't even told us your OS, but we can deduce that this is some version of Mac OS X.

You would do better to ask on the R-sig-MAC list with a reproducible example. But first try opening the file in another reader (like the native Mac OS X one), as I suspect the issue is that the fonts used by Quartz are not embedded and so not known to Acrobat (in which case this is not an R issue at all).

You should be able to use R's cross-platform pdf() device, but you may need to specify a suitable font family for (traditional, presumably in Taiwan) Chinese. See the R News article (2006/2).

On Tue, 18 Mar 2008, DinoDragon wrote:

> I encountered a problem that I don't know where to or how to solve this.
>
> I can put Chinese text to a Quartz window. There is no problem to show
> the correct Chinese text string.
>
> However, when this Quartz window is saved, and open by Acrobat or
> Acrobat Reader, the Chinese text will become ........
>
> In order to show/preserve my Chinese text in Quartz window, do I have to
> set up some parameters?
>
> Or is this a bug?
>
> Any help is very highly appreciated.
>
> --
>
>
> Smiles,
>
> Timothy Huang ???j??
>
> 43, Lane 525, Section 3, AnKang Road, XinDian City
>
> Taipei County, Taiwan 23156, Rep. of China
>
> ?x?_??23156?s?????w?d?????q525???3??
>
> Tel 886-2-2214-0517 Fax 886-2-2214-4201
>
>
> Get Skype <http://www.skype.com/go/download> and call me for free.
>
> Web: www.dinodragon.com <http://www.dinodragon.com/>
>
> Blog: http://tw.myblog.yahoo.com/timd_huang/
>
> Blog: http://bloguide.ettoday.com/dinodragon/
> Web: http://www.meteoritefossilgallery.com/
>
>
> [[alternative HTML version deleted]]
>
>

-- 
Brian D. Ripley,                  ripley_at_stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Tue 18 Mar 2008 - 08:24:18 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 18 Mar 2008 - 09:30:22 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive