revert
This commit is contained in:
parent
731a29bd07
commit
51d0000e0f
1 changed files with 0 additions and 7 deletions
|
|
@ -120,13 +120,6 @@ func Append(diagram *d2target.Diagram, ruler *textmeasure.Ruler, in []byte) []by
|
||||||
}
|
}
|
||||||
|
|
||||||
if !strings.Contains(svg, `font-family: "font-regular"`) {
|
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[
|
appendix += fmt.Sprintf(`<style type="text/css"><![CDATA[
|
||||||
.text {
|
.text {
|
||||||
font-family: "font-regular";
|
font-family: "font-regular";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue