Skip to content

Commit

Permalink
Explicitly call the TTF file for Roboto fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
fhagemann committed Feb 20, 2025
1 parent 8233962 commit 34e0573
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/legend_theme.jl
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ const LegendTheme = Theme(
colgap = 20
),
fonts = (
bold = LegendFont * " Bold",
bold_italic = LegendFont * " Bold Italic",
italic = LegendFont * " Italic",
regular = LegendFont * " Regular"
bold = joinpath(dirname(pathof(LegendMakie)), "fonts", LegendFont * "-Bold.ttf"),
bold_italic = joinpath(dirname(pathof(LegendMakie)), "fonts", LegendFont * "-BoldItalic.ttf"),
italic = joinpath(dirname(pathof(LegendMakie)), "fonts", LegendFont * "-Italic.ttf"),
regular = joinpath(dirname(pathof(LegendMakie)), "fonts", LegendFont * "-Regular.ttf")
),
palette = (
color = [ICPCBlue, PPCPurple, BEGeOrange, CoaxGreen],
Expand Down

0 comments on commit 34e0573

Please sign in to comment.