mirror of
https://github.com/revarbat/BOSL2.git
synced 2025-01-16 21:58:27 +01:00
Merge pull request #606 from BradenM/fix/atext-font
Utilize font parameter in attachments/atext module.
This commit is contained in:
commit
0263a5683e
@ -1162,11 +1162,11 @@ module atext(text, h=1, size=9, font="Courier", anchor="baseline", spin=0, orien
|
||||
if (do_show) {
|
||||
if (is_undef($color)) {
|
||||
linear_extrude(height=h, center=true)
|
||||
text(text=text, size=size, halign=ha, valign=va);
|
||||
text(text=text, size=size, halign=ha, valign=va, font=font);
|
||||
} else color($color) {
|
||||
$color = undef;
|
||||
linear_extrude(height=h, center=true)
|
||||
text(text=text, size=size, halign=ha, valign=va);
|
||||
text(text=text, size=size, halign=ha, valign=va, font=font);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user