PHP Package: dompdf/php-font-lib

PHP Font Library for handling fonts in web projects, offering diverse font management functionalities and seamless integration with PHP applications.

Current Version: 1.0.1
Last Updated: 2024-12-05
PHP Requirement: ^7.1 || ^8.0
Dependencies:
dompdf/dompdf
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

PHP Font Library, php-font-lib, is a versatile tool providing advanced font support for web development. With php-font-lib, users can effortlessly manage and incorporate fonts in PHP projects, ensuring cross-browser compatibility and exceptional typographic design.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.0.1

Download Download v1.0.1

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/dompdf/php-font-lib/1.0.1/loader.php';
require_once 'libs/php/{lib_version}/loader.php';
require_once 'libs/dompdf/dompdf/3.1.0/loader.php';

use PhpFont\Font;
use PhpFont\FontMetrics;

$obj = new Font();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.