<?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: Mubeen Naeem</title>
    <description>The latest articles on DEV Community by Mubeen Naeem (@mubeen_naeem7896).</description>
    <link>https://dev.to/mubeen_naeem7896</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%2F3981965%2F9ef19df0-7403-4660-9c5c-9c81ef80677f.jpg</url>
      <title>DEV Community: Mubeen Naeem</title>
      <link>https://dev.to/mubeen_naeem7896</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mubeen_naeem7896"/>
    <language>en</language>
    <item>
      <title>How to Keep Your Website Fast When Using Custom Fonts</title>
      <dc:creator>Mubeen Naeem</dc:creator>
      <pubDate>Fri, 12 Jun 2026 22:29:39 +0000</pubDate>
      <link>https://dev.to/mubeen_naeem7896/how-to-keep-your-website-fast-when-using-custom-fonts-2j0i</link>
      <guid>https://dev.to/mubeen_naeem7896/how-to-keep-your-website-fast-when-using-custom-fonts-2j0i</guid>
      <description>&lt;p&gt;Custom fonts look great, but they can easily slow down your website if they aren't optimized. Large font files increase loading times and cause unexpected text shifts that ruin the user experience.&lt;/p&gt;

&lt;p&gt;When working on my project, &lt;a href="https://calligraphycreator.com/" rel="noopener noreferrer"&gt;Calligraphy Creator&lt;/a&gt;, I had to find a way to make sure unique lettering styles loaded quickly without breaking the site's speed. Here are two simple ways to keep your web typography lightweight:&lt;/p&gt;

&lt;p&gt;Convert Your Fonts to WOFF2&lt;br&gt;
Many fonts come as standard TTF or OTF files, which are usually pretty heavy. Converting them to WOFF2 (Web Open Font Format 2) can reduce the file size by up to 70%. Modern browsers support WOFF2 perfectly, and it uses great compression to load quickly.&lt;/p&gt;

&lt;p&gt;Use font-display: swap in CSS&lt;br&gt;
When a browser loads a page, it often hides the text until the custom font file is completely downloaded. This makes the page look broken for a few seconds.&lt;br&gt;
By adding font-display: swap; to your CSS, you tell the browser to show a standard font immediately, and then smoothly swap it for your custom font the millisecond it finishes downloading.&lt;/p&gt;

&lt;p&gt;These two small changes keep your website running incredibly fast. If you want to see how these font optimization tricks look in action with real-time text rendering, you can check out the live setup on &lt;a href="https://calligraphycreator.com/" rel="noopener noreferrer"&gt;Calligraphy Creator&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>frontend</category>
      <category>performance</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
