Search found 2 matches

by jessec
2017-02-17T19:50:13-07:00
Forum: Users
Topic: Exporting font samples as image
Replies: 4
Views: 4128

Re: Exporting font samples as image

Thanks for all your replies. I decided to use the GD library that comes with PHP because it's seems to be simpler and faster.


<?php

ini_set('memory_limit','2G');
define('FONT_PATH', 'C:/Windows/Fonts/');
scandir(FONT_PATH);

$fonts = scandir(FONT_PATH);
$ttfFonts = array();
foreach($fonts as ...
by jessec
2017-02-16T11:04:51-07:00
Forum: Users
Topic: Exporting font samples as image
Replies: 4
Views: 4128

Exporting font samples as image

I'm trying to create a giant image with font samples, using montage: http://www.imagemagick.org/Usage/montage/#reuse

There are about 1000 fonts and the command line interface is too short (8192 chars).

Is there a way I can write a script to do the same thing as the command line interface?

c ...