Page 1 of 7 1234567 LastLast
Results 1 to 10 of 62

Thread: Creating fonts in Configurator

  1. #1
    Constant Bitrate
    Join Date
    Jun 2008
    Location
    Georgia, USA
    Posts
    188

    Creating fonts in Configurator

    How does one go about creating a font using the configurator?

    I created a PNG file with the characters and when I tried to open it in the "Add or Edit Fusion Font" dialog, all that shows are XML files regardless of whether you click the "Open Font File" or "Open Image File" icon.


    Thanks,

    Dan

  2. #2
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Yup, the only showing xml files when selecting an image, is a bug. Just fixed it right now. I am uploading a new file to the updater.

    Also there was a bug in the Updater (I switched my debug and non-debug modes, whoops) so the past few releases, it will never check the server for updates. It will only check a nonexistant file on your computer for updates, so it wont update.

    I will post a link to a new standalone updater to replace the current one later tonight.
    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

  3. #3
    Constant Bitrate
    Join Date
    Jun 2008
    Location
    Georgia, USA
    Posts
    188
    Thanks.

    I copied an existing XML file, renamed it and pointed it to my PNG file. When I bring it up in the font editor I can see the characters and can edit the locations to center them but if I run the analyze function, it cannot find any characters.

    I've been reading a rather long thread about the configurator beta test and I think I'm creating the PNG correctly (but not sure). Should the characters themselves be transparent?

    It could be that the graphics app I'm using doesn't create the alpha channel correctly or something.
    Thanks,

    Dan

  4. #4
    Constant Bitrate
    Join Date
    Jun 2008
    Location
    Georgia, USA
    Posts
    188
    Oh, one other thing I've ran into--I cannot seem to drag from the top left panel to the trashcan. Does this function work yet?
    Thanks,

    Dan

  5. #5
    Constant Bitrate
    Join Date
    Jun 2008
    Location
    Georgia, USA
    Posts
    188
    Okay...got it to analyze!!! It was me (no surprise there) not creating the alpha channel correctly.

    After analyzing the PNG and entering the value for each character, I get an error every time I try to save the file. It says the PNG is in use by another process.

    I copied the XML from the bottom left panel and pasted it into the XML file and it works just fine but the file save needs to be looked at. Its like the file has been opened read-only instead of read-write.

    If you can point me to the correct section of code I will look at it.
    Thanks,

    Dan

  6. #6
    Fusion Brain Creator 2k1Toaster's Avatar
    Join Date
    Mar 2006
    Location
    Colorado, but Canadian!
    Posts
    10,049
    Quote Originally Posted by Dan2008 View Post
    Okay...got it to analyze!!! It was me (no surprise there) not creating the alpha channel correctly.

    After analyzing the PNG and entering the value for each character, I get an error every time I try to save the file. It says the PNG is in use by another process.

    I copied the XML from the bottom left panel and pasted it into the XML file and it works just fine but the file save needs to be looked at. Its like the file has been opened read-only instead of read-write.

    If you can point me to the correct section of code I will look at it.
    Make sure you dont have the image open in another program. Something like photoshop keeps exclusive rights sometimes. Is the configurator the only program open?
    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

  7. #7
    Constant Bitrate
    Join Date
    Jun 2008
    Location
    Georgia, USA
    Posts
    188
    That was my first thought so I tried with one of the PNGs included in the download and got the same result.

    The configurator is the only thing running.
    Thanks,

    Dan

  8. #8
    _
    Join Date
    Mar 2004
    Location
    Little Elm, Texas
    Posts
    13,500
    Quote Originally Posted by Dan2008 View Post
    How does one go about creating a font using the configurator?

    I created a PNG file with the characters
    I'm entirely new to this stuff and I'm not sure I even understand this part.

    So I'm guessing that you have to create a PNG file with each of the letters in the alphabet...so basically open PS up and create a new file with all of the letters typed out in the font you want to use. Then use the 'Add or Edit Fusion Font' page to basically see each of the letters and import it (of sorts) to the program?
    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. #9
    Constant Bitrate
    Join Date
    Jun 2008
    Location
    Georgia, USA
    Posts
    188
    Quote Originally Posted by RedGTiVR6 View Post
    I'm entirely new to this stuff and I'm not sure I even understand this part.

    So I'm guessing that you have to create a PNG file with each of the letters in the alphabet...so basically open PS up and create a new file with all of the letters typed out in the font you want to use. Then use the 'Add or Edit Fusion Font' page to basically see each of the letters and import it (of sorts) to the program?
    That's basically it. Make sure you leave space between each character so you can isolate it in the font designer.

    Also, make sure the PNG file indeed has the alpha channel--that was giving me a hard time until I figured out that I wasn't actually creating the alpha channel.
    Thanks,

    Dan

  10. #10
    _
    Join Date
    Mar 2004
    Location
    Little Elm, Texas
    Posts
    13,500
    Thanks.

    I'm not sure how to create the alpha channel. Off to Google!

    Hrmm....


    The .xml that's created:

    Code:
    <?xml version="1.0" encoding="utf-8" ?>
    <font fontImage="Arial_Alphabet-1.png">
      <char location_topleft="4,0" location_bottomright="164,184" value="???" offsets="0,0,0,0"></char>
      <char location_topleft="166,0" location_bottomright="291,184" value="???" offsets="0,0,0,0"></char>
      <char location_topleft="292,0" location_bottomright="311,184" value="???" offsets="0,0,0,0"></char>
      <char location_topleft="315,0" location_bottomright="381,184" value="???" offsets="0,0,0,0"></char>
      <char location_topleft="385,0" location_bottomright="477,184" value="???" offsets="0,0,0,0"></char>
    </font>
    Pretty obvious that I've done something wrong....but what?
    Attached Images Attached Images  
    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 1 of 7 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
  •