<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Manzoor Samejo</title>
    <description>The latest articles on DEV Community by Manzoor Samejo (@manzoor_samejo_78ba2f2920).</description>
    <link>https://dev.to/manzoor_samejo_78ba2f2920</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3721209%2F6dd924dd-9667-447e-bc50-82d529f26253.png</url>
      <title>DEV Community: Manzoor Samejo</title>
      <link>https://dev.to/manzoor_samejo_78ba2f2920</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/manzoor_samejo_78ba2f2920"/>
    <language>en</language>
    <item>
      <title>Zalgo Text Looks Broken or Like Virus Text in TinyTextMaker.com (WordPress) – How to Fix?</title>
      <dc:creator>Manzoor Samejo</dc:creator>
      <pubDate>Tue, 20 Jan 2026 12:37:51 +0000</pubDate>
      <link>https://dev.to/manzoor_samejo_78ba2f2920/zalgo-text-looks-broken-or-like-virus-text-in-tinytextmakercom-wordpress-how-to-fix-1b4</link>
      <guid>https://dev.to/manzoor_samejo_78ba2f2920/zalgo-text-looks-broken-or-like-virus-text-in-tinytextmakercom-wordpress-how-to-fix-1b4</guid>
      <description>&lt;p&gt;I have created a WordPress-based website similar to &lt;a href="https://tinytextmaker.com/" rel="noopener noreferrer"&gt;TinyTextMaker.com&lt;/a&gt; where users can generate fancy text styles.&lt;/p&gt;

&lt;p&gt;When I add the "Zalgo" text style, the output text looks broken and appears like virus or corrupted text blocks. The characters overlap excessively, making the text unreadable on the website.&lt;/p&gt;

&lt;p&gt;This issue happens especially on:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;WordPress frontend&lt;/li&gt;
&lt;li&gt;Mobile browsers&lt;/li&gt;
&lt;li&gt;Copy/paste output from the Zalgo generator&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I understand that Zalgo text uses Unicode combining characters, but I want to control or limit the effect so the text remains readable and does not look like a virus or broken block.&lt;/p&gt;

&lt;p&gt;What is the correct way to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Limit Zalgo intensity (combining characters count)?&lt;/li&gt;
&lt;li&gt;Prevent layout breaking in WordPress themes?&lt;/li&gt;
&lt;li&gt;Safely render Zalgo text without damaging UI or user experience?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Any best practices or examples would be appreciated.&lt;/p&gt;

</description>
      <category>wordpress</category>
      <category>javascript</category>
      <category>html</category>
      <category>css</category>
    </item>
    <item>
      <title>Why HTML5 Canvas Downloads a Blank Image (and How to Fix It)</title>
      <dc:creator>Manzoor Samejo</dc:creator>
      <pubDate>Tue, 20 Jan 2026 10:42:40 +0000</pubDate>
      <link>https://dev.to/manzoor_samejo_78ba2f2920/why-html5-canvas-downloads-a-blank-image-and-how-to-fix-it-45aa</link>
      <guid>https://dev.to/manzoor_samejo_78ba2f2920/why-html5-canvas-downloads-a-blank-image-and-how-to-fix-it-45aa</guid>
      <description>&lt;p&gt;I have a WordPress website ([&lt;a href="https://ambigramtools.com/" rel="noopener noreferrer"&gt;ambigramtools.com&lt;/a&gt;]) where I generate ambigram text using HTML5 canvas and JavaScript.&lt;/p&gt;

&lt;p&gt;The ambigram is displayed correctly on the screen after generation, but when I try to download the canvas as an image, the downloaded file is completely white/blank. The generated ambigram text is not included in the downloaded canvas.&lt;/p&gt;

&lt;p&gt;What works&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ambigram text is visible on screen&lt;/li&gt;
&lt;li&gt;Canvas element exists and shows correct size&lt;/li&gt;
&lt;li&gt;Download function is triggered correctly&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What does NOT work&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;"canvas.toDataURL()" returns a blank white image&lt;/li&gt;
&lt;li&gt;Text drawn on canvas does not appear in the downloaded image&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Possible causes I suspect&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Web fonts not fully loaded before drawing text&lt;/li&gt;
&lt;li&gt;Canvas content is drawn via CSS transforms (rotate / scale)&lt;/li&gt;
&lt;li&gt;Drawing happens on a different canvas than the one being downloaded&lt;/li&gt;
&lt;li&gt;Canvas width/height mismatch&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Simplified code&lt;/p&gt;

&lt;p&gt;const canvas = document.getElementById("ambigramCanvas");&lt;br&gt;
const ctx = canvas.getContext("2d");&lt;/p&gt;

&lt;p&gt;ctx.clearRect(0, 0, canvas.width, canvas.height);&lt;br&gt;
ctx.font = "40px AmbigramFont";&lt;br&gt;
ctx.textAlign = "center";&lt;br&gt;
ctx.fillStyle = "#000";&lt;br&gt;
ctx.fillText("TEST", canvas.width / 2, canvas.height / 2);&lt;/p&gt;

&lt;p&gt;function downloadCanvas() {&lt;br&gt;
  const link = document.createElement("a");&lt;br&gt;
  link.download = "ambigram.png";&lt;br&gt;
  link.href = canvas.toDataURL("image/png");&lt;br&gt;
  link.click();&lt;br&gt;
}&lt;/p&gt;

&lt;p&gt;Question&lt;/p&gt;

&lt;p&gt;What is the correct way to ensure that:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The generated ambigram text is actually drawn into the canvas&lt;/li&gt;
&lt;li&gt;Web fonts are fully loaded before exporting&lt;/li&gt;
&lt;li&gt;The downloaded canvas image matches what is visually displayed?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Any guidance or best practice would be appreciated.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>html</category>
      <category>webdev</category>
      <category>performance</category>
    </item>
  </channel>
</rss>
