|
Author |
Topic: fixed width fonts (Read 2212 times) |
|
Martin
|
fixed width fonts
« on: Nov 7th, 2002, 6:36am » |
|
----- FIXED WIDTH FONTS make-your-own-fixed-width-fonts-in-photoshop are supported. but i'm not gonna bother documenting them unless someone asks. ----- used this as reference to make my own... http://acg.media.mit.edu/people/fry/appleII/hack/ but i seem to have some probs with raw files... how now brown cow?
|
|
|
|
fry
|
Re: fixed width fonts
« Reply #1 on: Nov 7th, 2002, 4:35pm » |
|
the raw file is just a grayscale image, saved as raw. the grayscale levels determine the level of opacity for the font's pixels. along with the raw file you need a .fbf file, which contains (in the case of the apple2 example) # filename for image filename = apple2e.raw # width and height of the raw image image_width = 112 image_height = 64 # how many rows and columns of letters columns = 16 rows = 8 # the lefthand offset left = 1 # the baseline of the font baseline = 7 # amount of leading space to use for the font leading = 1 # the ascii code of the first character # (in the upper, lefthand corner of the image) first_char = 32 # number of characters in the image char_count = 128 this is a crappy file format that was thrown together b/c i needed fixed width, screen space only support for bitmapped fonts in a project. it's possible that this will go away (hopefully) to be replaced by a better set of font methods. text support currently breaks every other release or so, since it hasn't been the top priority (like sound, there is no single "good solution" to the text issues) compared with getting some of the other features working.
|
|
|
|
|