Page 3 of 7 FirstFirst 1234567 LastLast
Results 21 to 30 of 62

Thread: Creating fonts in Configurator

  1. #21
    Constant Bitrate
    Join Date
    Jun 2008
    Location
    Georgia, USA
    Posts
    188
    That's the same thing I am running into.

    Here's the issue: 24pt is not the same as 24px. One point is 1/72 of an inch in height only. If you're using 72dpi resolution, then 72pt = 72px = 1 inch high. If you are using 144dpi then 72pt = 144px = 1 inch high.

    If you set the resolution to 300dpi and the canvas size to 72 (remember, this is pixels not points for the canvas size), the canvas would only be .24 inch high and a 72pt font would still be 1 inch high.

    Confused yet? I am!!! Just to add to the confusion, character width is in ems, with 1 em being equal to the space taken by the character M in your font.

    Surely there has to be a better way to do text representation. What's wrong with True Type?
    Thanks,

    Dan

  2. #22
    _
    Join Date
    Mar 2004
    Location
    Little Elm, Texas
    Posts
    13,500
    wow.....I'm stumped.

    How have others gotten this to work? I know you guys have sold quite a few of these things. How is everyone else using it? Are we the only ones with this problem? Has everyone else been able to figure it out or what?
    Jan Bennett
    FS: VW MKIV Bezel for 8" Lilliput - 95% Finished

    Please post on the forums! Chances are, someone else has or will have the same questions as you!

  3. #23
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    I made 2 fonts yesterday using the configurator. Make sure you are saving the png with an alpha channel. There needs to be a column of 0/0/0/0 in A/R/G/B. I attached my PSD file for the Verdana font. Just edit the Font and save as a png and use that if you cant get it. All the channels and spacing are correct I know for sure.
    Attached Images Attached Images
    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

  4. #24
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,052
    Ok, I just changed the way the font creator works. Now you can use blue if you want for the background. It will look at pixel 0,0 and use that as a compare colour. So if you cant get your alpha channel the correct colour, it will not matter. I tried to new one with your image Red and it found all the characters. It still needs a full column of that comparative colour per font-height pixels to seperate the characters, but now it will be easier.

    Also just as a heads up to you guys with black letters, you really should be using white letters. That way you can change the font colour with the program. White + Colour = Colour. Black + Colour = Black. So if you make black font, it will be black forever.

    And:
    Quote Originally Posted by Dan2008 View Post
    So what you are doing is creating a map for each character in the image file and when it comes time to display a character, you are cropping X,Y pixels at position A,B pixels. Smart!
    That is exactly what it is doing. If you look at the xml, you will see each character is just a 2 points with the 2 corners surrounding the image making the rectangle to crop for every character. I think it is a standard way of doing bitmap fonts, but I just made it up as I went and learned later that it is actually common to do it. But the font parser from the image is pretty unique I think. I havent seen anything else able to do it.
    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

  5. #25
    Constant Bitrate
    Join Date
    Jun 2008
    Location
    Georgia, USA
    Posts
    188
    Quote Originally Posted by 2k1Toaster View Post
    Ok, I just changed the way the font creator works. Now you can use blue if you want for the background. It will look at pixel 0,0 and use that as a compare colour. So if you cant get your alpha channel the correct colour, it will not matter. I tried to new one with your image Red and it found all the characters. It still needs a full column of that comparative colour per font-height pixels to seperate the characters, but now it will be easier.
    Will the updater pick it up or do we need to download it?

    Also just as a heads up to you guys with black letters, you really should be using white letters. That way you can change the font colour with the program. White + Colour = Colour. Black + Colour = Black. So if you make black font, it will be black forever.
    Been making (or trying) mine white since learning this a while back.


    That is exactly what it is doing. If you look at the xml, you will see each character is just a 2 points with the 2 corners surrounding the image making the rectangle to crop for every character. I think it is a standard way of doing bitmap fonts, but I just made it up as I went and learned later that it is actually common to do it. But the font parser from the image is pretty unique I think. I havent seen anything else able to do it.
    I hate to break your bubble but "screen scrapers" have been around for about 25 years in the mainframe world. I've never seen a manual screen scraper though. They are used to gather data from one program for input into another where the two programs are incompatible (that happens a lot in mainframe software).

    Can the process be reversed? What I mean is for the user to enter characters and have the software create the image file. If so, this would be a great improvement to flexibility.
    Thanks,

    Dan

  6. #26
    _
    Join Date
    Mar 2004
    Location
    Little Elm, Texas
    Posts
    13,500
    Quote Originally Posted by Dan2008 View Post
    Will the updater pick it up or do we need to download it?
    Jan Bennett
    FS: VW MKIV Bezel for 8" Lilliput - 95% Finished

    Please post on the forums! Chances are, someone else has or will have the same questions as you!

  7. #27
    Fusion Brain Creator
    Join Date
    Mar 2005
    Posts
    2,221
    I think you'll need to download it... I'm sure Nick will post here.

  8. #28
    _
    Join Date
    Mar 2004
    Location
    Little Elm, Texas
    Posts
    13,500
    Perhaps someone can outline to me the steps I need to take to make an alpha channel.

    It appears that a good amount of Photo Shop knowledge is required for this...heck, it appears that you must have photo shop to even be able to do this, no?
    Jan Bennett
    FS: VW MKIV Bezel for 8" Lilliput - 95% Finished

    Please post on the forums! Chances are, someone else has or will have the same questions as you!

  9. #29
    Constant Bitrate
    Join Date
    Jun 2008
    Location
    Georgia, USA
    Posts
    188
    Any graphics program that can create a PNG file with an alpha channel will work.

    I would like to have a step-by-step as well.

    Again...why not just use True Type fonts and forget about all of the complications this adds?
    Thanks,

    Dan

  10. #30
    _
    Join Date
    Mar 2004
    Location
    Little Elm, Texas
    Posts
    13,500
    Quote Originally Posted by 2k1Toaster View Post
    I made 2 fonts yesterday using the configurator. Make sure you are saving the png with an alpha channel. There needs to be a column of 0/0/0/0 in A/R/G/B. I attached my PSD file for the Verdana font. Just edit the Font and save as a png and use that if you cant get it. All the channels and spacing are correct I know for sure.
    I tried using the same one you uploaded here...only changing the font to Arial.

    It only finds 64 of the 71 characters....

    Did it find all 71 for you?

    If I use the font you had initially, it finds all 71.
    Jan Bennett
    FS: VW MKIV Bezel for 8" Lilliput - 95% Finished

    Please post on the forums! Chances are, someone else has or will have the same questions as you!

Page 3 of 7 FirstFirst 1234567 LastLast

Similar Threads

  1. Fresh Install on New PC, Rebooting
    By phc in forum StreetDeck
    Replies: 3
    Last Post: 12-23-2007, 09:33 AM
  2. Holux GPS Trouble
    By mangus580 in forum StreetDeck
    Replies: 34
    Last Post: 11-26-2007, 08:56 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •