Search found 8 matches

by dnorton
2015-07-24T17:32:42-07:00
Forum: Users
Topic: Text to .bmp
Replies: 18
Views: 15558

Re: Text to .bmp

Downloaded your ALPHABET.TXT, ran your convert and got the same thing that you show. Took the new lines out, saved it from NotePad with encoding: UTF-8, ran your convert and got the same prepended string of characters as I discuss above. Took the new lines out, saved it from NotePad with encoding ...
by dnorton
2015-07-24T14:59:55-07:00
Forum: Users
Topic: Text to .bmp
Replies: 18
Views: 15558

Re: Text to .bmp

I'm building a strike font to include not only ascii 32 to 127 but also extended ascii 128 to 155. These are printable characters (maybe not all in courier) but in some other monospaced font. I need the glyphs for these characters. The technique will be applied to other fonts beside courier.
by dnorton
2015-07-24T13:32:53-07:00
Forum: Users
Topic: Text to .bmp
Replies: 18
Views: 15558

Re: Text to .bmp

246246:

Tried successively removing characters at the front until I lopped off the blank (ascii 32) but the prepended thing stubbornly remains. My Form class>>fromBinaryStream: has firstByte = 66.
by dnorton
2015-07-23T17:43:28-07:00
Forum: Users
Topic: Text to .bmp
Replies: 18
Views: 15558

Re: Text to .bmp

246246:

Yes! That's real progress. There seems to be something prepended but I can deal with that.

Thank you and everyone else who tried to help.

- Dan
by dnorton
2015-07-23T17:20:23-07:00
Forum: Users
Topic: Text to .bmp
Replies: 18
Views: 15558

Re: Text to .bmp

snibgo: In the following, "couriershort.txt" contains only the digits 0-9: convert -font \windows\fonts\cour.ttf -pointsize 12 label:@couriershort.txt courier12.png courier12.png is 23x15 and contains ascii 255, 254, and 48 = '0' So, it must not be the input and .png seems to be the same as .bmp.
by dnorton
2015-07-23T15:41:26-07:00
Forum: Users
Topic: Text to .bmp
Replies: 18
Views: 15558

Re: Text to .bmp

fmw42:

That produces:

courier12.bmp 23x15 with glyphs for ascii 255, 254, and blank

Quotes make no diff.
by dnorton
2015-07-23T14:18:05-07:00
Forum: Users
Topic: Text to .bmp
Replies: 18
Views: 15558

Re: Text to .bmp

Bonzo wrote:I would try something like:

Code: Select all

convert xc:white -font \windows\fonts\cour.ttf -pointsize 12 label:@characters.txt courier12.bmp
Interesting... this produces two files:

courier12-0.bmp containing a white square
courier12-1.bmp containing the two glyphs for ascii 255 and 254
by dnorton
2015-07-23T13:31:26-07:00
Forum: Users
Topic: Text to .bmp
Replies: 18
Views: 15558

Text to .bmp

I'm trying to produce a .bmp file with glyphs for the ascii characters 32 to 255. This needs to be for a specific font and pointsize. I have a file "characters.txt" containing the 224 characters. Using IM 6.9.1-9 on Windows 7 I've tried several variations along this line: convert -font \windows ...