Font: how to create a new font?

Das Forum befindet sich im reduzierten Betrieb. Die Addon- und Supportforen bleiben weiterhin verfügbar.
Bitte beachte, dass OMSI nicht mehr weiterentwickelt wird. Ein Teil der Entwickler widmet sich inzwischen der Entwicklung eines neuen Simulators. Weitere Informationen zum LOTUS-Simulator findest Du hier.
Ein communitybetriebenes Nachfolge-Forum wird hier verlinkt, sobald es gegründet und bereit ist.
  • Ok thanks but please help Reddy it's his or her thread, so we can all understand I tried to help him/her so please do help Reddy as it's his original post. He is the one trying to create a font.


    So we should be helping him as my post clearly indicates


    Thanks

    :)
  • I'll just add the problem he has as well as myself is counting the number of pixels between each letter, it seems to be, to us anyway more complicated than it looks, I tried it and followed and my text ended up looking exactly the same way, and then those that understand it, say and I quote "It's fun making a font but can be tricky". I feel to throw something at them, some people just cannot explain properly and that is the reason we're still asking. So hopefully, and I do hope that someone can narrow it down into logical order so we all finally know how to do this.


    That's my frustration out the way

    :)
  • Well, I think it's gone somewhere since I remade it tons of times.
    I am trying to use that font for the numbers on the display (churaKrüger) but every single time I make one, when using it, everything but a clear character(s) is displayed. I did it also using your font creator really roughly (hopefully I've translated the guidelines correctly), still nothing.


    So, here's the section of the script that I've changed in order to use it:

    Code
    1. ...
    2. "LW_N" (M.V.GetFontIndex) (S.L.Font_Nr_16x11/32x24)
    3. ...


    And by displaying a 1, here's what OMSI produces:


    ---


    Here's the .oft file:


    and here's the bmp.


    I've also tried to strip down the thing so I had only the numbers; redone the oft file via your tool, placed in the script, and the display was displaying some blank spaces.


    Thanks in advance.

  • Both your bitmap and .oft-file look perfectly fine. I believe the problem here originates in the script or somewhere else, but not in the font itself.
    To verify that your font works, you could try using it for example on a bus stop sign or number plate.
    Unfortunately I have zero experience in changing fonts of the churaKrueger-script since I prefer to write my scripts completely from scratch when creating a new matrix.

  • The more interesting bit of this whole "story" is that the original font, which is used in the DL05 (and if I recall correctly the script for the display is your) is displayed kind of correctly: it's out of bounds (it doesn't fit), but its displayed!
    The cK is somewhat flexible font-wise: it is even possible to define them in the hof file.


    Oh, here it's a in game test: I've used it as the registration plate and the bus fleet number's font: nothing (yes, I've tried different sizes).

  • Sorry to dig this thread up but maybe if it works now you could tell us the solution. Creating a font it's a mixture of will it work like this or not but drawing it from scratch well it means typing it out and adjusting it into place? I need to buckle down on this.


    ChuraKruger is a midfield because of the amount of files needed!