Coolvetica Font Family List

May 27, 2009 The Coolvetica font contains 571 beautifully designed characters. ️ Customize your own preview on FFonts.net to make sure it`s the right one for your designs. If Shoes::FONTS.include? 'Coolvetica' alert 'Coolvetica is available on this system.' Else alert 'You do not have the Coolvetica font.' End If you have trouble with fonts showing up, make sure your app loads the font before it is used. Especially on OS X, if fonts are used before they are loaded, the font cache will tend to ignore loaded fonts.

The Purple Shoes Manual 0.7.166

These methods can be used anywhere throughout Purple Shoes programs.

All of these commands are unusual because you don't attach them with a dot. Every other method in this manual must be attached to an object with a dot. But these are built-in methods (also called: Kernel methods.) Which means no dot!

A common one is alert:

Compare that to the method reverse, which isn't a Kernel method and is only available for Arrays and Strings:

Most Purple Shoes methods for drawing and making buttons and so on are attached to slots. See the section on Slots for more.

Built-in Constants

Purple Shoes also has a handful of built-in constants which may prove useful if you are trying to sniff out what release of Purple Shoes is running.

DIR is a full path of purple_shoes/lib.

COLORS is a complete list of colors available to the app.

FONTS is a complete list of fonts available to the app.

SHOES_VERSION is a Purple Shoes version.

Pops up a window containing a short message.

Please use alerts sparingly, as they are incredibly annoying! If you are using alerts to show messages to help you debug your program, try checking out the standard Ruby method puts or p methods.

Pops up a window and asks a question. For example, you may want to ask someone their name.

When the above script is run, the person at the computer will see a window with a blank box for entering their name. The name will then be saved in the name variable.

Pops up a color picker window. The program will wait for a color to be picked, then gives you back a Color object. See the Color help for some ways you can use this color.

Pops up an 'Open file...' window. It's the standard window which shows all of your folders and lets you select a file to open. Hands you back the name of the file.

Pops up a 'Save file...' window, similiar to ask_open_file, described previously.

Pops up an 'Open folder...' window. It's the standard window which shows all of your folders and lets you select a folder to open. Hands you back the name of the folder.

Pops up a 'Save folder...' window, similiar to ask_open_folder, described previously.

Pops up a yes-or-no question. If the person at the computer, clicks yes, you'll get back a true. If not, you'll get back false.

Stops your program. Call this anytime you want to suddenly call it quits.

font(message: a string) » an array of font family names

Loads a TrueType (or other type of font) from a file. While TrueType is supported by all platforms, your platform may support other types of fonts. Shoes uses each operating system's built-in font system to make this work.

Note: Purple Shoes doesn't support font method so far.

Here's a rough idea of what fonts work on which platforms:

Font family list html
  • Bitmap fonts (.bdf, .pcf, .snf) - Linux
  • Font resource (.fon) - Windows
  • Windows bitmap font file (.fnt) - Linux, Windows
  • PostScript OpenType font (.otf) - Mac OS X, Linux, Windows
  • Type1 multiple master (.mmm) - Windows
  • Type1 font bits (.pfb) - Linux, Windows
  • Type1 font metrics (.pfm) - Linux, Windows
  • TrueType font (.ttf) - Mac OS X, Linux, Windows
  • TrueType collection (.ttc) - Mac OS X, Linux, Windows

If the font is properly loaded, you'll get back an array of font names found in the file. Otherwise, nil is returned if no fonts were found in the file.

Also of interest: the Shoes::FONTS constant is a complete list of fonts available to you on this platform. You can check for a certain font by using include?.

If you have trouble with fonts showing up, make sure your app loads the font before it is used. Especially on OS X, if fonts are used before they are loaded, the font cache will tend to ignore loaded fonts.

Coolvetica
gradient(color1, color2) » a range of RGB array

Builds a linear gradient from two colors. For each color, you may pass in a color/rgb method or a string describing the color. The gradient(green, red) is the same as green..red for example. Also possible to use different kind of args like this: gradient(green, '#FA3')

gray(the numbers: darkness, alpha) » a RGB array

Create a grayscale color from a level of darkness and, optionally, an alpha level.

rgb(red, green, blue, alpha) » an array of decimal numbers

Create a color from red, green and blue components. An alpha level (indicating transparency) can also be added, optionally.

Font Family List Html

When passing in a whole number, use values from 0 to 255.

Or, use a decimal number from 0.0 to 1.0.

Next: The App Object

What is the Coolvetica™ font?

Coolvetica is a scratch-built, sans-serif typeface, inspired by 1970’s American logo designs. This was an era where everyone was modifying Helvetica with funky curls, mixed-case and effects. Coolvetica recreates that 1970’s custom display lettering look with really tight kerning and funky curls. The tails on the R and a have been left out to allow even tighter spacing. It certainly isn’t intended for setting paragraphs of book text—Coolvetica is a pure display typeface, intended for big, funky headings and titles.

Coolvetica™ Font families

The Coolvetica™ includes the following font families:

  • Coolvetica UltraLight
  • Coolvetica UltraLight Italic
  • Coolvetica ExtraLight
  • Coolvetica ExtraLight Italic
  • Coolvetica Light
  • Coolvetica Light Italic
  • Coolvetica Book
  • Coolvetica Book Italic
  • Coolvetica Regular
  • Coolvetica Italic
  • Coolvetica Bold
  • Coolvetica Bold Italic
  • Coolvetica Heavy
  • Coolvetica Heavy Italic

Coolvetica™ Preview

Helvetica Font Examples

Here is a preview of how Coolvetica™ will look. For more previews using your own text as an example, click here.

User Review
0(0 votes)
Comments Rating0(0 reviews)