Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text overlapping in SVG #781

Open
dkrasne opened this issue Nov 20, 2024 · 1 comment
Open

Text overlapping in SVG #781

dkrasne opened this issue Nov 20, 2024 · 1 comment

Comments

@dkrasne
Copy link

dkrasne commented Nov 20, 2024

Description

Overlapping text in image (maybe just with certain fonts) in SVG export. (Also, incidentally, the font embed doesn't seem to actually embed the font when opened on a different computer, but I guess I'll file another bug for that eventually.)

Steps/Code to Reproduce

The code for generation itself is pretty standard, except for adding the text outline (but that's not what's causing this issue); it's part of a larger function:


wc = wordcloud.WordCloud(width=400,height=400,collocations=False, background_color='white', font_path=font_path, color_func=color_func).generate(text_string)
light_colors = [yellow,cream,lavender,beige,grey,gray]
    wc_svg = wc.to_svg(embed_font=True)
    if colors==None or (len(colors) == 1 and colors[0] in light_colors):
        wc_svg = re.sub('style="', 'style="stroke:#000000; paint-order:stroke; stroke-width:0.2; ', wc_svg)
    else:
        for color in light_colors:
            wc_svg = re.sub(f'style="fill:{color}', f'style="fill:{color}; stroke:#000000; paint-order:stroke; stroke-width:0.2;', wc_svg)

    # Save to SVG, if a path was specified.
    if svg_path is not None:
        with open(svg_path, 'w', encoding='utf-8') as svg_file:
            svg_file.write(wc_svg)

I haven't included the text string because I generate it as part of the function, but if you think it's really necessary, I can supply it.

The font that I've encountered problems with is Bembo. (I tried to attach it, but Github says it doesn't support that file type. If you need it, I can host it and put a link.) I haven't checked every other font that I'm using, but the ones I've looked at don't cause any issues.

Expected Results

The text shouldn't overlap, regardless of what the font is.

Actual Results

See below. The text of the SVG is below the two images.

Non-overlapping matplotlib image:
pamphlet_bindings_text_non-overlap

Overlapping SVG export (as PNG):
pamphlet_bindings_text_overlap


