Re: text & graphics
- Posted by Igor Kachan <kinz at peterlink.ru> Nov 09, 2001
- 586 views
Hi John, ---------- > οΤ: John McAdam <johnmcadam at clix.pt> > λΟΝΥ: EUforum <EUforum at topica.com> > τΕΝΑ: text & graphics > δΑΤΑ: Thursday, November 08, 2001 01:55 > Hi everybody. > I am programing in dos. > I set graphics_mode to 256. > I set text_rows to 50. > I load a bitmap. > I try to display the bitmap. > Doesn't display. > Why not? Mode 256 is a rare one of the SVGA modes, you can try use_vesa(1) command. But you can use other more standard modes to get different background colors to each letter with the recent Colin Taylor's package http://www.rapideuphoria.com/dos_pack.zip instead of standard Eu's puts(). > I want mode 256 because it is the only graphics mode that > lets me assign different background colors to each letter, > instead of only one background color for all letters. In the > other graphics modes if I change the background color > all the black bits of the image also change. Not nice. > 50 lines allows a lot more text information on the screen. > It should at least display the image half height or something. You can also try my package Polyglot, which allow to print texts in any European and American and more languages with any colors for each letter and back in the pixel modes. http://www.rapideuphoria.com/polygl_b.zip -- patch for zip below http://www.rapideuphoria.com/polyglot.zip And try please absolutelly excellent RDS's Archive collection by our best contributors at: http://www.rapideuphoria.com/archive.htm#FONTS Under the archive.htm#FONTS item you'll see: DOS http://www.rapideuphoria.com/font.zip Font Package 379K -- Jiri Babor Dec 5/98 happy > 8.50 stamp a sophisticated, comprehensive, and faster new version of his font.e library for displaying fancy fonts in pixel-graphics modes. The .ZIP file also includes over 150 different fonts, all compatible with his routines. See also "The Jiri Babor Collection" (below). DOS http://members.aol.com/Euphoria2/font.zip The Jiri Babor Collection 107K -- Jiri Babor Sep 18/97 happy > 4.50 an excellent collection of code for fonts, mouse support, user interfaces etc., and well documented. See also his new font code (above). DOS http://www.rapideuphoria.com/rfont.zip Rom Font 13K -- Jiri Babor Jan 8/00 happy > 1.20 stamp A stripped-down font package that loads the system font from the ROM. It's for people who want something more sophisticated than putsxy.e, but who aren't ready to employ Jiri's full-blown Font Package (above). A nice demo is included. DOS http://members.aol.com/EnjoyCruz/mistfont.zip Fancy Colored Fonts 3K -- Eduardo Okada Oct 8/97 routines for displaying cool-looking colored fonts. DOS http://www.geocities.com/SiliconValley/Bay/4308/euphor.html Font Maker 336K -- Tom Janes Sep 12/97 a font construction tool based on the work of Jiri Babor. This link will take you to Tom's site where you can download the .ZIP file. (no source code, but nicely done). DOS http://members.aol.com/jcmiura/eu/fonter.zip Font Package 91K -- David Cuny Aug 1/97 a large collection of fonts that are easy to add to your application DOS http://members.aol.com/jcmiura/eu/v-font.zip Vector Font Library 5K -- Peter Blue Oct 28/97 a library for displaying characters made up of line segments. With this approach you can print text at any angle, and grow or shrink the size of characters as needed. (Note: the demo programs use SVGA mode 257.) DOS http://www.rapideuphoria.com/nsfont.zip Display and Edit Fonts 6K -- No Solution Feb 26/00 Code for saving the system font, making your own fonts, and displaying and inputing text using fonts. (See also Jiri Babor's font routines.) DOS http://www.rapideuphoria.com/eufont.zip Font Routines 23K -- Matt Arriola Aug 25/00 Font routines that can be used in both graphics and text mode. Items with the *stamp* mark have the zero operator's count. Regards, Igor Kachan kinz at peterlink.ru