Why are you putting 88 or 24? Neither divide into 75 with no remainder.
You said yourself you made it 75px. Then why are you making the height 25?!?!?!
I'm still lost
Maybe a few more cups of coffee and I'll get it right.
Here is what I'm talking about with the font height vs character height. The image file has A-Z, a-z, 0-9 and ,. in it. With this file I cannot get past the character height without getting an error, no mater what I enter in font or character height.
I created a new image 375x75x72dpi and put only A-J in it. I entered 24/24 when I loaded it and 10 characters were correctly identified.
Note on the last image "height" is incorrectly spelled as "hieght" in the error dialog.
Thanks,
Dan
Why are you putting 88 or 24? Neither divide into 75 with no remainder.
You said yourself you made it 75px. Then why are you making the height 25?!?!?!
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
And both those boxes where you put 88 and 24, are the exact same variable. If you change it afterwards, then what you entered when you loaded the image is lost forever.
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
I'm dealing with two images here...the first is 88 and the second is 75.
I'm entered 25 following your instructions above. Your image is 375x75 and you entered 25 in both boxes.
Earlier you say they are different now you say they are the same. Which is it--are they the same or not? If they are the same, why not eliminate one of them?And both those boxes where you put 88 and 24, are the exact same variable. If you change it afterwards, then what you entered when you loaded the image is lost forever.
Thanks,
Dan
24 doesnt go into 88 either
And where did I say they were different? The boxes are the same for the simple reason that when you load an image some people just click away and dont see that they need to enter a height. It is more streamlined with the box pops up. You can change it afterwards by using the second input area.
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
Told ya...I haven't had enough coffee yet.
The biggest confusion to me (and I think Red too) is that the font is defined in points but the font/character height in the font editor is in pixels. One pixel only equals one point if the resolution is set to 72dpi.
So, I guess one question is do image files have to be 72dpi?
I think another problem I'm running into is that Paint Shop Pro doesn't allow the character width to be defined. I set kerning and that seems to work alright as long as I have all uppercase or all lowercase or all numbers. Its when I have a mixture of upper, lower and numbers that I seem to be running into problems.
Second question: Can a different font be used for each text label? If so, I can create separate files for upper, lower and numbers.
Third question: Would it be more efficient/easier to use multi-image (with one character in each image) instead of text labels?
Off for more coffee...
Thanks,
Dan
Well easiest is type it out. Put out your guidlines and measure from the ruler if you cant get it. Those blue lines in photoshop are the ruler. See how 25pt foint and 25px bars line up perfectly? Maybe Photoshop does some magic, as I know they arent equal, but they come out equal.
But it doesnt matter. Type what you want. Put a ruler to the highest stick. Put a ruler to the lowest stick. Difference between them is font height. Now put that font on a canvas that is a multiple of that height. Simple...
They do not have to be 72dpi.
Yes a different font can be used for each text label.
A font in MDX acts like a font anywhere else. If you only have upper case, when you try to display something with lowercase, nothing will show up same with numbers. Every character you want to see, must be in the file and mapped.
Multi-images definately not. Now you are using a full texture for each character and drawing it over and over which uses a bunch of memory both system and video. Also You would need a multiimage for every character. No, that is a bad idea. Might work ok for something like a simple readout such as how an odometer works, but that isnt very flexible.
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
Okay, the light finally came on. I successfully mapped a single line file and every character was found correctly.
When I try multiple lines though, I have the spacing off after the first line. I just gotta figure out how to calculate the value for line spacing in PSP and I'm there.
Sure took a long time for the coffee to take effect, eh?
Thanks,
Dan
I dont use that program but are your rulers on the sides in pixels? I know in photoshop I can change it to pixels,points,inches whatever so maybe that is why?
Oh well, glad it works.
Fusion Brain Version 6 Released!
1.9in x 2.9in -- 47mm x 73mm
30 Digital Outputs -- Directly drive a relay
15 Analogue Inputs -- Read sensors like temperature, light, distance, acceleration, and more
Buy now in the MP3Car.com Store
Well how do you like that? I've been using PSP for over 10 years and have never used the rulers or grid. In fact, I didn't even recall them being there but, sure enough, they are! It only has settings for pixels, inches or centimeters so I guess it wasn't meant to be a font designer. If I were to bother upgrading to the latest version it has probably changed.
Thanks for the nudge in the right direction. Now, after I get some coffee in my bloodstream...
Thanks,
Dan
Bookmarks