Torchlight II

Torchlight II

Ubuntu Font
hexabit 28 Jul, 2013 @ 6:06pm
Regarding the input issues (FIX)
The reason that TAB and ENTER show up as a character has to do with the font encoding. Also, BACKSPACE doesn't work for more than one character, meaning you have to highlight and delete instead.

To fix this, you need a font editor, and just open up SlingBold.TTF and the Ubuntu-B.TTF together, and copy the needed glyphs over manually. That is, A-Z, a-z, 0-9, and all the common symbols. OR, you could just make sure that the first few glyphs are identical to the ones in SlingBold, namely, there are a few "null" glyphs which have to reference TAB and ENTER a certain way.

A side benefit is that after doing this, the Ubuntu fonts were vertically aligned MUCH better, except for the Big and Huge fonts, I actually had to move them down some UI-wide. Before fixing all the fonts most of the text was too low in its vertical alignment.
< >
Showing 1-3 of 3 comments
Prophet  [developer] 4 Aug, 2013 @ 11:55am 
I tried a few editors before but couldn't really get to grips with them. If doing this does indeed fix it, I'd be more than happy to look into it. Any recommendations as far as editors go?
hexabit 5 Aug, 2013 @ 6:49am 
Well, it definitely works, as I've done it. If you use the FontCreator trial, it'll do it but it strips symbols out of the font. I think there are a few others for Windows, but to be honest Mac OS X has a much better selection.

What you do is, for each glyph in the original TLII font, find the corresponding glyph in the Ubuntu font, click it, Ctrl + C, and then select the original glyph, Ctrl + V. You copy/paste entire blocks so long as the glyphs are in the same order. You *could* get away with just fixing the first few null/empty glyphs on the Ubuntu font, specifically you will notice one of them differs between the two fonts. But I would just copy over the glyphs to the original font instead, because it takes it from a 350KB TTF file to only like 40KB.

Personally, I did this for all the fonts, not just the one used in text boxes, because it fixes the spacing a lot for whatever reason.
zParticle 5 Aug, 2013 @ 1:10pm 
Prophet: The input issue is apparently causing a secondary problem with invalid filenames for saved games, which is a fairly serious issue, so until you can address the glyph fix as jon.wd7 suggests I would recommend temporarily using a different font for the player name input.
< >
Showing 1-3 of 3 comments
Per page: 1530 50