Jump to content
blackosx

Create font files for Bootloader GUI's

126 posts in this topic

Recommended Posts

Here’s a script I wrote last year for creating font image files for both Chameleon’s and Clover’s GUI.

 
Notes
- Clover works best with monospaced fonts, where as Chameleon can use both monospaced and proportionally spaced fonts.
- Both monospaced and proportional fonts can be used (for Clover, r3216 and up is required).
- While this script does it’s stuff mathematically, sometimes the best results (optically) may only be achieved when making/adjusting the font files manually.
 
Requirements
 
Installing can be done using homebrew
Once Homebrew is installed, you can run the following command from the Terminal:

brew install imagemagick
* Note: There are other ways to install ImageMagick but I've found only Homebrew does it simply with all required delegates. If you choose to install ImageMagick using other means (package installers, compile from source) then YMMV.
 
createFont script
Usage:
./createFont.sh -f[path/to/font] -s[size] <options>
 
Help can be displayed using -h option:
./createFont.sh -h
 
Please supply a minimum of the font and size. In this case a PNG image
will be generated with the text in white on a transparent background.
 
Options are:
    -a                      Alpha transparency for text. Value 0 thru 1
                            * Some versions of ImageMagick fail to render text
                              with this option turned on.
    -b                      Background Colour. As three comma separated values
                            Red, Green and Blue. [0-255],[0-255],[0-255]
                            Note: background defaults to transparent.
    -c                      Colour of text. As three comma separated values
                            Red, Green and Blue. [0-255],[0-255],[0-255]
                            Note: text colour defaults to white.
                            Some colour examples:
                            Red:           205,0,0
                            Dark Blue:     35,43,148
                            Light Blue:    93,192,244
                            Bright Green:  91,226,81
                            Dark Green:    24,135,16
                            Bright Yellow: 219,221,47
 
    -e                      Effects
                            ----------------------------------------------------
        shading             Enable single colour shading effect.
        shadow              Enable drop shadow effect (type 1 fonts only).
 
    -f                      Font. Either installed font name OR full file path.
    -h                      Display help.
    -i                      List installed fonts available to ImageMagick.
    -l                      Leading (Space between text lines) +/-16 (type 2)
 
    -r                      Reduced Character Set (Type 2 only)
                            ----------------------------------------------------
        a                   Do not include ANSI characters (32-127)
        c                   Do not include cyrillic characters.
 
    -s                      Size in pixels. Expects value between 6 and 255
 
    -t                      Type
                            ----------------------------------------------------
        1                   Font type for Chameleon (Default).
        2                   Font type for Clover.
 
    -o                      Disable optimisation of final image using pngquant.
    -p                      Padding in pixels. Space between characters (type 1)
    -v                      Display version of this script.
    -x                      Disable anti aliasing.
 
The script is not perfect and ImageMagick can do way more so if desired, feel free to improve the script but please post any updates here.
 
Examples
 
For a Chameleon (type 1) font:
./createFont.sh -t1 s14 -f/Users/blackosx/Library/Fonts/mplus-1c-black.ttf -b 100,150,24

Made this image:

post-331032-0-16156400-1433315491_thumb.png

 

For a Clover (type 2) font:

./createFont.sh -t2 -s14 -f/Users/blackosx/Library/Fonts/mplus-1c-black.ttf -b 100,150,24

Made this image

post-331032-0-80626200-1433315282_thumb.png

 

Note regarding sizes
 
- Keep font sizes sensible as too large will be unusable.
 
Here are two images, one using 28pt and the other using 16pt . Both of these are too large for ideal use.
Note: These are using a Clover revision before 3216 where proportional spacing is not working properly. I will update these images soon.
post-331032-0-37714200-1432811971_thumb.jpg
post-331032-0-72599600-1432811952_thumb.jpg
 
Update: to v0.87
- Added extra glyphs for radio buttons and checkboxes as per slice's request. (Note: Requires font containing those glyphs).
- Included the use of imagemagik's X Constant Image option to help overcome Sherlock's issue.
 
Update: to v0.88
- Apply X Constant Image option fix for type 2 fonts, to type 1 fonts.  (Thanks for the note cecekpawon. I Finally got to it :P ).

 

Share this post


Link to post
Share on other sites
Advertisement

Hi blackosx,

I have another idea how to make any font to be proportional. Look

font.png

We can just clamp red squares after create a line of text.

GUI->Font->Proportional=true? 

Share this post


Link to post
Share on other sites

Hi Slice

 

That could work, but maybe allow theme designer to choose clamp colour in theme.plist as the font me be designed to show in red?

Are you thinking of keeping the same font grid as currently used with Clover?

 

Here's a visual of a font file using what you suggest.

post-331032-0-77310500-1432811243_thumb.png

 

Here's an actual test font file if you want to experiment.

post-331032-0-47375100-1432811268_thumb.png

Share this post


Link to post
Share on other sites

Updated to v0.77.

Added -l option to allow adding leading (line spacing) for type 2 (Clover) font files.

 

Example:

To add 4 pixels between lines

$ ./createFont.sh -t2 -f/Users/blackosx/Library/Fonts/airstrip.ttf -s16 -l4

Screenshot using font file with default leading (as v0.76)

post-331032-0-37870100-1432844667_thumb.jpg

 

Screenshot using font file with added 4px leading (as v0.77)

post-331032-0-49453700-1432844682_thumb.jpg

Share this post


Link to post
Share on other sites

Looks to be not good idea because of dirty in font images.

Clover 3210

theme.plist

		<key>Font</key>
		<dict>
			<key>Proportional</key>
			<true/>

Share this post


Link to post
Share on other sites

That was quick! Well done Slice :)

 

You're on the right track but just needs tweaking somewhere... 

 

post-331032-0-87289100-1432852413_thumb.jpg

 

Bed time now but I'll see if I get time tomorrow to have a look at your code to try to understand what you have done.

Share this post


Link to post
Share on other sites

Your screenshot from 3212 looks great :D

I'll build it and test. Well done Slice

 

 

EDIT:

I not seeing good results here with this font

post-331032-0-68116100-1432881957_thumb.png

 

Gives me this:

post-331032-0-17992000-1432881987_thumb.jpg

 

For comparison:

(Results from previous version of Clover <3210) in post #6

 

Using

<key>Font</key>
<dict>
<key>CharWidth</key>
<integer>16</integer>
<key>Path</key>
<string>type2_airstrip_16_Cell_16x22.png</string>
<key>Type</key>
<string>Load</string>
<key>Proportional</key>
<true/>
</dict>

EDIT2:

I was thinking maybe the font file was bad so I've made another font file using Universe Bold and run a test on Clover r3196 and r3212. Here are the results:

 

r3196

post-331032-0-35039500-1432883462_thumb.jpg

 

r3212

post-331032-0-72012800-1432883476_thumb.jpg

 

Font file for ref:

post-331032-0-72975300-1432883501_thumb.png

 

So still not perfect here as the code seems to struggle with thin characters, full stops, commas. But otherwise - very good.

Share this post


Link to post
Share on other sites

More tuning is done with rev 3214.

You also should carefully check font files for characters overlaps and choose best CharWidth values.

 

My algo sensitive for extra dots in the font file.

See dots after a, o, ...

Screen Shot 2015-05-29 at 15.25.24.png


Font WoG_Monaco_ExtraSmooth_10W unaffected by proportional setting if CharWidth = 9.

Font BoG_LucidaConsole_10W_NA affected. I corrected digits 4 and 8 by shifting them in place and committed corrected font to svn.

We should create other fonts that will be good looking with proportional setting.


Also good experience with theme iclover. There is good font

Screen Shot 2015-05-29 at 16.04.41.png

 

So I am waiting other artist will create fonts good for proportional looking.

Share this post


Link to post
Share on other sites

More tuning is done with rev 3214.

Great. I'll test this evening.

 

You also should carefully check font files for characters overlaps and choose best CharWidth values.

Font files generated using this script should not overlap.

Any necessary tweaks to the font files can be done in the script.

 

My ago sensitive for extra dots in the font file.

See dots after a, o, ...

attachicon.gif Screen Shot 2015-05-29 at 15.25.24.png

 

My only thought on this for now is some fonts where tightly packed due to trying to keep the spacing to a minimum. But now there's no reason why there cannot be more space between the characters. This will remove any chance of the char width encroaching the next character,

 

What font file is used for your screenshot? can you post the font file?

 

Font WoG_Monaco_ExtraSmooth_10W unaffected by proportional setting if CharWidth = 9.

Font BoG_LucidaConsole_10W_NA affected. I corrected digits 4 and 8 by shifting them in place and committed corrected font to svn.

I'll test with those later.

Your adjustment to BOG_LucidaConsole will not be necessary if I remake all files with more space.

 

We should create other fonts that will be good looking with proportional setting.

That's what this script is for.

Once we nail exactly how to best create font file for your algo then we can make as many fonts as you wish :)

Also good experience with theme iclover. There is good font

attachicon.gifScreen Shot 2015-05-29 at 16.04.41.png

 

So I am waiting other artist will create fonts good for proportional looking.

Looks great :)

EDIT: That's the WoB_Hellfire_Bold_9W.png file.

@Slice - Have you got time to test your latest build with font files from post #10 ?

I can't until later.

Share this post


Link to post
Share on other sites

Clover3214.

I see some problems with displaying fonts only in the theme metal.

post-617057-0-33894600-1432905833_thumb.jpg

In addition, it was in previous versions of Clover. If you write the name of the theme embedded is written in the menu,(EMBEDDED), the theme will look like the image below.

post-617057-0-42537500-1432905905_thumb.jpg

Share this post


Link to post
Share on other sites

Clover3214.

I see some problems with displaying fonts only in the theme metal.

attachicon.gifmetal2014.jpg

 

 

Hi droples :)

 

This is due to the font file.

I'm pretty certain this can be fixed with a new version of the font with more spacing. I'll test tonight.

In addition, it was in previous versions of Clover. If you write the name of the theme embedded is written in the menu,(EMBEDDED), the theme will look like the image below.

attachicon.gif Embedded.jpg

 

Thanks for the note but that's more a Clover issue and not really for this thread.

Share this post


Link to post
Share on other sites

 

What font file is used for your screenshot? can you post the font file?

 

 

@Slice - Have you got time to test your latest build with font files from post #10 ?

I can't until later.

It is. But I have to rescale it from width 219 to 256. It should be 16x.

This algo has many problems with existing fonts. It will be good with new fonts.

 

 

 

In addition, it was in previous versions of Clover. If you write the name of the theme embedded is written in the menu,(EMBEDDED), the theme will look like the image below.

attachicon.gifEmbedded.jpg

Menu shows theme names as CAPITAL if the name length

With legacy Clover there will be good.

But we have to enter theme names manually exactly as they are.

There are several problems with embedded theme that I don't want to correct. It used for extra cases.

Share this post


Link to post
Share on other sites

r3216 hits the spot slice!

 
I spent my spare time this weekend debugging and understanding your recent changes for proportional spacing and thought I was close to getting it just right. But when I saw your recent change I thought I’d test.
 
post-331032-0-86738600-1433185568_thumb.jpg
 
Great! :D
 
I'll test with some different fonts later..
 
EDIT: Tested with 6 different font files created using the script and all working great.

Share this post


Link to post
Share on other sites

Will try your script.

About ImageMagick there is other ways to install

http://www.imagemagick.org/script/binary-releases.php


sudo port install ImageMagick

Error: org.macports.build for port ImageMagick returned: command execution failed
Please see the log file for port ImageMagick for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ImageMagick/ImageMagick/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port ImageMagick failed


Binary release also failed in 10.7.5

Illegal instruction: 4

because it created for Yosemite :(


This is a mistake in macport ;)

Corrected by

sudo ln -s /opt/local/include/freetype2 /opt/local/include/freetype

Now the build successful!


Something wrong here

Sergeys-iMac:createFont_v0.78 slice$ ./createFont.sh -t2 -fFUTURA.TTF -s22 -b 100,100,100
./createFont.sh: line 131: [: -gt: unary operator expected
Canvas=0x32 | Char cell=0x2
Building ImageMagick code sequence
./createFont.sh: line 40: printf: .5: invalid number
Running ImageMagick to create image
/Users/slice/Downloads/createFont_v0.78/IM_Command.command: line 1:   935 Illegal instruction: 4  convert -size 0x32 -background "RGBA(100,100,100,1)" -font "FUTURA.TTF" -pointsize 22 -fill "RGBA(255,255,255,1)" -draw "text 0,2 '.'" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,2 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,4 ' '" -draw "text 0,6 ' '" -draw "text 0,6 '!'" -draw "text 0,6 '\"'" -draw "text 0,6 '#'" -draw "text 0,6 '$'" -draw "text 0,6 '%'" -draw "text 0,6 '&'" -draw "text 0,6 '’'" -draw "text 0,6 '('" -draw "text 0,6 ')'" -draw "text 0,6 '*'" -draw "text 0,6 '+'" -draw "text 0,6 ','" -draw "text 0,6 '-'" -draw "text 0,6 '.'" -draw "text 0,6 '/'" -draw "text 0,8 '0'" -draw "text 0,8 '1'" -draw "text 0,8 '2'" -draw "text 0,8 '3'" -draw "text 0,8 '4'" -draw "text 0,8 '5'" -draw "text 0,8 '6'" -draw "text 0,8 '7'" -draw "text 0,8 '8'" -draw "text 0,8 '9'" -draw "text 0,8 ':'" -draw "text 0,8 ';'" -draw "text 0,8 '<'" -draw "text 0,8 '='" -draw "text 0,8 '>'" -draw "text 0,8 '?'" -draw "text 0,10 '@'" -draw "text 0,10 'A'" -draw "text 0,10 'B'" -draw "text 0,10 'C'" -draw "text 0,10 'D'" -draw "text 0,10 'E'" -draw "text 0,10 'F'" -draw "text 0,10 'G'" -draw "text 0,10 'H'" -draw "text 0,10 'I'" -draw "text 0,10 'J'" -draw "text 0,10 'K'" -draw "text 0,10 'L'" -draw "text 0,10 'M'" -draw "text 0,10 'N'" -draw "text 0,10 'O'" -draw "text 0,12 'P'" -draw "text 0,12 'Q'" -draw "text 0,12 'R'" -draw "text 0,12 'S'" -draw "text 0,12 'T'" -draw "text 0,12 'U'" -draw "text 0,12 'V'" -draw "text 0,12 'W'" -draw "text 0,12 'X'" -draw "text 0,12 'Y'" -draw "text 0,12 'Z'" -draw "text 0,12 '['" -draw "text 0,12 '\\\'" -draw "text 0,12 ']'" -draw "text 0,12 '^'" -draw "text 0,12 '_'" -draw "text 0,14 '’'" -draw "text 0,14 'a'" -draw "text 0,14 'b'" -draw "text 0,14 'c'" -draw "text 0,14 'd'" -draw "text 0,14 'e'" -draw "text 0,14 'f'" -draw "text 0,14 'g'" -draw "text 0,14 'h'" -draw "text 0,14 'i'" -draw "text 0,14 'j'" -draw "text 0,14 'k'" -draw "text 0,14 'l'" -draw "text 0,14 'm'" -draw "text 0,14 'n'" -draw "text 0,14 'o'" -draw "text 0,16 'p'" -draw "text 0,16 'q'" -draw "text 0,16 'r'" -draw "text 0,16 's'" -draw "text 0,16 't'" -draw "text 0,16 'u'" -draw "text 0,16 'v'" -draw "text 0,16 'w'" -draw "text 0,16 'x'" -draw "text 0,16 'y'" -draw "text 0,16 'z'" -draw "text 0,16 '{'" -draw "text 0,16 '|'" -draw "text 0,16 '}'" -draw "text 0,16 '~'" -draw "text 0,16 '.'" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,18 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,20 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,22 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,24 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,26 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,28 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,30 ' '" -draw "text 0,32 '.'" -draw "text 0,32 ' '" -draw "text 0,32 ' '" -draw "text 0,32 ' '" -draw "text 0,32 ' '" -draw "text 0,32 ' '" -draw "text 0,32 ' '" -draw "text 0,32 ' '" -draw "text 0,32 ' '" -draw "text 0,32 ' '" -draw "text 0,32 ' '" -draw "text 0,32 ' '" -draw "text 0,32 ' '" -draw "text 0,32 ' '" -draw "text 0,32 ' '" -draw "text 0,32 ' '" label:"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                " "/Users/slice/Downloads/createFont_v0.78/type2_FUTURA_22pt_Cell_0x2.png"
Sergeys-iMac:createFont_v0.78 slice$ 

Share this post


Link to post
Share on other sites

Hi Slice.

 

I use Homebrew to install ImageMagick as, for me, it was the easiest way to install it. I found the package installlers gave me problems. I think the problem you have is a bad install of imagemagick.

/Users/slice/Downloads/createFont_v0.78/IM_Command.command: line 1: 935 Illegal instruction: 4

I've just installed homebrew and imagemagick on 10.6.8.

$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
 
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
==> The following directories will be made group writable:
/usr/local/.
/usr/local/bin
/usr/local/include
/usr/local/lib
/usr/local/share
==> The following directories will have their group set to admin:
/usr/local/.
/usr/local/bin
/usr/local/include
/usr/local/lib
/usr/local/share
 
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share
Password:
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/bin /usr/local/include /usr/local/lib /usr/local/share
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
==> Installation successful!
==> Next steps
Run `brew help` to get started
office:createFont_v0.78 Nick$ brew install imagemagick
==> Installing dependencies for imagemagick: xz, libtool, pkg-config, jpeg, libpng, libtiff, freetype
==> Installing imagemagick dependency: xz
==> Downloading https://fossies.org/linux/misc/xz-5.2.1.tar.gz
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/xz/5.2.1
==> make install
Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink include/lzma.h
Target /usr/local/include/lzma.h
already exists. You may want to remove it:
  rm '/usr/local/include/lzma.h'
 
To force the link and overwrite all conflicting files:
  brew link --overwrite xz
 
To list all files that would be deleted:
  brew link --overwrite --dry-run xz
 
Possible conflicting files are:
/usr/local/include/lzma.h
/usr/local/include/lzma/vli.h
/usr/local/include/lzma/version.h
/usr/local/include/lzma/stream_flags.h
/usr/local/include/lzma/index_hash.h
/usr/local/include/lzma/index.h
/usr/local/include/lzma/hardware.h
/usr/local/include/lzma/filter.h
/usr/local/include/lzma/delta.h
/usr/local/include/lzma/container.h
/usr/local/include/lzma/check.h
/usr/local/include/lzma/block.h
/usr/local/include/lzma/bcj.h
/usr/local/include/lzma/base.h
==> Summary
/usr/local/Cellar/xz/5.2.1: 59 files, 1.7M, built in 37 seconds
==> Installing imagemagick dependency: libtool
==> Downloading http://ftpmirror.gnu.org/libtool/libtool-2.4.6.tar.xz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libtool/2.4.6 --program-prefix=g --enable-ltdl-install
==> make install
==> Caveats
In order to prevent conflicts with Apple's own libtool we have prepended a "g"
so, you have instead: glibtool and glibtoolize.
 
This formula is keg-only, which means it was not symlinked into /usr/local.
 
Xcode provides this software prior to version 4.3.
 
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
 
    LDFLAGS:  -L/usr/local/opt/libtool/lib
    CPPFLAGS: -I/usr/local/opt/libtool/include
 
==> Summary
/usr/local/Cellar/libtool/2.4.6: 69 files, 3.8M, built in 12 seconds
==> Installing imagemagick dependency: pkg-config
==> Downloading http://pkgconfig.freedesktop.org/releases/pkg-config-0.28.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/pkg-config/0.28 --disable-host-tool --with-internal-glib --with-pc-path=/usr/local/lib/pkgconfig:/usr/local/share/pkg
==> make
==> make check
==> make install
/usr/local/Cellar/pkg-config/0.28: 10 files, 668K, built in 46 seconds
==> Installing imagemagick dependency: jpeg
==> Downloading http://www.ijg.org/files/jpegsrc.v8d.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/jpeg/8d
==> make install
/usr/local/Cellar/jpeg/8d: 18 files, 792K, built in 10 seconds
==> Installing imagemagick dependency: libpng
==> Downloading https://downloads.sourceforge.net/project/libpng/libpng16/1.6.17/libpng-1.6.17.tar.xz
######################################################################## 100.0%
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/libpng/1.6.17
==> make
==> make test
==> make install
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
 
Mac OS X already provides this software in versions before Mountain Lion.
 
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
 
    LDFLAGS:  -L/usr/local/opt/libpng/lib
    CPPFLAGS: -I/usr/local/opt/libpng/include
 
