# Error with Cairo and Fontconfig

**URL:** https://discourse.julialang.org/t/error-with-cairo-and-fontconfig/25025
**Category:** New to Julia
**Created:** [June 6, 2019, 9:19pm UTC](https://discourse.julialang.org/t/error-with-cairo-and-fontconfig/25025 "2019-06-06T21:19:21Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![B.Vangod](https://avatars.discourse-cdn.com/v4/letter/b/df705f/32.png) [@B.Vangod](https://discourse.julialang.org/u/B.Vangod)
#### Post date: [June 6, 2019, 9:19pm UTC](https://discourse.julialang.org/t/error-with-cairo-and-fontconfig/25025/1 "2019-06-06T21:19:21Z")

</div>

I saw a few links that may have given me a solution, but in the end it was not really effective for me. I hope this is the right forum to post this.

I’ve been using DataFrames, DataFramesMeta, Gadfly, CSV (and sometimes a few others) to practice with Julia (and statistics). Things went well, except that, any time I load up Cairo and Fontconfig for PDF support, I get an error after a Gadfly.plot().

I am now refraining from using Cairo and Fontconfig, but that’s of course something I shouldn’t want to do. Is there a solution?

---

<div class="post-metadata">

### Author: ![jpsamaroo](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jpsamaroo/32/46804_2.png) [@jpsamaroo](https://discourse.julialang.org/u/jpsamaroo)
#### Post date: [June 6, 2019, 11:49pm UTC](https://discourse.julialang.org/t/error-with-cairo-and-fontconfig/25025/2 "2019-06-06T23:49:41Z")

</div>

Can you provide an MWE of what you’re trying to do, as well as the output of `versioninfo()` from the REPL? Also, please check out the following post for general posting guidelines; it helps to get a quick, on-topic response 🙂

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757):
>
> Welcome to the Julia Discourse! We are enthusiastic about helping Julia programmers, both beginner and experienced. This public service announcement (PSA) outlines best practices when asking for help. Following these points makes it easier for us to help you and more likely you’ll get a prompt, useful answer. Keywords are highlighted to make it easier to refer to specific points. Choose a descriptive title that captures the key part of your question, eg “plots with multiple axes” instead of …
