rejetto forum

HFS is great, but log font too small!

JatiQ · 9 · 7529

0 Members and 1 Guest are viewing this topic.

Offline JatiQ

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
Greetings, rejetto. thank you for your useful HFS¡£

there is a little problem : log font is so small that I have to copy them all and paste to Notepad too see them.

My OS : Windows 2000 professional with Service Pack 4

Desktop : 1024x768 32bit

Log font like this :
Log font like this

BTW : how can I change HTML template to move "comment" right side?

like this :
--------------------------------------------------------------------------
| FileName      |  FileSize |    FileTime   | Hits  |  Comment         |
--------------------------------------------------------------------------
| WinRAR.exe  |  964KB  |  2003-06-28 | 989 |  best Pack Tool  |
--------------------------------------------------------------------------


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
strange, the font should be quite readable on your system, it uses font "small fonts" with size 6.
are you sure you have that font on your system?


for the template, this will be included in next package
Code: [Select]
<html>
<head>
<title>HFS %folder%</title>
<style>
body, .row, .folder, .label, th, comment { font-family: tahoma, verdana, arial, helvetica, sans; font-weight: normal; }
body { margin:0; background-color: #DDDDFF; padding: 10px;}
.label { font-size: 8pt; }
div.body {
  border-bottom: 4px solid #BBBBFF;
     border-top: 4px solid #BBBBFF;
    border-left: 1px dotted #BBBBFF;
   border-right: 1px dotted #BBBBFF;
  background:#F3F3FF; padding:15px; margin:15px;
}
.folder { font-size: 14pt; font-weight: bold;  }
A { text-decoration: none;  background-color: Transparent; color:#0055FF; }
A:visited { color:#5555FF; }
A:hover { background-color: #EEEEFF; }
img { border-style:none }
.right { text-align:right }
.row { font-size:10pt; background:#FFFFFF; border:1px solid #BBBBFF}
.comment { font-size:7pt; color:#888888; background:#EEEEEE; padding:3px;
border:1px solid #DDDDDD; margin-top:2px;}
.column { color:#555555; font-size:13pt; font-weight:bold; padding-bottom:0;}
</style>
</head><body>
<div class=label>folder</div>
<div class=folder>%folder%</div>
<div class=body>
%up%
%files%
</div>
<div class=label>
<a href="http://www.rejetto.com/hfs">HttpFileServer %version%</a>
<br>Servertime: %timestamp%
<br>Uptime: %uptime%
</div>
</body>
</html>

[up]
<a class=folder href="%parent-folder%"><img src="/~img14"> UP</a>

[nofiles]
<div class=folder>No files</div>

[files]
<div class=label>%number-folders% folders,  %number-files% files</div>
<table cellpadding=5>
<th><a href="%folder%?sort=n"><span class=column>Filename</span></a>
<th><a href="%folder%?sort=s"><span class=column>Filesize</span></a>
<th><a href="%folder%?sort=t"><span class=column>Filetime</span></a>
<th class=column>Hits
<th class=column>Comment
%list%
</table>

[file]
<tr><td class=row><a href="%item-url%"><img align=top src="/~img_file"> %item-name%</a><td class="row right">%item-size%<td class="row right">%item-modified%<td class="row right">%item-dl-count%<td class=row>%comment%

[folder]
<tr><td class=row><a href="%item-url%"><img align=top src="/~img_folder"> <b>%item-name%</b></a><td colspan=3 align=center class=row><i>folder</i><td class=row>%comment%

[comment]
%item-comment%

[not found]
<html><head></head><body>
<h1>404 -  Not found</h1>
<a href='/'>go to root</a>
<hr>
<div style="font-family: tahoma, verdana, arial, helvetica, sans; font-size: 8pt;">
<a href="http://www.rejetto.com/hfs">HttpFileServer %version%</a>
<br>%timestamp%
<br>Uptime: %uptime%
</div>
</body>
</html>

[overload]
<html><head></head><body>
<h1>Server busy</h1>
Please, retry later.
<hr>
<div style="font-family: tahoma, verdana, arial, helvetica, sans; font-size: 8pt;">
<a href="http://www.rejetto.com/hfs">HttpFileServer %version%</a>
<br>%timestamp%
<br>Uptime: %uptime%
</div>
</body>
</html>

[upload]
<html>
<body>
<form method=post enctype="multipart/form-data">
<input type=file name=f1><br><input type=submit>
</form>
</body>
</html>


Offline JatiQ

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
rejetto, thank you. I am appreciate your reply.

well , there are some pictures show you.

HFS Running:


Fonts , I have "small font":


My Display Setting:


The Display Setting is Windows default setting.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
this is the expected result instead


well, i am now noticing that your screenshot is not using the "small fonts" but a different font. i can notice it by the fact that the font is a "serif" font, while small fonts is not.

then the problem is that a WRONG font is selected on your system when HFS try to use small fonts.
ATM i can't figure out a solution. :?
could you check if your small fonts has size 6 available?
try to write with "small fonts" font and size 6 in a word processor like wordpad, and let us know what you see


Anonymous

  • Guest
Hi, regetto , you can I wrote something in Notepad with small fonts size 6:



Why NOT use Fixedsys 12?


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13523
    • View Profile
well, i must admit that on my system too, small fonts 6 is unreadable, i don't know why the log displays is larger than it is.

i just changed it to 7, and changed from 'small fonts' to 'Small Fonts'

please, re-download 1.5c and tell me if it is ok


Offline JatiQ

  • Occasional poster
  • *
    • Posts: 8
    • View Profile
:cry: Well, you can see it's still small:



rejetto£¬I think let user choose log font maybe better¡£



BaBy DrAgOn

  • Guest