==> Summary
/usr/local/Cellar/libpng/1.6.17: 17 files, 1.2M, built in 34 seconds
==> Installing imagemagick dependency: libtiff
==> Downloading ftp://ftp.remotesensing.org/pub/libtiff/tiff-4.0.3.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libtiff/4.0.3 --without-x --disable-lzma --with-jpeg-include-dir=/usr/local/opt/jpeg/include --with-jpeg-lib-dir=/usr
==> make install
/usr/local/Cellar/libtiff/4.0.3: 254 files, 3.8M, built in 27 seconds
==> Installing imagemagick dependency: freetype
==> Downloading https://downloads.sf.net/project/freetype/freetype2/2.5.5/freetype-2.5.5.tar.bz2
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/freetype/2.5.5 --without-harfbuzz
==> make
==> make install
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.
 
Mac OS X already provides this software in versions before Mountain Lion.
 
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
 
    LDFLAGS:  -L/usr/local/opt/freetype/lib
    CPPFLAGS: -I/usr/local/opt/freetype/include
 
==> Summary
/usr/local/Cellar/freetype/2.5.5: 60 files, 2.7M, built in 23 seconds
==> Installing imagemagick
==> Downloading http://www.imagemagick.org/download/releases/ImageMagick-6.9.1-3.tar.xz
 
curl: (22) The requested URL returned error: 404
Trying a mirror...
==> Downloading https://downloads.sourceforge.net/project/imagemagick/6.9.1-sources/ImageMagick-6.9.1-3.tar.xz
######################################################################## 100.0%
==> ./configure --disable-osx-universal-binary --prefix=/usr/local/Cellar/imagemagick/6.9.1-3 --disable-silent-rules --enable-shared --disable-static --with-mod
==> make install
/usr/local/Cellar/imagemagick/6.9.1-3: 1448 files, 22M, built in 98 seconds

And then run the script:

$ ./createFont.sh -t2 -fFutur -s22 -b 100,100,100
Canvas=384x448 | Char cell=24x28
Building ImageMagick code sequence
Running ImageMagick to create image
Opening /Volumes/Data/Nick/Scripting/createFontScript/createFont_v0.78/type2_Futur_22pt_Cell_24x28.png

But there's a problem as the final PNG image does not contain any text. I will need to consult the ImageMagick documentation on this for 10.6.

EDIT: Fixed with createFont script v0.81.

 

EDIT: The PNG is created fine under 10.10

post-331032-0-36516800-1433250028_thumb.png

 

Note to self - Update script to include extended ASCII character set and cyrillic characters.

Done.

Share this post


Link to post
Share on other sites

Hi Blackosx,

I think I have installed ImageMagick.

Sergeys-iMac:createFont_v0.78 slice$ /opt/local/bin/convert -version
Version: ImageMagick 6.9.0-0 Q16 x86_64 2015-06-02 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC
Features: DPC Modules
Delegates (built-in): bzlib djvu fftw fontconfig freetype gslib jbig jng jp2 jpeg lcms ltdl lzma openexr png ps tiff webp x xml zlib

Sergeys-iMac:createFont_v0.78 slice$ 

Tell me, what utilities used else?

Share this post


Link to post
Share on other sites

Hi Slice

 
Apologies. Yes it does look like you have ImageMagick installed correctly.
The problem lies with the ImageMagick command generated by my script which was highlighted by the errors you posted.
 
