| Recommend this page to a friend! |
| Author | ||
![]() |
|
Innovation award![]() Nominee: 13x Winner: 2x | |||||||||||||||||||
| Classes of Arturs Sosins | > | Image Font | > | Download .zip .tar.gz | > | > | > | |||||
|
|||||||||||||||||||||||
| Groups | Freshmeat project | |||||
| Applications | Related links | |||||
| Groups | ||
| PHP 5 | Classes using PHP 5 specific features | View top rated classes | |
| Graphics | Colors, images, charts and picture formats | View top rated classes | |
| Text processing | Manipulating and validating text data | View top rated classes |
| Innovation Award | ||
![]() January 2012 Winner Prize: One downloadable e-book of choice by O'Reilly |
Some applications need to use buttons or other types of images on which a given text message is rendered. If there is no font with characters with a certain aspect that you want to use, you can always create images in PHP by pasting other images that represent the text characters of the message you want to display. In some cases you may need to render text formatted with special justification. This class provides solution to render text on images using separate image files as font characters. You can format the text using several types of justification, in such way that if the text does not fit a given limit width, it can nicely wrap the text around multiple lines. Manuel Lemos |
| Freshmeat project | ||
| Project record: | image-font |
|---|---|
| Popularity score: | 19.75 |
| Vitality score: | 21.99 |
| User ratings | ||
| There are not enough user ratings to display for this class. |
| Applications that use this class | ||
| Related links | ||
| Link | Description |
|---|---|
| Image Font class documentation | Documentation and example scripts in action |
| File | Role | Description | ||
|---|---|---|---|---|
| Class | Main class source | |||
| Example | Example loading images from array | |||
| Example | Example loading images from directory | |||
| Data | Example with multiline text and alignments | |||
| Example | Generating images for example file | |||
| Files | / | |||
| File | Role | Description |
|---|---|---|
| |
Data | Image for 0 digit |
| |
Data | Image for 1 digit |
| |
Data | Image for 2 digits |
| |
Data | Image for 3 digit |
| |
Data | Image for 4 digit |
| |
Data | Image for 5 digit |
| |
Data | Image for 6 digit |
| |
Data | Image for 7 digit |
| |
Data | Image for 8 digit |
| |
Data | Image for 9 digit |
| Download all files: image-font.tar.gz image-font.zip |