This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
colcrunch's profile picture

[1.6.4][CC1.6]Fonts[NoBug]

Started by colcrunch, 30 July 2014 - 10:33 AM
colcrunch #1
Posted 30 July 2014 - 12:33 PM
So I was using CC1.58 and updated to CC1.6 and all of a sudden the fonts are weird.



This is what it looks like. I read that it was an issue with HD fonts, but, it was perfect in 1.58.
Cranium #2
Posted 30 July 2014 - 04:31 PM
It's a problem that's with your texture pack. Looking at your texture pack, it looks similar to Soartex. You can fix this issue by reverting to the default minecraft fonts, by going into your resource pack, and go to assets>minecraft and remove the fonts folder.
The texture pack you're using doesn't seem to support monospaced font, so it bugs up the spacing between characters.
APasz #3
Posted 30 October 2014 - 11:42 AM
It's a problem that's with your texture pack. Looking at your texture pack, it looks similar to Soartex. You can fix this issue by reverting to the default minecraft fonts, by going into your resource pack, and go to assets>minecraft and remove the fonts folder.
The texture pack you're using doesn't seem to support monospaced font, so it bugs up the spacing between characters.

I've been reading all around the web that its the way cc does its thing to make terminals look more like real terminals, and that the way to fix it for good is to add the default font file to cc itself. I'm just wondering why it hasn't been done yet?
theoriginalbit #4
Posted 30 October 2014 - 12:49 PM
I've been reading all around the web that its the way cc does its thing to make terminals look more like real terminals, and that the way to fix it for good is to add the default font file to cc itself. I'm just wondering why it hasn't been done yet?
If I remember correctly, it used to be, I'm not too sure why it changed but it has
Anaerin #5
Posted 22 December 2014 - 08:38 AM
The issue is that Minecraft fonts are defined for variable width, rather like the fonts here. In a variable-width font, characters have differing sizes, "i" and "m" for example. But ComputerCraft uses fixed-width terminals, and has to "Emulate" that by placing each character in a fixed-size box.

The way I see it, there are 3 options.
  1. Center each character in it's "box". This would reduce the issue somewhat, but wouldn't remove it entirely. It would be relatively simple to do, considering, and wouldn't have too much overhead.
  2. Have CC define it's own, fixed-width font sheet. This would mean all terminals display properly, but may require an adjustment to the text renderer, and would make Resource Packs require extra work for full compatibility. It could be combined with 1 above, however, to help HD Fonts somewhat.
  3. Tear out the current text rendering engine and drop in FreeType and a fixed-width TTF instead. This would allow for best quality rendering of text to textures, but would need a LOT of work to handle. May also cause problems with missing truetype fonts in resource packs, but that would be a simpler fix.
There was the "BetterFonts" mod that dropped in FreeType to use for HD font rendering in Minecraft, and it is open source, but it's not been updated since 1.4.4, so would probably need a (lot of) work to get it working properly.

Just a thought.
dan200 #6
Posted 05 February 2015 - 03:24 PM
Fixed in 1.66