Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ Suggestions ➜ Copy as HTML lacks the font

Copy as HTML lacks the font

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Worstje   Netherlands  (899 posts)  Bio
Date Sat 29 Jul 2006 02:23 AM (UTC)
Message
It appears that when using Copy as HTML, the chosen font setting isn't honoured. Instead, for me it always seems to start with:

<!-- Produced by MuClient v 3.73 - www.muclient.com -->
<table border=0 cellpadding=5 bgcolor="#000000">
<tr><td>
<pre><code><font size=2 face="FixedSys, Lucida Console, Courier New, Courier"><font color="#0">

while I have the font 'Monaco' set. I'd like to see it changed to the following:

<!-- Produced by MuClient v 3.73 - www.muclient.com -->
<table border=0 cellpadding=5 bgcolor="#000000">
<tr><td>
<pre><code><font size=2 face="Monaco, FixedSys, Lucida Console, Courier New, Courier"><font color="#0">

Maybe add an option for a list of alternative fonts when outputting to html? I saw at http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=2419 (to see if this had been suggested already) that MC can also output <span> codes. You'd need the font-family attribute to set the font there. Syntax doesn't differ too much from the <FONT FACE=""> version.

Since I realize the above link made me realise something.. Maybe you could after all make it an option to use <span> when logging instead of the automatic choice you described in the link above? This would still make it possible to use the xhtml doctype and not break the specs, unlike the use of the <font> tag. This would most likely allow less problematic integration with existing xhtml compliant websites.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 29 Jul 2006 04:35 AM (UTC)
Message
Added to version 3.76 your suggestion of putting your output window font as the first preferred font when doing "Copy as HTML".

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


8,105 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.