Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Results 1 to 7 of 7
  1. #1
    Member + zzyzxroad's Avatar
    Join Date
    Feb 2015
    Location
    Canada
    Posts
    65
    Rep Power
    22

    Default How to change the font?

    hi guys. I would like o change the font on all the text in my Primo software. I have used "Hit the Road" font in pictures and other graphics. For those non-North American, it's the font used in our street/highway signs.

    [Only registered and activated users can see links. ]

    Anyone know how to change this?
    Also, if it can be change, how do I resize it?

  2.    Advertissements


  3. #2
    Master JmaCWQ's Avatar
    Join Date
    Jan 2014
    Location
    Western Queensland
    Posts
    54
    Rep Power
    54

    Default

    For resizing the street names shown on the map it's a sys.txt entry:

    [interface]
    mapfontscale=150 ;100 is default, 200 doubles the default size etc. etc.

    There's also these but I'm not sure exactly what they're for, perhaps the roadsigns that appear before an intersection?:

    [3d_config]
    roadsign_lines_per_screen=20 ; larger the number the smaller the font
    roadsign_font_size="8"

    Never changed the style of fonts myself but I guess it would just be a matter or replacing the existing ones with the desired ones, renamed to the original name, so long as they're the same format (be it TTF or whatever etc.), hopefully someone will correct me if that's wrong.
    In my copy of Primo there's a font folder in data.zip & another font folder in the root directory.
    There are some skins that give users the ability to change font styles, Decent Skin is one I think.

    As for the font sizes unless there's a sys.txt entry that covers it I think the rest for various displays are changed in the template.css, .ini, .ui and perhaps other files in the various folders (correct resolution, common etc.) within data.zip
    Possibly .vpr (polygon co-ordinates) files also depending on what it is you want to change, I've had to change some of them in iGO8 & Primo skins to get the desired results.
    If using a skin the ones inside the skin's relevant folders will affect things too.

  4. #3
    Member + zzyzxroad's Avatar
    Join Date
    Feb 2015
    Location
    Canada
    Posts
    65
    Rep Power
    22

    Default

    I was already thinking of replacing the default font with my own, changing the file name to the original. Now that I know the font size can be changed, it might just work. I'll try it later this week.


    EDIT:

    HAHA!!! It works. I just renamed my new font and overwrite the default font in DATA\ui_igo9\fonts. I'm just testing on a car gps in my office, so I won't know how it will work on street signs and such until I'm driving, but right now it looks awesome. The font seems to be the perfect size too.


    BTW, the font I used is like the font in my avatar. It has subtle differences, such as the tops of letters angled instead of being square.
    Last edited by zzyzxroad; 7th May 2015 at 11:38.

  5. #4
    Member + zzyzxroad's Avatar
    Join Date
    Feb 2015
    Location
    Canada
    Posts
    65
    Rep Power
    22

    Default

    Ok, so renaming a font to the original and overwriting it works, and at the same time doesn't work.

    It looks great, but there are a few glitches. I did a simulation at home so I could see how it runs. I noticed sometimes that the text could be squished so all letters are on top of each other. There were also times where text was missing, such as "10: am" or "time " . The word "left" was missing. I deleted all my TMC and TTS crap and removed that from the sys.txt since i don't use it. I also disabled traffic cams. It now has run "OK" during my simulations except for one time where it crashed. I wanted to make a screenshot of the glitch, but can't get the software to do it, which is a good thing. When it crashed, here is the log:
    Code:
    Please Login or Register to see the links
    How can I increase the memory?

    I thought maybe the problem was the font itself, so I tried a few other similar fonts. Funny thing is, they crash the software immediately.

    Here is a pic of the font:
    2gvljiu

    I also had a thought that there was conflicting info in the saved folder, that now it's finally been corrected after running the new font in the software a dozen times. Maybe deleting the saved folder would make the other fonts work.
    Last edited by zzyzxroad; 9th May 2015 at 17:12.

  6. #5
    Master JmaCWQ's Avatar
    Join Date
    Jan 2014
    Location
    Western Queensland
    Posts
    54
    Rep Power
    54

    Default

    I find whenever I make big changes to something like you have it pays to either delete or rename the save folder when first running.
    There could be old settings kept there that cause a conflict with something that's been changed causing a crash, and that same something can often work ok with a fresh start and settings redone from scratch etc..
    Renaming it I got in the habit of doing, because if you delete it & forget to back-up tracks, POI's & pins etc. like I forget to do often, they're gone.
    At least when renamed you still have access to them & can copy them into the new save folder before deleting the old one once happy with how things run.

    Not sure why it would squish the text up, just a guess here but it could be bigger original size of the actual font itself, say for example each character of your old font is at 100% of size 20x20 pixels & your new one is 22x22 it might cause issues.
    Dunno if fonts are all made to a standard original 100% size or not, if they are then that's probably irrelevant, but if they're not it could be a cause.
    If you've changed the font size and not changed the x= and/or y= settings for the code that controls where the font is displayed in the relevant .css, .ui etc. files that could cause it to bunch up like that & also cause bits to be missing.

    The memory thing seems a bit weird, any older crash reports in the same file from before you changed things to compare with?
    According to the log entry your maximum memory is only 38MB which seems very low.

    I would have thought it would be more like this one, especially running Primo:

    Code:
    Please Login or Register to see the links

    You can control how much memory Primo uses with a sys.txt entry.
    When working that out 1MB = 1048576 bytes
    So if you wanted to limit Primo's memory usage to 50MB the entry would be:

    Code:
    Please Login or Register to see the links
    In the device itself it's probably hard coded in the ROM, nothing I have that's WindowsCE can be permanently changed, well not that I know of anyway, it's possible to access the memory settings where there's a slider but I find it's set for the maximum amount of memory for running programs anyway, and that's on 64, 128 & 256 MB devices.

  7. #6
    Member + zzyzxroad's Avatar
    Join Date
    Feb 2015
    Location
    Canada
    Posts
    65
    Rep Power
    22

    Default

    I've used it a couple times and still have had no problems with the font or crashing. I think it's like you thought as well, the Saved folder.

    I'm not going to try it now, but I wonder if the other fonts would work if the saved folder was deleted.

    Thanks for your input.

  8. #7
    Master JmaCWQ's Avatar
    Join Date
    Jan 2014
    Location
    Western Queensland
    Posts
    54
    Rep Power
    54

    Default

    No probs, glad it worked.
    I have no idea if the other fonts would work or not but that'd be what I'd do if trying them, delete the save folder on each change.

 

 

Tags for this Thread

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
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.