text: rich text
julia
using GLMakie
using CairoMakie
CairoMakie.activate!(type = "svg")
#GLMakie.activate!()
fig = Figure(figure_padding= 0, size = (320, 48),
backgroundcolor=:transparent,
fontsize = 48)
ax = Axis(fig[1,1], backgroundcolor=:transparent)
text!(ax, [0], [0],
text= rich(rich("Your", font="Bold"), " Name", font =:regular),
align = (:center, :center), color = :white)
hidedecorations!(ax)
hidespines!(ax)
fig
┌ Warning: Could not find font Bold, using TeX Gyre Heros Makie
└ @ Makie ~/.julia/packages/Makie/8h0bl/src/conversions.jl:1367