Jump to content

Search the Community: Showing results for tags 'typeface'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • InsanelyMac Lounge
    • Front Page News and Rumors
    • Reader News and Reviews
    • Forum Information and Feedback
  • OSx86 Project
    • New Releases and Updates
    • New Users Lounge
    • Developers Corner
    • Tutorials (The Genius Bar)
    • Technical FAQ
    • Installation
    • Post-Installation
    • DSDT and SSDT
    • Hardware Components and Drivers
    • Desktops
    • Notebooks
    • Netbooks
    • Tablets
    • MacMod of the Month
    • Multi-booting and Virtualisation
  • International
    • Your Language
    • Deutsch
    • Español
    • Français
    • Italiano
    • Português
    • Русский
  • Apple World
    • Mac OS X
    • Apple Computers and Hardware
    • iOS Devices
    • Mac Applications
    • Mac Programming and Development
    • iOS Programming and Development
    • Mac Gaming
    • Mac Accessories
  • Discuss and Learn
    • Windows Discussion
    • *nix
    • Apple Opinions and Discussion
    • The Great Debates
    • Internet(s), Servers, and Networks
    • Buying Thoughts, Reviews, and Recommendations
    • Mods and Overclocking
    • The Big Issues [Real Life]
  • Everything Else
    • Creativity
    • Thunderdome (Random Stuff)
    • Laughs
    • The Marketplace

Categories

  • Kexts
    • Graphics Cards
    • Audio
    • LAN and Wireless
    • Other
  • Kernels
  • Bootloaders
  • DSDTs
    • Patches
  • Pandora
  • Apps
  • Miscellaneous
  • Customization

Categories

  • OSx86
  • Apple News

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. 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 ImageMagick 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: 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 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. 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 ). createFont_v0.88.zip
×