Re: [R] unicode&pdf font problem RESOLVED

2011-03-01 Thread Ben Madin
plot(1:5,1:5, type='n') text(1:5,1:5,probstring) dev.off() ?Cairo suggests encoding is ignored if you do try to set it. cheers Ben On 14/01/2011, at 7:00 PM, r-help-requ...@r-project.org wrote: > Date: Thu, 13 Jan 2011 10:47:09 -0500 > From: Dav

Re: [R] unicode&pdf font problem RESOLVED

2011-01-13 Thread David Winsemius
t umlaut. David. *S* On 11-01-13 16:17, tde...@cogpsyphy.hu wrote: Date: Thu, 13 Jan 2011 16:17:04 +0100 (CET) From: tde...@cogpsyphy.hu To: David Winsemius Cc: r-help@r-project.org Subject: Re: [R] unicode&pdf font problem RESOLVED Dear David, Thank you for your efforts. In

Re: [R] unicode&pdf font problem RESOLVED

2011-01-13 Thread David Winsemius
Good work, Denes; Setting encodings to CP1250 in the pdf call allows the Hungarian umlaut glyph to be printed to a pdf document on Macs as well, which by the way uses a default postscript/pdf family="Helvetica". -- David. On Jan 13, 2011, at 10:17 AM, tde...@cogpsyphy.hu wrote: Dear Davi

Re: [R] unicode&pdf font problem RESOLVED

2011-01-13 Thread Sascha Vieweg
ename.pdf", sep=""), 9, 6, pointsize = 11, family = "Helvetica", encoding = "CP1257") *S* On 11-01-13 16:17, tde...@cogpsyphy.hu wrote: Date: Thu, 13 Jan 2011 16:17:04 +0100 (CET) From: tde...@cogpsyphy.hu To: David Winsemius Cc: r-help@r-project.org Sub

Re: [R] unicode&pdf font problem RESOLVED

2011-01-13 Thread tdenes
Dear David, Thank you for your efforts. Inspired by your remarks, I started a new google-search and found this: http://stackoverflow.com/questions/3434349/sweave-not-printing-localized-characters SO HERE COMES THE SOLUTION (it works on both OSs): pdf.options(encoding = "CP1250") pdf() plot(1,ty

Re: [R] unicode&pdf font problem

2011-01-13 Thread David Winsemius
On Jan 13, 2011, at 7:01 AM, tde...@cogpsyphy.hu wrote: Hi! Sorry for the missing specs, here they are: version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 12.1 year 2

Re: [R] unicode&pdf font problem

2011-01-13 Thread tdenes
Hi! Sorry for the missing specs, here they are: > version _ platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 2 minor 12.1 year 2010 month 12 day16 svn rev5385

Re: [R] unicode&pdf font problem

2011-01-12 Thread David Winsemius
On Jan 12, 2011, at 11:11 PM, tde...@cogpsyphy.hu wrote: Dear List, I would like to print a plot into pdf. The problem is that the character \U0171 is replaced by a simple 'u' (i.e. without accents) in the pdf file. Example: # this works fine plot(1,type="n") text(1,1,"print \U0171") #

[R] unicode&pdf font problem

2011-01-12 Thread tdenes
Dear List, I would like to print a plot into pdf. The problem is that the character \U0171 is replaced by a simple 'u' (i.e. without accents) in the pdf file. Example: # this works fine plot(1,type="n") text(1,1,"print \U0171") # this fails pdf("trial.pdf") plot(1,type="n") text(1,1,"print \U01