LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-20-2013, 01:00 AM   #1
waddles
Member
 
Registered: Sep 2012
Posts: 372

Rep: Reputation: 1
Using "bitmap" to create echoable characters


I know this is an old application but seems like it will fit my needs for the present (in lieu of psf, xbm, and xpm).
I have read the man page and stuff off of the web but there are still some procedures that are not clear to me:
Once a set of bitmap characters is created:
o How do/can I add more to that set?
o How do I remove a character from a set of characters?
o Can a character be defined as say 8wide and 16high and still fit within the lines I create with it without overprinting characters above or be overprinted by characters on the line above?
o Are the number of pixels in width & height just a reflection of the density or do they actually determine the physical height and width of the echoed character?
o Am I correct in thinking that a set of bitmapped characters MUST BE all the same height and width?
o What is the default character height?
o How does one pick and choose amongst the characters in the set for the one to be printed/echoed?
o How is "bmtoa" employed in the last question? i.e. do I select the character, submit it to bmtoa and then echo it?
o Can I put different properly selected/processed bitmapped characters in consecutive positions of a string and echo that string instead of positioning individual characters one at a time via echo?
o Once a character is selected/processed can I "tput" that character or character string?
Sorry to ask so many questions but have not been able to resolve them via web queries.

Last edited by waddles; 10-20-2013 at 01:03 AM.
 
Old 10-20-2013, 06:30 AM   #2
55020
Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 436
Blog Entries: 4

Rep: Reputation: 439Reputation: 439Reputation: 439Reputation: 439Reputation: 439
With respect, you are barking up the wrong tree. Those utilities do not do what you think they do.

'bmtoa' does not create a font character. It takes an image file in a long-dead format and exports what is, in effect, an ascii art rendition of it, with '-' for 0 and '#' for 1. It has a very similar function to bmptoppm, but much, much more primitive. atobm does the inverse.

These mid-1980s tools do absolutely nothing that can't be done easier and better with Gimp (or MS Paint). They were obsolete as soon as xpm was devised in 1989.

'bitmap' and 'bmtoa' and 'atobm' are described fully in the O'Reilly X Window System bookshelf, Volume Three, "X Window System User's Guide", in the chapter entitled "Graphics Utilities" (which is either Chapter 6 or Chapter 7 or Chapter 8, depending on the edition). I have a copy here which I have consulted just now for the first time in ten or fifteen years. There are electronic copies out there, if you look, that O'Reilly presumably don't care about, since this stuff has been dead for so long. Note that some later editions don't cover bitmap/bmtoa/atobm, because they were obsolete and irrelevant; one such edition is on O'Reilly's FTP site, so don't bother with that one. There's another copy on archive.org...
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange "characters" appearing in auto "created" man pages Sector11 Linux - General 7 02-28-2010 12:05 PM
"Clean" bitmap font as fall-back in Firefox SpelledJ Linux - Software 1 12-25-2009 12:34 PM
FSCK.EXT3 "error allocating inode bitmap" arfon Linux - Software 6 05-15-2006 11:48 AM
RedHat9 Failed to load module "bitmap" bkersey Linux - Software 0 10-25-2003 02:24 AM


All times are GMT -5. The time now is 01:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration