www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/02/16/19:13:07

From: Damian Yerrick <MYNAMEISd_yerrick AT hotmail DOT comNO2CANNEDHAM>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Fonts and colors
Organization: Pin Eight Software http://pineight.8m.com/
Message-ID: <kr1maskj232vhsvalnlrc49m1kugms0abp@4ax.com>
References: <88ence$5tu$1 AT zingo DOT tninet DOT se>
X-Newsreader: Forte Agent 1.7/32.534
MIME-Version: 1.0
Lines: 35
X-Trace: /bNDCzAk9XRee8QVqUZ2dYdGY62/2IE9xDwOiqFSsMV2fryNvOfedCVP0xLpdq7PHBUJ+qiBgEr9!l+WeVTVmK5yq51GsPXPECPw/rVColPRrmD3sWwdLEfH83iRfVsT5Z3xw5Aay8oeW9lyQ+6+c92e1!HmI7sTU=
X-Complaints-To: abuse AT gte DOT net
X-Abuse-Info: Please be sure to forward a copy of ALL headers
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
NNTP-Posting-Date: Wed, 16 Feb 2000 20:30:25 GMT
Distribution: world
Date: Wed, 16 Feb 2000 20:30:25 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Wed, 16 Feb 2000 18:38:03 +0100, "Marcus" <mesthlm AT hem DOT passagen DOT se>
wrote:

>I wonder how colors works. I mean, 32 bits is 4294967296 different colors
>but only 16777216 are used (24 bits). Can anyone explain this to me

Essentially, the digital-to-analog converters (DACs) in a typical
video card convert 8 bits per channel (R, G, B) to analog.  The
leftover 8 bits (32 bits/word - 24 bits/pixel) is often used as a
transparency channel.

>or show me a page that explains it.

Go to Google.com and look up "alpha channel"

>Then I wonder what's the best way to type fine text in VESA mode
>(with different width).

Allegro can use PCX fonts created with a TrueType-to-PCX converter.
Get Allegro and TTF2PCX from http://www.talula.demon.co.uk/

>Can I use FreeType or is it any better
>or more simple avaible? FreeType could be illegal to use.

I didn't see a cease and desist letter; FreeType.org is just being
cautious.

-- 
Damian Yerrick  http://yerricde.tripod.com/
Comment on story ideas: http://home1.gte.net/frodo/quickjot.html
AOL is sucks! Find out why: http://anti-aol.org/faqs/aas/
View full sig: http://www.rose-hulman.edu/~yerricde/sig.html

This is McAfee VirusScan. Add these two lines to your .sig to
prevent the spread of .sig viruses.  http://www.mcafee.com/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019