PHP Classes

PHP Font Chooser Menu: Display a menu to let users choose a text font

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 75 All time: 10,189 This week: 89Up
Version License PHP version Categories
font-chooser-menu 1.0.0Custom (specified...5PHP 5, Graphics, Code Generation, Con..., G...
Description 

Author

This package can display a menu to let users choose a text font.

It can scan a server-side directory to extract the list of TrueType font files stored in that directory.

The package can display a menu on a Web page to let the user pick his preferred font and background color.

The package can process the user's font preference and generates a PHP script file that stores some configuration values with the details about the user's font choice.

Innovation Award
PHP Programming Innovation award winner
January 2023
Winner
Some applications render graphics that include text. Text can be displayed using many different types of fonts.

User-friendly graphic applications allow users to choose the fonts that the application will use to display the text.

This package implements a font chooser user interface to let users choose fonts and background colors and see how the text will look.

Manuel Lemos
Picture of Bob Wright
Name: Bob Wright <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 4459560 in United States United States
Week rank: 206 Up24 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

Winner: 1x

Details

Font-Chooser-Menu

A simple Font Chooser uses Javascript and PHP and CSS to construct a checkbox menu of the fonts in a folder. The Chooser also allows the selection of the background color. The Chooser results are stored as SESSION variables. This is a link to an online demo https://syntheticreality.net/Storybook/FontsChooser.php


  Files folder image Files (15)  
File Role Description
Files folder imagecss (7 files)
Files folder imagejs (3 files)
Accessible without login Plain text file dumpFontsSaverSESSIONvariables.php Aux. Auxiliary script
Accessible without login Plain text file FontsChooser.php Aux. Auxiliary script
Accessible without login Plain text file FontsSaver.php Aux. Auxiliary script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files (15)  /  css  
File Role Description
  Accessible without login Plain text file bootstrap.css Data Auxiliary data
  Accessible without login Plain text file bootstrap.min.css Data Auxiliary data
  Accessible without login Plain text file colorPalette.css Data Auxiliary data
  Accessible without login Plain text file ComicBuilder.css Data Auxiliary data
  Accessible without login Plain text file ComicCreator.css Data Auxiliary data
  Accessible without login Plain text file LiteThemes.css Data Auxiliary data
  Accessible without login Plain text file mdb.min.css Data Auxiliary data

  Files folder image Files (15)  /  js  
File Role Description
  Accessible without login Plain text file bootstrap.min.js Data Auxiliary data
  Accessible without login Plain text file jquery.min.js Data Auxiliary data
  Accessible without login Plain text file mdb.min.js Data Auxiliary data

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:75
This week:0
All time:10,189
This week:89Up