rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: JatiQ on October 16, 2003, 07:55:04 AM

Title: HFS is great, but log font too small!
Post by: JatiQ on October 16, 2003, 07:55:04 AM
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  |
--------------------------------------------------------------------------
Title: HFS is great, but log font too small!
Post by: rejetto on October 16, 2003, 05:48:49 PM
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>
Title: HFS is great, but log font too small!
Post by: JatiQ on October 17, 2003, 01:38:56 AM
rejetto, thank you. I am appreciate your reply.

well , there are some pictures show you.

HFS Running:
(http://bj.qq.com.cn/u/O/Odin/HFS1.png)

Fonts , I have "small font":
(http://bj.qq.com.cn/u/O/Odin/fonts.gif)

My Display Setting:
(http://bj.qq.com.cn/u/O/Odin/Display.png)

The Display Setting is Windows default setting.
Title: HFS is great, but log font too small!
Post by: rejetto on October 17, 2003, 04:04:48 PM
this is the expected result instead
(http://www.rejetto.com/forumattach/hfslog.png)

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
Title: HFS is great, but log font too small!
Post by: Anonymous on October 17, 2003, 04:20:26 PM
Hi, regetto , you can I wrote something in Notepad with small fonts size 6:

(http://bj.qq.com.cn/u/O/Odin/SmallFont6.png)

Why NOT use Fixedsys 12?
Title: HFS is great, but log font too small!
Post by: rejetto on October 17, 2003, 08:39:57 PM
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
Title: HFS is great, but log font too small!
Post by: JatiQ on October 19, 2003, 03:21:52 AM
:cry: Well, you can see it's still small:

(http://bj.qq.com.cn/u/O/Odin/HFS15c.png)

rejetto£¬I think let user choose log font maybe better¡£
Title: ?
Post by: Passenger on October 21, 2003, 02:53:14 PM
(http://www.rizzonline.netfirms.com/s.jpg)
Title: it happened same here
Post by: BaBy DrAgOn on November 02, 2003, 05:24:36 AM
I cant see fonts well.. its too small..