OJT PROJECT web font optimizer
This project is a simple tool made with HTML, CSS, and JavaScript. It helps to optimize web fonts so that websites load faster and use less data.
- Lets you load and preview fonts.
- Helps you reduce the size of font files by choosing only the characters you need.
- Gives you ready-to-use CSS or font files for your website.
- Works fully in the browser. No backend or installation required.
Web fonts can slow down a website if they are large. Optimizing fonts helps:
- Reduce page load time
- Improve performance on slow networks
- Avoid layout shifting problems
- Give users a smoother experience
OJT_PROJECT3/
├── index.html # Main page
├── css/ # Styles
├── js/ # JavaScript files
└── README.md # Documentation
- Download or clone this project:
git clone https://github.com/gozepriyabrata-hash/OJT_PROJECT3.git - Open the
index.htmlfile in your browser. - Upload or select the font you want to optimize.
- Apply the settings shown on the page.
- Download the optimized font or copy the CSS provided.
These are some ideas that can be added later:
- Support more font formats like WOFF and WOFF2
- Allow selecting language-based character sets
- Add drag-and-drop upload
- Generate sample HTML/CSS automatically
- Add better UI and explanations
This tool is made to help developers and students understand how web font optimization works and how it affects website performance. It follows common best practices such as subsetting fonts and using proper font loading methods.