Results 1 to 8 of 8

Thread: custom list of installed fonts

  1. #1
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,657

    custom list of installed fonts

    How do I create a custom list of installed fonts.
    Need this for the font picker in my skin. I have worked with a couple different ideas but came up with nothing that would allow me to view the installed windows fonts from a list in RR.
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

  2. #2
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,711
    Blog Entries
    1
    In my skin, I did not make ALL fonts avail in a list. Thats just a bit overkill, and a lot of the fonts will not work. Meaning, some have a much different kern, and will not fit on a button label ect.

    My installer installs like 4 different fonts for use with the skin. Then in the skin folder I just put a png of what the font looks like, named the same as the font, Arial.png for instance. When you select one in the list, you then see a preview of it. If you select change font, it just saves the LISTTEXT without the png on the end, and adds the .fnt
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  3. #3
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,283
    there is a little script floating around that does what you are asking, i think DavidP is the first one who implemented this feature to his skin, MKIII skin has that as well, if you want it i can send it to you as well.

  4. #4
    High Voltage blk02si's Avatar
    Join Date
    Jul 2005
    Location
    Motorcity
    Posts
    2,262
    Blog Entries
    1
    You can get them down to a text file by

    start-run-cmd

    cd to c:/windows/fonts

    dir > c:/fonts.txt

    or

    dir > c:/program files/road runner/skins/blades edge/fonts.txt

    This will write a listing to a file called fonts.txt to whatever directory you specify. This can be made into a simple batch script too.

    Now the list is there in txt, but how to display that in RR will take some thought.
    Build Things, it keeps your brain busy.

    AutoPC v1 (Retired) - AutoPC v2 (in progress) - www.shocknet.us

  5. #5
    Wants to make it harder monkeyracer's Avatar
    Join Date
    May 2007
    Location
    Lakehood, CO
    Posts
    1,463
    I think john has the important thing to remember: not all fonts will display in your skin the way you want it to.

    Find a few fonts that have the right spacing, the right size, etc. And make a .png image of the font, then save it to a /DEFINE tag with that variable on each font.

    If you have every single font available, you'll have some that stretch beyond the button area, and you'll have some that aren't really readable at all (webdings, for example.)

    Davidp's progression skin has this feature I think.
    2007 Chrysler PT Cruiser TE
    Car PC Progress:
    Planning.......[---------X-] 95%
    Parts...........[---------X-] 90%
    Fabrication...[---------X-] 90%
    RR Skin........[---------X-] 95%
    View my
    Worklog
    Road Runner Skins
    Website
    Favorite thread EVER!

  6. #6
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,657
    Quote Originally Posted by blk02si View Post
    You can get them down to a text file by

    start-run-cmd

    cd to c:/windows/fonts

    dir > c:/fonts.txt

    or

    dir > c:/program files/road runner/skins/blades edge/fonts.txt

    This will write a listing to a file called fonts.txt to whatever directory you specify. This can be made into a simple batch script too.

    Now the list is there in txt, but how to display that in RR will take some thought.
    I can get RR to list a directory listing, but the file names do not allways match the font name. Which is the problem.
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

  7. #7
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,657
    Quote Originally Posted by monkeyracer View Post
    I think john has the important thing to remember: not all fonts will display in your skin the way you want it to.

    Find a few fonts that have the right spacing, the right size, etc. And make a .png image of the font, then save it to a /DEFINE tag with that variable on each font.

    If you have every single font available, you'll have some that stretch beyond the button area, and you'll have some that aren't really readable at all (webdings, for example.)

    Davidp's progression skin has this feature I think.
    I realize this and in New Age I basically just gave options of 6 that work. I was just looking for something a little more "dynamic" user configurable.
    I will keep working on it.
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

  8. #8
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,657
    Quote Originally Posted by monkeyracer View Post
    I think john has the important thing to remember: not all fonts will display in your skin the way you want it to.

    Find a few fonts that have the right spacing, the right size, etc. And make a .png image of the font, then save it to a /DEFINE tag with that variable on each font.

    If you have every single font available, you'll have some that stretch beyond the button area, and you'll have some that aren't really readable at all (webdings, for example.)

    Davidp's progression skin has this feature I think.
    I actually came up with something a little different and works well. But it still reads a list of fonts instead of the installed ones.
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

Similar Threads

  1. Release new phoco integration preview
    By Robby BMW in forum Road Runner
    Replies: 544
    Last Post: 09-12-2009, 05:29 AM
  2. Diablo Designs Custom xB running Frodo
    By diablo243 in forum Show off your project
    Replies: 4
    Last Post: 09-15-2006, 07:21 AM
  3. XM Station list is rather slow
    By DaveB in forum Road Runner
    Replies: 5
    Last Post: 03-15-2006, 12:57 PM
  4. StreetDeck Fonts
    By god_of_cpu in forum DigitalMods (Scripts / API)
    Replies: 1
    Last Post: 02-16-2006, 05:21 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
  •