search for: cairo_p

Displaying 20 results from an estimated 25 matches for "cairo_p".

Did you mean: cairo_ps
2015 Jul 14
2
Use cairo fallback resolution greater than 72dpi in cairo_pdf and cairo_ps in grDevices
Dear all, In grDevices R functions cairo_pdf and cairo_ps it is mentioned that when transparency (alpha channels) are used in vector output, it will rasterize the PDF or postscript exported graph at a resolution of 72 dpi : https://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/cairo.html You can see the problem if you try library(g...
2015 Jul 18
0
Use cairo fallback resolution greater than 72dpi in cairo_pdf and cairo_ps in grDevices
...graphics.org/manual/cairo-cairo-surface-t.html for the call you would need to add. However, I would suggest that you generate a bitmap directly and use that, as PostScript does not support semi-transparency. On 14/07/2015 12:03, Tom Wenseleers wrote: > Dear all, > In grDevices R functions cairo_pdf and cairo_ps it is mentioned that when transparency (alpha channels) are used in vector output, it will rasterize the PDF or postscript exported graph at a resolution of 72 dpi : https://stat.ethz.ch/R-manual/R-devel/library/grDevices/html/cairo.html > > You can see the problem if you try &...
2013 Feb 18
2
mtext unicode failure
Readers, How to solve this unicode input error please? > postscript("~/tmp/test.eps",width=100/25.4,height=100/25.4,horizontal=FALSE,onefile=TRUE,paper="special") > testx<-seq(1:5) > testy<-seq(1:5) > plot(testy~testx) > mtext('text (O?)\n more text',side=3,line=1) Warning messages: 1: In mtext("text (O?)\n more text", side = 3, line =
2012 Jan 03
1
Options for generating editable figures?
...eate .wmf files, which might (and I've read conflicting things about this) be importable into PowerPoint as editable graphics. 4) I found an old suggestion in the archives that an EPS could be imported into PowerPoint and made editable. This almost worked for me (using Inkscape to convert a cairo_ps()-generated file to EPS) -- but only using PowerPoint under Windows, and lots of vectors and all text were lost along the way. Am I on the right track? Am I missing any better pathways? I know similar questions have come up before, but the discussions I found in the archives were old, and may...
2020 Mar 30
2
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
...d.ac.nz> wrote: > >> > >> Hi > >> > >> I have created an R branch that contains a potential fix ... > >> > >> https://svn.r-project.org/R/branches/R-symfam/ > >> > >> This allows, for example, ... > >> > >> cairo_pdf(symbolfamily="OpenSymbol") > >> > >> ... to specify that the OpenSymbol family should be used as the "symbol" > >> font (e.g., for "plotmath") in R. > > > > Will this be a default on Linux? Or are you planning any mechanism >...
2009 Sep 04
1
generation of eps image
Hi, Except the function postscript ('file_name.eps'), are there functions to generate an image file in eps format? thanks Carol [[alternative HTML version deleted]]
2012 Jun 04
1
Math labels in .eps files
Dear list, I have non-ascii labels that I want to include somethow in a .eps file for inclusion into a LateX document. Is this possible? What I see is that the (attached) png file looks ok but the .eps renders all non-ascii labels at the bottom as [..]. I've searched around enough to learn that including math labels in a .eps is a problem. Hower, is there a solution too somewhere?
2020 Mar 30
3
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
On Mon, 30 Mar 2020 at 04:24, Paul Murrell <paul at stat.auckland.ac.nz> wrote: > > Hi > > I have created an R branch that contains a potential fix ... > > https://svn.r-project.org/R/branches/R-symfam/ > > This allows, for example, ... > > cairo_pdf(symbolfamily="OpenSymbol") > > ... to specify that the OpenSymbol family should be used as the "symbol" > font (e.g., for "plotmath") in R. Will this be a default on Linux? Or are you planning any mechanism (env variable, option...) to make it the default?...
2020 Mar 31
1
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
...>>> Hi >>> >>> I have created an R branch that contains a potential fix ... >>> >>> https://svn.r-project.org/R/branches/R-symfam/ >>> >>> This allows, for example, ... >>> >>> cairo_pdf(symbolfamily="OpenSymbol") >>> >>> ... to specify that the OpenSymbol family should be used as the "symbol" >>> font (e.g., for "plotmath") in R. >> >> Will this be a default on Linux? Or are you planning a...
2020 Mar 31
0
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
...;> >>>> Hi >>>> >>>> I have created an R branch that contains a potential fix ... >>>> >>>> https://svn.r-project.org/R/branches/R-symfam/ >>>> >>>> This allows, for example, ... >>>> >>>> cairo_pdf(symbolfamily="OpenSymbol") >>>> >>>> ... to specify that the OpenSymbol family should be used as the "symbol" >>>> font (e.g., for "plotmath") in R. >>> >>> Will this be a default on Linux? Or are you planning any...
2020 Mar 30
0
Plotmath on Fedora 31 broken with with pango >= 1.44 - workarounds?
...20 at 04:24, Paul Murrell <paul at stat.auckland.ac.nz> wrote: >> >> Hi >> >> I have created an R branch that contains a potential fix ... >> >> https://svn.r-project.org/R/branches/R-symfam/ >> >> This allows, for example, ... >> >> cairo_pdf(symbolfamily="OpenSymbol") >> >> ... to specify that the OpenSymbol family should be used as the "symbol" >> font (e.g., for "plotmath") in R. > > Will this be a default on Linux? Or are you planning any mechanism > (env variable, option.....
2017 Oct 20
0
[FORGED] can't print ggplot with Chinese characters to pdf files
...Kaiti TC")) p2<-p2+theme(text = element_text(family = "Kaiti TC")) p<-array(list(NA), dim=2) p[[1]]<-p1 p[[2]]<-p2 p_series <- lapply(1:(length(p)), function(.x) p[.x][[1]]) m2 <- marrangeGrob(p_series, nrow=2, ncol=1) #ggsave("test_plot_chinese.pdf", m2) cairo_pdf("test_plot_chinese.pdf") print(m2) dev.off() 2017-10-12 19:55 GMT-07:00 Paul Murrell <paul at stat.auckland.ac.nz>: > Hi > > By the looks of it, you need to install Cairo graphics ... > > https://www.cairographics.org/download/ > > Paul > > On 13/10...
2024 Feb 29
1
R 4.3.3 is released
...s for the report PR#18538. * Some invalid file arguments to pictex(), postscript() and xfig() opened a file called NA rather than throw an error. These included postscript(NULL) (which some people expected to work like pdf(NULL)). * Passing filename = NA to svg(), cairo_pdf(), cairo_ps() or the Cairo-based bitmap devices opened a file called NA: it now throws an error. * quartz(file = NA) opened a file called NA, including when used as a Quartz-based bitmap device. It now gives an error. * rank(<long vector>) now works, fixing PR#1...
2024 Feb 29
1
R 4.3.3 is released
...s for the report PR#18538. * Some invalid file arguments to pictex(), postscript() and xfig() opened a file called NA rather than throw an error. These included postscript(NULL) (which some people expected to work like pdf(NULL)). * Passing filename = NA to svg(), cairo_pdf(), cairo_ps() or the Cairo-based bitmap devices opened a file called NA: it now throws an error. * quartz(file = NA) opened a file called NA, including when used as a Quartz-based bitmap device. It now gives an error. * rank(<long vector>) now works, fixing PR#1...
2024 Feb 29
1
R 4.3.3 is released
...s for the report PR#18538. * Some invalid file arguments to pictex(), postscript() and xfig() opened a file called NA rather than throw an error. These included postscript(NULL) (which some people expected to work like pdf(NULL)). * Passing filename = NA to svg(), cairo_pdf(), cairo_ps() or the Cairo-based bitmap devices opened a file called NA: it now throws an error. * quartz(file = NA) opened a file called NA, including when used as a Quartz-based bitmap device. It now gives an error. * rank(<long vector>) now works, fixing PR#1...
2011 Oct 22
3
Sweave, cairo_pdf, CJK, ghostscript
...an annotated map of China with R and some public GIS data: http://sourceforge.net/projects/outmodedbonsai/files/snpMatrix%20next/1.17.7.11/China_Choropleth_Maps.pdf/download It is done, and rather nice... there are a few issues: - the default pdf() device cannot do CJK with embedded fonts - and cairo_pdf() is not hooked up to Sweave yet. I have had a quick look, and it does not look too complicated, other than the fact that cairo_pdf() is mutually exclusive with pdf(); and the jpeg/png are new to 2.13 so it is probably just nobody has gotten round to it. (and cairo_pdf() also behaves differently...
2011 Jul 08
0
R 2.13.1 is released
...ses and corresponding reference methods (e.g., $trace()) have been added. ? xz has been updated to 5.0.3 (very minor bugfix release). ? tools::compactPDF() gets more compression (usually a little, sometimes a lot) by using the compressed object streams of PDF 1.5. ? cairo_ps(onefile = TRUE) generates encapsulated EPS on platforms with cairo >= 1.6. ? Binary reads (e.g. by readChar() and readBin()) are now supported on clipboard connections. (Wish of PR#14593.) ? as.POSIXlt.factor() now passes ... to the character method (suggestion of J...
2011 Jul 08
0
R 2.13.1 is released
...ses and corresponding reference methods (e.g., $trace()) have been added. ? xz has been updated to 5.0.3 (very minor bugfix release). ? tools::compactPDF() gets more compression (usually a little, sometimes a lot) by using the compressed object streams of PDF 1.5. ? cairo_ps(onefile = TRUE) generates encapsulated EPS on platforms with cairo >= 1.6. ? Binary reads (e.g. by readChar() and readBin()) are now supported on clipboard connections. (Wish of PR#14593.) ? as.POSIXlt.factor() now passes ... to the character method (suggestion of J...
2017 Oct 13
4
[FORGED] can't print ggplot with Chinese characters to pdf files
Hi By the looks of it, you need to install Cairo graphics ... https://www.cairographics.org/download/ Paul On 13/10/17 15:48, John wrote: > Thanks, Paul. Following your solution, ?I got this error message: > > Warning message: > In cairo_pdf("test_plot_chinese.pdf") : failed to load cairo DLL > > Is there anything else I need to install? > > Thanks, > > John > > 2017-10-12 19:24 GMT-07:00 Paul Murrell <paul at stat.auckland.ac.nz > <mailto:paul at stat.auckland.ac.nz>>: > >...
2024 Apr 24
0
[Rd] R 4.4.0 is released
...tinued evaluation of the R code after an error. * The non-Quartz tiff() devices allow additional types of compression if supported by the platform's libtiff library. * The list of base and recommended package names is now provided by tools::standard_package_names(). * cairo_pdf() and cairo_ps() default to onefile = TRUE to closer match pdf() and postscript(). * New option catch.script.errors provides a documented way to catch errors and then continue in non-interactive use. * L %||% R newly in base is an expressive idiom for the phrases if(!i...