Skip to content

Commit

Permalink
Merge pull request #325 from dehann/hotfix/pangojulia1
Browse files Browse the repository at this point in the history
Temporary pangolayout fix for Julia 0.7 compatibility
  • Loading branch information
bjarthur authored Nov 8, 2018
2 parents afb9b07 + ce854e1 commit 450bdd8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pango.jl
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ function PangoLayout()
PangoLayout(layout)
end

# TODO temporary fix for plotting in Julia 0.7 (5 Nov 2018)
@warn "[TEMPORARY WORKAROUND, pangolayout] for plotting with Gadfly.jl, see https://github.com/GiovineItalia/Gadfly.jl/issues/1206"
const pangolayout = PangoLayout()

# Set the layout's font.
function pango_set_font(pangolayout::PangoLayout, family::AbstractString, pts::Number)
fd = match_font(family, pts)
Expand Down

0 comments on commit 450bdd8

Please sign in to comment.