cairo Questions

2

Solved

I installed R on an OSX 10.7.5 server using brew: brew install R Everything seems so OK far, however Cairo is not working: > svg(tempfile()) Warning messages: 1: In svg(tempfile()) : unable...
Illumination asked 23/12, 2012 at 8:20

7

Solved

I spent hours this afternoon trying to find a straightforward tutorial for installing PyCairo on Windows. The Cairo project itself does not maintain Windows binaries, they must be dowloaded elsehe...
Qadi asked 2/1, 2012 at 19:7

3

Solved

The command line version of cairosvg allows scaling. Here is the output of the help function: cairosvg -h usage: cairosvg [-h] [-v] [-f {pdf,png,ps,svg}] [-d DPI] [-W WIDTH] [-H HEIGHT] [-s SCALE...
Stagnant asked 20/3, 2017 at 4:17

4

Solved

Could someone please show me a minimal working example of using C language for Cairo with Gtk3 to draw a single line in a GtkDrawingArea. I've tried to modify testcairo.c in the Gtk3 tests folder b...
Coverall asked 19/1, 2012 at 19:55

4

Solved

I'm trying to use cairo to draw some arcs but gcc warns me that gdk_cairo_create() is deprecated. Use gdk_window_begin_draw_frame() and gdk_drawing_context_get_cairo_context() instead. To get arou...
Salzburg asked 28/8, 2019 at 19:38

6

I have been trying to use Inkscape to prepare artwork graphics for my scientific papers. I use LaTeX, and I need my figures to be prepared as high-quality Encapsulated PostScript (EPS) images. The ...
Berty asked 21/6, 2013 at 23:24

6

I am trying to install the pycairo (Python bindings for the cairo graphics library) under OSX. I started with easy_install pycairo and got: Requested 'cairo >= 1.8.8' but version of cairo ...
Walter asked 30/9, 2009 at 21:53

3

Im trying to use pyreverse to generate UML images for a project source code. When I run the pyreverse command and specify to generate png images, it runs and then after a while, it shows: dot: gra...
Billington asked 24/1, 2014 at 4:49

1

I just installed an Ubuntu bionic instance. It comes with cairo 1.14.6 preinstalled. I need at least cairo 1.15.4 for weasyprint to work properly. Unfortunately, even after installing the latest ca...
Thi asked 2/2, 2019 at 1:22

1

Solved

I adopted the code from this answer in order to draw an overlay window, which stays on top of all windows, always. But I find that this window keeps flickering whenever there is a keypress or a but...
Ciaracibber asked 7/1, 2019 at 15:21

1

I have some code below that is supposed to convert a SVG image to a PNG. It runs without errors but creates a PNG file that is blank instead of one with the same image as the original SVG. I did fi...
Lorianne asked 5/6, 2019 at 15:25

3

Solved

How do I install cairocffi through pip? cairocffi is a CFFI-based drop-in replacement for Pycairo https://github.com/SimonSapin/cairocffi. I'm trying to install it on Ubuntu 14.04: alvas@ubi:~$...
Preamplifier asked 13/4, 2015 at 0:54

2

Solved

I'm trying to use 'Cairo' package in Rstudio, using the command install.packages('Cairo') and it goes through with no problem. I get this message- The downloaded binary packages are in /var/fold...
Atlantic asked 15/8, 2016 at 9:19

5

Solved

I want to render parts of a svg file by name but for the life of me I cannot figure out how to do so (using python + gtk). Here's the svg file in question: http://david.bellot.free.fr/svg-cards/fi...
Gallic asked 23/2, 2010 at 19:44

3

Solved

Edit: This page provides the code: https://www.andrewheiss.com/blog/2017/09/27/working-with-r-cairo-graphics-custom-fonts-and-ggplot/ ggsave("test_cario.eps", device=cairo_ps) ggsave("test_cario....
Marinate asked 1/2, 2018 at 16:25

3

Solved

I'm trying to install GTK-DFB and cairo is a requirement. When I try to build it from source, it throws: checking for cairo's PNG functions feature... configure: WARNING: Could not find libpng in...
Hadlock asked 29/5, 2010 at 0:19

4

Solved

Here's what I've done so far: I've installed Homebrew: /usr/bin/ruby -e "$(/usr/bin/curl -fsSL https://raw.github.com/mxcl/homebrew/master/Library/Contributions/install_homebrew.rb)" Then pyth...
Karyotin asked 6/5, 2012 at 16:35

1

Solved

I plot a pdf figure using gnuplot 5.0 with pdfcairo terminal, and then insert this figure into a pdf file using latex. However, I found the font size in gunplot is different with the font size in l...
Verdha asked 7/6, 2018 at 18:57

1

Solved

I had this following code pull from one of the tutorials on line. When I use gtk+-2.0, the following code works fine. But when I try compile with gtk+-3.0, the code gives this error: signal 'e...
Planet asked 10/4, 2018 at 2:3

3

Solved

I'm working with python3, and i'm trying to install " cairocffi" on Ubuntu. To do this, i've successfully installed: python-dev libffi-dev cffi But when i've trying to install "cairocffi" with ...
Vshaped asked 11/1, 2016 at 10:37

2

our sysadmin just upgraded our operating system to SLES12SP1. I reinstalled Rv3.2.3 and tried to make plots. I use cairo_pdf and try to make a plot with the x-label being \u0298 i.e. the solar symb...
Abbasid asked 28/2, 2016 at 12:46

1

A just curious question. I'm aware that: Skia, Cairo: library Direct2D: API But without any additional components, exclusively on Windows platform, which bears the most features? I'm not talkin...
Lenee asked 2/10, 2017 at 13:11

1

I'm new to Cairo, trying to create text with transparent color and stroke. stroke color's transparency works but text fill color transparency transparency_value doesn't work. If i reduce transparen...
Objectify asked 8/4, 2017 at 19:45

4

Solved

community. I know that there are many answers here, manuals, tutorials and references over the internets and amny more about this question. Also I know that knowledge of linear algebra is required...
Ternate asked 11/12, 2011 at 10:20

1

Solved

I'm new to c++ and cmake. I installed cairo library as written here via port. Now i want to include cairo to my project. I wrote the CmakeLists.txt commands as shown here. cmake_minimum_required(...
Filia asked 13/1, 2017 at 14:30

© 2022 - 2024 — McMap. All rights reserved.