Welcome to Keen Software House Forums! Log in or Sign up to interact with the KSH community.
  1. You are currently browsing our forum as a guest. Create your own forum account to access all forum functionality.

LCD Font Size & number of lines of text

Discussion in 'Programming (In-game)' started by Mollymawk, Mar 3, 2019.

Thread Status:
This last post in this thread was made more than 31 days old.
  1. Mollymawk Apprentice Engineer

    Messages:
    124
    Has anyone done the work and willing to share how to calculate how many text lines an lcd will show based on current font setting?

    I've been scraping scripts to find how people do it but its either bad or confusing.

    I just wondered if there was a bomb proof elegant method.
     
  2. Ronin1973 Master Engineer

    Messages:
    4,955
    I don't think there's a way that's dependent on font settings. I think that's why there was a big push to include a monospaced font.
     
  3. Old Garyman Trainee Engineer

    Messages:
    10
    Take a look at this script: "Inventory Content Display Script".
    It's from Spacemarine at the Steam Workshop.
     
Thread Status:
This last post in this thread was made more than 31 days old.