<svg xmlns="http://www.w3.org/2000/svg" width="400" height="400">
<style>@font-face{font-family:'Bembo Std';font-weight:normal;font-style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IZWE5xp0B+oGwtlYpQB4nCWMOwqAMBBEXzSSELSz8wdWFtbeJ5UIwcr7xzGy7D52ZhgMEJjZMSk+Nx4rhZz5HJOuM0rj/+TZQq89ChtaekZWNrXUOLUthR0TlTjoBiUqKUbjXlRhB34AAHicY/zCwMD45f8Pxh4GFcYvDGyMqxn0gLQ24zYGA0Z+BgHGqwzKTJwMkowsDEIMv/5PB8qJMXxgYGOWYBAFiksBsS5Yny+DFKMegwKjCoMsWP19BnamJwwcjK+A+Or/34zTGOSZNBiEgHICQJoXqF+cQRoA5ncYIg==")format("woff");}</style>
<style>text{font-family:'Bembo Std';font-weight:normal;font-style:normal;}</style>
<rect width="100%" height="100%" style="fill:white"></rect>
<text transform="translate(10,237)" font-size="193" style="fill:#DA2C43">print</text>
<text transform="translate(55,396)" font-size="167" style="fill:#006300">book</text>
<text transform="translate(1,74)" font-size="107" style="fill:#DA2C43">pamphlet</text>
<text transform="translate(79,306)" font-size="83" style="fill:#EB7216">edition</text>
<text transform="translate(215,118)" font-size="82" style="fill:#006300">paper</text>
<text transform="translate(38,137)" font-size="79" style="fill:#EB7216">text</text>
<text transform="translate(231,269)" font-size="74" style="fill:#DA2C43">cover</text>
<text transform="translate(43,262)" font-size="36" style="fill:#DBB2D1; stroke:#000000; paint-order:stroke; stroke-width:0.2;">staple</text>
<text transform="translate(98,25)" font-size="36" style="fill:#C0C0C0">bound</text>
<text transform="translate(1,363)" font-size="35" style="fill:#3B74BF">page</text>
<text transform="translate(46,347) rotate(-90)" font-size="34" style="fill:#D28686">sign</text>
<text transform="translate(17,22)" font-size="33" style="fill:#F1DDB3; stroke:#000000; paint-order:stroke; stroke-width:0.2;">artist</text>
<text transform="translate(54,99)" font-size="32" style="fill:#006300">bind</text>
<text transform="translate(312,15)" font-size="32" style="fill:#DA2C43">copy</text>
<text transform="translate(213,155)" font-size="27" style="fill:#006300">illustration</text>
<text transform="translate(18,260) rotate(-90)" font-size="26" style="fill:#C0C0C0">binding</text>
<text transform="translate(392,220) rotate(-90)" font-size="26" style="fill:#DA2C43">wrapper</text>
<text transform="translate(206,321)" font-size="21" style="fill:#C0C0C0">colophon</text>
<text transform="translate(91,152)" font-size="21" style="fill:#006300">number</text>
<text transform="translate(20,396)" font-size="21" style="fill:#EB7216">fold</text>
<text transform="translate(113,91)" font-size="20" style="fill:#C0C0C0">hand</text>
<text transform="translate(81,324)" font-size="20" style="fill:#C0C0C0">color</text>
<text transform="translate(351,316)" font-size="20" style="fill:maroon">offset</text>
<text transform="translate(124,321)" font-size="20" style="fill:#D28686">letterpress</text>
<text transform="translate(346,291)" font-size="20" style="fill:#95401C">image</text>
<text transform="translate(139,226)" font-size="20" style="fill:maroon">work</text>
<text transform="translate(127,245)" font-size="12" style="fill:#D28686">center_for_book_arts</text>
<text transform="translate(177,144)" font-size="12" style="fill:#C0C0C0">stitch</text>
<text transform="translate(319,135)" font-size="12" style="fill:#DA2C43">illustrate</text>
<text transform="translate(266,15)" font-size="12" style="fill:#3B74BF">one</text>
<text transform="translate(42,272)" font-size="12" style="fill:#3B74BF">consist</text>
<text transform="translate(219,205) rotate(-90)" font-size="12" style="fill:#DA2C43">drawing</text>
<text transform="translate(3,148)" font-size="12" style="fill:#3B74BF">black_and_white</text>
<text transform="translate(384,13)" font-size="12" style="fill:#DA2C43">set</text>
<text transform="translate(166,373)" font-size="12" style="fill:#DA2C43">design</text>
<text transform="translate(193,15)" font-size="12" style="fill:#ffd700; stroke:#000000; paint-order:stroke; stroke-width:0.2;">contain</text>
<text transform="translate(342,325)" font-size="12" style="fill:#ffd700; stroke:#000000; paint-order:stroke; stroke-width:0.2;">photograph</text>
<text transform="translate(303,336) rotate(-90)" font-size="12" style="fill:#EB7216">title</text>
<text transform="translate(265,22)" font-size="12" style="fill:#DA2C43">present</text>
<text transform="translate(2,321)" font-size="12" style="fill:#3B74BF">type</text>
<text transform="translate(152,200)" font-size="12" style="fill:#3B74BF">story</text>
<text transform="translate(10,134)" font-size="12" style="fill:#3B74BF">press</text>
<text transform="translate(40,220)" font-size="12" style="fill:#006300">front</text>
<text transform="translate(260,370)" font-size="12" style="fill:#DA2C43">make</text>
<text transform="translate(350,187)" font-size="12" style="fill:#C0C0C0">poem</text>
<text transform="translate(152,86)" font-size="12" style="fill:#3B74BF">original</text>
<text transform="translate(94,351)" font-size="12" style="fill:#3B74BF">art</text>
<text transform="translate(170,108)" font-size="12" style="fill:#C0C0C0">include</text>
<text transform="translate(148,185)" font-size="12" style="fill:#DA2C43">artis</text>
<text transform="translate(216,330)" font-size="12" style="fill:#C0C0C0">blue</text>
<text transform="translate(357,359)" font-size="12" style="fill:#DA2C43">use</text>
<text transform="translate(86,363)" font-size="12" style="fill:#006300">series</text>
<text transform="translate(24,289)" font-size="12" style="fill:#DA2C43">two</text>
<text transform="translate(21,125) rotate(-90)" font-size="12" style="fill:#006300">zine</text>
<text transform="translate(99,190)" font-size="12" style="fill:#DA2C43">red</text>
<text transform="translate(301,389)" font-size="12" style="fill:#3B74BF">date</text>
<text transform="translate(253,359)" font-size="12" style="fill:#800020">white</text>
<text transform="translate(341,60)" font-size="12" style="fill:#95401C">black</text>
<text transform="translate(156,157)" font-size="12" style="fill:#3B74BF">booklet</text>
<text transform="translate(235,130)" font-size="12" style="fill:#3B74BF">photocopy</text>
<text transform="translate(260,223)" font-size="12" style="fill:#3B74BF">first</text>
<text transform="translate(139,375) rotate(-90)" font-size="12" style="fill:#006300">accompany</text>
<text transform="translate(310,25)" font-size="12" style="fill:#DA2C43">part</text>
<text transform="translate(9,305)" font-size="12" style="fill:#3B74BF">leaf</text>
<text transform="translate(315,279)" font-size="12" style="fill:#95401C">write</text>
<text transform="translate(202,23)" font-size="12" style="fill:#C0C0C0">create</text>
<text transform="translate(83,374)" font-size="12" style="fill:#D28686">ink</text>
<text transform="translate(87,161)" font-size="12" style="fill:#006300">feature</text>
<text transform="translate(351,278)" font-size="11" style="fill:#C0C0C0">new_york</text>
<text transform="translate(45,189)" font-size="11" style="fill:#3B74BF">poetry</text>
<text transform="translate(1,340)" font-size="11" style="fill:#C0C0C0">take</text>
<text transform="translate(21,88)" font-size="11" style="fill:#DA2C43">publish</text>
<text transform="translate(252,207)" font-size="11" style="fill:#DA2C43">content</text>
<text transform="translate(174,254)" font-size="11" style="fill:#C0C0C0">various</text>
<text transform="translate(158,134)" font-size="11" style="fill:#3B74BF">time</text>
<text transform="translate(267,380)" font-size="11" style="fill:#DA2C43">sew</text>
<text transform="translate(97,209)" font-size="11" style="fill:#95401C">green</text>
<text transform="translate(254,188)" font-size="11" style="fill:#006300">matter</text>
<text transform="translate(353,125)" font-size="11" style="fill:#006300">computer</text>
<text transform="translate(246,81)" font-size="11" style="fill:#006300">interior</text>
<text transform="translate(47,208)" font-size="11" style="fill:#DA2C43">english</text>
<text transform="translate(227,392) rotate(-90)" font-size="11" style="fill:#3B74BF">japanese</text>
<text transform="translate(132,269) rotate(-90)" font-size="11" style="fill:#DA2C43">short</text>
<text transform="translate(306,83)" font-size="11" style="fill:#DA2C43">exhibition</text>
<text transform="translate(308,194)" font-size="11" style="fill:#C0C0C0">three</text>
<text transform="translate(171,359)" font-size="11" style="fill:#C2B59B; stroke:#000000; paint-order:stroke; stroke-width:0.2;">light</text>
<text transform="translate(205,218)" font-size="11" style="fill:#006300">history</text>
<text transform="translate(163,116)" font-size="11" style="fill:#006300">form</text>
<text transform="translate(92,381)" font-size="11" style="fill:#DA2C43">new</text>
<text transform="translate(317,339) rotate(-90)" font-size="11" style="fill:#95401C">essay</text>
<text transform="translate(295,398)" font-size="11" style="fill:#DA2C43">tan</text>
<text transform="translate(383,372) rotate(-90)" font-size="11" style="fill:#EB7216">five</text>
<text transform="translate(306,203)" font-size="11" style="fill:#DA2C43">side</text>
<text transform="translate(5,379)" font-size="11" style="fill:#EB7216">comic</text>
<text transform="translate(214,342)" font-size="11" style="fill:#EB7216">letter</text>
<text transform="translate(196,267)" font-size="11" style="fill:#3B74BF">printing</text>
<text transform="translate(239,138)" font-size="11" style="fill:#C0C0C0">second</text>
<text transform="translate(192,287)" font-size="11" style="fill:#C0C0C0">line</text>
<text transform="translate(392,385) rotate(-90)" font-size="11" style="fill:#C0C0C0">reproduce</text>
<text transform="translate(350,208)" font-size="11" style="fill:#C0C0C0">leave</text>
<text transform="translate(290,314)" font-size="11" style="fill:#95401C">website</text>
<text transform="translate(111,8)" font-size="11" style="fill:#C0C0C0">statement</text>
<text transform="translate(192,295)" font-size="11" style="fill:#3B74BF">end</text>
<text transform="translate(353,83)" font-size="11" style="fill:#95401C">collection</text>
<text transform="translate(154,63) rotate(-90)" font-size="11" style="fill:#ffd700; stroke:#000000; paint-order:stroke; stroke-width:0.2;">grey</text>
<text transform="translate(323,377) rotate(-90)" font-size="11" style="fill:#EB7216">collage</text>
<text transform="translate(296,61) rotate(-90)" font-size="11" style="fill:#D28686">produce</text>
<text transform="translate(151,124)" font-size="11" style="fill:#3B74BF">double</text>
<text transform="translate(239,66) rotate(-90)" font-size="11" style="fill:#3B74BF">publication</text>
<text transform="translate(140,209)" font-size="11" style="fill:#3B74BF">thread</text>
<text transform="translate(216,119) rotate(-90)" font-size="11" style="fill:#C0C0C0">stock</text>
<text transform="translate(350,153)" font-size="11" style="fill:#DA2C43">visual</text>
<text transform="translate(126,395)" font-size="11" style="fill:#EB7216">photo</text>
<text transform="translate(103,221)" font-size="11" style="fill:#ffd700; stroke:#000000; paint-order:stroke; stroke-width:0.2;">style</text>
<text transform="translate(179,291) rotate(-90)" font-size="11" style="fill:#C0C0C0">draw</text>
<text transform="translate(351,143)" font-size="11" style="fill:#006300">word</text>
<text transform="translate(206,227)" font-size="11" style="fill:#3B74BF">cut</text>
<text transform="translate(340,299)" font-size="11" style="fill:#C0C0C0">plate</text>
<text transform="translate(61,384) rotate(-90)" font-size="11" style="fill:#C0C0C0">issue</text>
<text transform="translate(41,155)" font-size="7" style="fill:#3B74BF">new_york_city</text>
<text transform="translate(307,181)" font-size="7" style="fill:#006300">world</text>
<text transform="translate(129,96)" font-size="7" style="fill:#C0C0C0">handwritten</text>
<text transform="translate(207,26)" font-size="7" style="fill:#95401C">x</text>
<text transform="translate(142,214)" font-size="7" style="fill:#EB7216">signature</text>
<text transform="translate(306,222)" font-size="7" style="fill:#DA2C43">narrative</text>
<text transform="translate(143,326)" font-size="7" style="fill:#EB7216">silver</text>
<text transform="translate(323,171) rotate(-90)" font-size="7" style="fill:#006300">card</text>
<text transform="translate(175,343)" font-size="7" style="fill:#3B74BF">may</text>
<text transform="translate(269,195)" font-size="7" style="fill:#C0C0C0">project</text>
<text transform="translate(49,178)" font-size="7" style="fill:#DA2C43">small</text>
<text transform="translate(93,267)" font-size="7" style="fill:#006300">language</text>
<text transform="translate(265,386)" font-size="7" style="fill:#DA2C43">back</text>
<text transform="translate(55,50)" font-size="7" style="fill:#C0C0C0">michael</text>
<text transform="translate(19,27)" font-size="7" style="fill:#DA2C43">commercially</text>
<text transform="translate(90,64)" font-size="7" style="fill:#3B74BF">recto</text>
<text transform="translate(341,105)" font-size="7" style="fill:#DA2C43">place</text>
<text transform="translate(165,192)" font-size="7" style="fill:#3B74BF">sheet</text>
<text transform="translate(13,7)" font-size="7" style="fill:#C0C0C0">four</text>
<text transform="translate(117,78)" font-size="7" style="fill:#3B74BF">center</text>
<text transform="translate(283,297)" font-size="7" style="fill:#3B74BF">laser</text>
<text transform="translate(94,172)" font-size="7" style="fill:#3B74BF">gray</text>
<text transform="translate(3,152)" font-size="7" style="fill:#EB7216">orange</text>
<text transform="translate(152,291)" font-size="7" style="fill:#95401C">last</text>
<text transform="translate(347,255)" font-size="7" style="fill:#C0C0C0">american</text>
<text transform="translate(217,251)" font-size="7" style="fill:#3B74BF">hold</text>
<text transform="translate(61,338) rotate(-90)" font-size="7" style="fill:#3B74BF">composition</text>
<text transform="translate(378,226)" font-size="7" style="fill:#DA2C43">depict</text>
<text transform="translate(68,242)" font-size="7" style="fill:#C0C0C0">appear</text>
<text transform="translate(191,132)" font-size="7" style="fill:#3B74BF">xerox</text>
<text transform="translate(301,142)" font-size="7" style="fill:#DBB2D1; stroke:#000000; paint-order:stroke; stroke-width:0.2;">codex</text>
<text transform="translate(93,293)" font-size="7" style="fill:#C0C0C0">exterior</text>
<text transform="translate(173,261)" font-size="7" style="fill:#3B74BF">strip</text>
<text transform="translate(61,278)" font-size="7" style="fill:#EB7216">excerpt</text>
<text transform="translate(302,129)" font-size="7" style="fill:#DA2C43">tip</text>
<text transform="translate(94,42) rotate(-90)" font-size="7" style="fill:#C0C0C0">handmade</text>
<text transform="translate(324,238)" font-size="7" style="fill:#DA2C43">come</text>
<text transform="translate(151,259)" font-size="7" style="fill:#006300">p</text>
<text transform="translate(361,352)" font-size="7" style="fill:#3B74BF">different</text>
<text transform="translate(316,124)" font-size="7" style="fill:#EB7216">vandercook</text>
<text transform="translate(225,211) rotate(-90)" font-size="7" style="fill:maroon">reproduction</text>
<text transform="translate(252,347)" font-size="7" style="fill:#DA2C43">chapbook</text>
<text transform="translate(307,273) rotate(-90)" font-size="7" style="fill:#006300">public</text>
<text transform="translate(128,68) rotate(-90)" font-size="7" style="fill:#3B74BF">september</text>
<text transform="translate(73,123)" font-size="7" style="fill:#DA2C43">magazine</text>
<text transform="translate(80,8)" font-size="7" style="fill:#D28686">metal</text>
<text transform="translate(257,273)" font-size="7" style="fill:#DA2C43">note</text>
<text transform="translate(306,161)" font-size="7" style="fill:#3B74BF">list</text>
<text transform="translate(127,115)" font-size="7" style="fill:#DA2C43">face</text>
<text transform="translate(220,350)" font-size="7" style="fill:#ffd700; stroke:#000000; paint-order:stroke; stroke-width:0.2;">fall</text>
<text transform="translate(200,83)" font-size="7" style="fill:#3B74BF">read</text>
<text transform="translate(134,383)" font-size="7" style="fill:#DA2C43">verso</text>
<text transform="translate(54,224)" font-size="7" style="fill:#DA2C43">pen</text>
<text transform="translate(313,207)" font-size="7" style="fill:#DA2C43">nancy</text>
<text transform="translate(256,65)" font-size="7" style="fill:#DA2C43">paint</text>
<text transform="translate(205,159)" font-size="7" style="fill:#C0C0C0">century</text>
<text transform="translate(261,212)" font-size="7" style="fill:#C0C0C0">softcover</text>
<text transform="translate(99,199)" font-size="7" style="fill:#DA2C43">generate</text>
<text transform="translate(371,133)" font-size="7" style="fill:#DA2C43">vellum</text>
<text transform="translate(62,28)" font-size="7" style="fill:purple">around</text>
<text transform="translate(102,104)" font-size="7" style="fill:#3B74BF">brown</text>
<text transform="translate(281,79)" font-size="7" style="fill:#ffd700; stroke:#000000; paint-order:stroke; stroke-width:0.2;">june</text>
<text transform="translate(354,214)" font-size="7" style="fill:#C0C0C0">typeface</text>
<text transform="translate(58,344)" font-size="7" style="fill:#DA2C43">go</text>
<text transform="translate(158,144)" font-size="7" style="fill:#3B74BF">multi</text>
<text transform="translate(353,177)" font-size="7" style="fill:#DA2C43">halftone</text>
<text transform="translate(374,235)" font-size="7" style="fill:#3B74BF">yellow</text>
<text transform="translate(25,140)" font-size="7" style="fill:#DA2C43">tower</text>
<text transform="translate(260,13) rotate(-90)" font-size="7" style="fill:#3B74BF">bird</text>
<text transform="translate(123,103)" font-size="7" style="fill:#F1DDB3; stroke:#000000; paint-order:stroke; stroke-width:0.2;">name</text>
<text transform="translate(37,134) rotate(-90)" font-size="7" style="fill:#DA2C43">wome</text>
<text transform="translate(313,34)" font-size="7" style="fill:#3B74BF">scott</text>
<text transform="translate(152,266)" font-size="7" style="fill:#D28686">house</text>
<text transform="translate(312,229)" font-size="7" style="fill:#006300">woman</text>
<text transform="translate(7,294)" font-size="7" style="fill:#C0C0C0">artist_book</text>
<text transform="translate(199,46)" font-size="7" style="fill:#ffd700; stroke:#000000; paint-order:stroke; stroke-width:0.2;">stamp</text>
<text transform="translate(154,7)" font-size="7" style="fill:#3B74BF">translate</text>
<text transform="translate(1,269)" font-size="7" style="fill:#006300">phone</text>
<text transform="translate(170,381)" font-size="7" style="fill:#EB7216">explicit</text>
<text transform="translate(5,310)" font-size="7" style="fill:#3B74BF">provide</text>
<text transform="translate(377,304)" font-size="7" style="fill:#3B74BF">erotic</text>
</svg>

Versions

Windows-10-10.0.19045-SP0
Python 3.11.0 (main, Oct 24 2022, 18:26:48) [MSC v.1933 64 bit (AMD64)]
NumPy 1.26.1
matplotlib 3.8.1
wordcloud 1.9.2

@dkrasne
Copy link
Author

dkrasne commented Nov 20, 2024

Also, I should have said: it overlaps whether I'm opening the SVG in a web browser (I've tried both Firefox and Edge) or in Inkscape.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant