Font related problem in internal viewer
Moderators: Hacker, petermad, Stefan2, white
Font related problem in internal viewer
Hi,
first of all, I dont think its directly problem of TC but some of you may know the solution hence Im asking.
I use "Lister" (F3) part of TC to view content of PE files. Problem that has just arisen recently is that Lister displays zero byte characters differently on different systems. For a long time Lister displayed 00 byte as a black square on XP-like systems and as a space on Win7-like systems. Something has changed recently and on my PC (Win7) it started displaying 00 bytes as dots. To understand it clearly see pics:
XP: imageshack. us/a/img405/4725/q8gw.jpg
Win7 x64 (my VMWare): imageshack. us/a/img854/2390/jd9o.jpg
Win7 x64 (my working station): imageshack. us/a/img850/7682/khqc.jpg
Im not particularly bothered about XP like OS but Im bothered about the dots - I need spaces (it sounds funny but I have to review dozens of big PE files and for an eye the space character is much easier to read than a dot).
I checked the Lister settings on both Win7 systems that differs but they were same. I also checked the font file used (Fixedsys Regular - vgafix.fon) and they are also same. There is same encoding, same font so I have no idea whats happening here.
Can anyone bring any light into this?
Thanks a lot.
Kra
PS: TC version is 7.55a
PSS: Cant use URLs due to the forum restrictions so I put space between "imageshack." and "us", you need to fix it, apologies for that
first of all, I dont think its directly problem of TC but some of you may know the solution hence Im asking.
I use "Lister" (F3) part of TC to view content of PE files. Problem that has just arisen recently is that Lister displays zero byte characters differently on different systems. For a long time Lister displayed 00 byte as a black square on XP-like systems and as a space on Win7-like systems. Something has changed recently and on my PC (Win7) it started displaying 00 bytes as dots. To understand it clearly see pics:
XP: imageshack. us/a/img405/4725/q8gw.jpg
Win7 x64 (my VMWare): imageshack. us/a/img854/2390/jd9o.jpg
Win7 x64 (my working station): imageshack. us/a/img850/7682/khqc.jpg
Im not particularly bothered about XP like OS but Im bothered about the dots - I need spaces (it sounds funny but I have to review dozens of big PE files and for an eye the space character is much easier to read than a dot).
I checked the Lister settings on both Win7 systems that differs but they were same. I also checked the font file used (Fixedsys Regular - vgafix.fon) and they are also same. There is same encoding, same font so I have no idea whats happening here.
Can anyone bring any light into this?
Thanks a lot.
Kra
PS: TC version is 7.55a
PSS: Cant use URLs due to the forum restrictions so I put space between "imageshack." and "us", you need to fix it, apologies for that
Re: Font related problem in internal viewer
Are you really sure that the 3 fonts from the 3 systems are bit-to-bit identical?kra wrote:I also checked the font file used (Fixedsys Regular - vgafix.fon) and they are also same. There is same encoding, same font so I have no idea whats happening here.
- ghisler(Author)
- Site Admin
- Posts: 50923
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Even if the font files are identical, Windows may choose different fonts as "font substitution" depending on the current language (locale settings) and other Windows settings.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com
Im afraid there is no "dot character" I can replace. I tried few font editors and there was never a "." on a 0x00 position. Moreover I seem to be unable to install any new font (when I create a new font, I install it just fine but it is never on the font list in notepad/lister etc - even when I have "Hide fonts based on language settings" disabled in Control Panels > Fonts).sidefx88 wrote:1) Get a Font editor and replace the DOT character you..
I didnt write anything about comparison. A notepad-like view is exactly what I need. Upgrading to TC 8.01 didnt help.ZoSTeR wrote:Not to impose but comparing..
Well, Im not sure if "Fixedsys" font is stored only in one file but when I open Control Panels > Fonts, find Fixedsys and choose "Properties" .. yes, that file is binary identical.damjang wrote:Are you really sure that the 3 fonts..
A good hint however I synchronized locale/language in both Win7 systems and problem persists :/ghisler wrote:..depending on the current language (locale settings)....
Ive also tried restoring default font settings in Windows but that didnt work either.
I found 2 or 3 similar threads here but they were never solved. So unless any of you have any other ideas I will have to stick to a different font (although the choice is limited since more fonts, eg "Courier" displays dots as well)

Maybe "Strings" can make your task easier.
Usage in cmd eg:
Usage in cmd eg:
Code: Select all
strings.exe somePE.exe > strings_in_somePE.txt
I appreciate your help but Im a malware analyst. I use lister to tell whether file is "bad" or "good". Strings are only partially interesting. Its more about "density" of data that Im interested in. And thus new Font is a big issue .. because Im used to "thickness" of a specified font connected to data density and new Font means all those characters are different in terms of thickness. Im not sure if you understand but anyway, "Strings" is not a solution for me.ZoSTeR wrote:Maybe Strings can make your task easier.