./createFont.sh: line 131: [: -gt: unary operator expected
..
./createFont.sh: line 40: printf: .5: invalid number
 
This results in a malformed command.
 
What version of OS X have you run the script?
 
EDIT:
To test your ImageMagick you can paste the following to a text file, save with name like makefont.command to the createfont script dir, chmod +x and double click it.
convert -size 384x448 -background "RGBA(100,100,100,1)" -font "FUTURA.TTF" -pointsize 22 -fill "RGBA(255,255,255,1)" -draw "text 9,20 '.'" -draw "text 32,20 ' '" -draw "text 56,20 ' '" -draw "text 80,20 ' '" -draw "text 104,20 ' '" -draw "text 128,20 ' '" -draw "text 152,20 ' '" -draw "text 176,20 ' '" -draw "text 200,20 ' '" -draw "text 224,20 ' '" -draw "text 248,20 ' '" -draw "text 272,20 ' '" -draw "text 296,20 ' '" -draw "text 320,20 ' '" -draw "text 344,20 ' '" -draw "text 368,20 ' '" -draw "text 8,48 ' '" -draw "text 32,48 ' '" -draw "text 56,48 ' '" -draw "text 80,48 ' '" -draw "text 104,48 ' '" -draw "text 128,48 ' '" -draw "text 152,48 ' '" -draw "text 176,48 ' '" -draw "text 200,48 ' '" -draw "text 224,48 ' '" -draw "text 248,48 ' '" -draw "text 272,48 ' '" -draw "text 296,48 ' '" -draw "text 320,48 ' '" -draw "text 344,48 ' '" -draw "text 368,48 ' '" -draw "text 8,76 ' '" -draw "text 33,76 '!'" -draw "text 55,76 '\"'" -draw "text 77,76 '#'" -draw "text 101,76 '$'" -draw "text 123,76 '%'" -draw "text 148,76 '&'" -draw "text 177,76 '’'" -draw "text 201,76 '('" -draw "text 225,76 ')'" -draw "text 247,76 '*'" -draw "text 269,76 '+'" -draw "text 297,76 ','" -draw "text 320,76 '-'" -draw "text 345,76 '.'" -draw "text 366,76 '/'" -draw "text 5,104 '0'" -draw "text 30,104 '1'" -draw "text 53,104 '2'" -draw "text 77,104 '3'" -draw "text 101,104 '4'" -draw "text 125,104 '5'" -draw "text 149,104 '6'" -draw "text 173,104 '7'" -draw "text 197,104 '8'" -draw "text 221,104 '9'" -draw "text 249,104 ':'" -draw "text 273,104 ';'" -draw "text 293,104 '<'" -draw "text 317,104 '='" -draw "text 341,104 '>'" -draw "text 367,104 '?'" -draw "text 2,132 '@'" -draw "text 27,132 'A'" -draw "text 54,132 'B'" -draw "text 76,132 'C'" -draw "text 100,132 'D'" -draw "text 127,132 'E'" -draw "text 151,132 'F'" -draw "text 171,132 'G'" -draw "text 196,132 'H'" -draw "text 226,132 'I'" -draw "text 247,132 'J'" -draw "text 269,132 'K'" -draw "text 295,132 'L'" -draw "text 314,132 'M'" -draw "text 339,132 'N'" -draw "text 362,132 'O'" -draw "text 6,160 'P'" -draw "text 26,160 'Q'" -draw "text 54,160 'R'" -draw "text 78,160 'S'" -draw "text 102,160 'T'" -draw "text 124,160 'U'" -draw "text 148,160 'V'" -draw "text 168,160 'W'" -draw "text 197,160 'X'" -draw "text 221,160 'Y'" -draw "text 245,160 'Z'" -draw "text 272,160 '['" -draw "text 294,160 '\\\'" -draw "text 320,160 ']'" -draw "text 341,160 '^'" -draw "text 366,160 '_'" -draw "text 9,188 '’'" -draw "text 30,188 'a'" -draw "text 54,188 'b'" -draw "text 79,188 'c'" -draw "text 102,188 'd'" -draw "text 126,188 'e'" -draw "text 152,188 'f'" -draw "text 174,188 'g'" -draw "text 198,188 'h'" -draw "text 225,188 'i'" -draw "text 249,188 'j'" -draw "text 271,188 'k'" -draw "text 297,188 'l'" -draw "text 315,188 'm'" -draw "text 342,188 'n'" -draw "text 365,188 'o'" -draw "text 6,216 'p'" -draw "text 30,216 'q'" -draw "text 56,216 'r'" -draw "text 80,216 's'" -draw "text 105,216 't'" -draw "text 126,216 'u'" -draw "text 150,216 'v'" -draw "text 171,216 'w'" -draw "text 197,216 'x'" -draw "text 222,216 'y'" -draw "text 246,216 'z'" -draw "text 272,216 '{'" -draw "text 295,216 '|'" -draw "text 320,216 '}'" -draw "text 341,216 '~'" -draw "text 369,216 '.'" -draw "text 8,244 ' '" -draw "text 32,244 ' '" -draw "text 56,244 ' '" -draw "text 80,244 ' '" -draw "text 104,244 ' '" -draw "text 128,244 ' '" -draw "text 152,244 ' '" -draw "text 176,244 ' '" -draw "text 200,244 ' '" -draw "text 224,244 ' '" -draw "text 248,244 ' '" -draw "text 272,244 ' '" -draw "text 296,244 ' '" -draw "text 320,244 ' '" -draw "text 344,244 ' '" -draw "text 368,244 ' '" -draw "text 8,272 ' '" -draw "text 32,272 ' '" -draw "text 56,272 ' '" -draw "text 80,272 ' '" -draw "text 104,272 ' '" -draw "text 128,272 ' '" -draw "text 152,272 ' '" -draw "text 176,272 ' '" -draw "text 200,272 ' '" -draw "text 224,272 ' '" -draw "text 248,272 ' '" -draw "text 272,272 ' '" -draw "text 296,272 ' '" -draw "text 320,272 ' '" -draw "text 344,272 ' '" -draw "text 368,272 ' '" -draw "text 8,300 ' '" -draw "text 32,300 ' '" -draw "text 56,300 ' '" -draw "text 80,300 ' '" -draw "text 104,300 ' '" -draw "text 128,300 ' '" -draw "text 152,300 ' '" -draw "text 176,300 ' '" -draw "text 200,300 ' '" -draw "text 224,300 ' '" -draw "text 248,300 ' '" -draw "text 272,300 ' '" -draw "text 296,300 ' '" -draw "text 320,300 ' '" -draw "text 344,300 ' '" -draw "text 368,300 ' '" -draw "text 8,328 ' '" -draw "text 32,328 ' '" -draw "text 56,328 ' '" -draw "text 80,328 ' '" -draw "text 104,328 ' '" -draw "text 128,328 ' '" -draw "text 152,328 ' '" -draw "text 176,328 ' '" -draw "text 200,328 ' '" -draw "text 224,328 ' '" -draw "text 248,328 ' '" -draw "text 272,328 ' '" -draw "text 296,328 ' '" -draw "text 320,328 ' '" -draw "text 344,328 ' '" -draw "text 368,328 ' '" -draw "text 8,356 ' '" -draw "text 32,356 ' '" -draw "text 56,356 ' '" -draw "text 80,356 ' '" -draw "text 104,356 ' '" -draw "text 128,356 ' '" -draw "text 152,356 ' '" -draw "text 176,356 ' '" -draw "text 200,356 ' '" -draw "text 224,356 ' '" -draw "text 248,356 ' '" -draw "text 272,356 ' '" -draw "text 296,356 ' '" -draw "text 320,356 ' '" -draw "text 344,356 ' '" -draw "text 368,356 ' '" -draw "text 8,384 ' '" -draw "text 32,384 ' '" -draw "text 56,384 ' '" -draw "text 80,384 ' '" -draw "text 104,384 ' '" -draw "text 128,384 ' '" -draw "text 152,384 ' '" -draw "text 176,384 ' '" -draw "text 200,384 ' '" -draw "text 224,384 ' '" -draw "text 248,384 ' '" -draw "text 272,384 ' '" -draw "text 296,384 ' '" -draw "text 320,384 ' '" -draw "text 344,384 ' '" -draw "text 368,384 ' '" -draw "text 8,412 ' '" -draw "text 32,412 ' '" -draw "text 56,412 ' '" -draw "text 80,412 ' '" -draw "text 104,412 ' '" -draw "text 128,412 ' '" -draw "text 152,412 ' '" -draw "text 176,412 ' '" -draw "text 200,412 ' '" -draw "text 224,412 ' '" -draw "text 248,412 ' '" -draw "text 272,412 ' '" -draw "text 296,412 ' '" -draw "text 320,412 ' '" -draw "text 344,412 ' '" -draw "text 368,412 ' '" -draw "text 9,440 '.'" -draw "text 32,440 ' '" -draw "text 56,440 ' '" -draw "text 80,440 ' '" -draw "text 104,440 ' '" -draw "text 128,440 ' '" -draw "text 152,440 ' '" -draw "text 176,440 ' '" -draw "text 200,440 ' '" -draw "text 224,440 ' '" -draw "text 248,440 ' '" -draw "text 272,440 ' '" -draw "text 296,440 ' '" -draw "text 320,440 ' '" -draw "text 344,440 ' '" -draw "text 368,440 ' '"  label:"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                " "/Users/slice/Downloads/createFont_v0.78/type2_FUTURA_22pt_Cell_0x2.png"

Share this post


Link to post
Share on other sites
$ ls -al /Volumes/SnowLeopard/usr/local/Cellar/imagemagick/6.9.1-3/bin/
total 480
drwxr-xr-x  18 nick  admin    612  2 Jun 13:33 .
drwxr-xr-x  14 nick  admin    476  2 Jun 13:33 ..
-r-xr-xr-x   1 nick  admin   1290  2 Jun 13:33 Magick++-config
-r-xr-xr-x   1 nick  admin   1256  2 Jun 13:33 Magick-config
-r-xr-xr-x   1 nick  admin   1264  2 Jun 13:33 MagickCore-config
-r-xr-xr-x   1 nick  admin   1504  2 Jun 13:33 MagickWand-config
-r-xr-xr-x   1 nick  admin   1251  2 Jun 13:33 Wand-config
-r-xr-xr-x   1 nick  admin  17416  2 Jun 13:33 animate
-r-xr-xr-x   1 nick  admin  17600  2 Jun 13:33 compare
-r-xr-xr-x   1 nick  admin  17424  2 Jun 13:33 composite
-r-xr-xr-x   1 nick  admin  17416  2 Jun 13:33 conjure
-r-xr-xr-x   1 nick  admin  17416  2 Jun 13:33 convert
-r-xr-xr-x   1 nick  admin  17416  2 Jun 13:33 display
-r-xr-xr-x   1 nick  admin  17480  2 Jun 13:33 identify
-r-xr-xr-x   1 nick  admin  17416  2 Jun 13:33 import
-r-xr-xr-x   1 nick  admin  17416  2 Jun 13:33 mogrify
-r-xr-xr-x   1 nick  admin  17416  2 Jun 13:33 montage
-r-xr-xr-x   1 nick  admin  17416  2 Jun 13:33 stream

 

Share this post


Link to post
Share on other sites

Updated to v0.79

- Final PNG image for Clover (type 2) fonts will now automatically include extended ASCII and cyrillic glyphs, if they exist in the font.

EDIT:

For a bit of fun and to show it working.

 
Downloaded the transformers_movie font from http://www.dafont.com/theme.php?cat=303
 
./createFont.sh -t2 -f/Users/blackosx/Desktop/transformers_movie/Transformers\ Movie.ttf -s24 -o -l4
 
Made PNG file
type2_Transformers Movie_24pt_Cell_22x23.png
post-331032-0-09597800-1433316211_thumb.png
 
Threw it in Shield theme, changing theme.plist to font path and CharWidth to 22.
 
post-331032-0-66624900-1433316224_thumb.jpg
post-331032-0-97423700-1433316234_thumb.jpg
 
* In this example, the text is too big as the help page type is truncated. Other pages, Options, About will also be truncated.
Maybe Clover can be changed to not truncate the text if the monitor width is wide enough?
 
EDIT2:
I forgot to enable Clover's proportional spacing. Here are images with that enabled.
post-331032-0-35938600-1433316726_thumb.jpg
post-331032-0-62801200-1433316738_thumb.jpg
post-331032-0-98049400-1433316754_thumb.jpg

Share this post


Link to post
Share on other sites

Hi blackosx,

May be you upload non-corrected script?

Sergeys-iMac:createFont_v0.79 slice$ ./createFont.sh -t2 -s14 -f./arial.ttf  -b 100,150,24 -o
./createFont.sh: line 140: [: -gt: unary operator expected
Canvas=0x32 | Char cell=0x2
Building ImageMagick code sequence
./createFont.sh: line 40: printf: .5: invalid number
Running ImageMagick to create image
/Users/slice/Downloads/createFont_v0.79/IM_Command.command: line 1: 85300 Illegal instruction: 4  convert -size 0x32 -background "RGBA(100,150,24,1)" -font "./arial.ttf" -pointsize 14 -fill "RGBA(255,255,255,1)" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,2 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,4 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,6 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,8 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,10 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,12 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,14 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,16 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,18 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,20 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,22 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,24 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,26 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,28 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,30 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" -draw "text 0,32 ''" label:"                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                " "/Users/slice/Downloads/createFont_v0.79/type2_arial_14pt_Cell_0x2.png"
Sergeys-iMac:createFont_v0.79 slice$ 


It's a pity my ImageMagick always get "Illegal instruction 4" with any fonts.

Working with images fine

logo.png

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Dolamarv
      Hi all, I have been using an x240 thinkpad for more than 2 months as hackintosh and it is very stable. As of now I am in Catalina 10.15.1 and it’s running great until I updated it to the new clover build r5100. My laptop won’t automatically sleep when I close the lid down now. I reverted back to 5099 and close-lid automatic sleep works. I don’t know what caused the problem but I think 5100 fixed a dsdt patching of some sort that that conflicted with my config plist? Thanks in advance!
    • By Aldaro
      Gigabyte, in their infinite wisdom, decided to remove the option to disable serial ports, and not being able to do so has been causing me some problems. I know that I have to either use a patch in clover, or create a custom SSDT to disable super I/O, but I honestly do not know how to go about doing this. One of the weirder problems I'm experiencing is the inability to connect to Apple Music (error 11556) unless I go into my network settings, and delete my serial connection. If anyone could help me out with this, that'd be greatly appreciated; anyway, thank you for taking the time to read this.
       
      SPECS:
      Mobo GIGABYTE Z390 M GAMING (UEFI F8)
      CPU: i5 9600k
      RAM: 32GB DDR4 @ 2666 Mhz
      GPU: AMD Radeon RX 580 w/ 8GB of VRAM (MSI armor oc edition)
      Storage Samsung 970 evo 500GB
    • By cvad
      View File Bootdisk Utility
      Make bootable USB Flash Disk for MAC OS X with Latest Clover bootloader revision fast and easy by one click! under OS Windows.
      Special utility from cvad & russian MAC community for new hackintosh users.
       
      Enjoy...
       
      For more information and complete instructions please see this topic.
       
       
       
       
      Feel free to "Rate File"
      Submitter cvad Submitted 04/28/2013 Category Bootloaders  
    • By e97
      HackPro X99 System
      Until Apple blesses us with the MacPro7,1 – this is for those that require tools to do their work.
      An appropriate bicycle for the mind.
       
       

       

       

       
      Specs:
       
      CPU: Intel Xeon E5-2678 v3 (12 core, 2.5 GHz / 3.3 GHz Boost)
      Motherboard: SZMZ X99-8D3
      RAM: 16GB DDR3-14900R 1866Mhz ECC RDIMM modules
      GPU: Radeon RX Vega 64 8GB
      Storage: Phison E12 m.2 NVMe PCI-E 3.0 x4 SSD
      Water blocks: BARROW CPU + GPU
      Radiator: 360mm x 25mm slim
      Pump: DDC
       
      Case dimensions: 431 mm x 342 mm x 177 mm
       
       
       
      XCPM OFF
       

       
      XCPM ON
       

       
      OpenCL
       

       
       
       
      iMacPro1,1
       

       
       

       
      OpenCL
       

       
       
      NVMe
       

       
       
      Win 10 x64 v1809
       
      AIDA64 - Cache & Memory
       

       
       
      Download:  https://github.com/xe97/X99-8D3-Clover
       
       
       
       
       
      Anyone else I forgot
       
       
    • By digivish
      Hi All - quick thing - I have a NUC 8i7BEH with 32GB RAM and 2 x 1TB SSD drives. Each drive has its own OS - Windows 10 and Catalina 10.15.
       
      Clover works well - Catalina Boots, so does Windows.
      Catalina - has sound over HDMI (to my monitor's speakers)
      Windows - no audio device found - It does show Realtek and Intel Display Drivers - but the speaker has a red"x" and in Devices, there is no entry for Microphone Array under Audio Input/Output. It does, however, show Intel display over the HDMI - but actually no sound.
       
      I have tried reinstalling Realtek drivers - now here's the thing...when it installs, it first uninstalls existing Realtek drivers - at this stage (and it's important) the sound starts working - as if uninstalling did the trick. As part of the installing, I have to reboot and upon reboot, it actually reinstalls the Realtek drivers. After that, I'm back to square 1. Unsure if it's the config.plist or boot args in clover. But something with Clover for sure.
       
      I have tested this by removing the Mac Drive with clover and just booting directly to Windows 10 bootloader and everything works as it should, I have sound over HDMI and the audio device shows. Just not when I boot with Clover.
       
      has anyone experienced this and have thoughts or pointers.
       
      Thanks a ton!
×