Skip to content

Font size slider does not affect all text

There is an issue I have with the UI in the PC version of the game, namely that for whatever reason I can't increase the text size of certain parts of the interface.

What I can increase: item descriptions, settings' descriptions, most of the text in the journal.

What I CANNOT increase: NPC names, settings' names, item names, various texts that appear when you highlight things, etc...

Maybe it's just me, but on 1920x1080 monitor at least, this text appears needlessly small and I wish I was able to increase its size. Anything can be done about this?

Comments

  • GusindaGusinda Member Posts: 1,915
    Hi @ZuTheSkunk, most of the font characteristics are kept in the file 'BGEE.lua'. You would normally find this in the override folder. If you don't have an override folder, you can extract the file using NearInfinity and copy it there.

    Open the file, scroll down until you find
    styles =
    There are a buch of style and charactistics

    font = 'bookmani', // Represents the font being used
    point = 14 // Represents the size of the font (I find that 16 works well for me)

    You can play around with the 'point' figures until you get the size that you want. You just need to work out what each style (normal, title, label etc) is for. I have a text file that describes it, but I can't find it at the moment. It was a while ago when I did this...

    (Many thanks to @Bubb) For any floating text, you need to place the following line in baldur.lua:

    SetPrivateProfileString('Fonts','FLOATTXT','15')

    I have used 15 as the point size for me (my screen is 1920x1200) and I find that reasonably comfortable for my aging eyes. If you are unaware, baldur.lua can be found in your documents area:
    ...\Documents\Planescape Torment - Enhanced Edition\baldur.lua

    Hope that helps
    Gus
    JuliusBorisov
  • ZuTheSkunkZuTheSkunk Member Posts: 19
    Thank you very much for a detailed response!

    I extracted the BGEE.lua, placed it in Override and edited the values, but unfortunately this had no impact on the size of the names of objects, NPCs, and other text that appears when highlighting things. Is the font size of that particular text stored somewhere else?
  • GusindaGusinda Member Posts: 1,915
    HI @ZuTheSkunk, I can see that you tried 'BGEE.lua', but did you end up editing 'baldur.lua'. Adding and editing the line:

    SetPrivateProfileString('Fonts','FLOATTXT','15')

    is to increase/decrease the size of the floating text or tooltip. It will probably be the one you are after. I think the size defaults to 12 (if not entered) but I find 15 is about the right size for me.

    Gus
    JuliusBorisov
  • ZuTheSkunkZuTheSkunk Member Posts: 19
    I did include the line, and I can see it still being in Baldur.lua, but this seems to have had no effect on the highlight text, even after I changed the value to higher than 20:

    64ab222362.jpg
    Gusinda
  • GusindaGusinda Member Posts: 1,915
    @ZuTheSkunk, just had a play around with baldur.lua and couldn't adjust the text of the characters on non-zoom mode. In Zoom mode, when zooming in the size of the tooltip text increases with the zoom. I have just been playing zoomed where the text was comfortable (didn't even realised...).


    a3g7kzqc8nrx.png


    Sorry about that
    Gus
  • agrisagris Member Posts: 581
    Gusinda wrote: »
    Hi @ZuTheSkunk, most of the font characteristics are kept in the file 'BGEE.lua'. You would normally find this in the override folder. If you don't have an override folder, you can extract the file using NearInfinity and copy it there.

    Open the file, scroll down until you find
    styles =
    There are a buch of style and charactistics

    font = 'bookmani', // Represents the font being used
    point = 14 // Represents the size of the font (I find that 16 works well for me)

    You can play around with the 'point' figures until you get the size that you want. You just need to work out what each style (normal, title, label etc) is for. I have a text file that describes it, but I can't find it at the moment. It was a while ago when I did this...
    Does anyone know what the style name is for tooltips in BGEE.lua? I believe I've tried modifying all style's point settings, and tooltip stay the same size

  • bzmbzm Member Posts: 30
    edited October 2023
    @ZuTheSkunk @agris

    Perhaps use font_bam_generator_1.0 create bam from desired font, and after that with NI, add this to gui.bif??

    But you need to detect which bam is responsible for the floating text.

    And there is no assurance that other texts will not be too big... Slightly risky, so you need to make a copy of a couple of files.

    (Since, the download for "font bam gen" is dead - I attach zip. I don't think anyone will get angry ;))

    1. Install chosen font FOR ALL USERS.

    2. java -jar font-bam-generator-1.0.jar -charset cp1252 -font "DejaVu Serif Bold 14" -out yourfile.bam -useAA true -drawShadow false

    Coding:

    1250 – Central and East European Latin
    1251 – Cyrillic
    1252 – West European Latin
    1253 – Greek
    1254 – Turkish
    1255 – Hebrew
    1256 – Arabic
    1257 – Baltic
    1258 – Vietnamese
    874 – Thai

    Edit:
    I'am afraid this method won't work. There is no .bam in game for that.
    Post edited by bzm on
Sign In or Register to comment.