# CairoMakie broken rendering of axis and ticklabels

**URL:** <https://discourse.julialang.org/t/cairomakie-broken-rendering-of-axis-and-ticklabels/81635>\
**Category:** Visualization\
**Tags:** question, plotting\
**Created:** [May 25, 2022, 9:20am UTC](https://discourse.julialang.org/t/cairomakie-broken-rendering-of-axis-and-ticklabels/81635 "2022-05-25T09:20:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mihrits](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mihrits/32/34494_2.png) [@mihrits](https://discourse.julialang.org/u/mihrits)\
**Post date:** [May 25, 2022, 9:20am UTC](https://discourse.julialang.org/t/cairomakie-broken-rendering-of-axis-and-ticklabels/81635/1 "2022-05-25T09:20:58Z")

</div>

I am using CairoMakie to plot some results but found that in some circumstances some characters in axis labels and/or tick labels are rendered as boxes. For example, this code

```julia
using CairoMakie
fig = Figure(size=(200,200))
ax = Axis(fig[1,1], xlabel = "x label")
heatmap!(ax, rand(100,100))
save("test.pdf", fig)

```

produces this image with a mangled x label.

> **[Screenshot-2022-05-25-at-12-15-39](https://ibb.co/FH71mqx)**
>
> Image Screenshot-2022-05-25-at-12-15-39 hosted in ImgBB

This doesn’t seem to happen when using GLMakie.

I am using Julia on macOS with M1, but I am using the intel compiler version of Julia. I don’t know how to debug this problem any further. If you need any more information, let me know. I think I couldn’t reproduce it on my Linux machine, but can’t check at the moment.
