Webfonts Converter is a user-friendly desktop application that simplifies the process of converting font files between different web-compatible formats.
- Convert TTF AND OTF to WOFF and WOFF2
- Convert WOFF to TTF and WOFF2
- Automatically generate CSS file for easy web integration
- Create an HTML preview file to test the converted font
- Intuitive drag-and-drop interface
- Ensure you have Python 3.6 or higher installed on your system.
- Clone this repository:
git clone https://github.com/yourusername/webfonts-converter.git
- Navigate to the project directory:
cd webfonts-converter
- Install the required dependencies:
pip install PyQt6 fontTools
- Run the script:
python webfonts_converter.py
- Drag and drop your font file (TTF or WOFF) onto the application window.
- The application will automatically convert the font to other formats.
- A CSS file and an HTML preview file will be generated in the same directory as the original font.
- Python 3.6 or higher
- PyQt6
- fontTools
Contributions, issues, and feature requests are welcome. Feel free to check the issues page if you want to contribute.
- Added background
- Added css styles (swap, unicode-range, font-variant, font-feature-settings, font-variation-settings)
- Added HTML preview file generation
- Improved error handling
- Updated user interface
- Added support for OTF files
- Added a button to remove files from the list
- Improved interface design
- Processing of multiple fonts in a single export
- Added HTML preview file generation
- Improved error handling
- Updated user interface
- Added support for WOFF to TTF conversion
- Implemented bilingual support (English and French)
- Initial release
- Basic TTF to WOFF conversion
- CSS file generation
If you have any questions or feedback, please open an issue on the GitHub repository.