test
This commit is contained in:
parent
a85a225c73
commit
f8512a95a7
1 changed files with 7 additions and 0 deletions
|
|
@ -111,6 +111,13 @@ func Append(diagram *d2target.Diagram, ruler *textmeasure.Ruler, in []byte) []by
|
|||
}
|
||||
|
||||
if !strings.Contains(svg, `font-family: "font-regular"`) {
|
||||
|
||||
// if fillRGB.IsLight() {
|
||||
// g.pdf.SetTextColor(10, 15, 37) // steel-900
|
||||
// } else {
|
||||
// g.pdf.SetTextColor(255, 255, 255)
|
||||
// }
|
||||
|
||||
appendix += fmt.Sprintf(`<style type="text/css"><![CDATA[
|
||||
.text {
|
||||
font-family: "font-regular";
|
||||
|
|
|
|||
Loading…
Reference in a new issue