[SimpleMail-usr] Re: How can I adjust the font size in html mail view?

  • From: Jan-Erik Karlsson <trgse@xxxxxxxxxxxxxxxx>
  • To: simplemail-usr@xxxxxxxxxxxxx
  • Date: 21 Sep 2004 19:19:43 +0200

Hello Sebastian,

On 2004-09-21, you wrote:
> Kulwant Bhogal wrote:
>> Hello all,
>>
>> Does anyone know how to adjust the font size in a html mail without
>> editing the email source?
>>
>> Some html emails come up with a tiny font which is not readable.

> You can change this via a SimpleHTML.prefs file. Sorry that there is no
> documention, but please look at the SimpleHTML archive how the format is.

two things...

1) actually there is no such things as a SimpleHTML.prefs used, it's called
SimpleHTML.config

2) If you use TTF fonts and have installed the MSFonts (Arial etc.) the trouble 
is that SimpleHTML will use those TTF fonts and the HTML mail will ask for them 
in such a size that it is unreadable on the amiga (OS4 will probably have better
luck), the solution would be to have simplehtml not allow sizes under a certain 
size or
update the SimpleHTML to handle <FONT SIZE=xx> fully

for instance this
<FONT SIZE="-2" FACE="Verdana, Arial, Helvetica, sans-serif">Retrieve 
              email using your device<BR>
              ($49.99)</FONT>
is getting translated to a unreadable Verdana font in size 9 if you have
the MS Fonts installed, SimpleHTML does not support negative sizes in the 
SimpleHTML.config file (in any logical way atleast).

this is how my SimpleHTML.config looks like

H1=TimesNewRomanPS/40
H2=TimesNewRomanPS/36
H3=TimesNewRomanPS/32
H4=TimesNewRomanPS/28
H5=TimesNewRomanPS/24
H6=TimesNewRomanPS/20
H7=TimesNewRomanPS/20
NORMAL-3=Arial/20
BORMAL-2=Arial/20
NORMAL-1=Arial/20
NORMAL1=Arial/20
NORMAL2=Arial/24
NORMAL3=Arial/28
NORMAL4=Arial/32
NORMAL5=Arial/36
NORMAL6=Arial/40
NORMAL7=Arial/48
FIXED1=Courier/20
FIXED2=Courier/24
FIXED3=Courier/28
FIXED4=Courier/32
FIXED5=Courier/36
FIXED6=Courier/40
FIXED7=Courier/48
ARIAL1=Arial/20
ARIAL2=Arial/24
ARIAL3=Arial/28
ARIAL4=Arial/32
ARIAL5=Arial/36
ARIAL6=Arial/40
ARIAL7=Arial/48
TAHOMA1=Tahoma/20
TAHOMA2=Tahoma/24
TAHOMA3=Tahoma/28
TAHOMA4=Tahoma/32
TAHOMA5=Tahoma/36
TAHOMA6=Tahoma/40
TAHOMA7=Tahoma/48
VERDANA-3=Verdana/20
VERDANA-2=Verdana/20 <- this has no effect whatsoever
VERDANA-1=Verdana/20
VERDANA1=Verdana/20
VERDANA2=Verdana/24
VERDANA3=Verdana/28
VERDANA4=Verdana/32
VERDANA5=Verdana/36
VERDANA6=Verdana/40
VERDANA7=Verdana/48
SANS-SERIF1=Arial/20
SANS-SERIF2=Arial/24
SANS-SERIF3=Arial/28
SANS-SERIF4=Arial/32
SANS-SERIF5=Arial/36
SANS-SERIF6=Arial/40
SANS-SERIF7=Arial/48
SERIF1=TimesNewRomanPS/20
SERIF2=TimesNewRomanPS/24
SERIF3=TimesNewRomanPS/28
SERIF4=TimesNewRomanPS/32
SERIF5=TimesNewRomanPS/36
SERIF6=TimesNewRomanPS/40
SERIF7=TimesNewRomanPS/48


With kind Regards,
-- 
Jan-Erik Karlsson
--
System: Mac 2xG5@xxxxxx
OS: MacOS X
Amiga: MOSilator


__________________________________________________________________________
SimpleMail mailing list   -   //www.freelists.org/list/simplemail-usr
Listserver help.: mailto:simplemail-usr-request@xxxxxxxxxxxxx?Subject=HELP
Unsub....: mailto:simplemail-usr-request@xxxxxxxxxxxxx?Subject=UNSUBSCRIBE

Other related posts: