Sponsored Content
Contact Us Post Here to Contact Site Administrators and Moderators How to Post in the The UNIX and Linux Forums Forum Video Tutorial: How to Use Code Tags Post 302569920 by zaxxon on Wednesday 2nd of November 2011 04:02:01 AM
Old 11-02-2011
However, if it is not enough, there is usually often a PM with a good explanation being sent to the users by admins and mods:

Quote:
To keep the forums high quality for all users, please take the time to format your posts correctly.

First of all, use Code Tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags [code] and [/code] by hand.)

Second, avoid adding color or different fonts and font size to your posts. Selective use of color to highlight a single word or phrase can be useful at times, but using color, in general, makes the forums harder to read, especially bright colors like red.

Third, be careful when you cut-and-paste, edit any odd characters and make sure all links are working property.

Thank You.

The UNIX and Linux Forums
 

5 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Tutorial forum?

I got this account a while ago and didn't have much time to try it out. After having had some frustration by posting tutorials regarding various Linux activites of mine in my Slashdot journals, it occurred to me that this forum might be better suited. I know I can probably post in the OS specific... (1 Reply)
Discussion started by: deckard
1 Replies

2. Shell Programming and Scripting

Video Tutorial for sed and awk

Could anyone help me with the link/URL where I can find the Complete Video Tutorial for SED and AWK (1 Reply)
Discussion started by: frintocf
1 Replies

3. Red Hat

nautilus audio/video properties missing tutorial

Since it was a royal pain for me to figure out how to show nautilus audio/video properties I would share this with other people. I KNOW this package does the trick. totem-nautilus This package MAY do the trick. I was reading this. gnome-mplayer-nautilus-1.0.3-1.fc15.x86_64.rpm -... (0 Replies)
Discussion started by: cokedude
0 Replies

4. Web Development

Vue JS 2 Tutorial by The Net Ninja: A Recommended Vue.js Video Tutorial Series

A number of people have asked me how to get started with Vue.js and my reply before today was to Google "Vue.js". That has changed and my recommendation to anyone who wants to learn the fastest growing, easiest to learn and use Vue.js web dev framework is to watch this video tutorial series: ... (0 Replies)
Discussion started by: Neo
0 Replies

5. Programming

Video Tutorial of Linux System Programming with C

Video tutorial of Linux System Programming with C. YouTube - Linux System Programming with C by Indronil Banerjee (1 Reply)
Discussion started by: vectrum
1 Replies
load_bitmap_font(3alleg4)					  Allegro manual					 load_bitmap_font(3alleg4)

NAME
load_bitmap_font - Grabs a font from a bitmap file. Allegro game programming library. SYNOPSIS
#include <allegro.h> FONT *load_bitmap_font(const char *filename, RGB *pal, void *param) DESCRIPTION
Tries to grab a font from a bitmap. The bitmap can be in any format that load_bitmap understands. The size of each character is determined by the layout of the image, which should be a rectangular grid containing all the ASCII characters from space(32) up to the tilde(126). The way the characters are separated depends on the color depth of the image file: paletted (8 bit) image file Use color 0 for the transparent portions of the characters and fill the spaces between each letter with color 255. High (15/16 bit) and true (24/32 bit) color image file Use bright pink (maximum red and blue, zero green) for the transparent portions of the characters and fill the spaces between each letter with bright yellow (maximum red and green, zero blue). Note that in each horizontal row the bounding boxes around the characters should align and have the same height. Probably the easiest way to get to grips with how this works is to load up the `demo.dat' file and export the TITLE_FONT into a PCX file. Have a look at the resulting picture in your paint program: that is the format a font should be in. Take care with high and true color fonts: Allegro will convert these to the current color depth when you load the font. If you try to use a font on a bitmap with a different color depth Allegro will do color conversions on the fly, which will be rather slow. For optimal perfor- mance you should set the color depth to the color depth you want to use before loading any fonts. RETURN VALUE
Returns a pointer to the font or NULL on error. Remember that you are responsible for destroying the font when you are finished with it to avoid memory leaks. SEE ALSO
register_font_file_type(3alleg4), load_font(3alleg4), load_bitmap(3alleg4), set_color_depth(3alleg4), grab_font_from_bitmap(3alleg4) Allegro version 4.4.2 load_bitmap_font(3alleg4)
All times are GMT -4. The time now is 11:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy